Filters
Question type

Study Flashcards

Which of the following fields would be the best candidate for a primary key field in a table of employee data?


A) LastName
B) EmployeeID
C) Email
D) BirthDate

Correct Answer

verifed

verified

Which of the following is NOT true about a relation, otherwise known as a two-dimensional table?


A) The entries in the table should be single-valued.
B) All values in a column should be values of the same attribute.
C) Two or more columns can share the same name.
D) The order of rows is not important.

Correct Answer

verifed

verified

A ____________________ in a record is the result of a calculation using data from the rest of the record.


A) foreign key field
B) composite field
C) grouping field
D) computed field

Correct Answer

verifed

verified

If you are creating a computed field that adds 10 percent to the UnitPrice field, how do you enter the UnitPrice field name in the expression?


A) "UnitPrice"
B) Unit Price
C) [UnitPrice]
D) (UnitPrice)

Correct Answer

verifed

verified

What happens when you run a select query in Access?


A) Access creates a unique copy of the data.
B) Access selects current data from underlying tables.
C) Access creates a table with the specified fields and records.
D) Access locks the underlying tables so they cannot be changed.

Correct Answer

verifed

verified

B

A relational database handles entities, attributes, and relationships by storing each entity in its own row.

Correct Answer

verifed

verified

False

What do you call the field used to join two tables on the "many" side of a one-to-many relationship?


A) foreign key field
B) primary key field
C) secondary sort field
D) calculated field

Correct Answer

verifed

verified

In general, what should be in place before you select fields from more than one table in Access Query Design View?


A) The tables should not contain fields with the same field name.
B) The tables should be merged into one table.
C) The join line between the tables should be deleted.
D) The tables should be related in a proper one-to-many relationships.

Correct Answer

verifed

verified

Discuss the difference between the major sort key and the minor sort key using an example.

Correct Answer

verifed

verified

When you are sorting records by more tha...

View Answer

What is the difference between the records that are selected when AND criteria versus OR criteria in a query?

Correct Answer

verifed

verified

In AND criteria, each criterio...

View Answer

You can create compound criteria (conditions) in a query by using which of the following two keywords?


A) AND, OR
B) AND, NOR
C) OR, NOT
D) NOT, ONLY

Correct Answer

verifed

verified

In Access, you can display the results of a select query using the Run button or the View button.

Correct Answer

verifed

verified

Based on the following table, which relational algebra command creates a new table named CustState containing the fields CustomerNum and State? Customer (CustomerNum, CustomerName, Street, City, State, PostalCode)


A) JOIN Customer WITH (CustomerNum, State) GIVING CustState
B) PROJECT Customer OVER (CustomerNum, State) GIVING CustState
C) SELECT Customer OVER (CustomerNum, State) GIVING CustState
D) MAKE-TABLE CustState FROM Customer WITH (CustomerNum, State)

Correct Answer

verifed

verified

B

In relational algebra, what command is used to identify certain columns?


A) SELECT
B) DELETE
C) PROGRAM
D) PROJECT

Correct Answer

verifed

verified

Which of the following expressions in Access Query Design View creates a computed field named MonthlySalary using a value from the Salary field?


A) MonthlySalary = [Salary / 12]
B) MonthlySalary: [Salary] / 12
C) Salary / 12 = [MonthlySalary]
D) MonthlySalary: "Salary" / 12

Correct Answer

verifed

verified

Which database term refers to a row in a table?


A) tuple
B) field
C) group
D) relation

Correct Answer

verifed

verified

How are aggregate functions different from other types of functions?


A) Aggregate functions make calculations on groups of records.
B) Aggregate functions return yes/no or true/false values.
C) Aggregate functions work only with numeric data.
D) Aggregate functions do not work with date values.

Correct Answer

verifed

verified

The field you use to sort records is called the _____.


A) sort key
B) sort argument
C) parent key
D) foreign key

Correct Answer

verifed

verified

What type of Access query changes data?


A) addition
B) projection
C) update
D) select

Correct Answer

verifed

verified

In Access Query Design View, how do you add the Total row to the query design grid?


A) Click the Totals button on the Query Tools Design tab.
B) Click the Group by arrow in the Criteria row, and then click Total.
C) Click the Grouping button on the Query Tools Design tab.
D) Drag the Total field to the query design grid.

Correct Answer

verifed

verified

Showing 1 - 20 of 50

Related Exams

Show Answer