
Advanced Java Programming Quiz

Quiz
•
Computers
•
University
•
Medium
Dr.C.Sharmila Asst.Prof - CSE Dept
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What exception is thrown if the driver is null?
SQLException
NullPointerException
IOException
ClassNotFoundException
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the executeQuery() method return?
int
boolean
ResultSet
void
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the SQL query to create a table named employee_details?
create table employee_details (empNum number(10), lastName varchar(50), firstName varchar(50), email varchar(255) , deptNum number(10), salary number(10));
create employee_details table (empNum number(10), lastName varchar(50), firstName varchar(50), email varchar(255) , deptNum number(10), salary number(10));
create table employee_details;
insert into employee_details;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the SQL query to insert data into the employee_details table?
insert into employee_details values (1001, 'Luther', 'Martin', 'ml@gmail.com', 1, 13000);
insert employee_details (1001, 'Luther', 'Martin', 'ml@gmail.com', 1, 13000);
add employee_details values (1001, 'Luther', 'Martin', 'ml@gmail.com', 1, 13000);
insert into employee_details (empNum, lastName, firstName, email, deptNum, salary) values (1001, 'Luther', 'Martin', 'ml@gmail.com', 1, 13000);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are Applets in Java?
Programs that run in a web browser
Standalone applications
Server-side programs
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the life cycle of an applet?
init(), start(), paint()
start(), paint(), stop()
init(), stop(), destroy()
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to run an applet?
Through HTML file
Using appletviewer tool
Both A and B
None of the above
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Java History Characteristics Environment

Quiz
•
University
10 questions
SQL Programming

Quiz
•
4th Grade - Professio...
11 questions
Questões Banco de Dados

Quiz
•
University
6 questions
Introducción a BD

Quiz
•
University
12 questions
Revisão Colegiada - Projeto de BD - 2024.1

Quiz
•
University
8 questions
SQL Indexing - Kelas B

Quiz
•
University
15 questions
HRM Quiz Chapter 1

Quiz
•
12th Grade - University
15 questions
Quiz on Computational Thinking and Algorithms 10F

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University