TEB2132 Lecture 3 Quiz
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Siti Nurlaili Karim
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one is NOT a control structure in C++?
Sequence
Repetition
Execution
Selection
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the type of operator != in C++?
relational
equality
logical
expression
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A logical expression && returns 1 (true) if
Both operands are 1 (true)
Both operands are 0 (false)
One operand is 1 (true)
One operand is 0 (false)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is commonly used in an if condition to check equality in C++?
=
!=
===
==
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to exit a switch case immediately after executing a statement?
exit
break
stop
return
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if the break statement is omitted in a switch case?
Program ends immediately
Only the current case runs
Execution continues into the next case
Compilation error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types can be used in a switch statement in C++?
bool
char
float
double
Create a free account and access millions of resources
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
Percabangan
Quiz
•
University
10 questions
Programación Web
Quiz
•
University
15 questions
DBMS Group 8 Review Quiz
Quiz
•
University
15 questions
LIBRO 1 - CAPÍTULO XIX Gestión ágil de proyectos
Quiz
•
University
15 questions
Adding Interactive Elements in HTML
Quiz
•
12th Grade - University
10 questions
Цикл for
Quiz
•
University
10 questions
NoSQL - PR5 & PR6 quiz
Quiz
•
University
14 questions
Game dulu sebelum QUIZ 1
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
