Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

QUIZ -1

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.
  1. 1. What does the keyword “FUNCTION” represent in pseudo code?

a)

A. Variable declaration

b)

B.Conditional statement

c)

C. Loop control

d)

D.Subroutine or method definition

2.
  1. 2. Which symbol is used to represent a decision in a flowchart?

a)

A. Oval

b)

B. Rectangle

c)

C. Diamond

d)

D.Parallelogram

3.
  1. 3. What does a rectangle with curved sides represent in a flowchart?

a)

A. Process

b)

B. Decision

c)

C. Start/End

d)

D.Data Input/Output

4.
  1. 4. What is the purpose of pseudo code?

a)

A. Represents a specific programming language

b)

B. Provides a high-level description of a program

c)

C. Executes and compiles directly

d)

D. Used for debugging only

5.

5. An algorithm is a _____________ that provides a series of instructions that should be carried out in a particular order to get the desired outcome.

a)

A. flow chart process

b)

B. Step – by – step process

c)

C. Pseudocode process

d)

D. None of the above

6.
  1. 6. Which of the following is NOT a characteristic of a good algorithm?

a)

A. Finiteness

b)

B. Ambiguity

c)

C. Effectiveness

d)

D. Input/Output

7.
  1. 7. A flowchart is mainly used for:

a)

A. Writing programs in machine code

b)

B. Visual representation of algorithms

c)

C. Debugging computer hardware

d)

D. Data storage

8.

8.If a flowchart shows two arrows coming out of a diamond shape, what does it indicate?

a)

A.Input/Output operation

b)

B. Two alternative paths (Yes/No or True/False)

c)

C.Start and Stop

d)

D.Infinite loop

9.
  1. 9. In a flowchart, a decision box has two outputs: Yes and No. What happens if you accidentally connect both outputs to the same step?

a)

A. The program will run normally

b)

B. The decision becomes meaningless

c)

C. It creates an infinite loop

d)

D.The flowchart becomes invalid

10.
  1. 10. A flowchart has a decision diamond leading back to the same process repeatedly until the condition fails. This represents:

a)

A. Iteration (Looping)

b)

B. Selection (Decision-making)

c)

C. Sequential execution

d)

D. Recursion

11.
  1. 11. Which statement is true about pseudocode?

a)

A. It is compiled directly

b)

B. It is machine dependent

c)

C. It helps design logic before coding

d)

D. It cannot use loops

12.
  1. 12. Pseudocode is written in:

a)

Programming language

b)

English-like statements

c)

Binary

d)

UML

13.
  1. 13. A good algorithm must always:

a)

A. Have one input

b)

B. Terminate

c)

C. Be recursive

d)

D. Use pseudocode

14.
  1. 14. What are the advantages of Algorithms?

a)

A. Easy to understand

b)

B.Algorithm follows a predefined path

c)

C. It is independent of any programing language

d)

D. All of the above

15.
  1. 15. Which flowchart is ambiguous?

a)

A. More than one start symbol

b)

B. More than one end symbol

c)

C. Missing outputs from a decision

d)

D. Sequential processes