Programming Problems Intermediate 2 Computing SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE.

Slides:



Advertisements
Similar presentations
Chapter 4: Requirements Engineering
Advertisements

EiS – Education iT Services Our passion in EiS is to make a real difference in education and ultimately childrens lives by providing innovative solutions.
Writing an effective assignment in A-Level Leisure Studies.
SAM 2007 v3.0 The Student Experience Including SAM Projects and Course Assess assignments.
Infinite Campus Tutorial
30/04/ Selection Nested If structures & Complex Multiple Conditions.
EDGEWOOD ISD TEACHERS GUIDE 1 Department of Planning and Student Information Systems.
ATM User Interface V3. I/O Devices Input: Keyboardfor input, option select Keyboardfor input, option select Or Touch screen Or Touch screenOutput: Screenfor.
Standard Algorithms. Many algorithms appear over and over again, in program after program. These are called standard algorithms You are required to know.
Mr Barton’s Maths Notes
Session 5 of 10 Review + Multiple Sprites
Need your MyMathLab card with your access code Need a Valid Address Need to know Purdue’s zip code is and your course ID for your Class You.
Need your MyMathLab card with your access code Need a Valid Address Need to know Purdue’s zip code is and your course ID for your Class You.
A wonderful informal assessment tool! Created by Joell Wilkins using the Apple app, so please note Android apps might be different. This powerpoint may.
Table of Contents Logging In Ascend SMS Screen Layout Home Tab
Wizard Game: Class-Level Variables in Alice By Jenna Hayes Under the direction of Professor Susan Rodger Duke University, July
{ How to Use An ATM A simple tutorial to teach how to use ATM Machines.
Lesson 4: Percentage of Amounts.
Myrtle Entertainment Network Scanner How to work your way to installing a program via Myrtle Entertainment Network Scanner.
STAR PORTAL GRADEBOOK. Let’s Get Into the Gradebook! At the Teacher Schedule page, click once on the Gradebook link to open to the page for the corresponding.
Welcome to the quiz. Here is your first question. If I had one more sister I would have twice as many sisters as brothers. If I had one more brother I.
IGCSE ICT Data Handling Applications.
Electronic Payment. Amounts transferred through accounts Money transfer instructions Bank’s computer system Other banks / Businesses.
Setting up IC to use a 4 Point Scale Created by North High School 2013.
An Introduction to Textual Programming
Brian Duddy.  Two players, X and Y, are playing a card game- goal is to find optimal strategy for X  X has red ace (A), black ace (A), and red two (2)
Merijn Benjamin Christina
1 Focusing on the FCAT Test-Taking Strategies Grades 3-5 Nancy E. Brito, Department of Assessment , PX47521 Information.
Math 010 online work that is due today at the start of class: Gateway Homework #3 (turn in worksheet now, while I take roll) Section 1.2/1.8 Online Homework.
Driving School Database
ICT IGCSE.  Understand a wide range of work-related ICT applications and their effects, including applications in libraries (such as records of books.
Unit 5 Evidence Name: Corey jones. 1.What software did you use? When doing my unit 5 spreadsheet I used Microsoft excel. 2. Why did you use this rather.
Slide 1 St Andrew’s High School Standard Grade Computing Databases Standard Grade Computing Studies.
Starter… Draw a data dictionary for these entities: TEAM(teamID, Name, League, Founded) KIT(kitID, teamID, size, type, season, price) EntityKeyNameData.
Software Development Process.  You should already know that any computer system is made up of hardware and software.  The term hardware is fairly easy.
Writing Program Code in BASIC Write a program to prompt for and accept values into TWO variables, numx and numy. The program should square the value stored.
30/10/ Iteration Loops Do While (condition is true) … Loop.
AS computing Validation and verification. Introduction It is important to maintain the integrity of any database of information. Any data item must always.
Writing JavaScript Functions. Goals By the end of this unit, you should understand … How to breakdown applications into individual, re-usable modules.
Team Managers Package Indoor
NYS Division of Homeland Security And Emergency Services (DHSES) E-Grants Tutorial Creating an Application for the EOC RFP To access DHSES E-Grants you.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
Program #2 Algorithm for Parking at PSU. Understanding the Assignment You will be writing a program to find out how much someone at PSU might be spending.
Intermediate 2 Computing Unit 2 - Software Development.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
Count Controlled Loops (Nested) Ain’t no sunshine when she’s gone …
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
Python Lesson 1 1. Starter Create the following Excel spreadsheet and complete the calculations using formulae: 2 Add A1 and B1 A2 minus B2 A3 times B3.
CIS 234: Project 2 Issues Dr. Ralph D. Westfall May, 2010.
CS 141 Computer Programming 1 Branching Statements.
GCSE Computing: Programming GCSE Programming Remembering Python.
. Input 1. Make a list of a range of input devices – In twos decide how many you think you can come up with and make a bid. Teams keep bidding until.
How to use Vivo Rewards A Student Guide Updated on Sep 2013.
TxGradebook – A Teacher’s View. 07/12/2010 Is a web-based application designed for use by teachers in the classroom, at home or anywhere with Internet.
Experimental Probability of Simple Events. Focus
R ounding Nearest 10 Nearest decimal place The nearest whole number Correct to 2 dps Nearest 1000.
Marr CollegeHigher Software DevelopmentSlide 1 Higher Computing Software Development Topic 4: Standard Algorithms.
GCSE COMPUTER SCIENCE Practical Programming using Python
Whatcha doin'? Aims: To start using Python. To understand loops.
Chapter 5: Control Structure
Validation Bury College.
Mary Torjussen A2 ICT Week 1.
Standard Algorithms Input validation Finding the minimum
Do While (condition is true) … Loop
How to use Vivo Rewards A Student Guide Updated on Sep 2013.
Interim & Diagnostic Teacher Item Previewer
Hint idea 2 Split into shorter tasks like this.
Algorithms For use in Unit 2 Exam.
Python SAT 1 Feedback.
Presentation transcript:

Programming Problems Intermediate 2 Computing SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

NOTICE Before you attempt these tasks, make sure you have practiced all the programs from the Decimal BASIC tutorial booklet first Remember to see the teacher if you are not understanding any part of an example or task Decimal BASIC is a free download and can be practiced at home

Program 1 Program Specification: Design, implement and test a program which will prompt the user to enter his or her name. The program should then display the name and a welcome message Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 2 Program Specification: Adapt Program 1 to output a personalised Happy Birthday message Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 3 Program Specification: Belinda works in a garden centre, selling paving stones. Customers come in with the plans for their patio, and ask how many slabs they will need, and how much they will cost. For example, Mr McInally says his back garden is 35 slabs wide and 16 slabs deep. He wants the pink granite slabs at £2.99 each. How many slabs will he need, and what will they cost? Design, write and test a program to: · input two whole numbers (the number of slabs wide and number of slabs deep) · multiply them together (number of slabs needed = number wide * number deep) · input the price of a single slab · multiply to get the total price · display the results (number of slabs required and total cost). Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 4 Program Specification: Design, write and test a program to calculate the average of six test marks. Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 5 Program Specification: Design, write and test a program to calculate the number of points gained by a football team, given the number of wins, draws and lost games, assuming a win is worth 3 points, a draw 1 point, and no points for a lost game. Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 6 Program Specification: A basketball team manager wants a program which will input a player’s name, squad number and points scored in the first three games of the season. It should then calculate the player’s average score (to the nearest whole number), and display a summary of the player’s details: Design, write and test a program to: · prompt the user to enter a player’s name, squad number and points scored in games 1, 2 and 3 · calculate the player’s average score, rounded to the nearest whole number (use the ROUND function!) · display the player’s name, squad number and average clearly on a form Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 7 Program Specification: When you try to take money out of an ATM you are only allowed to withdraw cash up to your credit limit. For example, if your credit limit is £100, and you try to withdraw £50, then it should work fine. However, if you try to withdraw £150, you will not be allowed to, and a message will appear on the screen advising you that this is over your credit limit. Design, write and test a program to: · take a number entered by the user · compare it with a credit limit (100) · report ‘over the credit limit’ if the number is over 100 Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 8 Program Specification: The problem: A program is required that will select a suitable prize, depending on which number between 1 and 5 is entered by the user. Design, write and test a program to: · prompt the user to enter a number between 1 and 5 · store the number · output an appropriate message: Enter a 1 -> “You have won a colour TV” Enter a 2 -> “You have won a mobile phone” …, etc. (no prize if the number is not between 1 and 5). Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 9 Program Specification: Adapt Program 8 to fulfil the following specification: Design, implement and test a program that asks the user to enter a grade (A, B, C, D or F), and gives you messages like ‘A means you got over 70%’, ‘B means you got between 60% and 70%’, and so on. Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 10 Program Specification: A program is required that could be used to assign grades to exam marks automatically. Over 70% is an A, over 60% is a B, over 50% is a C, over 45% is a D, and less than 45% is a fail. Design, write and test a program to: · prompt the user to enter the highest possible score for an exam (e.g. 80) · prompt the user to enter a student’s name (first name and surname) · prompt the user to enter the student’s mark (e.g. 63) · calculate the percentage mark · display a message displaying the student’s initials, percentage and grade. Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 11 Program Specification: A program is required that asks the user to enter their age, then displays one of the following messages, as appropriate: · Sorry, you can’t drive (if you are under 16) · You can only drive a moped (if you are 16) · You can only drive a car or moped (if you are 17–20) · You can drive any vehicle (if you are 21–74) · You need a medical check (if over 75). Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 12 Program Specification: Design, write and test a program that asks the user to enter a letter, and prints the word: · red if R or D is entered · green if G or N is entered · blue if B or E is entered · yellow if Y or W is entered · black if C, A or K is entered. The program should respond to both upper case (Ucase$) and lower case (Lcase$) inputs. Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 13 Program Specification: Design, write and test a program to display any multiplication table (chosen by the user) in the form: 1 × 5 = 5, 2 × 5 = 10 and so on as far as 12 × 5 = 60. Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 14 Program Specification: A primary school teacher wants a program that will allow a pupil to type in any whole number. The program will then display the relevant times table, up to a maximum multiplier set by the pupil. The display should be in the format: 5 times 1 equals 5 5 times 2 equals 10 5 times 3 equals 15 and so on … Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 15 Program Specification: A greengrocer needs a program which will allow him to type in the price of 1kg of any item. The program should then display the cost of 0, 0.1, 0.2 … up to 1.8, 1.9, 2.0 kg of the item. The output might look something like this: 0 kg costs £0 1.1 kg costs £ kg costs £ kg costs £0.60 and so on … Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 16 Program Specification: A mathematician wants a list of cubic numbers (1, 8, 27, 64, 125 …) starting and finishing at any point on the list. The results should be displayed like this: 2 cubed = 8 3 cubed = 27 4 cubed = 64 and so on … Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 17 Program Specification: Design, write and test a program for a tutor. The program should prompt the user to enter any list of names, which will be displayed on the screen. The program should count how many of these names begin with the letter A, and display this information at the end of the list. Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 18 Program Specification: Design, write and test a program for a bank cash machine. The program should prompt the user to enter their PIN. If the PIN is correct, it should display “Welcome to the Decimal BASIC Bank” (message 1). If not, it should notify the user that their PIN was entered wrongly (message 2), and let them try again, but only allow three tries. If the user enters their PIN wrongly three times, they should be warned that their card is being kept (message 3). Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 19 Program Specification: Prompt the user to enter what year they are in at school. Only accept 1, 2, 3, 4, 5 or 6 as valid years. Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 20 Program Specification: Prompt the user to enter their type of membership in a club. Membership codes are J (for Junior), I (for Intermediate) and S (for Senior). Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 21 Program Specification: Prompt the user to enter a name. The program should only accept a name beginning with the letter ‘A’. ( Hint: use name$[1:1] ) Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Program 22 Program Specification: Prompt the user to enter a password, which can include letters and numbers. The program should only accept a password that is at least six characters long. (Hint: use LEN) Complete a PROGRAMMING WRITING FRAME for this task SHOW YOUR TEACHER YOUR WORKING PROGRAM AND WRITING FRAME THEN SAVE IN YOUR PROGRAMMING FOLDER AND UPDATE YOUR PROGRAMMING CHECKLIST REFER TO YOUR DECIMAL BASIC TUTORIAL BOOKLET WHERE REQUIRED

Coursework Tasks Using your writing frame, attempt the programming coursework tasks from 2007 – present You can refer to any notes during these tasks, including tutorial books and project books