Exam 24: Relational Databases
Exam 1: Introduction76 Questions
Exam 2: Using Objects82 Questions
Exam 3: Implementing Classes108 Questions
Exam 4: Fundamental Data Types124 Questions
Exam 5: Decisions119 Questions
Exam 6: Loops107 Questions
Exam 7: Arrays and Array Lists117 Questions
Exam 8: Designing Classes88 Questions
Exam 9: Inheritance99 Questions
Exam 10: Interfaces100 Questions
Exam 11: Input/Output and Exception Handling108 Questions
Exam 12: Object-Oriented Design104 Questions
Exam 13: Recursion99 Questions
Exam 14: Sorting and Searching100 Questions
Exam 15: The Java Collections Framework102 Questions
Exam 16: Basic Data Structures102 Questions
Exam 17: Tree Structures102 Questions
Exam 18: Generic Classes75 Questions
Exam 19: Stream Processing85 Questions
Exam 20: Graphical User Interfaces75 Questions
Exam 21: Advanced Input/Output90 Questions
Exam 22: Multithreading81 Questions
Exam 23: Internet Networking74 Questions
Exam 24: Relational Databases75 Questions
Exam 25: XML74 Questions
Select questions type
What is the effect of the following statement?
String productCode = result.getString(1);
Free
(Multiple Choice)
5.0/5
(43)
Correct Answer:
B
An example of a lightweight database is:
Free
(Multiple Choice)
4.7/5
(41)
Correct Answer:
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)
If your statement has variable parts, you should use a _________ object.
(Multiple Choice)
4.9/5
(47)
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)