UFCEKS-20-2Multimedia Authoring Times Table Quiz.

Slides:



Advertisements
Similar presentations
P5, M1, D1.
Advertisements

Building Java Programs
Enter question text... 1.Enter answer text.... Enter question text... 1.Enter answer text...
Solving Problems with Repetition. Objectives At the end of this topic, students should be able to: Correctly use a while statement in a C# program Correctly.
Enter question text... 1.Enter answer text.... Enter question text... 1.Enter answer text...
12 Pontoon1May Pontoon program CE : Fundamental Programming Techniques.
Hand Crafting your own program By Eric Davis for CS103.
Algorithms. Software Development Method 1.Specify the problem requirements 2.Analyze the problem 3.Design the algorithm to solve the problem 4.Implement.
Program design example Task: Develop an algorithm expressed in pseudocode for a specified problem specified problem.
Algorithms. Software Development Method 1.Specify the problem requirements 2.Analyze the problem 3.Design the algorithm to solve the problem 4.Implement.
Copyright 2008 by Pearson Education Building Java Programs Chapter 3 Lecture 3-3: Interactive Programs w/ Scanner reading: self-check: #16-19.
Chapter 1 Pseudocode & Flowcharts
CS 0004 –Lecture 8 Jan 24, 2011 Roxana Gheorghiu.
1 Copyright (C) 2008 by Dennis A. Fairclough all rights reserved.
Looping While-continue.
Advanced Programming LOOP.
Mastering Char to ASCII AND DOING MORE RELATED STRING MANIPULATION Why VB.Net ?  The Language resembles Pseudocode - good for teaching and learning fundamentals.
1 CS 1430: Programming in C++. 2 Input: Input ends with -1 Sentinel-Controlled Loop Input: Input begins with.
Program 6 Any questions?. System.in Does the opposite of System.out.
Problem Solving Techniques. Compiler n Is a computer program whose purpose is to take a description of a desired program coded in a programming language.
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.
Python Repetition. We use repetition to prevent typing the same code out many times and to make our code more efficient. FOR is used when you know how.
1 An Example. Problem Using OCD, design and implement a program that computes the area and circumference of an Australian Rules Football field, which.
Variables When programming it is often necessary to store a value for use later on in the program. A variable is a label given to a location in memory.
Variables. Todays Lesson  In todays lesson you are going to:  Learn to use variables  Learn to ask for user input  Learn to save the users response.
Simple Quiz Assessment David Yan Under the direction of Susan Rodger Duke University June 2015.
Advanced Work with Embedded and Summative Assessment Dr. Steve Broskoske Misericordia University EDU 533 Computer-based Education.
The Software Development Process
Georgia Institute of Technology More on Creating Classes part 2 Barb Ericson Georgia Institute of Technology Oct 2005.
Physics Exercise Generation and Simulation Interface Welcome! Login as Student Login as Instructor Register as Instructor Register as Student.
Intermediate 2 Computing Unit 2 - Software Development.
Programming Fundamentals I Java Programming Spring 2009 Instructor: Xuan Tung Hoang TA: Tran Minh Trung Lab 03.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
Iteration. Iteration: Review  If you wanted to display all the numbers from 1 to 1000, you wouldn’t want to do this, would you? Start display 1 display.
Moodle Quizes Staff Guide. Creating Quizzes Click Add an Activity or Resource With the course in editing mode...
Unit 17: SDLC. Systems Development Life Cycle Five Major Phases Plus Documentation throughout Plus Evaluation…
Data Types and Conversions, Input from the Keyboard If you can't write it down in English, you can't code it. -- Peter Halpern If you lie to the computer,
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
UFCFY5-30-1Multimedia Studio Scripting for Interactive Media Times Table Quiz This will contribute towards your online portfolio for this module.
EGR 115 Introduction to Computing for Engineers Loops and Vectorization – Part 1 Monday 13 Oct 2014 EGR 115 Introduction to Computing for Engineers.
Flashcard Quiz Program BY: KISHIN ARUWANI. Background  This program will be created as a studying tool to give students the ability to create flashcards.
Steps for Developing a Visual C# 2010 Application MIT By: S. Sabraz Nawaz.
GCSE Computing: Programming GCSE Programming Remembering Python.
FOR LOOPS "LOOP FOR A SET NUMBER OF TIMES.". FOR ( START_VALUE; END_VALUE; INCREMENT_NUMBER ) { //YOUR_CODE_HERE } So after the word "for" (in lowercase)
Introduction to Programming Python Lab 7: if Statement 19 February PythonLab7 lecture slides.ppt Ping Brennan
UFCFY5-30-1Multimedia Studio Scripting for Interactive Media Using Interface Fields to Receive and Display Data to the User.
CIS 115 AID Peer Educator/cis115aid.com FOR MORE CLASSES VISIT
Design of Rock-Paper-Scissors end Print instructions Play game Ask user If (s)he wants to play again Play again? Y Print stats: wins, losses and ties start.
Input, Output and Variables GCSE Computer Science – Python.
Programming Simple Programming Variables.
Highcliffe ICT Department
Quiz # 02 Design a data type Date to hold date
Introduction to Programming
Building Java Programs
Week 5 Computer Programming Gray , Calibri 24
Use proper case (ie Caps for the beginnings of words)
Week 5 Computer Programming Year 9 – Unit 9.04
For Wednesday No new reading No quiz.
Introduction to Programming
Put it all together Lesson 5.
Language Constructs Construct means to build or put together. Language constructs refers to those parts which make up a high level programming language.
Put it all together Lesson 6.
Introduction to Programming
Hint idea 2 Split into shorter tasks like this.
Input, Variables, and Mathematical Expressions
Module 5 ● Vocabulary 1 a sensing block which will ask whatever question is typed into the block and display an input text box at the bottom.
Primary School Computing
Presentation transcript:

UFCEKS-20-2Multimedia Authoring Times Table Quiz

UFCEKS-20-2Multimedia Authoring Development Cycle Problem Description and Analysis Design a Solution (Describe/Plan/Document) Implement (code it!) Test – Debug! - Retest Maintain / Improve/ Enhance.

UFCEKS-20-2Multimedia Authoring Problem Create a times-table quiz for users of around 6-7 years old to play against the computer. After entering their name at the start of the quiz the user will be presented with randomly generated times-table questions based on 2 – 10 times tables and will attempt to give the correct answer. If the user answer is correct their score will increase, if not the computer’s score will increase. After 10 questions the scores are displayed and the winner announced.

UFCEKS-20-2Multimedia Authoring Do I Understand the Problem? Think…

UFCEKS-20-2Multimedia Authoring 2 x 7 = ? Times Tables 6 x 9 = ? 9 x 8 = ? 7 x 5 = ?

UFCEKS-20-2Multimedia Authoring Design Solution – Pseudo Code prompt the user to enter their name loop generate two random numbers multiply them together and store the answer display the numbers and prompt the user to enter their answer compare the user’s answer with the answer stored if the user’s answer is correct – increase the user’s score if the user’s answer is incorrect increase the computer’s score while more questions to ask user display scores to the user with an appropriate message.

UFCEKS-20-2Multimedia Authoring What Variables are Required prompt the user to enter their name loop generate two random numbers multiply them together and store the answer display the numbers and prompt the user to enter their answer compare the user’s answer with the answer stored if the user’s answer is correct – increase the user’s score the user’s answer is incorrect increase the computer’s score while more questions to ask user display scores to the user with an appropriate message

UFCEKS-20-2Multimedia Authoring Data Table: Variables, Purpose and Type Variable NamePurposeType userNamestore the user’s nameString firstNumberstore the value of the integer first random number secondNumberstore the value of the secondinteger random number correctAnswerstore the product of theinteger first and second number userResponsestores the value of the userinteger answer to the question userScore stores the number of correctinteger answers from the user computerScorestores the number of incorrectinteger answers from the user numberOfQuestionsstores the number of questions tointeger ask the user during the quiz

UFCEKS-20-2Multimedia Authoring Control Structures ? loop generate two random numbers multiply them together and store the answer display the numbers and prompt the user to enter their answer compare the user’s answer with the answer stored if the user’s answer is correct – increase the user’s score if the user’s answer is incorrect increase the computer’s score while more questions to ask user display scores to the user with an appropriate message.

UFCEKS-20-2Multimedia Authoring User Interface Information Static text fields to label user information. Input text fields to get user response to questions. Dynamic text fields to update display.