
J277/02 Computational thinking, algorithms and programming
Authored by Chris Dixon
Computers
9th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
56 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a data type?
Boolean
Integer
String
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following code is used to cast a string to an integer?
bool("False")
str("False")
integer("123")
int("123")
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
One of the following terms is not associated with programming construct
Selection
Iteration
Loop
Sequence
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the code which outputs 10 numbers correctly
for i in range(0,11)
for i in range(0,10)
for i in range(1,9)
for i in range(1,10)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Substring is used to?
Extract a portion of characters from a string
Print out a portion of a string
Remove the left characters by a certain amount
Allow you to change the upper case
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an iteration?
IF (num > 3)
For i in range(0, 5)
age = int("21")
students = ["Harry", "Ryan", "Ibrahim"]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an array?
To store a value
To store multiple values of any type
To store programming code
To store multiple values of the same data type
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?