wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Programming

Total questions: 60

Worksheet time: 3600secs

Name
Class
Date
1.
What is another term for a mistake in a computer program? 
a)
Bit 
b)
Bug
c)
Botch 
d)
Byte
2.
A conditional statement in plain English usually contains which pair of words?
a)
If, then
b)
And,or
c)
Either, neither
d)
But, also
3.

What section of a Pascal program is used to declare variables and assign data types? ......

a)

BEGIN

b)

CONST

c)

VAR

d)

TYPE

4.

The actual instructions for the program to run can be found after _____________

a)

The 'WRITELN' statement

b)

The 'VAR' statement

c)

The 'BEGIN' statement

d)

The 'CONST' statement

5.

Which of the following is a valid Pascal output statement?

a)

print('Hello Class!');

b)

println('Hello Class!');

c)

write("Hello Class!');

d)

writeln('Hello Class!');

6.

What is this ( := )?

a)

The equal sign

b)

The assignment operator

c)

The assignment sign

d)

The equal operator

7.

In the programming language Pascal, which of the following is NOT a standard data type?

a)

floating point

b)

char

c)

boolean

d)

integer

8.

What would be the result of the following Pascal statement?

write( 'Total is', 20 );

a)

Total 20

b)

Total = 20

c)

20

d)

Total is 20

9.

Which statement is the correct one for input in Pascal?

a)

input(num);

b)

scanf(num)

c)

readln(num);

d)

inputln(num);

10.

Which is the correct variable declaration statement?

a)

name := string;

b)

string : name;

c)

name : string;

d)

string := name;

11.

Why do we use indentation in our program's code?

a)

We have nothing better to do

b)

It makes the program easier to understand

c)

It's exciting

d)

It makes the program more accurate

12.

A variable that stores a collection of characters such as word, phrase or sentence is a(n):

a)

integer

b)

string

c)

number

d)

character

13.

What is an algorithm?

a)

A program

b)

A series of steps to solve a problem

c)

A list of items showing where data is stored

d)

A list of instructions in programming code

14.

Computers only understand binary (1s and 0s). Which programs change our programming instructions into binary? (There is more than one answer)

a)

translator

b)

Compiler

c)

Pascal

d)

Interpreter

15.

What is true about variables? (There is more than one answer)

a)

Variables represent a storage location in the computer

b)

Variables are labelled using 1s and 0s

c)

Variables may contain data we get from the user

d)

Variables should be named for what they contain

16.
What does this shape represent?
a)
Input/Output
b)
Decision
c)
Process
d)
Start/Stop
17.
What's missing ?
a)
On/Off
b)
Pink/Blue
c)
Hello/Goodbye
d)
Yes/No
18.
What command is this shape for?
a)
References another part of the program
b)
Data that is going in as input or coming out as output
c)
Processing something - a calculation or storing something into a variable
d)
Shows the direction of the program
19.
What is the difference between a flowchart and pseudocode? 
a)
A flowchart is diagramatic whilst pseudocode is written in a programming language (eg. Pascal or Java) 
b)
A flowchart is textual but pseudocode is diagrammatic 
c)
A flowchart is a diagrammatic description of an algorithm whilst pseudocode is a textual description of an algorithm 
d)
A flowchart and pseudocode are the same thing 
20.

Which picture can be best described as the principle of "algorithm"?

a)
b)
c)
d)
21.
What does this shape represent in flowchart?
a)
Input/Output
b)
Process
c)
Decision
d)
Start/Stop
22.

Machine language is kind of __________.

a)

Low-level language

b)

Procedural language

c)

Object-oriented programming language

d)

nonprocedural language

23.

Which level of a programming language is Machine Code?

a)

Low

b)

High

24.

Which level would create the easiest code for humans to understand?

a)

Low

b)

Assembly

c)

High

25.

A variable that stores a collection of characters such as word, phrase or sentence is a(n):

a)

integer

b)

string

c)

number

d)

character

26.

Dalam menyusun suatu program pascal,langkah pertama yang harus di lakkukan adalah :

a)

Membuat program

b)

Membuat Algoritma

c)

Membeli komputer

d)

Mendesign Program

e)

Mempelajari program

