Intro P

Lesson 1
Introduction Programming
1 / 82
next
Slide 1: Slide
Python ProgrammingFurther Education (Key Stage 5)Upper Secondary (Key Stage 4)

This lesson contains 82 slides, with interactive quizzes, text slides and 4 videos.

time-iconLesson duration is: 120 min

Items in this lesson

Lesson 1
Introduction Programming

Slide 1 - Slide

This item has no instructions

4

Slide 2 - Video

This item has no instructions

03:54

A

Slide 3 - Quiz

This item has no instructions

05:06
Why is Python so powerful
A
It is small
B
It has control systems
C
It is not powerful
D
It has a hugh Library

Slide 4 - Quiz

This item has no instructions

07:17
Why do you use data types?
A
To allow the compiler set a side the required memory for the data type
B
Data type is not important
C
data types are not required for Python
D
Non of these

Slide 5 - Quiz

This item has no instructions

08:20
Web App is a career field you can enter when you master Python
A
Web App is a career field you can enter
B
Web app is not important
C
No
D
Python can only work with Web App

Slide 6 - Quiz

This item has no instructions

How well did you understand what Python is about?
Very well
I Well
I need to redo lesson 1

Slide 7 - Poll

This item has no instructions

Lesson 2 
Introduction to compilers

Slide 8 - Slide

This item has no instructions

What do we Need to write a Python Program?
We need Compiler 
A compiler could be:
a. Web based 
b. Software based


Slide 9 - Slide

This item has no instructions

Compilers and how to use it!
Play the videos and move onto the next to the next slide 

Slide 10 - Slide

This item has no instructions

To Write a Program we need a compile 

Slide 11 - Slide

This item has no instructions

Using a Web based compiler

Slide 12 - Slide

This item has no instructions

Launch the Compiler
Challenge - Launch the Compiler in the next slide and see if you can access the Python.
https://www.onlinegdb.com/

 

Slide 13 - Slide

This item has no instructions

Slide 14 - Link

This item has no instructions

How is your understanding about the use of a compiler
This video is no longer available
Welke video was dit?
Excellent
Good
Need Help! Watch the attached Video

Slide 15 - Poll

This item has no instructions

Where you able to launch the Python compiler
A
No
B
Yes
C
I found it a challenge
D
I need some help

Slide 16 - Quiz

This item has no instructions

Did you complete all the slides?
What you should know?
1. Why use Python Language ?
2. What do you use to load a Python program
3. What is  Web based Compiler
4. How to Access the Python Compiler 


Slide 17 - Slide

This item has no instructions

Lesson 3
Introduction to variables

Slide 18 - Slide

This item has no instructions

Intro to Programming
THE END 

Slide 19 - Slide

This item has no instructions

Lesson 2 - Variables 
Watch the video carefully and answer the following  quiz 
timer
1:00000
Text

Slide 20 - Slide

This item has no instructions

14

Slide 21 - Video

This item has no instructions

Mini  Assignment
Create a program that holds £1000 
then add 20% interest 
Print out the result in Pyhon

Slide 22 - Slide

This item has no instructions

00:00
students_count= 1000
A
Student_count is a variable
B
Variable is only a number
C
Variable dont exist in Python
D
None of the above is true

Slide 23 - Quiz

This item has no instructions

00:28
Write a variable called "Text" and make it equal to " I am learning python"

Slide 24 - Open question

This item has no instructions

02:04
student_count =1000
A
student_counts acts as a label for where the remember location 1000 resides
B
memory is not needed
C
There is no memory location in computer programming
D
The programming variables dont need any data attached to it.

Slide 25 - Quiz

This item has no instructions

02:14
Student_count=1000
rating=4.99
is_published - True
course_name-"Python Programming"

Slide 26 - Open question

This item has no instructions

02:14
Why do you use an underscore as the variable i.e course_name

Slide 27 - Open question

This item has no instructions

02:14
course_name="Python Programming"
A
Variable is a float
B
Variable is a text
C
Variable is a text
D
Variable is a character

Slide 28 - Quiz

This item has no instructions

02:14
Which of the following is the correct Boolean statement
A
Work_P=True
B
Employee No_FALSE
C
WorkT=true
D
Status= TRUE

Slide 29 - Quiz

This item has no instructions

02:14
Boolean is true or false
A
Yes
B
Not sure
C
no
D
None of the above

Slide 30 - Quiz

This item has no instructions

02:14
Pick the floating type number
A
4.11
B
5
C
3
D
10

Slide 31 - Quiz

This item has no instructions

02:31
student_count=1000
A
Interpreter will Create a space in memory to store 1000
B
Nothing will happen
C
This is not a valid instruction
D
memory is not necessary

Slide 32 - Quiz

This item has no instructions

03:08
Pick the integer
A
10
B
11.1
C
10.1
D
111.2

Slide 33 - Quiz

This item has no instructions

03:32
What is variables used for ?
A
Storing text and Numbers
B
Ending the program
C
starting the program
D
None of the above

Slide 34 - Quiz

This item has no instructions

How well did you understand variables
Very well
Well
I need help

Slide 35 - Poll

This item has no instructions

Slide 36 - Link

Complete 4 examples in the Link 
01:48
student_count =1000
print (student_count)
A
student _count will be printed
B
Nothing will be printed
C
1000 will be printed
D
There is nothing in student count

Slide 37 - Quiz

This item has no instructions

01:23
Write a variable call number and make it equal to 10

Slide 38 - Open question

This item has no instructions

Answer to the previous exercise

