JAMB Computer Science Past Questions & Answers - Page 27

131.

What type of errors occurs when the program is asked to implement an impossible task such as dividing a number by zero?

A.

Syntax error

B.

Runtime error

C.

Logical error

D.

Arithmetic error

Correct answer is B

Runtime error. This type of error occurs when the program is asked to perform an impossible task or a task that has not been included in the program written

132.

What is debugging?

A.

Preventing bugs from getting to the computer

B.

inserting errors into the program

C.

finding and removing errors from a computer

D.

finding and removing errors from a program

Correct answer is D

Debugging is the process of finding and removing errors from a program

133.

The major function of a Database management system is _______________

A.

Virus detection

B.

Cyber security

C.

Manipulation of data in a data base

D.

Store large data

Correct answer is C

The DBMS performs the function of manipulating the data in a data base, as well as managing the database structure

134.

The acronym from DATABASE MANAGEMENT SYSTEM is ________________

A.

DMS

B.

DBMS

C.

DMGS

D.

DMSM

Correct answer is B

DBMS.
A Database Management System (DBMS) is software designed to store, retrieve, define, and manage data in a database

135.

Which of the following is not a type of logic gate

A.

XOR

B.

OR

C.

AND

D.

DOR

Correct answer is D

Dor is not a type of logic gate