
DS - QUIZ 1
Authored by GOKILA S
Engineering
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a conditional statement?
Select
If
For
while
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following cannot be checked in a switch-case statement?
Character
Integer
Float
enum
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types can be used in a switch-case statement?
Boolean
Array
String
Double
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code snippet if the condition is true?
Error
False
True
Undefined
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements is used to exit a loop prematurely?
Exit
Continue
Break
Return
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The function that calls itself for its processing is known as
Inline Function
Nested Function
Overloaded Function
Recursive Function
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure stores dissimilar data together?
Array
Stack
Structure
None of the above
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?