CIS 2010 EXAM 3 Flashcards

1
Q

What is an Entity in relational databases?

A

A table that stores multiple fields that describe something like an object or a place.

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

Define Attributes in the context of a database.

A

A field or column in a table that contains one characteristic of an entity.

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

What are Records in a relational database?

A

A collection of fields that describe a single instance of the entity.

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

What does Cardinality refer to in relational databases?

A

The type of relationships that are possible between entities (data tables).

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

True or False: Relational databases store all data in a single table.

A

False.

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

What is the purpose of separating entities into different tables?

A

To reduce redundant data.

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

What is Normalizing in the context of databases?

A

The process of separating entities and removing redundant data to as few copies as possible.

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

What is the consequence of redundant data in a database?

A

It creates a data quality challenge, as changes need to be made in every redundant copy.

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

What does SQL stand for?

A

Structured Query Language.

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

What is the main use of SQL?

A

To access and manipulate databases.

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

What are the two main logical sections of a basic SQL SELECT statement?

A
  • What should we retrieve?
  • From what database and table should we retrieve it?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of a WHERE clause in SQL?

A

To restrict the visible data based on a criteria.

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

Fill in the blank: In SQL, the command used to retrieve data is called _______.

A

SELECT.

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

What is a table in a relational database?

A

A structure that contains fields (attributes) organized into rows and columns.

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

What does each row in a student record table represent?

A

A new record for each instance of a student.

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

List three attributes that might be found in a student record.

A
  • Student ID
  • First Name
  • Last Name
17
Q

How is the table name specified in a SQL SELECT statement?

A

By providing the table name after the word FROM.

18
Q

True or False: SQL commands are only used by programmers.