Unit 2.3 Testing

Unit 2.3 Testing

11th Grade

7 Qs

quiz-placeholder

Similar activities

AP Computer Science Principles - Unit 5: Lists, Loops

AP Computer Science Principles - Unit 5: Lists, Loops

9th - 12th Grade

10 Qs

Software Design and Development Quick Quiz 2

Software Design and Development Quick Quiz 2

11th - 12th Grade

10 Qs

MODULES,ERROR AND EXCEPTION HANDLING

MODULES,ERROR AND EXCEPTION HANDLING

11th Grade

10 Qs

Python Gr 12

Python Gr 12

11th - 12th Grade

12 Qs

10 question quiz on identifying and correcting errors

10 question quiz on identifying and correcting errors

9th - 12th Grade

10 Qs

Testing Recap (Sep)

Testing Recap (Sep)

9th - 11th Grade

12 Qs

CSP I: Unit 4 Review

CSP I: Unit 4 Review

9th - 12th Grade

10 Qs

Errors in Python

Errors in Python

9th - 12th Grade

12 Qs

Unit 2.3 Testing

Unit 2.3 Testing

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Sarah Burchell

Used 1+ times

FREE Resource

7 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

Louise writes a program to work out if a number entered by the user is odd or even. Her first attempt at this program is shown.

The program contains a logic error on line
02.
State what is meant by a logic error.

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

5 mins • 1 pt

Media Image

Give a corrected version of line 2 that fixes the logic error

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

The program contains a syntax error on line 05.

State what is meant by a syntax error.

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Media Image

Give a corrected version of line 05 that fixes the syntax error

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 2 pts

Media Image

A vending machine has the following options available.


Users insert coins into the vending machine and then enter the two character item code of their selection. If the user has inserted enough money, the vending machine will release the chosen item and output any change required. If the user enters an invalid item code then a suitable error message is displayed.

The vending machine is tested before it is released.


Explain the purpose of testing the vending machine

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 2 pts

Media Image

Describe the difference between iterative and final testing

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

5 mins • 3 pts

Media Image

Complete the following test plan for the vending machine

Type in row going along order e.g. row 1 starts with B1,

so row 2 = , row 3 = and row 4 =

Evaluate responses using AI:

OFF