Font size
WorksheetsCOM7E2 - DNA
Total questions: 22
Worksheet time: 15mins
Muhammad, Poppy, and Noah are on a field trip and they need to find the Post Office in the city. What algorithm do they use?
A set of directions
A recipe
A list of instructions
Benjamin is working on a project and he needs to use an Algorithm. What would be the main purpose of using an Algorithm in his project?
To make his computer run faster
To solve a problem or accomplish a task in his project
To create a chart for his project
To write a computer program for his project
An algorithm is a set of (a) , carried out in a specified (b) to solve a problem or complete a task.
Kiara is learning about algorithms. She understands that an algorithm can be expressed in (a) . For instance, it could be plain English, or a programming language like (b) , which Mira and Poppy are currently studying.
any language
binary
Spanish
python
denary
A (a) is a set of precise instructions, expressed in a programming language.
What is the primary function of an Algorithm in computer science?
To increase the speed of the computer
To solve a specific problem or perform a specific task
To design the interface of a software
To manage the hardware of the computer
Anaya, Poppy, and Leo are learning to code. They are discussing the role of an Algorithm in their coding journey. According to you, what is the role of an Algorithm in their learning process?
To provide a graphical representation of the data they are working with
To write the code for Anaya, Poppy, and Leo
To provide a step-by-step procedure for solving the problems they encounter
To debug the errors in the code they write
What algorithm would you use to find a book in a library?
A list of ingredients for a recipe
A set of instructions or directions
A flowchart of a process
A map of the city
Which of these is a commonly used programming langauage
python
cobra
serpent
Which python program would print "Hello " 3 times?
print("Hello " * 3)
printHello3Times
#Hellox3
Daniel, Anaya, and Oliver are working on a computer project. What is the main purpose of the programming language they are using?
To instruct the computer to perform specific tasks, such as creating a website or a game
To increase the speed of the computer they are using
Lily is learning Python programming. She wrote a program and asked Samuel and Isabelle to guess its output:
print("Computing is the best")
Nothing
It would output "Computing is the best"
multiply two numbers together
Alexander is learning Python programming. He wrote a program to calculate the product of 4 and 6. He used the following code:
print(4*6)
What would be the output of Alexander's program?
Nothing
"Computing is the best"
24
4
**** 6
Jacob, Aarav, and Mira are participating in a coding competition. They are asked to write the shortest possible Python program. What is the minimum number of lines their program must have?
(a)
Arthur, Matilda, and Sophia are learning Python. They want to create a program that prints out "Boo!" when a ghost is detected in their ghost detector game. Fill in the blank in the Python code below to help them:
- - - - - ("Boo!")
(a)
What is the output of the following Python code?
print(5 + 3 * 2)
16
11
13
10
What is the output of the following Python code?
print(10 - 3 * 2)
14
4
7
6
What is the role of a programming language in computer science?
To provide a graphical representation of data
To write the code for the programmer
To provide a way for humans to instruct computers
To debug the errors in the code
What is the code written in?
python
Plain English
Binary
What is the code written in?
python
Plain English
Binary
Scratch
Python is a
text based coding language.
block based coding language.
