Search Header Logo

Quiz'O Mania Round 1

Authored by K. GUNA

Computers

University

Used 9+ times

Quiz'O Mania Round 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Write the postfix notation of A+B*C/D?

ABCD+*/

AB*/CD+

ABC*D/+

ABCD*+/

A+B*C/D

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In object-oriented programming, the process by which one object acquires the properties of another object is called

Encapsulation

Overloading

Inheritance

Polymorphism

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following Java program?

class leftshift_operator {

public static void main(String args[]) {

byte x = 64;

int i;

byte y;

i = x << 2;

y = (byte) (x << 2);

System.out.print(i + " " + y);

}

}

0 256

0 64

256 0

64 0

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What should not be done to avoid deadlock?

Avoid using multiple threads

Avoid hold several locks at once

Use interruptible locks

Execute foreign code while holding a lock

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is true about time slicing?

Time slicing is OS service that allocates CPU time to available runnable thread

Time slicing is the process to divide the available CPU time to available runnable thread

Time slicing depends on its implementation in OS

Time slicing allocates more resources to thread

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does not prevent JVM from terminating?

Process

JVM Thread

User Thread

Daemon Thread

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Range of singed long and unsigned long variables are.?

-2147483647 to +21474836480 to 4294967295

-2147483648 to +21474836470 to 4294967296

-2147483648 to +21474836470 to 4294967295

0 to 4294967295-2147483648 to +2147483647

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?