
Computer Science Programming Challenge
Authored by Louise Trotman
Computer Science
9th - 10th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a loop in programming?
The purpose of a loop in programming is to execute a set of instructions repeatedly until a specific condition is met.
To make the code more complicated
To skip certain instructions
To confuse the programmer
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store whole numbers in programming?
string
float
integer
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: 5 + 3 * 2 = __
13
10
7
11
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression (10 > 5) AND (5 < 3)?
true
false
true
true
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of x after the following code: x = 5 x += 3
6
10
7
8
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a programming concept: A) Loop B) Variable C) Data Type D) Function
E) Class
G) Pointer
None of the above
F) Array
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet: print('Hello' + 'World')
HelloWorld
WorldHello
Hello World
HelloWorldd
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?