
APCSP U4 L4-L8 Conditionals
Authored by Catherine Alvarado
Computers
9th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the else if statement in a conditional?
To execute a different block of code if the previous condition is true.
To terminate the execution of the conditional statement.
To skip the current iteration of a loop and move to the next iteration.
To provide an alternative condition to check if the previous condition is false.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a loop in programming?
To execute a block of code only once.
To execute a block of code multiple times based on a condition.
To define a new variable.
To perform mathematical calculations.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following code snippet? var x = 5; var y = 10; var z = (x > y) ? 'Greater' : 'Smaller'; console.log(z);
Greater
Smaller
Equal
Undefined
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
A precise sequence of instructions for processes that can be executed by a computer
computer science
algorithm
processing
output
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A device or component that allows information to be given to a computer
algorithm
output
input
storage
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Any device or component that receives information from a computer
output
input
algorithm
processing
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Keyboard, buttons on the keyboard, mouse, camera, and microphone
algorithm
examples of inputs
processing
examples of outputs
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
15 questions
visual basic 6.0 LDA
Quiz
•
9th Grade
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
16 questions
Se liga - 1 - 6° anos
Quiz
•
6th Grade - University
15 questions
LATIHAN SOAL PEMROGRAMAN
Quiz
•
9th Grade - University
18 questions
Cyber Security and Social Engineering
Quiz
•
9th - 11th Grade
20 questions
2324tx6
Quiz
•
9th - 12th Grade
20 questions
Network topologies
Quiz
•
8th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th 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