APP_UNIT_3 Quiz

APP_UNIT_3 Quiz

12th Grade

20 Qs

quiz-placeholder

Similar activities

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Chapter 17

Chapter 17

11th - 12th Grade

21 Qs

JavaScript basics

JavaScript basics

8th Grade - University

15 Qs

MVC-PHP

MVC-PHP

12th Grade

15 Qs

Server and Client Side Programming

Server and Client Side Programming

12th Grade

20 Qs

Computer Science: Chapter 1 Test Review

Computer Science: Chapter 1 Test Review

9th - 12th Grade

20 Qs

JavaScript Fundamentals Quiz Senior

JavaScript Fundamentals Quiz Senior

12th Grade

15 Qs

APP_UNIT_3 Quiz

APP_UNIT_3 Quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

jaya manoj

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a thread in Java?

A light weight process that run independently within a a program

A data structure to store variable

A loop

A synchronization mechanism

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class is used to create a thread in Java?

Thread

Runnable

Process

Executor

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a race condition in Multi-threaded Java programming?

A situation where threads synchronize perfectly.

A situation where threads never finish execution

A situation where multiple threads access shared data simultaneously, leading to unpredictable results.

A situation where threads throw exceptions

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the program? class Multithreded_program { public static void main(String [] args) { Thread t = Thread.CurrentThread(); System.out.println(t); } } Thread[main,5]

A)     Thread[main,5]

B)      Thread[main,5,main]

C)      Thread[5,main]

D)     Thread[0]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the major components of the JDBC?

DriverManager, Driver, Connection, Statement, and ResultSet

DriverManager, Driver, Connection, and Statement

DriverManager, Statement, and ResultSet

DriverManager, Connection, Statement, and ResultSet

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following method is used to perform DML statements in JDBC?

executeResult()

executeQuery()

executeUpdate()

execute()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Parameterized queries can be executed by?

Parameterized Statement

Prepared Statement

Callable Statement and Parameterized Statement

All kinds of Statements

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?