Exam 24: Relational Databases

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

What is the effect of the following statement? String productCode = result.getString(1);

Free
(Multiple Choice)
5.0/5
(43)
Correct Answer:
Verified

B

An example of a lightweight database is:

Free
(Multiple Choice)
4.7/5
(41)
Correct Answer:
Verified

C

Microsoft Access is an example of a:

Free
(Multiple Choice)
4.9/5
(34)
Correct Answer:
Verified

C

Database tables store rows that contain the following except

(Multiple Choice)
4.8/5
(32)

What does the following statement do? String prodCode = nextLine(in, "Product Code (D=Done, L=List)");

(Multiple Choice)
4.9/5
(28)

In what format does the SQL query return a result?

(Multiple Choice)
4.9/5
(37)

If your statement has variable parts, you should use a _________ object.

(Multiple Choice)
4.9/5
(47)

Apache Derby is an example of a:

(Multiple Choice)
4.8/5
(34)

Metadata are ______

(Multiple Choice)
4.8/5
(51)

Complete the following statement, which inserts rows into the following Course table. ____________________ VALUES ('CS221', 'Data Structures', '4', 'J.Jones') Course table Complete the following statement, which inserts rows into the following Course table. ____________________ VALUES ('CS221', 'Data Structures', '4', 'J.Jones') Course table

(Multiple Choice)
4.8/5
(33)

Oracle is an example of a:

(Multiple Choice)
4.9/5
(42)

Which import statement will allow you to use a SQLException object?

(Multiple Choice)
4.9/5
(34)

If you encounter an error during updating a transaction, then call the ______ method:

(Multiple Choice)
4.9/5
(26)

If you want to find out about properties of a result set from an unknown table, you need to use:

(Multiple Choice)
4.9/5
(42)

In a Java program, the result of a SQL query is returned in a _____________ object.

(Multiple Choice)
4.9/5
(34)

The ___ symbol in the query string denotes variables that you fill in when you make an actual query

(Multiple Choice)
4.8/5
(33)

In SQL, the _____________ command is used to issue queries that do not modify the database.

(Multiple Choice)
4.8/5
(25)

Insert the statement that would remove the following table from the database. CREATE TABLE Course ( Course_ID VARCHAR(11), Credits VARCHAR(4), Room_No INT(4) ) ____________________

(Multiple Choice)
4.8/5
(31)

Which SQL command(s) modify the data in a database? i.SELECT II.INSERT III.DELETE IV.UPDATE

(Multiple Choice)
4.7/5
(31)

A ______________ object can create statement objects that are used to execute SQL commands.

(Multiple Choice)
4.9/5
(41)
Showing 1 - 20 of 75
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)