NEW
Font size
WorksheetsGrade 6 - Algorithms & Pseudocode
Total questions: 20
Worksheet time: 12mins
This data type consists of characters that can form words, phases, sentences, etc.
STRING
INTEGER
CHAR
REAL
_____________ programming construct allows programmers to create storage for data (value).
Control Structures
Variables
Selection Structures
Logic Operators
The value of variables cannot be changed.
Which of this is a datatype?
String
variable
Which of this is a valid variable name?
111abc
abc111
abc 111
abc111!
Which of this pseudocode statement assigns a value to a variable?
car <- bmw
car is bmw
car == bmw
bmw -> car
What is the difference between / and % operator?
% operator gives the 'Quotient' from a division operation
AND
/ operator gives the 'Remainder' value from a division operation
/ operator gives the 'Quotient' from a division operation
AND
% operator gives the 'Remainder' value from a division operation
Both / and % operators are the same
Which logical operator is this <=
What data type would this be "555.78"?
DATA
STRING
INTEGER
REAL
What data type would this be? "FALSE"
BOOLEAN
INTEGER
REAL
CHAR
and, or, not are known as ______________ operators
Arithmetic
Relational
Logical
Joining
A value stored in memory that cannot change while a program runs.
Constant
Variable
Data type
Assignment
What data type is used for storing a single alphabetical or numerical value?
Character
String
Integer
Boolean
Real
A single instruction or step within a pseudocode / program.
Algorithm
Code
Statement
Variable
Constant
plus, minus, divide, modulus and multiplication are examples of which of these?
Arithmetic Operators
Relational Operators
Boolean Operators
Variables
Constants
What are the multiple way by which algorithms can be represented?
Natural language, like English
Visually, using flowcharts
Actual executable code (for eg., Python program)
All of these
Before programmers write an algorithm using the actual code, programmers plan out their algorithms using pseudocode or a flowchart.
True
False
The advantages of programmers writing a pseudocode or flowchart is because
They’re easier to understand.
They’re flexible.
They’re less complex.
All of these
An ordered set of instructions that are used to carry out a task is an ________________
Computer Scientist
Algorithm
None of these
Process
A diagram that represents an algorithm, work flow, or process, and uses geometric symbols connected by arrows to show the direction of the flow of action.
Flowchart
Algorithm
Diagram
Process
