Filters
Question type

Study Flashcards

In an entity relationship diagram, the primary keys are denoted with


A) (PK) .
B) (1) .
C) (KEY) .
D) (PRIME) .

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

What does JDBC stand for?


A) Java data binary collection
B) Java database connectivity
C) Java database collection
D) Java data basic computation

E) C) and D)
F) All of the above

Correct Answer

verifed

verified

System designers commonly use UML diagrams to show the relationships between database tables.

A) True
B) False

Correct Answer

verifed

verified

What will happen if you try to store duplicate data in a primary key column?


A) The column is duplicated.
B) An error will occur.
C) The duplicate data will have concurrency issues.
D) The primary key column will not display the duplicate data.

E) B) and D)
F) C) and D)

Correct Answer

verifed

verified

B

You use this statement in SQL to insert a new row into a table.


A) UPDATE
B) ADD
C) NEW
D) INSERT

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

In SQL, this statement is used to change the contents of an existing row in a table.


A) SET ROW
B) CHANGE
C) UPDATE
D) REFRESH

E) B) and D)
F) All of the above

Correct Answer

verifed

verified

The columns in a table are assigned SQL data types.

A) True
B) False

Correct Answer

verifed

verified

What SQL operator can be used to perform a search for a substring?


A) STR
B) LIKE
C) WHERE
D) SUB

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

SQL statements that are stored in the DBMS are called resident queries.

A) True
B) False

Correct Answer

verifed

verified

False

Although SQL is a language, you don't use it to write applications.

A) True
B) False

Correct Answer

verifed

verified

This is the standard language for working with database management systems.


A) SQL
B) BASIC
C) ADA
D) COBOL

E) A) and C)
F) B) and C)

Correct Answer

verifed

verified

Which SQL statement is used to delete a table from a database?


A) REM TABLE
B) DEL TABLE
C) DROP TABLE
D) ERASE TABLE

E) B) and D)
F) All of the above

Correct Answer

verifed

verified

What term refers to data that describes other data?


A) Pseudo-data
B) Micro data
C) Abstract data
D) Meta data

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

D

Which Statement interface method should be used to execute an INSERT statement?


A) executeUpdate
B) executeStatement
C) executeQuery
D) executeSQL

E) B) and C)
F) C) and D)

Correct Answer

verifed

verified

A column in one table that references a primary key in another table is known as what?


A) Secondary key
B) Foreign key
C) Referential key
D) Meta key

E) None of the above
F) B) and D)

Correct Answer

verifed

verified

What do most developers prefer to use when developing applications that work with an intensive amount of data?


A) text files
B) binary files
C) a database management system
D) Java DB

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

In a transaction, all updates to database must be successfully executed.

A) True
B) False

Correct Answer

verifed

verified

In SQL, this character can be used as a wildcard to represent a single character.


A) %
B) $
C) _
D) *

E) None of the above
F) A) and B)

Correct Answer

verifed

verified

Which Statement interface method should be used to execute a SELECT statement?


A) executeSQL
B) executeStatement
C) executeUpdate
D) executeQuery

E) A) and D)
F) None of the above

Correct Answer

verifed

verified

Of the following column names, which one is most likely a primary key column?


A) Price
B) Description
C) ItemNumber
D) Quantity

E) B) and C)
F) A) and B)

Correct Answer

verifed

verified

Showing 1 - 20 of 40

Related Exams

Show Answer