You are on page 1of 1

Question Set: Quiz-1

(LBJ Module 2 – PLT & OOP)


Q.1) A user will enter numbers that will be added to the sum and when a negative number is
encountered, stop adding numbers and write out the final result. Identify the missing part in
the pseudocode below:

read x
set sum to 0;
while(x __ 0) <---- Identify the missing expression here
set sum to x + sum
read x

Q.2) A _______ consists of a set of symbols, where each symbol represents a specific activity

Q.3) A set of instructions to perform a particular job is called a _______.

Q.4) Which of the following cycles do all computer systems follow?


1. Process-Input-Output
2. Input-Output-Process
3. Input-Process-Output
4. Output-Input-Process

Q.5) A ______ is a sequence of instructions that will be repeated more than once.
1. Iteration
2. Condition
3. Selection
4. Sequence

You might also like