
Code.org Unit 4 Quiz
Authored by Maria D Chavez De Ruedas
Computers
12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a conditional statement in programming?
A statement that is always true
A statement that is executed only once
A statement that performs different actions based on a condition
A statement that is used for debugging purposes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a comparison operator in programming?
A
D
B
C
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a variable in programming?
To create loops
To store and manipulate data
To execute functions
To display data
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in programming?
myVariable
my_variable
my variable
my-variable
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of the variable 'result' after executing the following code snippet? var num = 7; var result = (num > 5) ? 'Greater' : 'Smaller';
Equal
7 is greater than 5
Greater
Smaller
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a valid way to declare a variable in programming?
D
C
A
B
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an 'else if' statement in programming?
To skip the 'if' statement and move to the next block of code.
To end the program.
To create a loop in the program.
To add additional conditions to an 'if' statement.
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
UF465 - Tema 5
Quiz
•
12th Grade
10 questions
examen secundaria feb
Quiz
•
12th Grade
12 questions
Testing, TDD y Automatización de Pruebas
Quiz
•
KG - University
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
10 questions
ICT as Social Change
Quiz
•
12th Grade
10 questions
HTML & Google Site Seatwork
Quiz
•
12th Grade
10 questions
Lourdes Amaranta Ayala Gracia
Quiz
•
8th Grade - University
13 questions
Instalacion de Equipos #1
Quiz
•
9th Grade - University
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