
Advanced Java Programming Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Dr.C.Sharmila Asst.Prof - CSE Dept
Used 2+ times
FREE Resource
Enhance your content in a minute
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
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
12 questions
R variable Data Type and Flow Control Quiz
Quiz
•
University
11 questions
Determining System Requirements
Quiz
•
University
10 questions
Documentation
Quiz
•
University
10 questions
DBMS 1
Quiz
•
University
15 questions
GENERAL QUESTIONS
Quiz
•
University
15 questions
Basic IT Quiz
Quiz
•
University
15 questions
Unit 10 - IP, Internet, Packets, networks
Quiz
•
12th Grade - University
10 questions
SMP11603 Week 2
Quiz
•
University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
