
APP_UNIT_3 Quiz
Authored by jaya manoj
Computers
12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
16 questions
Python Basics
Quiz
•
KG - University
20 questions
Python Recap
Quiz
•
7th Grade - University
15 questions
Vocabulary of Computer
Quiz
•
12th Grade
15 questions
Lua Review Corona SDK with Notepad++
Quiz
•
10th - 12th Grade
15 questions
Asesmen Sumatif
Quiz
•
12th Grade
15 questions
Basic 2D Sketching - Fusion 360
Quiz
•
12th Grade
20 questions
UNIT 3- DATA COMMUNICATION
Quiz
•
12th Grade
15 questions
History of Computers
Quiz
•
6th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade