Advanced Java Programming Quiz

Advanced Java Programming Quiz

University

10 Qs

quiz-placeholder

Similar activities

Database(1)

Database(1)

10th Grade - University

10 Qs

CH 5 - SQL Language and Database Concepts

CH 5 - SQL Language and Database Concepts

University

10 Qs

DDL SQL

DDL SQL

University

10 Qs

Banco de dados 3. ano

Banco de dados 3. ano

3rd Grade - University

10 Qs

AV1/R1 3TEC_Banco de Dados - Chave Primária

AV1/R1 3TEC_Banco de Dados - Chave Primária

1st Grade - University

15 Qs

GAME ENGLISH FOR HTML

GAME ENGLISH FOR HTML

University

10 Qs

Chapter 2 Java Basic2

Chapter 2 Java Basic2

University

10 Qs

JAVA QUIZ-1

JAVA QUIZ-1

University

10 Qs

Advanced Java Programming Quiz

Advanced Java Programming Quiz

Assessment

Quiz

Computers

University

Medium

Created by

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

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?