Font size
WorksheetsComputer Program
Total questions: 21
Worksheet time: 27mins
All the steps in problem-solving are correctly stated EXCEPT:
define the problem
propose some solutions
determine the best solution
test and validate the solution
The divide-and-conquer approach is used to:
define a problem
validate a solution
decompose large problems
create solution algorithms
SET pi to 3.14 SET radius, circumference TO 0 READ radius LET circumference=2*pi*radius The identifier pi is an example of a:
constant
data type
string
variable
SET pi to 3.14 SET radius, circumference TO 0 READ radius LET circumference=2*pi*radius The identifier radius is an example of a:
constant
data type
string
variable
All the following statements about problem decomposition are correct EXCEPT:
significant components are input, process and output.
an IPO chart may be used to delineate the components.
problems are broken down into simpler sub problems.
problem decomposition simplifies the problem in step.
The two main phases of problem solving comprise ______ and _________.
algorithm, execution
algorithm, implementation
definition, execution
definition, implementation
refer to the diagram above. Column 1, 2, and 3 represent:
read, store and write
output, store and input
write, process and read
input, process and output
Print grade is an example of a Statement.
output
input
store
process
The terms ‘letter’ and ‘grade’ in column 2 are:
constants
keywords
variables
subroutines
_______ is a type of programming data that represents Text.
object
string
syntax
expression
What is problem solving?
The method to solve a problems
Discussion to solve the problem
The process of transforming the description of a problem into a solution.
The process to understanding the problem
What is goal to achieve in problem solving?
To improve work efficiency
To solve a problem.
To reduce cost
To learn how to solve the problem
________ is a series of instructions that are followed to complete a task or solve a problem.
instructions
algorithms
computers
recipe
____________ can be considered an example of an algorithm
answer to a question
name of a person
favorite subjects
a recipe for making pancake
The options below contain the instructions for making a smoothie: Which one should come first?
Put the lid on the blender.
Add fruit to the blender.
Switch the blender on.
Add milk to the blender.
What are algorithms used for?
To plan out the solution to a problem
As a platform to program a solution
To test a solution to a problem
Which of these is NOT an algorithm?
Following recipe instructions
Working out how an engine works
Tying your shoelaces
Making a cup of coffee
First step of problem solving is
Draw flowchart
Identify problem
Ananlyse the problem
Planning a solution
Dividing a complex problem into small problems is called
(a)
