
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
11 questions
Site Safety Quiz
Passage
•
KG
10 questions
Sahel and Sahara Geography Facts
Passage
•
KG
8 questions
Reading Practice Hockey 5
Passage
•
5th Grade
11 questions
Chapter 1 - Teacher's Pet Quiz
Passage
•
5th Grade
8 questions
Velveteen Chapter 3
Passage
•
4th Grade
7 questions
English File Pre Int4 Test2.1 Au 2.1 (Different holidays)
Passage
•
6th Grade
7 questions
GMF6. Unit 1. Listening Practice 2
Passage
•
6th Grade
6 questions
Reading lv2: Mercury
Passage
•
6th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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