LASS 11
C
HAPTER: Introduction to Problem Solving
C
WORKSHEET
MULTIPLE CHOICE QUESTIONS
1. Computational thinking means
a) Thinking randomly c ) Thinking like a superman
b) Problem Solving technique d) None of these
2. Who developed the Python Programming Language?
a) Charles Babbage c) James Gosling
b) Guido Van Rossum d) None of these
3. Why do we need to think computationally?
a) To help us to program c ) To help us to think like a computer
b) To help us solve complex problem easily d) None of these
4. Which of the following is NOT a computational thinking technique?
a) Decomposition c) Abstraction
b) Pattern Recognition d) Compose
5. Pattern Recognition means
a) Look for similarities and differences among and within the problems
b) Look for the solutions from simple to complex within the problems
c) Look for the solutions from complex to simple within the problems
d) None of these
6. hich of the following is a step by step process of solving well-defined computational
W
problems?
a) Algorithm c) Pseudocode
b) Flowchart d) Decision Table
7. _______________ are drawn using certain special purpose symbols.
a) Algorithm c) Coding
b) Flowchart d) Decision Table
8. What is the first step for problem solving using a computer?
a) Testing and Debugging c) Representing an algorithm
b) Developing an algorithm d) Analysing the problem
9. Which of the following is a way to represent an algorithm
a) Pseudocode c) Both a and b
b) Flowchart d) None of these
10. ________________ means removing errors that occur during a dry run of the algorithm.
a) Bug c) Debugging
b) Coding d) None of these
11. A box that can represents two different conditions
a) Rectangle c ) Circle
b) Diamond d) Parallelogram
SUBJECTIVE QUESTIONS
1. ‘ Algorithm’ is one of the components of computational thinking. Write an algorithm
to input a number and check whether it is a prime number or not.
2. rite an algorithm and draw a flowchart to accept two numbers. If the two numbers
W
are equal, then find the sum. Otherwise, find the product.
3. ou are on your way to school and have to reach there by 7:30 am. If you are at
Y
least 30 minutes early then take a rickshaw, otherwise take an auto-rickshaw. Draw a
flowchart for the above task
4. Draw a flowchart to find whether a number is even or odd.
5. Draw a flowchart to find the sum of squares of first N natural numbers.
6. rite a pseudocode to read the marks of 10 students. If marks are greater than 50,
W
the student passes, else the student fails. Count the number of students passing and
failing.
7. rite a pseudocode for calculating the price of a product after adding the sales tax
W
to its original price.
8. rite a pseudocode to calculate the weekly wages of an employee. The pay depends
W
on wages per hour and number of hours worked. Moreover, if the employee has
worked for more than 30 hours, then he or she gets twice the wages per hour, for
every extra hour that he or she has worked.
9. hat is computational thinking? What are the four basic elements involved in
W
computational thinking?
10. Explain the different stages of the problem solving cycle.