Do it now activity Log onto the computer.

Slides:



Advertisements
Similar presentations
Chapter 4 - Control Statements
Advertisements

Basic Control Structures Control order of execution of statements sequential selection iteration - Repeat some action while a certain condition is true.
CS Section 600 CS Section 002 Dr. Angela Guercio Spring 2010.
6. More on the For-Loop Using the Count Variable Developing For-Loop Solutions.
Program Design and Development
Slides prepared by Rose Williams, Binghamton University Chapter 3 Flow of Control Loops in Java.
Lecture Notes 1/21/04 Program Design & Intro to Algorithms.
Problem Solving Chapter 2. What is an algorithm? n A solution to a problem that is: –Precise –Effective –Terminating.
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”)
Python quick start guide
Chapter 1 Introduction Dr. Frank Lee. 1.1 Why Study Compiler? To write more efficient code in a high-level language To provide solid foundation in parsing.
Introduction to Computational Linguistics Programming I.
Do it now activity Last term we learnt about how data is represented in a computer and about how to identify different volumes of data. How many bits in.
By the end of this session you should be able to...
Extended Prelude to Programming Concepts & Design, 3/e by Stewart Venit and Elizabeth Drake Chapter 2: Flowcharts.
Selection Control Structures. Simple Program Design, Fourth Edition Chapter 4 2 Objectives In this chapter you will be able to: Elaborate on the uses.
© 2011 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Stewart Venit ~ Elizabeth Drake Developing a Program.
Software Life Cycle What Requirements Gathering, Problem definition
Chapter 2 Problem Solving On A Computer 2.1 Problem Solving Steps Solving a problem on a computer requires steps similar to those followed when solving.
Saeed Ghanbartehrani Summer 2015 Lecture Notes #5: Programming Structures IE 212: Computational Methods for Industrial Engineering.
Dale Roberts 1 Program Control - Algorithms Department of Computer and Information Science, School of Science, IUPUI CSCI N305.
Procedural Programming Criteria: P2 Task: 1.2 Thomas Jazwinski.
I Power Higher Computing Software Development High Level Language Constructs.
1 Program Development l Problem definition l Problem analysis l Algorithm design l Program coding l Program testing l Program documentation.
Useful IDLE Alt-ENTER Commenting-out. Writing a Program CMSC 120: Visualizing Information 2/14/08.
Algorithm Discovery and Design Objectives: Interpret pseudocode Write pseudocode, using the three types of operations: * sequential (steps in order written)
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
EGR 115 Introduction to Computing for Engineers Branching & Program Design – Part 3 Friday 03 Oct 2014 EGR 115 Introduction to Computing for Engineers.
Topic: Control Statements. Recap of Sequence Control Structure Write a program that accepts the basic salary and allowance amount for an employee and.
Controlling Program Flow with Decision Structures.
Problem Solving.  Similar to Solving Math Word Problem  Read the Problem  Decide how to go about Solving the Problem  Solve the Problem  Test the.
For Loop GCSE Computer Science – Python. For Loop The for loop iterates over the items in a sequence, which can be a string or a list (we will discuss.
PYTHON PROGRAMMING Year 9. Objective and Outcome Teaching Objective Today we will look at conditional statements in order to understand how programs can.
Trace Tables In today’s lesson we will look at:
Starter What does the following code do?
Component 1.6.
Do it now activity Last lesson we used Flowol to create a solution to a problem a computer could solve. Identify what each symbol does:
Unit 2 Smarter Programming.
Chapter 5 Decisions. Chapter 5 Decisions ssential uestion: How are Boolean expressions or operators used in everyday life?
Computer Science 101 While Statement.
Understand the Programming Process
Do it now activity Green pen activity in books.
Problem Solving Techniques
Do it now activity Since the beginning of the term you have planned a database based on your own scenario. Using your plan you are going to create a database,
Computers & Programming Languages
Log onto a computer first then ….
Scratch: selection / branching/ if / If…else / compound conditionals / error trapping by Mr. Clausen.
Looping and Random Numbers
Chapter 2- Visual Basic Schneider
Design and Implementation
Understand the Programming Process
Computer Science Core Concepts
ICT Programming Lesson 3:
if-else Structures Principles of Engineering
PYTHON: BUILDING BLOCKS Sequencing & Selection
An Introduction to Linux
Can you think of 2 purposes of the operating system?
DO IT NOW i = 1 total = 0 REPEAT total = total + round(i) i = i + 1
Programming In Lesson 4.
IPC144 Introduction to Programming Using C Week 4 – Lesson 2
Print the following triangle, using nested loops
Do it now – PAGE 3 You will find your do it now task in your workbook – look for the start button! Thursday, 23 May 2019.
DO IT NOW a = 1 totalStudents = 0 REPEAT
Creating Maintainable code
Creating your game.
CS105 Introduction to Computer Concepts Intro to programming
WRITING AN ALGORITHM, PSEUDOCODE, AND FLOWCHART LESSON 2.
Creating readable code
2 Making Blocks with INPUTS.
Creating behaviours: MOVEMENT
Presentation transcript:

Do it now activity Log onto the computer. While waiting for the computer to log on complete the front section. Open IDLE and using your homework create your vending machine program. Complete the your response section

In your books Todays date: 21/05/2019 C/W Lesson title: Vending machine program

Independent task Once you have got your program to run print off your code and stick it in your book.

Do it now activity Using a green pen identify any changes you made to your pseudocode in order to get the program to run.

Learning objectives Plenary Three stars and a wish.

Learning outcomes ALL MOST SOME (Level 4) I can design, write and debug modular programs using procedures. I know the difference between, and appropriately I can use if and if, then and else statements. I can use a variable and relational operators within a loop to govern termination. MOST (Level 5) I know that programming bridges the gap between algorithmic solutions and computers. I can use a range of operators and expressions e.g. Boolean, and applies them in the context of program control. I have practical experience of a high-level textual language, including using standard libraries when programming. I can select the appropriate data types. SOME (Level 6) I can use nested selection statements. I know and I can use negation with operators. I can find and corrects syntactical errors.