
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?
?
;
:
!
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?
Similar Resources on Wayground
16 questions
Stress and Time Management
Quiz
•
5th - 8th Grade
20 questions
7.SINIF MELEK VE AHİRET İNANCI 2
Quiz
•
7th Grade
20 questions
K3LH PDTM X 10
Quiz
•
1st Grade
10 questions
Swimming Strokes Trivia
Quiz
•
KG - 12th Grade
14 questions
MIDTERM - FABM 1
Quiz
•
11th Grade
10 questions
Mould Technology 01-09-2020
Quiz
•
Professional Development
10 questions
Wolves
Quiz
•
KG - 5th Grade
10 questions
Working With Others
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
