NEW
Font size
WorksheetsCS 11:QUIZ#2 (Basic Computer Programming)
Total questions: 20
Worksheet time: 10mins
The role of creating a correct algorithm or flowchart is needed before the actual coding.
TRUE
FALSE
A graphical representation of an algorithm to follow and program to execute.
Algorithm
Pseudocoding
Flowcharting
USE CASE
Which of the following need NOT to considered in writing pseudo code ?
Common words
Keywords
Meaningful words
Input/Output Symbols
A sequence of steps or rules to follow in solving a problem.
Algorithm
Flowcharting
Pseudocoding
Task Lists
Pseudo is a Latin word means “true”, thus pseudocode means true code.
TRUE
FALSE
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.
TRUE
FALSE
Which of the following should comes first before doing a program?
Tasks List
Pseudocode
Flowcharts
Source Code
Which of the following is the correct preprocessing directives to be used in Basic C programming language?
#include <studio.h>
#include <stdoi.h>
@include <stdio.h>
#include <stdio.h>
C Language multi-line comments symbol.
/*... */
\\
//
{ }
Which is NOT considered as a correct convention of writing pseudocode?
Each instruction is written in one line.
Each set of instructions is written from top to bottom, with only one entry and one exit.
Keywords and indentation are used to signify particular control structures.
Statements are written in simple English.
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.
TRUE
FALSE
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:.
Flowchart Flow
First Process Flow
Process Flow
Process Chart
Which of the following symbol does NOT represents process?
Which of the following symbol represents off page connector?
A control structure which defined as the straightforward execution of one processing step after another.
Sequence
Iteration
Decison
Selection
A control structure that allows to decides from multiple choices in pseudo coding or flowcharting.
Sequence
Iterartion
Selection
Decision
C programming keyword which used to print any arguments such as string on the screen.
main( )
return 0
print( )
printf( )
A reserved word that cannot be used in writing pseudocode specifically in repeating a group of actions in a program.
IF..THEN...ELSE
DO...WHILE
WHILE
FOR...
Using the basic idea of repetitive code means that a block of statements is executed again and again until a terminating condition occurs.
TRUE
FALSE
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
End
Loop Again
Error
Display Loop Exceeded
