FORMATIVE ASSESSMENT 2 OOPS

FORMATIVE ASSESSMENT 2 OOPS

Professional Development

15 Qs

quiz-placeholder

Similar activities

Data Analytics Basics

Data Analytics Basics

Professional Development

10 Qs

Javascript

Javascript

KG - Professional Development

13 Qs

Examen Parcial Teorico - Desarrollo móvil

Examen Parcial Teorico - Desarrollo móvil

Professional Development

10 Qs

Secuencia didactica 5 S2

Secuencia didactica 5 S2

Professional Development

10 Qs

Java Fundamentals

Java Fundamentals

Professional Development

11 Qs

Révision HTML, CSS et JavaScript

Révision HTML, CSS et JavaScript

Professional Development

20 Qs

Java Programming RBVRRIT

Java Programming RBVRRIT

University - Professional Development

10 Qs

Pengenalan Android

Pengenalan Android

10th Grade - Professional Development

10 Qs

FORMATIVE ASSESSMENT 2 OOPS

FORMATIVE ASSESSMENT 2 OOPS

Assessment

Quiz

Computers

Professional Development

Practice Problem

Easy

Created by

Kvalli Priyadharshini

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Analyze the following program and find the output of theprogram? public class Test { public static void main(String[] args) { System.out.println(Math.min(Double.MIN_VALUE,0.0d)); } }

0
0.0
0.0D
0.0d

2.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

import java.io.*; class files { public static void main(String args[]) { File obj = new File("/java/system"); System.out.print(obj.getName()); } }

java
system
java/system
/java/system

3.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

What will be the output of the following Java program if input given is “abc’def/’egh”? class Input_Output { public static void main(String args[]) throws IOException{ char c; BufferedReader obj = new BufferedReader(new InputStreamReader(System.in); do { c = (char) obj.read(); System.out.print(c); } while(c!='\''); } }

abc’
abcdef/’
abc’def/’egh
abcqfghq

4.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

What is synchronization in reference to a thread?

It’s a process of handling situations when two or more threads need access to a shared resource
It’s a process by which many thread are able to access same shared resource simultaneously
It’s a process by which a method is able to access many different threads simultaneously
It’s a method that allow too many threads to access any information require

5.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Which of these method is used to explicitly set the priority of a thread?

set()
make()
setPriority()
makePriority()

6.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Which of these method waits for the thread to terminate?

sleep()
isAlive()
join()
stop()

7.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

What is the default value of priority variable MIN_PRIORITY AND MAX_PRIORITY?

0 & 256
0 & 1
1 & 10
1 & 256

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

Already have an account?