Intro P

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

In deze les zitten 82 slides, met interactieve quizzen, tekstslides en 4 videos.

time-iconLesduur is: 120 min

Onderdelen in deze les

Lesson 1
Introduction Programming

Slide 1 - Tekstslide

Deze slide heeft geen instructies

4

Slide 2 - Video

Deze slide heeft geen instructies

03:54

A

Slide 3 - Quizvraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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

Slide 7 - Poll

Deze slide heeft geen instructies

Lesson 2 
Introduction to compilers

Slide 8 - Tekstslide

Deze slide heeft geen instructies

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


Slide 9 - Tekstslide

Deze slide heeft geen instructies

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

Slide 10 - Tekstslide

Deze slide heeft geen instructies

To Write a Program we need a compile 

Slide 11 - Tekstslide

Deze slide heeft geen instructies

Using a Web based compiler

Slide 12 - Tekstslide

Deze slide heeft geen instructies

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 - Tekstslide

Deze slide heeft geen instructies

Slide 14 - Link

Deze slide heeft geen instructies

How is your understanding about the use of a compiler
Deze video is niet meer beschikbaar
Welke video was dit?
Excellent
Good
Need Help! Watch the attached Video

Slide 15 - Poll

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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 - Tekstslide

Deze slide heeft geen instructies

Lesson 3
Introduction to variables

Slide 18 - Tekstslide

Deze slide heeft geen instructies

Intro to Programming
THE END 

Slide 19 - Tekstslide

Deze slide heeft geen instructies

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

Slide 20 - Tekstslide

Deze slide heeft geen instructies

14

Slide 21 - Video

Deze slide heeft geen instructies

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

Slide 22 - Tekstslide

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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

Slide 24 - Open vraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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

Slide 26 - Open vraag

Deze slide heeft geen instructies

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

Slide 27 - Open vraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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

Slide 30 - Quizvraag

Deze slide heeft geen instructies

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

Slide 31 - Quizvraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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

Slide 33 - Quizvraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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

Slide 35 - Poll

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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

Slide 38 - Open vraag

Deze slide heeft geen instructies

Answer to the previous exercise

Slide 39 - Open vraag

Deze slide heeft geen instructies

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

Slide 40 - Tekstslide

Deze slide heeft geen instructies

Thank you!

Slide 41 - Tekstslide

Deze slide heeft geen instructies

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

Slide 42 - Poll

Deze slide heeft geen instructies

Lesson 4
More on Variables

Slide 43 - Tekstslide

Deze slide heeft geen instructies

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 - Tekstslide

Deze slide heeft geen instructies

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 - Tekstslide

Deze slide heeft geen instructies

Write your answer here

Slide 46 - Open vraag

Deze slide heeft geen instructies

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 - Tekstslide

Deze slide heeft geen instructies

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 - Tekstslide

Deze slide heeft geen instructies

def my_function():


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





Slide 49 - Tekstslide

Deze slide heeft geen instructies

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

Slide 50 - Tekstslide

Deze slide heeft geen instructies

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

Slide 51 - Tekstslide

Deze slide heeft geen instructies

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

Slide 52 - Tekstslide

Deze slide heeft geen instructies

Put your answer for Project 3 here!

Slide 53 - Open vraag

Deze slide heeft geen instructies

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

Slide 54 - Poll

Deze slide heeft geen instructies

Lesson 6
Understanding Global Variables

Slide 55 - Tekstslide

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

01:29
x=5




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

Slide 60 - Open vraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

04:58
Where would you find Local Variable

Slide 62 - Open vraag

Deze slide heeft geen instructies

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

Deze slide heeft geen instructies

Slide 64 - Tekstslide

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 - Tekstslide

Deze slide heeft geen instructies

Slide 66 - Tekstslide

Deze slide heeft geen instructies

Lesson 8
Introduction into class 

Slide 67 - Tekstslide

Deze slide heeft geen instructies

8

Slide 68 - Video

Deze slide heeft geen instructies

00:58
What are the properties of the phone

Slide 69 - Open vraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

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

Slide 71 - Open vraag

Deze slide heeft geen instructies

02:34
An object is made from

Slide 72 - Open vraag

Deze slide heeft geen instructies

02:38
What is a class?

Slide 73 - Open vraag

Deze slide heeft geen instructies

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

Slide 74 - Open vraag

Deze slide heeft geen instructies

09:11
What is the behaviours of a person class

Slide 75 - Open vraag

Deze slide heeft geen instructies

10:55
What is another name for behaviours

Slide 76 - Open vraag

Deze slide heeft geen instructies

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 - Quizvraag

Deze slide heeft geen instructies

Test 1
The next slide is the test

Slide 78 - Tekstslide

Deze slide heeft geen instructies

Slide 79 - Link

Deze slide heeft geen instructies


Slide 80 - Open vraag

Deze slide heeft geen instructies

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

Slide 81 - Poll

Deze slide heeft geen instructies

Lesson 9 
Understanding Arrays 

Slide 82 - Tekstslide

Deze slide heeft geen instructies