0% found this document useful (0 votes)
8 views4 pages

Grade 7 Comp

The document consists of a revision exercise divided into multiple choice, matching, and definition questions related to flowcharts, programming concepts, and Python. It covers topics such as flowchart symbols, programming logic, subroutines, and text-based programming. The exercise aims to assess understanding of these concepts through various question formats.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views4 pages

Grade 7 Comp

The document consists of a revision exercise divided into multiple choice, matching, and definition questions related to flowcharts, programming concepts, and Python. It covers topics such as flowchart symbols, programming logic, subroutines, and text-based programming. The exercise aims to assess understanding of these concepts through various question formats.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

REVISION

Part 1: Multiple Choice Questions. Circle your correct options.[20]

1. What is a flowchart used for?

a) Writing paragraphs b) Showing the steps of a process


c) Creating pictures d) Sending messages
2. Which shape represents the start and end of a flowchart?

a) Rectangle b) Diamond c) Oval d) Parallelogram


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

a) Diamond b) Rectangle c) Parallelogram d) Oval


4. What do arrows in a flowchart represent?

a) Steps in the process b) The direction of flow


c) A mistake in the program d) A loop
5. What is selection in programming?
6. a) A way to repeat a process b) Choosing between two or more options
c) A step-by-step sequence d) An error in coding

What type of question does a decision box answer in a flowchart?

a. "Yes" or "No" b. "Maybe" c. "How" d. Where"


7. Which symbol represents a process or action in a flowchart?

a) Oval b) Diamond c) Rectangle d) Parallelogram


8. What logic operation checks if both conditions are true?
9.
a) OR b) NOT c) AND d) XOR

What is pattern recognition in computing?

a) Finding repeated structures in data b) Choosing between two conditions


c) Fixing errors d) Changing the sequence of code

1
10. Why are subroutines useful?
11. a) They slow down the program b) They help divide a program into smaller parts
c) They make the program longer d) They remove all logic from coding

What is another name for a subroutine?

a) Flowchart b) Function c) Loop d) Process


12. What do subroutines help programmers do?

a) Write repeated code b) Make programs more complex


c) Increase errors d) Remove logic
13. What is text-based programming?

a) Using only pictures b) Writing code with words and symbols


c) Drawing a flowchart d) Writing essays
14. Which of these is an example of a text-based programming language?

a) Python b) Scratch c) PowerPoint d) Excel


15. What is the main advantage of text-based programming?

a) It is slower b) It allows for more complex commands


c) It only uses blocks d) It cannot be used for games
16. What is the first step in writing a program?

a) Testing the code b) Planning the logic


c) Running the code d) Printing the output
17. What is the correct way to display “Hello, World!” in Python?

a) print(“Hello World!”) b) Print[“Hello World!”]


c) echo “Hello World!” d) show(“Hello World!”)
18. What is the use of indentation in Python?

a) To make code run faster b) To organize code properly


c) To confuse the user d) To remove errors
19. How do you write a comment in Python?

a) // This is a comment b) # This is a comment


c) -- This is a comment d) @ this is a comment
20. Which of these is a correct Python variable name?
a) 1name
b) My_name
c) print
2
d) @age

Part 2: Matching Questions. Choose your answer and write it in the space provided [10]

Column A (Terms) Column B (Descriptions)

______1 Decision box A. A symbol used for start and end in a diagram

______2 Flowchart B. A step-by-step diagram of a process

______3 Logic C. The way decisions are made in a program

______4 Pattern recognition D. Finding repeated structures in data

______5 Subroutine E. A small part of a program that performs a task

______6 Text-based programming F. Writing code using words and symbols

______7 Python G. A popular text-based programming language

______8 Indentation H. Spaces used to organize Python code

______9 Variable I. A container for storing values in a program

______10Print statement J. A command to display output in Python

Part 3: Definition Questions. [20]


1. Define a flowchart.
___________________________________________________________________________
___________________________________________________________________________
2. What is a decision box?
___________________________________________________________________________
__________________________________________________________________________
3. Define selection in programming.
___________________________________________________________________________
___________________________________________________________________________

4. What is pattern recognition?


___________________________________________________________________________
___________________________________________________________________________

5. Define a subroutine.
___________________________________________________________________________
___________________________________________________________________________

6. What is text-based programming?


___________________________________________________________________________

3
___________________________________________________________________________

7. Define Python.
___________________________________________________________________________
___________________________________________________________________________

8. What is indentation in Python?


___________________________________________________________________________
___________________________________________________________________________
9. Define a variable in Python.
___________________________________________________________________________
___________________________________________________________________________

10. What is the print statement in Python?


___________________________________________________________________________
___________________________________________________________________________

You might also like