wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

A Ch2 Data Control

Total questions: 9

Worksheet time: 5mins

Name
Class
Date
1.

To validate a Hong Kong identity card (HKID) number by check digit, we should:

(1) Ensure that it starts with one or two English letters.

(2) Ensure that its weighted sum is divisible by 11.

(3) Ensure that its length is no longer than 9, excluding the parentheses.

a)

(1) only

b)

(2) only

c)

(1) and (3) only

d)

(2) and (3) only

2.

Peter is a school principal. He wants to assign a unique 8-digit student identity number to each student in his school. One of the digits of the student identity number is a check digit. This check digit ensures that the sum of all 8 digits is divisible by 12.

Which of the following student identity numbers is valid?

a)

3062 4700

b)

4314 0624

c)

5342 0213

d)

9431 3424

3.

Peter is a school principal. He wants to assign a unique 8-digit student identity number to each student in his school. One of the digits of the student identity number is a check digit. This check digit ensures that the sum of all 8 digits is divisible by 12.

Ryan is studying in Peter's school. His student identity number is x6460878. x is the digit that Ryan forgets. What is x?

a)

6

b)

7

c)

8

d)

9

4.

On an online food delivery website, there is a customer feedback form. A customer can use the sliders to rate the service quality as shown in the figure.

Which type of data validation should the sliders apply?
(1) Uniqueness check

(2) Type check
(3) Range check

a)

(1) and (2) only

b)

(1) and (3) only

c)

(2) and (3) only

d)

(1), (2) and (3)

5.

Fred has an account on an online forum. He wants to change the email address of his account. The forum requires him to fill in the online form as shown in the image.
Some errors occur when Fred tries to submit the form. Which of the following data control methods are seen in this online form?
(1) Type check

(2) Presence check

(3) Verification by inputting data twice

a)

(1) and (2) only

b)

(1) and (3) only

c)

(2) and (3) only

d)

(1), (2) and (3)

6.

An operator entered several 8-bit binary codes from a paper document into an information system. However, one of the 8-bit binary codes was mistyped as shown in the image.

Which of the following data control methods can help the operator find this error?

(1) Double data entry
(2) Parity check
(3) Length check

a)

(1) only

b)

(2) only

c)

(1) and (3) only

d)

(2) and (3) only

7.

Which of the following shows the data hierarchy from the lowest level to the highest?

a)

File → field → record → database

b)

Field → record → file → database

c)

Record → file → field → database

d)

Record → field → file → database

8.

A teacher wants to store the information of Class A students in a database table. The image shows the table structure.

Which of the following types of validation checks is/are suitable for the field CNO?

(1) Uniqueness check
(2) Type check
(3) Presence check

a)

(2) only

b)

(1) and (2) only

c)

(2) and (3) only

d)

(1), (2), and (3) only

9.

Which of the following statements about indexing is/are correct?

(1) Indexing increases the efficiency of data retrieval.
(2) Indexing reduces the storage size of a database.
(3) Index tables need to be updated when new records are added.

a)

(1) only

b)

(2) only

c)

(1) and (3) only

d)

(2) and (3) only