Top Banner
LESSON OBJECTIVES TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem MIN Starter (basic skills check) What would the following line of code do?: print(“Hello World”) Write the pseudocode to check if someone is old enough to vote. If they’re over 18 then the program will print “you’re allowed to vote”. Explain the difference between a for loop and recursion Write the pseudocode to write a name and score to a file
14

To develop your programming skills OBJECTIVES To ...

Jan 28, 2022

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Starter (basic skills check)

• What would the following line of code do?: print(“Hello World”)

• Write the pseudocode to check if someone is old enough to vote. If they’re over 18 then the program will print “you’re allowed to vote”.

• Explain the difference between a for loop and recursion

• Write the pseudocode to write a name and score to a file

Page 2: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Learning objectives • To develop your programming skills

• To understand how to provide a solution to a programming problem

• To explore computational methods

• Few will explore creating a graphical user interface in Python

Page 3: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

About the course…

• Computer Systems (01) – 140 marks – 2 hour 30 minutes

written paper (40%)

• Algorithms and programming (02) – 140 marks – 2 hour 30 minutes written paper (40%)

• Programming project (03) – 70 marks – non exam assessment (20%)

• All assessment will be completed in June 2018

Page 4: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Questions

• Explain what is meant by ‘sequence’

• Explain what is meant by ‘selection’ and give an example

• Explain what is meant by ‘iteration’ and give an example

• Evaluate the importance of efficient programming

Page 5: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Computational thinking

• Computational thinking allows us to take a complex problem, understand what the problem is and develop possible solutions.

• We can then present these solutions in a way that a computer, a human, or both, can understand.

Page 6: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Computational methods

• Problem recognition – describing the problem

• Problem decomposition – breaking down a complex problem or system into smaller, more manageable parts

• Abstraction – focusing on the important information only, ignoring irrelevant detail

Page 7: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Abstraction

Removing any unnecessary details:

Example:

A builder who is planning to build 100 houses on a new estate may use a physical model of the new estate, or in the first instance, a plan on paper or on a computer screen. In either case the model will be greatly simplified. All the houses may be identical in size, colour and shape.

Page 8: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Problem decomposition

• Most problems needs to be broken down into sub-problems before they can be solved.

• Thin of any system starts off by presenting the user with a menu of choices. Each choice will result in different, self-contained modules.

• For example, using algorithms for sub-problems

Page 9: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Mini-whiteboard activity

• Use computational methods to solve the traffic light problem. The junction gets gridlocked every morning.

• Problem recognition

• Abstraction

• Decomposition

• Extension: use A Level methods such as visualisation, backtracking and other methods from the book

500

300

200

Page 10: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Programming Task

• Each group has been given a programming task

• You need to use computational methods to try and solve the problem for analysis and design (make sure you include algorithms).

• After, you need to provide a solution to the problem

• Finally, you should show evidence of testing/evaluation

• Put everything in a PowerPoint, to teach the rest of the class how you solved it and how you used computational methods

• Support: use the support file on help for the activities/how to use programming techniques

• Extended: you should create a program that creates a GUI in Python

Page 11: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Students present their solutions

Page 12: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Peer-assessment

• The students have used problem recognition (all)

• The students have decomposed the problem (all)

• The students have used abstraction (some)

• The students have used other computational methods (few)

• The students has provided a solution to the problem (all)

• The students have included testing and an evaluation (all)

• The programming techniques used are efficient/suitable (some)

• The students have explored creating a GUI in python (few)

Page 13: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Induction assignment Deadline: 14th September

Page 14: To develop your programming skills OBJECTIVES To ...

LESSON OBJECTIVES

TIME FOR TASK To develop your programming skills To understand how to provide a solution to a programming problem

MIN

Plenary

• What is abstraction?

• How do computational methods help solve the problem?

• Evaluate the importance of using computational methods before creating the program