Predict the output

Predict the output

Professional Development

17 Qs

quiz-placeholder

Similar activities

Basics of Python Programming Unit-1

Basics of Python Programming Unit-1

University - Professional Development

20 Qs

CPR_Quiz_Arrays and strings

CPR_Quiz_Arrays and strings

Professional Development

20 Qs

PSPD_CCA1

PSPD_CCA1

Professional Development

20 Qs

CPR _Chapter2 _Onlinequiz

CPR _Chapter2 _Onlinequiz

Professional Development

15 Qs

Java Collections

Java Collections

Professional Development

14 Qs

C Programming

C Programming

Professional Development

20 Qs

Day3

Day3

Professional Development

15 Qs

C++ Operators

C++ Operators

Professional Development

20 Qs

Predict the output

Predict the output

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Murugeswari.k Murugeswari.k

Used 9+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the program?

x = 0

x = 1

compile error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the program?

count = 0

count = 2

count = 3

count = 4

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the program?

9 7 7 foo 7 7foo

72 34 34 foo34 34foo

9 7 7 foo34 34foo

72 7 34 foo34 7foo

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which one is correct?

If a is true and b is true then the output is "A && B"

If a is true and b is false then the output is "notB"

f a is false and b is true then the output is "ELSE"

If a is false and b is false then the output is "ELSE"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the program?

Zero

Twelve

Default

Compile Error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

finally

exception finished

finally exception finished

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following line of code is suitable to start a thread ?

Thread t = new Thread(X);

Thread t = new Thread(X); t.start();

X run = new X(); Thread t = new Thread(run); t.start();

Thread t = new Thread(); x.run();

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?