[go: up one dir, main page]

0% found this document useful (0 votes)
4 views7 pages

Cs Sec3 - Algorithms Revision1

This document is a revision worksheet for secondary school students studying algorithms in computer science. It includes questions on identifying error types, matching validation checks with descriptions, explaining data verification methods, and checking the validity of ISBN numbers. The worksheet is designed to assess students' understanding of key concepts in algorithms and data validation.

Uploaded by

Paul Eric Vitug
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views7 pages

Cs Sec3 - Algorithms Revision1

This document is a revision worksheet for secondary school students studying algorithms in computer science. It includes questions on identifying error types, matching validation checks with descriptions, explaining data verification methods, and checking the validity of ISBN numbers. The worksheet is designed to assess students' understanding of key concepts in algorithms and data validation.

Uploaded by

Paul Eric Vitug
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

COMPUTER SCIENCE – SECONDARY 3

ALGORITHMS REVISION WS1

NAME: _______________________________________________________________

1.
2.

3.
4.

5.

6. Identity what type of error is given below. SYNTAX ERROR or LOGIC ERROR.

______________________a. The line contains a spelling error.

______________________b. Assigning wrong data type to a variable.

______________________c. The line is incomplete.

______________________d. Using unconditional loop.

______________________e. The elements are in the wrong order.

______________________f. Using the same variable name for different purposes.


7. Match the following validation checks in the box to its correct description and give example to each
validation check.

_______________________a. Specifies that data entered must conform to a specific format.

Example:

_______________________b. Specifies that data entered must be numerical data in a range.

Example:

_______________________c. Specifies that data entered must be a certain number of


characters long.

Example:

_______________________d. Specifies that only a certain type of data can be entered.

Example:

_______________________e. Make sure that a field must have data entered in it.

Example:

_______________________f. Providing the user with a drop-down list to select data.

Example:

8. Explain the following ways to verify a data.

a. Double entry ___________________________________________________________

b. Twin entry ___________________________________________________________

c. Proofreading ___________________________________________________________
9. Consider the ISBNs below.

a. Is the check digit in the ISBN-13 number 9781 1075 1869 2 correct? Show your solution below.

b. Is the check digit in the ISBN-13 number 9782 0537 0300 8 correct? Show your solution below.

10.
11.
12.

You might also like