Advanced Java Programming Quiz

Advanced Java Programming Quiz

University

10 Qs

quiz-placeholder

Similar activities

Chapter 2 System Planning

Chapter 2 System Planning

University

11 Qs

Linux: Users and Groups

Linux: Users and Groups

9th Grade - University

14 Qs

Knowledge Management Quiz

Knowledge Management Quiz

University

10 Qs

MS Word Exercise 2

MS Word Exercise 2

University

15 Qs

IoT

IoT

KG - Professional Development

11 Qs

Revision R Programming

Revision R Programming

University

10 Qs

Unit 24 - Java Basics

Unit 24 - Java Basics

University

10 Qs

C++ 1st ONLINE QUIZ

C++ 1st ONLINE QUIZ

University

13 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