0% found this document useful (0 votes)
7 views28 pages

L1 Introduction To Developing To Code

The document outlines a learning objective focused on converting algorithms and pseudocode into Python programs. It includes success criteria and assessment criteria for evaluating understanding of algorithms, data types, and programming constructs. Additionally, it provides tasks and activities to reinforce the concepts learned.

Uploaded by

ahmed2012722012
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views28 pages

L1 Introduction To Developing To Code

The document outlines a learning objective focused on converting algorithms and pseudocode into Python programs. It includes success criteria and assessment criteria for evaluating understanding of algorithms, data types, and programming constructs. Additionally, it provides tasks and activities to reinforce the concepts learned.

Uploaded by

ahmed2012722012
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

5 TO BEGIN

1 Driving Question: We are now about to start converting algorithms into actual code.

2
3
What python library would you use to randomly What are nested IF conditions? Can you give one
generates 100 numbers? example?

4 Write a simple python program to display the following

5
What constructs would you use to show iterations in
text:
python language?
Hello, my name is Sam
Can you help me?
Learning Objective: To be able to convert algorithms and
pseudo codes into python programs

Success Criteria:
● I can explain the difference between algorithms and programs
● I can code an algorithm in pseudocode and a high level
programming language (python)
● I can describe the characteristics of data types and select
appropriate data types for variables
● I can use sequencing, selection and iteration constructs in my
program
2
Learning objective: To be able to convert algorithms and
pseudo codes into python programs
Assessment Criteria
Beginning Good Very Good Excellent
● I can describe what an ● I can clearly explain the ● I can deeply explain the
algorithm is and how it ● I can explain the basic difference between nuanced differences between
differs from a program. difference between an algorithms and programs, algorithms and programs,
● I can recognize algorithm and a program. with examples. providing detailed examples
pseudocode and Python ● I can write simple ● I can independently code and analogies.
code but need help coding algorithms in pseudocode moderately complex ● I can create complex algorithms
algorithms. and Python, but may need algorithms in both in pseudocode and Python with
● I can identify common data some guidance. pseudocode and Python. advanced problem-solving
types (e.g., integer, string) ● I can describe the main ● I can accurately describe skills.
but need help choosing the characteristics of data types data types and ● I can expertly explain the
correct data type for and usually select consistently select the characteristics of all data types
variables. appropriate data types for most appropriate data and consistently select the
● I can follow examples of variables. types for variables. optimal data types for all
sequencing, selection, and ● I can use sequencing, ● I can efficiently apply variables in various contexts.
iteration in programming, selection, and iteration sequencing, selection, ● I can skillfully combine
but struggle to apply them constructs in a program and iteration in my sequencing, selection, and
independently. with some minor errors or programs, demonstrating iteration to write highly efficient
inefficiencies. a strong understanding of and well-structured programs.
their use.
3
Key vocabulary

Execution
Initialize
Determine
Relational operator
Assign
Logical operator
Intended
Type coercion
Nested IF
Let’s start to code!
Data Types
Data Types
Variable Initialization
Type Coercion
Activity 3 answer
Selection
Selection
Worked example: Pseudocode
Worked example: Python code
Relational Operators
Relational Operators
Activity 4 answers
Logical Operators
Logical Operators
TASK

Refer to the
assignment on GC to
complete the tasks.

22
Group One

Task 1

Identify the variable used to store numbers with a decimal place.

A. Integer
B. Character
C. Real
D. Boolean

Task 2

Identify the correct definition of type coercion.

A. the setting of variables to their starting values at the beginning of a program or


subprogram
B. the process by which a computer carries out the instructions of a program
C. the process of converting an algorithm into program code
D. the process of converting the value stored in a variable from one data type to another
Group One

Task 3

Complete the following sentence. Iteration is …


Group Two

Task 1

a. What does this algorithm do?

b. What is the output of the


algorithm, given the
following inputs:
● 3, 2
● 8, 4
● 10, 5
Group Three

Task 1

a. What does this algorithm do?

b. What is the output of the


algorithm, given the
following inputs:
● 2, 3
● 9, 2
● 5, 2
Group Three

Task 2

Implement the given


pseudocode in Python.
Lesson Check
Success Criteria:
● I can explain the difference between algorithms and
programs
● I can code an algorithm in pseudocode and a high level
programming language (python)
● I can describe the characteristics of data types and select
appropriate data types for variables
● I can use sequencing, selection and iteration constructs in
my program
28

You might also like