Search Header Logo

Marupadi Evaluvations Till Collections

Authored by S E

Computers

Professional Development

Used 3+ times

Marupadi Evaluvations Till Collections
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What line in this code snippet will give compilation error?

double d1 = 5f; // c1

double d2 = 5.0; // c2

float f1 = 5f; // c3

float f2 = 5.0; // c4

c1

c2

c3

c4

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Predict the Output

0

1

10

10010

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Predict the Output: What will be the output of the program?

String x = "xyz";

x.toUpperCase();

String y = x.replace('Y', 'y');

y = y + "abc";

System.out.println(y);

abcXyZ

abcxyz

xyzabc

XyZabc

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Predict the Output What will be the output of the program?

String str = "abc";

int number= Integer.parseInt(str);

System.out.println(number);

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Predict the Output

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Predict the Output:

Access all questions and much more by creating a free account

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

Already have an account?