Mile Stone 1

Mile Stone 1

University

15 Qs

quiz-placeholder

Similar activities

Weekly Contest #10 - TechXNinjas

Weekly Contest #10 - TechXNinjas

University

10 Qs

Kuis Ms Excel

Kuis Ms Excel

12th Grade - University

20 Qs

Graficas con matlab y pandas

Graficas con matlab y pandas

University

10 Qs

String & Struct Exercise

String & Struct Exercise

University

17 Qs

Programação - Loops e Arrays

Programação - Loops e Arrays

University - Professional Development

13 Qs

FSA,DFA dan NFA

FSA,DFA dan NFA

University

15 Qs

PYTHON-QUIZ-2023

PYTHON-QUIZ-2023

University

17 Qs

Digital Business Chp 4 Pretest

Digital Business Chp 4 Pretest

University

10 Qs

Mile Stone 1

Mile Stone 1

Assessment

Quiz

Computers

University

Hard

Created by

Rahul Avulapati

Used 8+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Finally block is attached to?

  1. Try-catch block

class block

method block

All of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

What is garbage collection in java?

  1. Method to manage memory in java

  1. Create new garbage values

  1. Delete all values

All of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Which is/are valid method(s) of math library in java?

  1. max()

  1. cbrt()

log10()

All of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

class Test {

    public static void main(String[] args) {

      for(int i = 0; 0; i++)

      {

          System.out.println("Hello");

          break;

      }

    }

Hello

Empty output

Compiler error

Runtime error

5.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Which of these is a super class of all errors and exceptions in the Java language?

RunTimeExceptions

Throwable

Catchable

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

  1. public class Test2 {  

  2.     public static void main(String[] args) {  

  3.         StringBuffer s1 = new StringBuffer("Complete");  

  4.         s1.setCharAt(1,'i');  

  5.         s1.setCharAt(7,'d');  

  6.         System.out.println(s1);  

  7.      }  

  8.  }  

Complete

  1. Iomplede

  1. Cimpletd

  1. Coipletd

7.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

If a thread goes to sleep?

  1. It releases all the locks it has.

  1. It does not release any locks.

  1. It releases half of its locks.

  1. It releases all of its lock except one.

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?