Search Header Logo

Unit 2.3 Testing

Authored by Sarah Burchell

Computers

11th Grade

Used 1+ times

Unit 2.3 Testing
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?