Slide 39 - Open question

This item has no instructions

Reflection 
Think about what you have learnt and practice.
Send message to your tutor about any challenges you face.

Slide 40 - Slide

This item has no instructions

Thank you!

Slide 41 - Slide

This item has no instructions

How did you get on with the assignment
Complete it successfully
Did part of it
I need help

Slide 42 - Poll

This item has no instructions

Lesson 4
More on Variables

Slide 43 - Slide

This item has no instructions

More on Variables 
x = 5
y = "John"
print(x)
print(y)
X is a variable and it contains 5
Y is a variable and it contains "John". 




Do you understand  ?

Slide 44 - Slide

This item has no instructions

Project 2 
Write a program in Python to give you 20% return on an investment of £1000
See tutor for help! 
During you one to one 

Slide 45 - Slide

This item has no instructions

Write your answer here

Slide 46 - Open question

This item has no instructions

Lesson 5 - Functions 
Function is used to carryout work.

Patricial example is a washing machine use to was clothes.
You put in dirty clothes and the function of the washing machines gives clean clothes.
In programming you are creating functions to carry out certain operations
def my_function():
  print("Hello from a function")
my_function()
My_function()
Declaring a function
Defining the function
Declare the function
Define the function.
Second example
def myfunc():
  global x
  x = "fantastic"
myfunc()
print("Python is " + x)
24th Sept Covered some basic aspects of functions with all groups.go onto next level.
 

























































Slide 47 - Slide

This item has no instructions

In programming you are creating functions to carry out certain operations
def my_function():
  print("Hello from a function")
my_function()
My_function()
Declaring a function
Defining the functio

Slide 48 - Slide

This item has no instructions

def my_function():


  print("Hello from a function")
my_function()
My_function()
 





Slide 49 - Slide

This item has no instructions

Declaring a function
Defining the function
Declare the function
Define the function.
 

Slide 50 - Slide

This item has no instructions

def myfunc():
  global x
  x = "fantastic"
myfunc()
print("Python is " + x)
 

Slide 51 - Slide

This item has no instructions

24th Sept Covered some basic aspects of functions with all groups.go onto next level. 

Slide 52 - Slide

This item has no instructions

Put your answer for Project 3 here!

Slide 53 - Open question

This item has no instructions

How well did you understand Functions
Very well
Quite well
I will need help

Slide 54 - Poll

This item has no instructions

Lesson 6
Understanding Global Variables

Slide 55 - Slide

This item has no instructions

6

Slide 56 - Video

hh
00:26
Global variable is a variable within the main program
A
That is correct
B
Global variable does not exist
C
That is incorrect as it correct
D
None of the above

Slide 57 - Quiz

This item has no instructions

00:26
x=5
define print_variable():
x=7
print(x)
A
The local variable is x=7
B
The local variable is X=5
C
The local variable is print(X)
D
No local Variable

Slide 58 - Quiz

This item has no instructions

01:29
x=5
define print_variable():
x=7
print(x)
A
The function is called print_variable():
B
There is no function defined
C
The function is called print
D
Functions are not available in Python

Slide 59 - Quiz

This item has no instructions

01:29
x=5




define print_variable():
x=7
print(x)

Slide 60 - Open question

This item has no instructions

01:29
x=5
define print_variable():
x=7
print(x)

A
The Global variable is x=7
B
There is no Global variable
C
The Global variable is x=5
D
The global variable is print.

Slide 61 - Quiz

This item has no instructions

04:58
Where would you find Local Variable

Slide 62 - Open question

This item has no instructions

How well did you understand Global and Local variable
Very Well
Quite well
Need to go through it in our 1-1

Slide 63 - Poll

This item has no instructions

Slide 64 - Slide

define my_function():
            print ("Hello from  a function") 
my_functiion()


  • Here we defined a function call my_function(): 
  • The Job of the function is to print "Hello from a function"
  • my_functiion() - Here the function is called 

Lesson 7
More on functions 

Slide 65 - Slide

This item has no instructions

Slide 66 - Slide

This item has no instructions

Lesson 8
Introduction into class 

Slide 67 - Slide

This item has no instructions

8

Slide 68 - Video

This item has no instructions

00:58
What are the properties of the phone

Slide 69 - Open question

This item has no instructions

01:38
Classes can be used to represent a mobile by
A
Properties and behaviours
B
classes are only used in c++
C
This cant be done
D
None of these

Slide 70 - Quiz

This item has no instructions

02:09
What are the two things classes are made of?

Slide 71 - Open question

This item has no instructions

02:34
An object is made from

Slide 72 - Open question

This item has no instructions

02:38
What is a class?

Slide 73 - Open question

This item has no instructions

09:05
Creating a person class, what and the properties

Slide 74 - Open question

This item has no instructions

09:11
What is the behaviours of a person class

Slide 75 - Open question

This item has no instructions

10:55
What is another name for behaviours

Slide 76 - Open question

This item has no instructions

Classes are blue prints that you could model anything
A
That is correct you could mobile phone
B
Classes are only used by profession
C
Classes don't exist
D
Classes are old fashion

Slide 77 - Quiz

This item has no instructions

Test 1
The next slide is the test

Slide 78 - Slide

This item has no instructions

Slide 79 - Link

This item has no instructions


Slide 80 - Open question

This item has no instructions

How well do you understand classes?
Very well
I understand some of it.
I need help

Slide 81 - Poll

This item has no instructions

Lesson 9 
Understanding Arrays 

Slide 82 - Slide

This item has no instructions