When testing a program that takes in ages of primary pupils aged 4 to 12, the extremes that could be tested are:
- 4 and 12
- -6 and 15
- 5 and 13
- 7 and 11
When testing a program that takes in ages of primary pupils aged 4 to 12, the normal data that might be tested are:
- 7 and 11
- -6 and 15
- 5 and 13
- 4 and 12
Which of these is produced at the Documentation stage?
- User Guide
- Software Sepcification
- Structure Diagrams
- Pseudocode
Which of these is produced at the Documentation stage?
- Error reports
- Structure Diagrams
- Software Sepcification
- Technical Guide
Which of these is the correct code for calculating the volume of a room?
- volume = roomlength * roombreadth * roomheight
- volume = length * breadth
- volume = txtVolume
- txtVolume = volume
Which of these is the correct Visual Basic code to input someone's name?
- name = InputBox("Enter your name")
- name = input name
- What is your name?
- txtName = name
Which of these is the correct Visual Basic code to output the result of adding some numbers?
- Msgbox "The total is " & total
- total = InputBox("Enter the total")
- Msgbox "This is the total"
- total = txtTotal
Which of these would NOT be a feature of a text editor?
- Copy and Paste
- Translate code
- Find / Change
- Cut and Paste
Which two stages are missing? Analysis / Design / X / Testing / Documentation / Y / Maintenance
- X = Programming, Y = Feedback
- X = Programming, Y = Evaluation
- X = Implementation, Y = Evaluation
- X = Evaluation, Y = Programming
Which two stages are missing? Analysis / X / Implementation / Testing / Y / Evaluation / Maintenance
- X = Programming, Y = User Guide
- X = Programming, Y = Documentation
- X = Design, Y = Documentation
- X = Specification, Y = Programming
What are the two types of Translator?
- Interpreter and compiler
- International and compiler
- Interpreter and complex
- English and French
A piece of code has the be repeated 8 times, which type of loop would be used?
- Fixed
- Unconditional
- Conditional
- Broken
A piece of code has to be repeated until a certain value is entered. The type of loop required is?
- Conditional
- Uncontitional
- Fixed
- Value
A program stores the names of pupils. Finding how many pupils are named Smith would use which Standard Algorithm?
- Counting Occurrences
- Finding Minimum
- Input Validation
- Finding Maximum
A program takes in the marks in a test. Finding the top mark would use which Standard Algorithm?
- Finding Maximum
- Finding Minimum
- Counting Occurrences
- Conditional Loop
A pupil scores 85 in an exam. What would be the output from this piece of pseudocode: IF mark greater than or equal to 85 THEN Grade A1?
- Grade A1
- Grade A
- Passed
- Failed
Pre-defined functions are useful because:
- They are written by the programmer
- They speed up the development of the program
- They are conditional loops
- They are in machine code
What type of statement is: LET age = 13?
- Conditional loop
- Multiple choice
- Conditional
- Assignment
What type of statement is: LET name = "Annie"?
- Conditional loop
- Loop
- Conditional
- Assignment
What would be the output from: PRINT (15 + 3) / 9?
- 45
- 2
- 18
- 3
What would be the output from: PRINT 7 + 2 * 4 - 4?
- 11
- 32
- 18
- 2
What would be the output from: PRINT 7 + 2 * 4 - 4?
- age > 13 AND age < 17
- age < 13 AND age > 17
- age < 14 AND age > 18
- age < 14 OR age > 18
Which condition would you use if you want to select marks less than 30 or above 70?
- mark < 30 OR mark > 70
- mark > 30 AND mark < 70
- mark < 30 AND mark > 70
- mark <= 30 OR mark >= 70
Which of these would be suitable for storing 10 marks in a program?
- An array of numbers
- 10 string variables
- 10 numeric variables
- 10 assignments
Which of these would be suitable for storing 8 names in a program?
- An array of strings
- 8 numeric variables
- 8 string variables
- 8 assignments
Which type of programming construct is this: IF name = "Mary" THEN ...?
- A conditional statement
- A loop
- An unconditional loop
- An assignment