Session 5

Session 5

KG - Professional Development

15 Qs

quiz-placeholder

Similar activities

Storage Media

Storage Media

3rd - 5th Grade

13 Qs

CSI 103 - Phlebotomy

CSI 103 - Phlebotomy

University

15 Qs

Таинственный Construct 2

Таинственный Construct 2

1st - 12th Grade

16 Qs

James's Ignition Quiz

James's Ignition Quiz

Professional Development

16 Qs

Spongebob #ICTUSD 060

Spongebob #ICTUSD 060

University

20 Qs

DP-100 Day 2

DP-100 Day 2

University - Professional Development

10 Qs

Globalization and Global Inequality

Globalization and Global Inequality

10th Grade

20 Qs

Science, a way of thinking YBTC 2024/#2

Science, a way of thinking YBTC 2024/#2

1st Grade

20 Qs

Session 5

Session 5

Assessment

Quiz

Special Education

KG - Professional Development

Medium

Created by

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Special Education