P6, M2, D2.

Slides:



Advertisements
Similar presentations
EXAMPLE 1 Making a Frequency Table. EXAMPLE 1 To find which type of art project was chosen most often, you can make a frequency table. Making a Frequency.
Advertisements

A Level Computing#BristolMet Session Objectives#U2 S2 MUST describe the steps of an algorithm using a program flowchart SHOULD explain the data types and.
Algorithms An algorithm is a finite sequence of instructions, logic, an explicit step-by-step procedure for solving a problem. Specific algorithms sometimes.
P3, P4, P5, P6.
P5, M1, D1.
Algorithms and Problem Solving
Question 1 Integration. Question 2 Integration Question 3 Integration.
Chapter 1 Program Design
Chapter 3 Planning Your Solution
Lesson Plan - APP Area and Perimeter
1 Interactive Applications (CLI) Interactive Applications Command Line Interfaces Project 1: Calculating BMI Example: Factoring the Solution Reading for.
Lesson Plan - APP Area and Perimeter
Microsoft® Small Basic
Microsoft Visual Basic 2008: Reloaded Fourth Edition
Java Programming, 3e Concepts and Techniques Chapter 3 Section 62 – Manipulating Data Using Methods – Day 1.
Programming Training Main Points: - Python Statements - Problems with selections.
Chapter one: introduction. Chapter two: Applications. Chapter three: hardware components Chapter four: procedure Chapter five: logical and hardware.
New Mexico Computer Science For All Interface Input in NetLogo Maureen Psaila-Dombrowski.
Developing an Algorithm
By the end of this session you should be able to...
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
Z-Town Technical Details Ben Trivett, Drew Switzer, Cameron Jett, Ryan Southard Department of Computer Science and Engineering The Ohio State University.
Coding Design Tools Rachel Gauci. What are Coding Design Tools? IPO charts (Input Process Output) Input- Make a list of what data is required (this generally.
Multi Way Selection You can choose statement(s) to run from many sets of choices. There are two cases for this: (a)Multi way selection by nested IF structure.
PROBLEM SOLVING & ALGORITHMS CHAPTER 5: CONTROL STRUCTURES - SELECTION.
Writing JavaScript Functions. Goals By the end of this unit, you should understand … How to breakdown applications into individual, re-usable modules.
Unit 2 – Algorithms & Pseudocode. Algorithms Computer problems solved by executing series of action in order Procedure –The Actions to execute –The Order.
Programming with Microsoft Visual Basic th Edition
Lecture 5: Stopping with a Sentinel. Using a Sentinel Problem Develop a class-averaging program that will process an arbitrary number of grades each time.
Grade 3 Mental Math Measurement Estimation – Length.
1 Algorithms Practice Topics In-Class Project: Tip Calculator In-Class Project: Drawing a Rectangle.
Algorithm Discovery and Design Objectives: Interpret pseudocode Write pseudocode, using the three types of operations: * sequential (steps in order written)
LAB SESSION ONE DIMENSIONAL ARRAY.
Exercise 1 #include int main() { printf(“Hello C Programming!\n”); return 0; } 1.Run your Visual Studio 2008 or Create a new “project” and add.
1 Project 2: Using Variables and Expressions. 222 Project 2 Overview For this project you will work with three programs Circle Paint Ideal_Weight What.
Intro to Loops 1.General Knowledge 2.Two Types of Loops 3.The WHILE loop 1.
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
Think First, Code Second Understand the problem Work out step by step procedure for solving the problem (algorithm) top down design and stepwise refinement.
1 90 students in a school have visited at least two other provinces. If this represents 24% of the students in the school, how many students are in the.
Assignments. Assignment 1 Write a program to calculate the current equation Where p is the period of pendulum in seconds, g=980 cm/sec 2 (acceleration),
Algorithms and Pseudocode
Starter – Its the small things in life What’s wrong with this code Height = 10 Width = 10 A = Height * Width Print A Remember to check: Spelling Spacing.
Chapter 2 Excel Fundamentals Logical IF (Decision) Statements Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 10 So Many Paths … So Little Time (Multiple-Alternative Selection Structures) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Chapter Five More on the Selection Structure Programming with Microsoft Visual Basic th Edition.
Program Design. Simple Program Design, Fourth Edition Chapter 1 2 Objectives In this chapter you will be able to: Describe the steps in the program development.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Clearly Visual Basic: Programming with Visual Basic 2008 Chapter 19 A Ray of Sunshine.
Programming revision Revision tip: Focus on the things you find difficult first.
Lateral Surface Area practice
EXAMPLE 1 Making a Frequency Table.
MATH UNIT #3 Measurement
P3, M2.
Analyzing One-Variable Data
How To Choose the Right Painter and Decorator for Your Home?
CISC101 Reminders Quiz 1 grading underway Next Quiz, next week.
SQUARE ROOTS.
Bell Ringer Describe the different products you can use to add visual interest to your walls.
Microsoft Visual Basic 2005: Reloaded Second Edition
To be able to calculate the surface area of cubes and cuboids
Algorithms Practice Topics In-Class Project: Tip Calculator
Part 6 Q26 to Q30 of National 5 Prelim
Add and Subtract I explain what each digit represents in a four digit number. I can use materials or diagrams to explain how a 4-digit number could be.
What Is Area ? Area is the amount of space inside a shape: Area Area
Warm Up Objective: Scientists will describe the heart by analyzing the dissection. What is the topic? What will you be doing? Why is this important?
Add and Subtract I can use a number line to count in tens or hundreds from any starting point. I explain what each digit represents in a four digit number.
GCSE Computing Mini Assignment.
Algorithms, Part 3 of 3 Topics In-Class Project: Tip Calculator
Finding the Area of a Rectangle
Stage 7: Designing a restaurant
Presentation transcript:

P6, M2, D2

1. Design a program to be used by an interior decorator to estimate the cost of painting a room. The decorator needs to enter the height of the room (between 2 and 6 metres), then the length of all four walls (minimum 1 metre; maximum 25 metres). The program should then calculate the total area of the room. The program should allow a choice of three paints: Luxury quality which cost £1.75 per square metre Standard quality which costs £1.00 per square metre. Economy quality which costs £0.45 per square meter. The decorator should also be able to choose to use undercoat paint if required, which costs an additional £0.50 per square metre. The program should display an itemised bill with a total (P6)

M2 2. Write a justification of the data types you have chosen for the variables you have defined in your design and the way you have structured the system, for example by splitting it into a number of different procedures.

D2 Develop an algorithm using pseudo-code to describe how the calculation should be done to estimate the cost of the decorating for any given size of room, choice of paint and undercoat

Grading Tips The design produced should use a variety of design tools such as structure diagrams to identify the different procedures and story board to design the user interface (P6) When working towards M2 remember that your justification of the choice of data type will need to cover why you chose the data types you did, what the alternatives were and why you did not consider them suitable. In some cases this will be quite straightforward, for example where text input is made. However, with numeric data you will need to consider not only if the value will be integer only or if a floating point data type is required, but also the likely range values the variable will hold. (M2) You should annotate the algorithms you produce to explain how they work and how they meet the requirements of the system. (D2)