
DSA Quiz

Quiz
•
Computers
•
University
•
Hard
inocencio madriaga
Used 26+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The __________ statement uses single expression for multiple choices
loop
switch
multiple value
if else
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The expression in an if statement is sometimes called a(n) ____.
selection statement
action statement
decision maker
action maker
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When one control statement is located within another, it is said to be ____.
blocked
compound
nested
closed
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will cause a logical error if you are attempting to compare x to 5?
if (x == 5)
if (x = 5)
if (x <= 5)
if (x >= 5)
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Selection stucture consist of
if else statements
switch case statement
for statement
while statement
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
With while loops if the conditional expression evaluates to true, the body of the loop is not preformed; control transfers to the statements following the loop.
True
False
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Using the break or continue statements with a loop violates the single entry and single exit guidelines for developing a loop.
False
True
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Recap C++

Quiz
•
University
20 questions
L73_118 Prep for Test

Quiz
•
12th Grade - University
10 questions
Java quiz 1

Quiz
•
University
10 questions
DECISION MAKING IN C

Quiz
•
University
20 questions
Control Structures C#

Quiz
•
University
10 questions
FOP - CHAPTER 6

Quiz
•
University
10 questions
Unit 2 Python

Quiz
•
University
10 questions
TIU Quiz-4

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University