LO: We’re learning to outline a program using Pseudo Code.

Slides:



Advertisements
Similar presentations
Write a program step by step. Step 1: Problem definition. Given the coordinate of two points in 2-D space, compute and print their straight distance.
Advertisements

Video Game Design Lesson 1. Game Designer Person involved in the development of a video game Person involved in the development of a video game Usually.
TEL 104 / MKK Fundamental Programming: Lecture 3
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Computer Science 1620 Programming & Problem Solving.
Pseudocode.
Starting Out with C++: Early Objects 5/e © 2006 Pearson Education. All Rights Reserved Starting Out with C++: Early Objects 5 th Edition Chapter 1 Introduction.
Pseudocode.
LO: We’re learning to test out application against our requirements.
Original Source : and Problem and Problem Solving.ppt.
LO: Learn how to develop your game further to include interactions with the device.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming.
Alternate Version of STARTING OUT WITH C++ 4 th Edition Chapter 1 Introduction to Computers and Programming.
Why Program? Computer – programmable machine designed to follow instructions Program – instructions in computer memory to make it do something Programmer.
Chapter Introduction to Computers and Programming 1.
DCT 1123 Problem Solving & Algorithms
The Scratch Calculator You are all going to be real computer programmers!!!
CSC 125 Introduction to C++ Programming Chapter 1 Introduction to Computers and Programming.
Pseudocode algorithms using sequence, selection and repetition
XP New Perspectives on Microsoft Office Access 2003 Tutorial 11 1 Microsoft Office Access 2003 Tutorial 11 – Using and Writing Visual Basic for Applications.
Copyright © 2012 Pearson Education, Inc. Chapter 1: Introduction to Computers and Programming 1.
CSC141 Introduction to Computer Programming
Chapter 1: Introduction to Computers and Programming.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and 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.
General Programming Introduction to Computing Science and Programming I.
Selection Control Structures Simple Program Design Third Edition A Step-by-Step Approach 4.
Computer Science 101 Introduction to Programming.
Learning the skills for programming Advanced Visual Programming.
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.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
C Hints and Tips The preprocessor and other fun toys.
Chapter 2 Pseudocode. Objectives To introduce common words, keywords and meaningful names when writing pseudocode To define the three basic control structures.
Pseudocode Simple Program Design Third Edition A Step-by-Step Approach 2.
Pseudocode Algorithms Using Sequence, Selection, and Repetition
Advanced Work with Embedded and Summative Assessment Dr. Steve Broskoske Misericordia University EDU 533 Computer-based Education.
Control Structures (B) Topics to cover here: Sequencing in C++ language.
CS140: Intro to CS An Overview of Programming in C by Erin Chambers.
Copyright 2003 Scott/Jones Publishing Standard Version of Starting Out with C++, 4th Edition Chapter 1 Introduction to Computers and Programming.
CS 240 – Computer Programming I Lab Kalpa Gunaratna –
The Hashemite University Computer Engineering Department
Introduction to Text Based Coding. We’re learning to explore how text based programming works You will display and enter text into a window You will use.
1 CSC160 Chapter 1: Introduction to JavaScript Chapter 2: Placing JavaScript in an HTML File.
Pseudocode. Algorithm A procedure for solving a problem in terms of the actions to be executed and the order in which those actions are to be executed.
Chapter 1: Introduction to Computers and Programming.
Learning to use a ‘For Loop’ and a ‘Variable’. Learning Objective To use a ‘For’ loop to build shapes within your program Use a variable to detect input.
PYTHON PROGRAMMING Year 9. Objective and Outcome Teaching Objective Today we will look at conditional statements in order to understand how programs can.
Component 1.6.
Chapter 1 Introduction 2nd Semester H
BASIC PROGRAMMING C SCP1103 (02)
Collision Theory and Logic
Introduction to Computing Science and Programming I
A451 Theory – 7 Programming 7A, B - Algorithms.
Collision Theory and Logic
BASIC PROGRAMMING C SCP1103 (02)
Introduction to Programming
CHAPTER 2 & 3: Pseudocode and Developing and Algorithm
Program Design Introduction to Computer Programming By:
Pseudocode.
Pseudocode algorithms using sequence, selection and repetition
Programming Fundamentals (750113) Ch1. Problem Solving
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
King Saud University College Of Applied Studies and Community Services CSC 1101 Computer Programming-1 Done By: Asmal Alosaimi Edited By: Fatimah Alakeel.
Programming Fundamentals (750113) Ch1. Problem Solving
COMPUTATIONAL THINKING COMPUTATIONAL THINKING IN PROGRAMMING
Programming Fundamentals (750113) Ch1. Problem Solving
Introduction to Python
Hardware is… Software is…
Introduction to Pseudocode
Presentation transcript:

LO: We’re learning to outline a program using Pseudo Code

 You are required to plan out the code for your game using Pseudo Code  Remember the requirements for your game!:  It must be fun  It must be educational  It must allow the user to interact with the screen  It should include scoring elements  It should include sounds  Include information about your school.

Definition: - An outline of a program, written in a form that can easily be converted into real programming statements. Pseudo Cannot be compiled or ran…. There isn’t any syntax or rules It allows you concentrate on algorithms You can write it without ever knowing code

Verb used: Print  used when the output is to be sent to the printer Write  used when the output is to be written to a file Put, Output, Display  used when the output is to be written to the screen Prompt  required before an input instruction Get, causes the message to be sent to the screen which requires the user responds, usually by providing input. Print `Program Completed´ Write customer record to master file Put out name, address and postcode Output total_tax Display ´End of data´ Prompt for student_mark Get student_mark

Verb used: IF > Test if something has happened or not THEN > IF the test is true then.... ELSE > Otherwise do this.... IF student_attendance_status is part_time THEN add 1 to part_time_count ELSE Add 1 to full_time_count ENDIF

 Task 1 : - Pseudo Code Basics  Using the worksheet1 write some examples of Pseudo code such as drawing a house.  Using worksheet2 underline anything which you might see as a variable.

 Task 2 : -  You are required to pick out some of your screens from your game (previously designed)  Once you have picked out the screens, you’re required to develop Pseudo code for them. Use variables like the examples.

Set run to false Set overlay to create a board using the height and width. Change the colour of overlay to transparent. Make some text which is 20 by 40 using the text Game Over Check variable I 50 times. set the background darker by 0.2 update the board