Preskoči na glavni sadržaj
Prijava
Sign up for FREE
arrow_back
Biblioteka

11CS - End of Unit 7 Test

star
star
star
star
star
Posljednje ažuriranje about 1 year ago
8

Answer all the questions.

1
8
6
4
11
8
5
5
Pitanje 1
1.

What does decomposition mean in computer science?

Pitanje 2
2.

A solution to a problem is decomposed into its component parts.

Name and describe the component parts.

Pitanje 3
3.

A computer system is to be developed to provide a modulo 11 check digit for numbers from 4 to 20 digits in length.

Provide a structure diagram for this computer system.

Pitanje 4
4.

Explain what is meant by validation and verification.

Pitanje 5
5.

A phone app is being developed to split the cost of a restaurant bill between a given number of people. It is being designed to work for up to 12 diners and for bills from $10 to $500.

a) What validation checks should be used for the number of diners and the size of the bill?[2]

b) Provide two sets of normal data and their expected results. [4]

c) Provide some abnormal/erroneous data. [1]

d) Identify the boundary data required and the expected results. [4]

Pitanje 6
6.

The following data is to be entered onto an online form:

– Name [2]

– Date of birth [2]

– Password [2]

– Phone number [2]

For each item state, with reasons, the validation and verification checks that should be used on the input data.

Pitanje 7
7.

The following algorithm written in pseudocode adds up 10 positive numbers and outputs the total. It contains several errors.

Pitanje 8
8.

Complete the trace table for the input data:

5, 7, +, 6, 2, -, 4, 3, *, 7, 8, ?, 0, 0, /