
Quiz4: Making Decisions
Authored by Xin Yang
Computers
University
Used 18+ 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 the output of the code fragment assuming x is 6?
Yes
No
YesNo
No output; no error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After execution of the code, what will be the value of x?
5
10
20
25
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After execution of the code, what is stored in num? (All variables are of type int.)
The smaller of a and o
Randomly selected values from a, o, and w
The largest value of a, o, and w
The smallest value of a, o, and w
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
After execution of the code, what will be the value of angle if the input value is 3?
5
10
12
18
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the switch statements if the value of beta is 'C'?
What
CatFoxWhat
Cat
CatWhat
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the value of number after the execution of the switch statements?
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What is the output of the following statements if the value of code is 'E'?
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
10 questions
Industry 4.0 Unit 1
Quiz
•
University
10 questions
Scratch
Quiz
•
KG - Professional Dev...
9 questions
Structured/Traditional SDM
Quiz
•
University
10 questions
QUIZ GAME
Quiz
•
University
12 questions
QUIZ SAD TOPIC 1_Introduction to Information System (SAD)
Quiz
•
University
10 questions
Quiz Network Cabling Structure - SSK20353 - Network Technology
Quiz
•
University
11 questions
Youtube
Quiz
•
4th Grade - University
10 questions
computer Networks
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University