
Session 5
Quiz
•
Special Education
•
KG - Professional Development
•
Practice Problem
•
Medium
Karpagavalli Pauldurai
Used 5+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Is there any Data loss while upcasting conversion.?
Yes
No
Answer explanation
1. Converting lower data type into the higher one
2. This is safe process. Hence, no chance to lose data.
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the name of parent to child conversion.?
Downcasting
Upcasting
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which operator is used to check the type?
is
as
as?
as!
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What will return while using the safe operator(as?) if the casting is failed.?
1
value of the variable
0
null/nil
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which keyword is used for force casting?
as!
as?
as
is!
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the output of the program:
val integerValue: Int = 1234
val str: String = integerValue as String
println(str)
Throw an Exception
1234
0
null/nil
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which symbol is used to annotate?
?
;
:
!
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Basic Music Theory Quiz
Quiz
•
Professional Development
20 questions
Judicial Branch Review
Quiz
•
12th Grade
16 questions
Solar Cell
Quiz
•
University
15 questions
Menerapkan penerimaan telepon masuk
Quiz
•
11th Grade
20 questions
Scratch Module Assessment
Quiz
•
6th Grade
10 questions
SAT Reading | Inference Questions | Review
Quiz
•
10th - 12th Grade
14 questions
Seberapa SMAK 3 kah kamu?
Quiz
•
8th - 9th Grade
15 questions
Social Thinking: Review
Quiz
•
KG - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
