wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CS 11:QUIZ#2 (Basic Computer Programming)

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

The role of creating a correct algorithm or flowchart is needed before the actual coding.

a)

TRUE

b)

FALSE

2.

A graphical representation of an algorithm to follow and program to execute.

a)

Algorithm

b)

Pseudocoding

c)

Flowcharting

d)

USE CASE

3.

Which of the following need NOT to considered in writing pseudo code ?

a)

Common words

b)

Keywords

c)

Meaningful words

d)

Input/Output Symbols

4.

A sequence of steps or rules to follow in solving a problem.

a)

Algorithm

b)

Flowcharting

c)

Pseudocoding

d)

Task Lists

5.

Pseudo is a Latin word means “true”, thus pseudocode means true code.

a)

TRUE

b)

FALSE

6.

Writing pseudocode has no restriction of styles and its only objective is to describe the high-level steps of the algorithm in a much realistic manner in natural language.

a)

TRUE

b)

FALSE

7.

Which of the following should comes first before doing a program?

a)

Tasks List

b)

Pseudocode

c)

Flowcharts

d)

Source Code

8.

Which of the following is the correct preprocessing directives to be used in Basic C programming language?

a)

#include <studio.h>

b)

#include <stdoi.h>

c)

@include <stdio.h>

d)

#include <stdio.h>

9.

C Language multi-line comments symbol.

a)

/*... */

b)

\\

c)

//

d)

{ }

10.

Which is NOT considered as a correct convention of writing pseudocode?

a)

Each instruction is written in one line.

b)

Each set of instructions is written from top to bottom, with only one entry and one exit.

c)

Keywords and indentation are used to signify particular control structures.

d)

Statements are written in simple English.

11.

The word or terminal symbol Start in pseudocoding and flowcharting serve as program’s starting point which should use End word or terminal symbol to marks program’s ending point.

a)

TRUE

b)

FALSE

12.

This first type of flowchart developed 1921 as a way to present every detail of a project where every part of the process is dependent upon or affected by every other part is known as:.

a)

Flowchart Flow

b)

First Process Flow

c)

Process Flow

d)

Process Chart

13.

Which of the following symbol does NOT represents process?

a)
b)
c)
d)
14.

Which of the following symbol represents off page connector?

a)
b)
c)
d)
15.

A control structure which defined as the straightforward execution of one processing step after another.

a)

Sequence

b)

Iteration

c)

Decison

d)

Selection

16.

A control structure that allows to decides from multiple choices in pseudo coding or flowcharting.

a)

Sequence

b)

Iterartion

c)

Selection

d)

Decision

17.

C programming keyword which used to print any arguments such as string on the screen.

a)

main( )

b)

return 0

c)

print( )

d)

printf( )

18.

A reserved word that cannot be used in writing pseudocode specifically in repeating a group of actions in a program.

a)

IF..THEN...ELSE

b)

DO...WHILE

c)

WHILE

d)

FOR...

19.

Using the basic idea of repetitive code means that a block of statements is executed again and again until a terminating condition occurs.

a)

TRUE

b)

FALSE

20.

If the program will loop in fifth times, what is the possible action of the program based on this Pseudocode?


IF num1 >= 5

THEN

Loop Again

ELSE

Display " Loop Exceeded"

ENDIF

a)

End

b)

Loop Again

c)

Error

d)

Display Loop Exceeded