
Scala & Spark-Master Big Data with Scala and Spark - Quiz (Nested If Else)
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in the program for the playland entrance gate?
Ask for the person's name
Offer a special card
Ask for the person's age
Check if the person has a ticket
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a person is older than 13, what should the program do next?
Deny entrance
Ask for a guardian
Offer a special card
Print a goodbye message
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What message should be displayed if a person over 13 accepts the special card?
Entrance denied
Special card granted
No special card needed
Age verification failed
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should the program do if a person over 13 declines the special card?
Ask for age again
Print a welcome message
Offer a discount
Deny entrance
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the program's response if the person's age is 13 or less?
Offer a special card
Print a welcome message
Allow entrance with a guardian
Deny entrance
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?