27.
A flow chart should be drawn from the ______ to the ______ of the page
a)
top to the bottom
b)
left to the right
c)
right to the left
d)
bottom to the top
28.
What does SDLC stand for?
a)
Software Development Love Cycle
b)
Software Development Life Cycle
c)
Saturdays Do Live Cautiously
d)
System Dongle Life Cycle
29.
What happens in the design phase?
a)
The code is produced
b)
Making changes when the sotware has been created
c)
Planning the solution, look and feel of the software interface
d)
Ensuring the requirements are understood
30.
What happens in the testing phase?
a)
The code is tested against the specfication
b)
Making changes when the software has been created
c)
Planning the solution, look and feel of the software interface
d)
Ensuring the requirements are understood
31.
What stage comes after the design stage?
a)
Testing
b)
Implementation
c)
Specification requirements
d)
Evolution
32.
What stage comes after the testing stage?
a)
Testing
b)
Implementation
c)
Specification requirements
d)
Evolution
33.
Which life cycle is this?
a)
Spiral
b)
Waterfall
c)
Incremental
d)
V-shaped
34.
Which life cycle is this?
a)
Spiral
b)
Waterfall
c)
Incremental
d)
V-shaped
35.
Which of these cycles would be useful for a small business?
a)
Waterfall
b)
Incremental
c)
Spiral
d)
V-shaped
36.
Which of these is an advantange of the spiral model?
a)
Its expensive for small businesses
b)
Simple and easy to use
c)
It is a linear spiral
d)
Iterative nature means testing and evaluating is repeated
37.
Conducting preliminary investigation is done in which phase?
a)
Planning
b)
Analysis
c)
Design
d)
Implementation
38.
Monitoring system performance is done in which phase?
a)
Planning
b)
Analysis
c)
Maintenance
d)
Implementation
39.
Performing maintenance activities is done in which phase?
a)
Planning
b)
Maintenance
c)
Design
d)
Implementation
40.

The ____________ determines whether the project should go

forward.

a)

feasibility assessment

b)

opportunity identification

c)

system evaluation

d)

program specification

41.
An acceptance test is carried out.. 
a)
When testing the new system with other integrated systems. 
b)
When testing the new system module by module. 
c)
When testing that the new system works on the hardware. 
d)
When testing that the new system works with real data and real users. 
42.
Which of these are performed in the Analysis phase?
a)
Approve all project requests.  
b)
Build a prototype. 
c)
Perform a detailed analysis of the old system. 
d)
Review and allocate resources to the project. 
43.
In which phase of the software development life cycle would the programmer install the software on the user's system?
a)
Testing
b)
Documentation and maintenance
c)
Deployment
d)
Implementation and integration
44.
Allocating resources is done in which phase?
a)
Planning
b)
Analysis
c)
Design
d)
Implementation
45.
Review Documents, Observe, Survey, Interview and research are some of the tools used in this  activity. This activity is ....
a)
Detailed Analysis
b)
Preliminary Investigation
c)
Acquire hardware and software
d)
Install and Test the New System
46.

Developer 1 = "There are a lot of BUGS in this software."


Developer 2 = "How did you know?"


Developer 1 = "Because we went through the ___________."

a)

TESTING STAGE

b)

DESIGN STAGE

c)

DEVELOPMENT STAGE

d)

PLANNING STAGE

47.
What stage comes after the testing stage?
a)
Testing
b)
Implementation
c)
Specification requirements
d)
Evolution
48.

Algorithms derived are implemented using a programming language in the ______________ phase.

a)

Analysis

b)

Design

c)

Programming

d)

Maintenance

49.

Training occurs at this stage

a)

Design

b)

Maintenance

c)

Programming

d)

Implementation/Testing

50.

Mostly syntax errors done by the programmer not following the rules of the programming language

a)

Execution error

b)

Logical Error

c)

Compilation Error

d)

System Error

51.
(1) Review and Approve the project requests;
(2) Prioritize the project requests;
(3) Allocate resources such as money, people, and equipment to approved projects;
(4) Form a project development team for each approved project.
These activities are found in
a)
Planning Phase
b)
Analysis Phase
c)
Implementation Phase
d)
Operation, Support, and Security Phase
52.

What is selection?

a)

Repeating a number of steps

b)

A decision point in a program

c)

The order in which instructions are carried out

53.

What is 1111 1111 in Denary?

a)

225

b)

244

c)

255

d)

222

54.
What does SDLC stand for?
a)
Software Development Love Cycle
b)
Software Development Life Cycle
c)
Saturdays Do Live Cautiously
d)
System Dongle Life Cycle
55.

wallpapers of windows 10

a)
b)
c)
d)
e)
56.

is windows 10 not have the camera app

a)

true

b)

false

57.

Mobile OS

a)

xp

b)

iOS

c)

linux

58.

PCs use the ____________________ operating system.

a)

Mac OS X

b)

Apple

c)

Macintosh

d)

Microsoft Windows

59.

__________________ is any set of instructions that tells the computer what to do and how to do it.

a)

malware

b)

software

c)

hardware

d)

spyware

60.
What type of software is Task Manager?
a)
Utility Software
b)
Operating System
c)
Educational Software
d)
Entertainment Software