Refine
All questions
351 resultsWhich method of the Statement object is used to execute a SELECT query and returns a ResultSet?
Show answer
What is a key limitation of using the DBMS approach?
Show answer
A ResultSet object represents:
Show answer
The relational database model was developed by:
Show answer
Which method of the ResultSet object is used to move to the next row and returns false when there are no more rows?
Show answer
In the relational model, a row of a table is called a:
Show answer
Which type of exception is typically thrown by database connectivity operations, requiring a try-catch block?
Show answer
In the relational model, the number of attributes in a relation is called its:
Show answer
If the try block does not throw any exception, the catch clauses following it are still executed.
Show answer
In the relational model, the number of tuples in a relation is called its:
Show answer
The finally block is optional in a try-catch structure.
Show answer
The set of all possible values that an attribute may contain is called its:
Show answer
How are exceptions handled in Java? Name the key keywords involved.
Show answer
Which of the following is a characteristic of relations in the relational model?
Show answer
Write a Java code fragment demonstrating exception handling for a division by zero, using a divide() method that takes two integer parameters.
Show answer
A special value used to represent an attribute value that is unknown, not applicable, or unavailable is called:
Show answer
An assertion in Java is used to:
Show answer
A Relational DBMS (RDBMS) is a DBMS that is:
Show answer
Which type of error is thrown when an assertion's expression evaluates to false?
Show answer
A set of attributes in a relation for which no two tuples have the same combination of values is called a: