0% found this document useful (0 votes)
181 views

Solved Chapter 5 Worksheet Class 7

Uploaded by

sana.cs03f
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
181 views

Solved Chapter 5 Worksheet Class 7

Uploaded by

sana.cs03f
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

SHARIF EDUCATION COMPLEX

PREP BLOCK
WORKSHEET
Name: _____________ Section: ________ Chapter 05: Algorithmic
thinking & Problem
Class: 7th Subject: Computer
Solving
Q1: Choose the correct option:
1. Which of the following is an example of algorithmic thinking?
a. Writing a story c. Following a recipe to bake a cake
b. Drawing a picture d. Listening a music
2. In algorithmic problem solving, what is first step?
a. Testing the solution c. Writing the code
b. Defining the problem d. Debugging errors
3. Which of these is NOT a characteristic of a good algorithm?
a. It has clear and precise steps c. It is difficult to understand
b. It solves the problem efficiently d. It produces the correct output
4. Which of the following best describes the loop in algorithm?
a. A step that repeats multiple times c. A final step
b. A step that happens only once d. An optional step
5. When solving a problem algorithmically, why is it important to break the problem into smaller parts?
a. To make it more complex c. To write more code
b. To make it easier to understand and solve d. To avoid solving it
6. What is pseudocode?
a. A real programming language c. A way to write algorithms using plain
b. A type of code used only in video games language
d. A math equation
7. In context of algorithms what does the term “sequence” refers to?
a. A random order of steps c. A single step in process
b. The order in which steps are performed d. A loop that repeats step
8. What does an algorithm typically start with?
a. A conclusion c. An input
b. A decision d. An output
9. In problem solving what is the purpose of an IF statement?
a. To repeat a set of instruction c. To make a decision based on condition
b. To perform a task unconditionally d. To end the algorithm
10. Which term refers to repeating a set of instruction until a condition is met?
a. Sequence c. Iteration
b. Selection d. Insertion

Q2: Fill in the blanks.


1. Checking and locating specific sequence of data is a kind of pattern recognition.
2. Decomposing means breaking a complex problem into smaller parts.
3. Data abstraction allows us to create a general idea about the problem and how to solve it.
4. Programs are designed using programming constructs.
5. Iteration means doing something repeatedly in a program.
6. Flowchart is a pictorial representation of problem.
7. Functions enable programmers to decompose a problem into smaller parts.

Q3: Create a flowchart for making a sandwich. Start with gathering ingredients and
taking two slices of bread. Include a decision point for choosing between a peanut butter
and jelly or a ham and cheese sandwich. Finish with final steps to complete and serve the
sandwich.

Start

Gather ingredients
and utensils

Take two
slices of bread

Decide on
type of Ham and Cheese
Peanut butter & sandwich
Jelly
Place Ham on
Spread Peanut bread
butter
Place Cheese on
Spread jelly on ham
bread

Put slices
together

Cut sandwich in
half

Serve and
enjoy!

End

You might also like