Tech Olympiad level 2

Tech Olympiad level 2

University

30 Qs

quiz-placeholder

Similar activities

1. Intro to Java

1. Intro to Java

University

25 Qs

Quiz (1st Year) She Codes

Quiz (1st Year) She Codes

University

30 Qs

Java Programming

Java Programming

University

30 Qs

COMPRO1 CSIT11A

COMPRO1 CSIT11A

University

25 Qs

Lenguajes programación

Lenguajes programación

10th Grade - University

25 Qs

Chapter 10: Security

Chapter 10: Security

11th Grade - University

25 Qs

Error Handling Pada Java

Error Handling Pada Java

University

25 Qs

GNIDOC ROUND 1

GNIDOC ROUND 1

University

25 Qs

Tech Olympiad level 2

Tech Olympiad level 2

Assessment

Quiz

Computers

University

Hard

Created by

Gowtham GM

Used 4+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which class provides system independent server side implementation?

Server

ServerReader

Socket

ServerSocket

2.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which of these statements is incorrect about Thread?

start() method is used to begin execution of the thread

run() method is used to begin execution of a thread before start() method in special cases

A thread can be formed by implementing Runnable interface only

A thread can be formed by a class that extends Thread class

3.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which of the following are legal lines of code?

1. int w = (int)888.8;

2. byte x = (byte)1000L;

3. long y = (byte)100;

4. byte z = (byte)100L;

1 and 2

2 and 3

3 and 4

All statements are correct

4.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which three are methods of the Object class?

1. notify();

2. notifyAll();

3. isInterrupted();

4. synchronized();

5. interrupt();

6. wait(long msecs);

7. sleep(long msecs);

8. yield();

1,2,4

2,4,5

1,2,6

2,3,4

5.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which class does not override the equals() and hashCode() methods, inheriting them directly from class Object?

java.lang.String

java.lang.Double

java.lang.StringBuffer

java.lang.Character

6.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

____is used to find and fix bugs in the Java programs.

JVM

JRE

JDK

JDB

7.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

An interface with no fields or methods is known as a____

Runnable Interface

Marker Interface

Abstract Interface

CharSequence Interface

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?