G.E.S J.H.S Programming

INTRODUCTION TO PROGRAMMING THEORY QUESTIONS

1

(a)

What is programming?

(b)

State three examples of programming languages.

(c)

State and explain briefly the two major categories of the elements of a computer system.

2

(a)

What is an IDE?

(b)

State the three main components of an IDE.

(c)

Explain the purpose of each component stated in (b).

(d)

State two examples of IDEs.

3

Convert the following decimal numbers to binary:

(a)

55

(b)

67

(c)

100

(d)

128

4

Convert the following decimal numbers to hexadecimal:

(a)

55

(b)

67

(c)

100

(d)

128

(e)

451

5

Convert the following hexadecimal numbers to decimal:

(a)

4F

(b)

B9

6

Convert the following hexadecimal numbers to decimal:

(a)

A9

(b)

FE

7

Convert the following hexadecimal numbers to binary:

(a)

A9

(b)

3B7

8

Convert the following binary to hexadecimal:

(a)

11101111

(b)

1001110