Advanced Java Programming Quiz

Advanced Java Programming Quiz

University

10 Qs

quiz-placeholder

Similar activities

ECOP04 - Display de 7 segmentos

ECOP04 - Display de 7 segmentos

University - Professional Development

9 Qs

Demo

Demo

University

10 Qs

kuis komputer akuntansi

kuis komputer akuntansi

10th Grade - University

15 Qs

funWithJava

funWithJava

University

10 Qs

DFC10042 - Activity C1_DDT1E

DFC10042 - Activity C1_DDT1E

University

10 Qs

CSF Week 2

CSF Week 2

University

10 Qs

T_4.2 Identifier, Data Types, Operators & Expressions

T_4.2 Identifier, Data Types, Operators & Expressions

12th Grade - University

10 Qs

Week 2 Quiz

Week 2 Quiz

University

11 Qs

Advanced Java Programming Quiz

Advanced Java Programming Quiz

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Dr.C.Sharmila Asst.Prof - CSE Dept

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers