wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Computer Programming 1

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

A computer program is a set of instructions that tells the computer what to do, how to interact with the user and process data.

a)

TRUE

b)

FALSE

2.

A computer professional who writes this set of instructions is what we call a coder.

a)

TRUE

b)

FALSE

3.

An analysis is a formula or set of steps for solving a particular problem.

a)

TRUE

b)

FALSE

4.

A variable is a named area in memory that stores value or string.

a)

TRUE

b)

FALSE

5.

A flowchart is a graphical representation of the procedures involved in the solutions of problems.

a)

TRUE

b)

FALSE

6.

A program written and coded using machine readable codes is called syntax.

a)

TRUE

b)

FALSE

7.

Floating type variables can hold real numbers such as: 2.34, -9.382, 5.0 etc.

a)

TRUE

b)

FALSE

8.

Keyword char is used for declaring character type variables.

a)

TRUE

b)

FALSE

9.

System Flowchart shows the overall activities of the system.

a)

TRUE

b)

FALSE

10.

C Data Types are grouped into three types.

a)

TRUE

b)

FALSE

11.

Integers are whole numbers that can have both positive and negative values, but no decimal values.

a)

TRUE

b)

FALSE

12.

Program Flowchart depicts the logic of instructions to solve a specific problem.

a)

TRUE

b)

FALSE

13.

C is a compiled programming language.

a)

TRUE

b)

FALSE

14.

A converter is a particular tool that compiles a program and turns it into a machine readable object file.

a)

TRUE

b)

FALSE

15.

Data types simply refer to the type and size of data associated with variables and functions.

a)

TRUE

b)

FALSE

16.

A computer codes is a set of instructions that tells the computer what to do.

a)

TRUE

b)

FALSE

17.

A computer professional who writes this set of instructions is what we call a coder.

a)

TRUE

b)

FALSE

18.

A program written and coded using machine readable codes is called programming language.

a)

TRUE

b)

FALSE

19.

An algorithm is a formula or set of steps for solving a particular problem.

a)

TRUE

b)

FALSE

20.

Logic is sound reasoning in solving a problem.

a)

TRUE

b)

FALSE

21.

It is a data type that can only store a whole number.

a)

Integer

b)

Float

c)

Double

d)

Character

e)

String

22.

Which is correct example for variable declaration?

a)

int a;b;c;

b)

Int a,b,c;

c)

int a,b,c;

d)

int a,b;c;

23.

Which is correct example for variable declaration?

a)

int a;b;c;

b)

Int a,b,c;

c)

int a,b,c;

d)

int a,b;c;

24.

_______________to be included to use standard I/O functions : prinf(),scanf()

a)

#include<conio.h>

b)

#include<stdio.h>

c)

#include<string.h>

d)

#include<math.h>

25.

C is a ____________ programming language

a)

Object oriented Programming

b)

Procedure oriented Programming

c)

Structured programming language

d)

Structure and Procedure Oriented Programming

26.

Which of the following is a logical AND operator?

a)

||

b)

!

c)

&&

d)

None of the above

27.

This symbols * represent of what arithmetic operators

a)

Addition

b)

Division

c)

Multiplication

d)

Subtraction

28.

This symbol %d refers to what data type

a)

Char

b)

Double

c)

Float

d)

Integer

29.

This symbol < = of relational operators refer to

a)

Equal to

b)

Greater than

c)

Less than

d)

Less or Equal to

30.

1. This symbol % refers to what arithmetic operator

a)

Addition

b)

Division

c)

Subtraction

d)

Modulus