Midterm Flashcards

1
Q

JDBC MEANS

A

Java Database Connectivity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

It’s is a standard Java API for database independent connectivity

A

JDBC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Tasks

A

Creating SQL
Executing SQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Java Executables

A

Java Application
Java Applets
Java Servlets
Java ServerPages
Enterprise JavaBeans

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

allowing Java programs to contain database

A

ODBC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

JDBC ARCHITECTURE LAYERS 2

A

JDBC API
JDBC Driver API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

This provides the application to JBC Manager connection

A

JDBC API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

This supports the JDBC MANAGER TO DRIVER CONNECTION

A

JDBC DRIVER API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The _ uses a driver manager and database specific driver

A

JDBC API

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The _ ensures that the correct driver is used access each data source

A

JDBC Driver Manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

This class manages a list of database drivers

A

DriverManager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

This interface handles the communication with the database server

A

Driver

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

This interface with all methods for contacting a database

A

Connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

you use objects created from this interface to submit to SQL statement

A

Statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

These objects hold data retrieved from a data base

A

ResultSet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

This class handles any errors that occur in a database

A

SQLException

17
Q

what are the primary packages for JDBC 4.0

A

java.sql
javax.sql

18
Q

what does SQL means

A

Structured Query Language

19
Q

it is a standardized language that allows you to perform operations on a database

20
Q

Used for creating a new database

A

CREATE DATABASE STATEMENT

21
Q

Used for deleting an existing database

A

DROP DATABASE STATEMENT

22
Q

Used for creating a new table

A

CREATE TABLE STATEMENT

23
Q

use for deleting an existing table

A

DROP TABLE STATEMENT

24
Q

Used to retrieve data from a database

A

Select Statement

25
comparison operators
= != <= >=
26
Used to update data
Update statement
27
Used to delete data from table
Delete statement
28