
Programming Concepts Quiz
Passage
•
Computers
•
5th Grade
•
Practice Problem
•
Hard
Chris Bashford
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What programming language is mentioned in the lesson objectives?
Java
Python
C++
Ruby
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of the variable num2 in the code?
It stores a string
It stores an integer input from the user
It stores a float
It stores a boolean value
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the print() function in the code?
It outputs a number
It outputs a string message
It outputs a boolean
It outputs a list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of the `num1` variable in the code?
It stores the second number
It stores the first number
It stores the result of the addition
It stores the difference of the numbers
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In an If-Else statement, what happens if the condition is false?
The If part is executed
The Else part is executed
Nothing happens
Both parts are executed
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the "Else" part of an If-Else statement do?
Executes if the condition is true
Executes if the condition is false
Always executes
Never executes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the condition checked in the IF statement in the diagram?
Age is less than 17
Age is equal to 17
Age is greater than 17
Age is not equal to 17
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?
Similar Resources on Wayground
9 questions
English File ele4 Sb u6 p46 Au 6.7 6.8 ( be positive )
Passage
•
5th Grade
11 questions
Pam has big ham
Passage
•
6th Grade
11 questions
Reading lv2: Bats
Passage
•
6th Grade
7 questions
Insight Ele Sb u10 p113 Au 2.34 (Travelling by bike)
Passage
•
5th Grade
14 questions
TNPS-P6-E-2024
Passage
•
6th Grade
7 questions
David and Goliath
Passage
•
4th Grade
6 questions
The Enigma of Whispering Island
Passage
•
6th Grade
11 questions
The legend of Ba Be Lake
Passage
•
5th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade