TOPIC: ALGORITHMS AND FLOWCHART

DIRECTION: Choose the correct answer from the lettered options.

 1. The space factor when determining the efficiency of an algorithm is measured by?

A. Counting the maximum memory needed by the algorithm

 B. Counting the minimum memory needed by the algorithm

 C. Counting the average memory needed by the algorithm

 D. Counting the max disk space needed by the algorithm

The correct answer is option [A]

2. Algorithms are written in English and some few ________ notations.

A. Chemical

 B. Yoruba

C. French

 D. Mathematical

The correct answer is option [D]

3. Which one is not a characteristic of an algorithm?

A. The end symbol signifies the end of a program

B. They are written in sequence

C. They are written in English like statements

D. It should be unambiguous and consistent

The correct answer is option [A]

4. The quick sort algorithm exploits _________ design technique.

A. greedy

B. dynamic running

C. divide and conquer

D. back tracking

The correct answer is option [C]

5. Two main reasons for the efficiency of an algorithm are?

A. Processor and memory

B. Complexity and capacity

C. Time and space

D. Data and space

The correct answer is option [C]

6. The _______ signifies the end of a program

 A. flow lines

B. squares

 C. circles

D. end symbol

The correct answer is option [D]

7. _________ is the step by step procedure of solving a particular problem

A. Flowchart

 B. Algorithm

C. Sequence

 D. Waterfall

The correct answer is option [B]

TOPIC: BASIC PROGRAMMING II

DIRECTION: Choose the correct answer from the lettered options.

 1. What is the use of ABS(X) in basic programming?

 A. Finds the square root of a positive number

B. Displays the absolute value of a given number

 C. Find the integer of a real number

D. Finds the tangent of an angle

 The correct answer is option [B]

2. What is the use of LOG(X) in basic programming?

 A. Find the tangent of an angle

B. Finds the integer of a real number

C. Using natural logarithms

D. Find the logistics of a number

The correct answer is option [C]

3. What is the use of EXP(X) in basic programming?

 A. Finds the exponential of a value

B. Finds the natural logarithm

C. Finds the integer of a real number

D. Finds the cube root of a number

 The correct answer is option [A]

4. What is the use of “TAN” in basic programming?

A. Finds the sine of an angle

B. Using natural algorithms

C. Finds the tangent of an angle

D. Finds the exponential of an angle

The correct answer is option [C]

5. Which is a common BASIC function?

A. END

B. CLS

C. PRINT

D. RND()

The correct answer is option [D]

 6. What is the use of SIN(X) in basic programming?

A. Finds the tangent of an angle

B. Finds the cosine of angle

C. Finds the integer of a real number

D. Finds the sine of an angle

The correct answer is option [D]

7. What is the use of INT(X) in basic programming?

A. Finds the integer of a real number

B. Finds the square root of a value

C. Finds the cosine of an angle

D. Finds the tangent of an angle

The correct answer is option [A]

To get complete exam questions, Click WhatsApp Icon.

Download all ss2 Exam questions.

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *