
Session 5
Quiz
•
Special Education
•
KG - Professional Development
•
Medium
Karpagavalli Pauldurai
Used 5+ times
FREE Resource
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
12 questions
Finding a Job
Quiz
•
9th - 12th Grade
15 questions
CSI 103 - Phlebotomy
Quiz
•
University
16 questions
Таинственный Construct 2
Quiz
•
1st - 12th Grade
15 questions
QUIZIZ UNWIKU 30/06/2025
Quiz
•
University
15 questions
Assessment in Learning 1
Quiz
•
University
20 questions
Science, a way of thinking YBTC 2024/#2
Quiz
•
1st Grade
13 questions
Storage Media
Quiz
•
3rd - 5th Grade
20 questions
Site preparation unit 005
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade