Decision-Making in Programming
Passage
•
Science
•
9th - 12th Grade
•
Hard
Rafael Guzman
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of conditional statements in programming?
To execute different actions based on varying inputs
To store data in variables
To create loops for repetitive tasks
To define functions
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a conditional statement in JavaScript?
if
else
elif
switch
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, what is the purpose of the 'elif' statement?
To execute a block of code if the initial 'if' condition is false
To execute a block of code if the 'if' condition is true
To end a loop
To define a function
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do predicates return in Snap! programming language?
Boolean values
Integer values
String values
Floating-point values
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operators are used in both JavaScript and Snap! to compare values?
Relational operators like =, >, <
Arithmetic operators like +, -
Assignment operators like =, +=
Bitwise operators like &, |
Similar Resources on Wayground
6 questions
Reading Test
Passage
•
10th Grade
6 questions
The Tale of the Mouse and the Lion
Passage
•
7th Grade - University
6 questions
warming up
Passage
•
10th Grade
4 questions
Theatre for the deaf page 15
Passage
•
10th Grade
3 questions
Alabama ctitical thinking second version
Passage
•
9th - 12th Grade
6 questions
Maria Makiling: A Tale from the Philippines
Passage
•
KG
8 questions
Gladiator Chapter 4 - A Prisoner Again
Passage
•
KG - University
6 questions
Healthy Eating for Primary School Children
Passage
•
KG
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Science
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
10 questions
Exploring the States of Matter
Interactive video
•
6th - 10th Grade
21 questions
Cell Organelles
Quiz
•
9th Grade
22 questions
Cell cycle, mitosis, and cancer
Quiz
•
9th Grade
25 questions
Naming Ionic and Covalent Compounds
Quiz
•
9th Grade
16 questions
Macromolecules Quiz
Quiz
•
10th Grade
10 questions
Exploring Biomes and Ecosystems for Kids
Interactive video
•
6th - 10th Grade
20 questions
The Cell Cycle and Mitosis
Quiz
•
9th Grade