Twa kɔ nsɛm atitiriw so
Log in
Sign up for FREE
arrow_back
Laabri

11CS - End of Unit 7 Test

star
star
star
star
star
Last updated about 1 year ago
8 Nsɛmmisa

Answer all the questions.

1
8
6
4
11
8
5
5
Asemmisa {{asɛmmisaAhyɛnsode}}
1.

What does decomposition mean in computer science?

Asemmisa {{asɛmmisaAhyɛnsode}}
2.

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

Name and describe the component parts.

Asemmisa {{asɛmmisaAhyɛnsode}}
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.

Asemmisa {{asɛmmisaAhyɛnsode}}
4.

Explain what is meant by validation and verification.

Asemmisa {{asɛmmisaAhyɛnsode}}
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]

Asemmisa {{asɛmmisaAhyɛnsode}}
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.

Asemmisa {{asɛmmisaAhyɛnsode}}
7.

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

Asemmisa {{asɛmmisaAhyɛnsode}}
8.

Complete the trace table for the input data:

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