Untitled Deck Flashcards

1
Q

What is a Many-to-Many relationship?

A

A relationship where many records in one entity are associated with many records in another entity.

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

What is a Many-to-One relationship?

A

A relationship where many records in one entity are associated with one record in another entity.

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

What is a One-to-One relationship?

A

A relationship where one record in an entity is associated with only one record in another entity.

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

What is a Star Schema?

A

A data-modeling technique that organizes data into fact and dimension tables, often used in data warehouses.

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

What does a Fact Table contain?

A

Contains numeric data (e.g., sales, revenue).

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

What do Dimension Tables contain?

A

Contain descriptive attributes (e.g., time, geography).

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

What is the relationship between Fact and Dimension Tables?

A

The fact table is connected to dimension tables in a many-to-one (M:1) relationship.

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

What are the stages of the Systems Development Life Cycle (SDLC)?

A

Planning, Analysis, Detailed Design, Implementation, Maintenance.

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

What is the first stage of the SDLC?

A

Planning: Determine the project’s scope and objectives.

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

What is the purpose of the Analysis stage in SDLC?

A

Define system requirements and identify challenges.

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

What is involved in the Detailed Design stage of SDLC?

A

Outline system specifications.

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

What happens during the Implementation stage of SDLC?

A

Code and deploy the system.

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

What is the final stage of SDLC?

A

Maintenance: Regular updates and bug fixes.

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

What are the stages of the Database Life Cycle (DBLC)?

A

Initial Study, Database Design, Implementation and Loading, Testing and Evaluation, Operation, Maintenance and Evolution.

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

What is the first stage of the DBLC?

A

Initial Study: Analyze requirements and constraints.

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

What occurs during the Database Design stage of DBLC?

A

Develop logical and physical models.

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

What happens in the Implementation and Loading stage of DBLC?

A

Create database structures and load data.

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

What is the purpose of the Testing and Evaluation stage in DBLC?

A

Verify functionality and performance.

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

What occurs during the Operation stage of DBLC?

A

Begin database use and monitor.

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

What is the final stage of DBLC?

A

Maintenance and Evolution: Regular updates and adjustments.

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

What is Data Mining?

A

The process of analyzing large datasets to discover patterns and extract meaningful information.

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

What is Predictive Analytics?

A

Uses data mining, statistics, and machine learning to predict future outcomes.

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

What is a Data Warehouse?

A

A central repository for integrated, subject-oriented, time-variant, and nonvolatile data supporting decision-making.

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

What is a Data Mart?

A

A smaller, focused subset of a data warehouse for specific business units.

25
Q

What does ETL stand for?

A

Extract, Transform, Load.

26
Q

What is the Extract phase in ETL?

A

Retrieve data from various sources.

27
Q

What is the Transform phase in ETL?

A

Clean and format data.

28
Q

What is the Load phase in ETL?

A

Store data in a target database.

29
Q

What are ETL Tools?

A

Software that automates the ETL process (e.g., Informatica, Talend).

30
Q

What are the 3 V’s of Big Data?

A

Volume, Velocity, Variety.

31
Q

What is a Primary Key?

A

Uniquely identifies a row in a table.

32
Q

What is a Foreign Key?

A

A primary key from another table, establishing a relationship.

33
Q

What is a Candidate Key?

A

Any attribute or combination of attributes that can serve as a primary key.

34
Q

What is the syntax for an Insert Statement in SQL?

A

INSERT INTO table_name (columns) VALUES (values).

35
Q

What is the syntax for a Delete Statement in SQL?

A

DELETE FROM table_name WHERE condition.

36
Q

What does Truncate do in SQL?

A

Deletes all rows but keeps the table structure.

37
Q

What does Drop do in SQL?

A

Deletes the entire table structure.

38
Q

What are Aggregate Functions in SQL?

A

Functions like SUM(column) and COUNT(column) that perform calculations on data.

39
Q

What does GROUP BY do in SQL?

A

Groups rows that have the same values in specified columns.

40
Q

What is an Inner Join?

A

Returns rows with matching values in both tables.

41
Q

What is a Left Join?

A

All rows from the left table and matching rows from the right.

42
Q

What is a Right Join?

A

All rows from the right table and matching rows from the left.

43
Q

What is an Outer Join?

A

Includes matched and unmatched rows from both tables.

44
Q

What is a Surrogate Key?

A

A system-generated unique key with no intrinsic business meaning.

45
Q

What are NOT NULL constraints?

A

Disallows null values.

46
Q

What are UNIQUE constraints?

A

Ensures all values in a column are unique.

47
Q

What are CHECK constraints?

A

Validates attribute values.

48
Q

What are Optional Relationships in ERD?

A

A relationship where an entity instance can exist without being related to another entity.

49
Q

What are Mandatory Relationships in ERD?

A

An entity instance must have a corresponding instance in a related entity.

50
Q

What is DDL?

A

Data Definition Language: Commands like CREATE, ALTER, DROP.

51
Q

What is DML?

A

Data Manipulation Language: Commands like INSERT, UPDATE, DELETE.

52
Q

What does UNION ALL do?

A

Combines datasets and retains duplicates.

53
Q

What does UNION do?

A

Combines datasets and removes duplicates.

54
Q

What does INTERSECT do?

A

Returns only common rows.

55
Q

What does EXCEPT do?

A

Returns rows in the first dataset but not in the second.

56
Q

What is a Supertype?

A

A general entity type.

57
Q

What is a Subtype?

A

A specialized entity inheriting from the supertype.

58
Q

What does Hierarchy support in terms of entities?

A

Supports attribute inheritance.