PROGRAMMING In Lesson 6. RECAP  Discuss with the person next to you...  what you have enjoyed about python programming  What you have found difficult.

Slides:



Advertisements
Similar presentations
PROGRAMMING In. STARTER Using the internet…Find … what does case sensitive mean what a programming language is.. 3 benefits of Python.
Advertisements

Introducing Extensive Reading
EasyGUI “Probably the Easiest GUI in the world”. Assumptions (Teachers’ Notes) This resources sets out an introduction to using easyGUI and Python
D ATABASES – L ESSON 3 Key Stage 3 ICT. S TARTER Starter -Try and fling the teacher. In Lesson 3 folder, run the file named “Starter – Open and closed.
Key Stage 3 ICT Lesson 2 - Programming. Starter Start Kodu. Re-familiarise yourself with how it works. Play some of the pre-made games. Try and change.
ECS 15 if and random. Topic  Testing user input using if statements  Truth and falsehood in Python  Getting random numbers.
Lesson Plan - APP Probability Mental and Oral Starter Pupils to revisit the never heard the word grid to check their understanding of the key words. Main.
Programming in python Lesson 2.
Main task -write me a program
CIS101 Introduction to Computing Week 12 Spring 2004.
Do it now activity Correct the 8 syntax errors: Age = input(“How old are you?” If age = 10 Print(You are 10”) else: print(“You are not 10”)
La tecnologia WALT: 1. to talk about new technology
SELECT A LESSON 1. A WORLD AND CHARACTERS 2. PATHS AND ENEMIES 4. USING PAGES TO CHANGE THE RULES 5. GAME ANALYSIS AND DESIGN 6-7. CREATING YOUR OWN GAME.
Microsoft ® Office Word 2007 Training Mail Merge II: Use the Ribbon and perform a complex mail merge [Your company name] presents:
PROGRAMMING In. STARTER Using the internet…Find …  what does “case sensitive” mean  what a programming language is..  3 benefits of Python.
PROGRAMMING In Lesson 5. RECAP  Complete the starter activity.
William Shakespeare. Year 7 Your mission if you are willing to accept it, is to learn about William Shakespeare and his plays! Starter game.
When we met back in October... Discussion took place: – issues that arise from doing group work – encouraging students to talk – spreading this practice.
An Introduction to Textual Programming
Python Programming Using Variables and input. Objectives We’re learning to make use of if statements to enable code to ask questions. Outcomes Build an.
Factors Everyday Math Lesson 1.3. Lesson Objectives I can find all factors of a number. I can know and apply multiplication facts. I can write number.
4 th Grade WASL Practice Taken from Released Items Use During 10 Min. Math 2 items in this slideshow.
Conditions. Objectives  Understanding what altering the flow of control does on programs and being able to apply thee to design code  Look at why indentation.
Python Programming Using Variables and input. Objectives We’re learning to build functions and to use inputs and outputs. Outcomes Build a function Use.
LOG ONTO YOUR COMPUTER USE THE FOLLOWING LOGON IF YOURS DOES NOT WORK: USERNAME: PASSWORD: GO TO:
Introduction to the course. Key information OCR National in ICT at Level 2 There are no exams It is a vocational course.
A First Book of ANSI C, Fourth Edition1 Functions for Modularity 04/24/15.
PROGRAMMING In Lesson 2. STARTER ACTIVITY Complete the starter activity in your python folder – lesson 2 Now we will see how you got on and update your.
Year 7 Homework Support Booklet The home learning projects is your Graphics homework. These are tasks that will use researched information, as well as.
Input & Output Functions JavaScript is special from other languages because it can accept input and produce output on the basis of that input in the same.
22/11/ Selection If selection construct.
Starter What do you think this represents?. Starter - Answer Internet users as percentage of population.
Python - Selection Selection means selecting (or choosing) what to do next. Should I cycle to school, or ask for a lift? If it’s a sunny day I might cycle.
Moodle Quizes Staff Guide. Creating Quizzes Click Add an Activity or Resource With the course in editing mode...
31/01/ Selection If selection construct.
3.1.3 Program Flow control Structured programming – SELECTION in greater detail.
Complex Branching Statements CSIS 1595: Fundamentals of Programming and Problem Solving 1.
Python Lesson 2.
GCSE Computing: Programming GCSE Programming Remembering Python.
Starter To complement our notes and learning from last lesson (Topic 10 Introducing Large ICT Systems: Features of Large ICT Systems), fold your piece.
Programming In Python. Starter Using the internet… Find what a programming language is.
Multi-Selection If-elsif Statement.  In fact, it’s everything in between  Yesterday we learned how to add a control statement that gave us two path.
Quiz 1 A sample quiz 1 is linked to the grading page on the course web site. Everything up to and including this Friday’s lecture except that conditionals.
PYTHON PROGRAMMING Year 9. Objective and Outcome Teaching Objective Today we will look at conditional statements in order to understand how programs can.
GCSE COMPUTER SCIENCE Practical Programming using Python
Create Your Own Quiz using_Python KS3 COMPUTING KS3 Computing
3.1 Fundamentals of algorithms
Python 23 Mr. Husch.
GRADE 3 REDUCE REUSE RECYCLE.
IF statements.
LO: To reflect on assessment results and areas for improvement
INFO 3: Use of ICT In The Digital World
Sign Up Here.
Today’s lesson – Python next steps
Paper 6 – Alternative to practical
Programming In Lesson 3.
Assessment - KS4 Create detailed revision materials for the work we have done so far Ask your teacher for help if you are not sure what works for you The.
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
If selection construct
Lesson 2: Binary to Denary Conversion.
PYTHON: BUILDING BLOCKS Sequencing & Selection
Databases – Lesson 3 Key Stage 3 ICT.
Creating an Interactive Quiz
Programming In Lesson 4.
CHAPTER 5: Control Flow Tools (if statement)
Programming In.
Software Lesson 3.
Creating an Interactive Quiz
Year 8 Computer Science Digital Portfolio
Presentation transcript:

PROGRAMMING In Lesson 6

RECAP  Discuss with the person next to you...  what you have enjoyed about python programming  What you have found difficult  What question would you like to ask the teacher..  2 mins and be ready to talk…

OBJECTIVES  Understand what a multi_selection statement  Understand how to use a multi_selection statement O UTCOMES  All-Level 4 written if.. Elif.. Else code using while - with help developed programs using pseudo code scored 50% in the plenary quiz  Most-Level 5have written these with little help. scored 75% in the plenary quiz  Some-Level 6Independently write these and adapt them and complete the extension tasks. scored 90% in the plenary quiz

PYTHON MULTI SELECTION  If statement as you already know  Elif is new. It is executed if test_1 is false  Else statement as you already know

SPECIFICATION  I want a program to ask a student for their percentage mark, and convert this to a grade.  The conversion will be done in a function called mark_grade  I want you to complete the function.

Add you code in here – then test it against the grades above. You can open this code from mark_to_grade start in lesson 6 folder.

EXTENSION ACTIVITIES  Ask the user for their target grade and print this with their mark  If their target grade > exam grade display a suitable message  If their target grade = exam grade display a suitable message  If their target grade < exam grade display a suitable message

 With your classmate you have 2 mins to discuss…  What was most difficult in the program?  What was most fun?  What question would you like to ask the teacher?  Write these 3 answers in your self evaluation book. CLASS DISCUSSION

JOKE TIME  You are to write a program that asks a user for their favourite number and then tells them a joke. The program will call a joke printing function with the users favourite number.  The function will accept one numeric parameter and use it to choose the joke to tell. You will probably use multi_selection if statement to match the joke against the number.

PSEUDO CODE Print a joke using the users number Start End Ask user their name Ask then for their number Call the joke telling function Joke Telling function End Extension activities: Get jokes from the internet Give the user a range to choose from Give the user an option to pick a random joke.

PLENARY  Complete the End of unit test

 Open the ICT levels spread sheet and find python tab  Read each Yellow box and answer in the yellow box, as well as the www and ebi. H OUSEKEEPING

PLENARY  Spend a few minutes playing the hangman game.