Computer Science questions and answers

Computer Science Questions and Answers

Challenge your competence level in computers, computing, algorithms, hardware and software with these Computer science questions and answers.

1.

Which of the following controls the way in which the computer system functions and provides a means by which users can interact with the computer

A.

CPU

B.

application software

C.

operating system

D.

ALU

Correct answer is C

Operating system controls the way in which the computer system functions and provides a means by which users can interact with the computer

2.

In computer architecture, the type of bus that connects the major components of a computer system is

A.

address

B.

data bus

C.

control bus

D.

system bus

Correct answer is D

In computer architecture, the system bus is the main communication route that connects the major components of a computer system, such as the CPU, memory, and input/output devices. It is composed of the data bus, address bus, and control bus. Therefore, the correct answer is 'system bus'.

3.

Using Boolean identities, reduce the given Boolean expression:
A(A+1) + A(B+0) + C.1

A.

A + B + C

B.

A.B.C

C.

A.B + C

D.

A + C

Correct answer is D

Using Boolean identities, the given Boolean expression A(A+1) + A(B+0) + C.1 can be reduced as follows: A.1 + A.B + C = A + A.B + C = A + C. The Boolean identity A + A.B = A is used here, which states that if A is true, the whole expression is true regardless of the value of B.

4.

The first stage of data processing activities is ?

A.

Manipulation

B.

Collection

C.

Conversion

D.

Sorting

Correct answer is B

The first stage of data processing is the collection or gathering of data and recording it in a usable form

5.

One of the following is not a good way to prevent virus

A.

encryption

B.

use of firewall

C.

carelessly exposing your vital and personal information

D.

use of antivirus software

Correct answer is C

Ways of preventing virus
- use of antivirus software
- use of firewall
- exercising care in giving out personal and vital information
- encryptions

6.

Translating the problem statement into a series of sequential steps describing what the program must do is known as

A.

coding

B.

creating the algorithm

C.

debugging

D.

writing documentation

Correct answer is B

Algorithm design is the process of listing all the instructions which are to be performed by the computer at different stages

7.

The closest computer language to human is ?

A.

High level language

B.

Low level language

C.

Machine language

D.

Assembly language

Correct answer is A

High level languages give formats close to English language and the purpose of developing high level language is to enable people to write programs easily and in their own native language environment

8.

If the control unit controls other units of the CPU, which unit stores instructions,data and intermediate results

A.

Memory unit

B.

Arithmetic section

C.

Control unit

D.

Logic section

Correct answer is A

The memory unit of the CPU stores instructions, data, and intermediate results. The control unit controls the operation of the CPU and hence the computer. The arithmetic section performs arithmetic operations like addition, subtraction, multiplication, and division. The logic section performs logical operations like comparison of values

9.

Computers that are small and low cost are referred to as ?

A.

mini computers

B.

small computers

C.

tablet computers

D.

micro computers

Correct answer is D

Micro computers are small and low cost digital computers, which usually consists of a micro-processor, a storage unit, an input channel and an output channel

10.

In BASIC, REM shows a statement to be

A.

executable statement

B.

un-executable statement

C.

comment

D.

output

Correct answer is C

REM is an abbreviation for remark and it's the way you add comments to your code in BASIC