wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Programming (Theory)

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

1. Who is father of C++ Language?

a)

A. Bjarne Stroustrup

b)

A. Dennis Ritchie

c)

A. James A. Gosling

d)

Dr. E.F. Codd

2.

1. C Language developed at ?

a)

A. AT & T's Bell Laboratories of USA in 1972

b)

AT & T's Bell Laboratories of USA in 1970

c)

A. Sun Microsystems in 1973

d)

Cambridge University in 1972

3.

1. C++ programs are converted into machine language with the help of.

a)

A. An Editor

b)

A. A compiler

c)

A. An operating system

d)

None of the above

4.

1. Which of the following is allowed in a C++ Arithmetic instruction

a)

[]

b)

{}

c)

()

d)

None of the above

5.

1. What is an array?

a)

An array is a collection of variables that are of the dissimilar data type.

b)

A. An array is a collection of variables that are of the same data type.

c)

A. An array is not a collection of variables that are of the same data type.

d)

None of the above.

6.

1. What is C Tokens?

a)

The smallest individual units of c program

b)

The basic element recognized by the compiler

c)

The largest individual units of program

d)

A & B Both

7.

What is Keywords?

a)

Keywords have some predefine meanings and these meanings can be changed.

b)

Keywords have some unknown meanings and these meanings cannot be changed.

c)

Keywords have some predefine meanings and these meanings cannot be changed.

d)

None of the above

8.

1. What is constant?

a)

Constants have fixed values that do not change during the execution of a program

b)

Constants have fixed values that change during the execution of a program

c)

Constants have unknown values that may be change during the execution of a program

d)

None of the above

9.

In switch statement, each case instance value must be ?

a)

Constant

b)

Variable

c)

Special Symbol

d)

None of the above

10.

What is function?

a)

Function is a block of statements that perform some specific task.

b)

Function is the fundamental modular unit. A function is usually designed to perform a specific task.

c)

Function is a block of code that performs a specific task. It has a name and it is reusable

d)

All the above