
Module 6: Selection Structures

Quiz
•
Computers
•
University
•
Hard
ROBERT JONAS SALAZAR TAN
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Having an if statement requires an else statement to follow.
True
False
Cannot be determined
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A TRUE value can also be represented in programming as
0
1
Yes
No
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
A structure used to perform decision making and then branch the program flow based on the outcome of decision making.
Looping Structure
Selection Structure
Data Structure
Building Structure
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is/ are the proper syntax of an if statement?
if (expression)
statement;
if (expression) {
statement1;
statement2;
}
if (expression) { statement1; statement 2; }
All syntax are correct.
No syntax is correct.
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The following code is evaluated:
if (1)
{
printf("Hello World");
}
What will happen when executed?
Nothing will happen
Syntax Error
Display "Hello World"
Display "Hello"
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The following code is evaluated:
if (3)
{
printf("Hello World");
}
What will happen when executed?
Nothing will happen
Syntax Error
Display "Hello World"
Display "Hello"
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
In an if...else if...else statement, an expression is true, the rest will no longer be checked.
True
False
Cannot be determined
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python

Quiz
•
6th Grade - University
15 questions
Control Statements - Java

Quiz
•
University
7 questions
Java Programming Game

Quiz
•
University
15 questions
Exception handling -oracle plsql

Quiz
•
University
15 questions
Quiz 4 Week 6 Repetition Structures (For)

Quiz
•
University
10 questions
T_4.2 Identifier, Data Types, Operators & Expressions

Quiz
•
12th Grade - University
15 questions
Selection Statements

Quiz
•
University
12 questions
Pseint - Si...Entonces - Para

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University