Quiz 1 Flashcards

1
Q

What is the most common type of relationship between two tables?

many-to-many

one-to-many

one-to-one

one-to-few

A

one-to-many

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

When a column in a table is defined, what determines the kind of data it can store?

an index

a relationship

a primary key

a data type

A

a data type

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

What uniquely identifies each row in a table?

cell

foreign key

primary key

field

A

primary key

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

SQL statements that define the tables in a database are referred to as ________________ statements.

Data Definition Language (DDL)

ASCII

SELECT

Data Manipulation Language (DML)

A

Data Definition Language (DDL)

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

The processing that’s done by the DBMS (Database Management System) is typically referred to as:

back-end processing

anytime processing

delayed processing

front-end processing

A

back-end processing

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

The three main hardware components of a client/server system are the clients, the server, and the

application

network

data access API

hard drive

A

network

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

Which of the following recommendations won’t improve the readability of your SQL statements?

start each clause on a new line

use capital letters for all clauses except DDL statements

break long clauses into multiple lines

indent continued lines

A

use capital letters for all clauses except DDL statements

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

Which of the following is not a SQL DML (Data Manipulation Language) statement?

SELECT

INSERT

CREATE TABLE

UPDATE

A

CREATE TABLE

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

If you define a column with a default value, that value is used whenever a row ___________.

with a zero value for that column is added to the table

is added to the table

in the table is updated

that doesn’t include a value for that column is added to the table

A

that doesn’t include a value for that column is added to the table

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

To retrieve or update the data in a database, the client sends a ________________ to the database.

query

ping

transaction request

handshake

A

query

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