3: F.1. Databases Flashcards

(15 cards)

1
Q

What are the types of databases?

A
  • Relational database: it’s the most common type which means that the datais stored in tables
  • Data Hierarchy: and this is 4 levels
    1- filed
    2- record
    3- file
    4- Database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the primary key?

A

its a uniqe number that is attached to every employee record to distegush from the other employees

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

What is the Foreign Key ?

A

its a key that used to like a specific information to another record or file

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

What is entry relationship Modeling?

A

It’s a Model to plan the relationship between and among databases, one-to-one, one-to-many, many-to-many; these relationships are known as database cardinalities,
it can be app or anything that help in doing the diagram and the relationships

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

What is the Database Management System?

A

It’s a software program that acts like a middleman between the user and the data, like MySQL, Oracle It’s a big place that hides all the data, so we can use it later

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

True/False
Is the DBMS the same as a Database?

A

False
The DBMS is not the same as a database; the DBMS contains the database, which contains the data, and the DBMS manages this data and controls it

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

What is the SQL language?

A

its a language that use to communicate with the Database

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

Which of the following are true about a Schema in database development?

A) It represents the full structure of the entire database
B) It is limited to only one user’s view of the data
C) It includes table names, fields, and relationships
D) It is used to define what data a specific user can access
E) It is created using Data Definition Language (DDL)

A

Correct Answers: A, C, E

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

Which of the following best describes a Subschema (View)?

A) It provides full access to all data in the database
B) It is also known as a “view”
C) It limits the user’s access to certain data only
D) It controls how the database is physically stored
E) It is useful for protecting sensitive information

A

Correct Answers: B, C, E

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

How does a Schema differ from a Subschema?

A) A schema is the overall design; a subschema is user-specific
B) A schema includes the entire database structure
C) A subschema is used to create tables and relationships
D) A subschema may allow only read-only access to certain users
E) A schema limits user access to protect data

A

Correct Answers: A, B, D

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

What is the Data Manipulation Language (DML)?

A

When someone plays with the data by inserting, developing, and deleting data and its part of the Data maintains

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

What is the Structured Query Language (SQL)?

A

It’s used by the Database administrator (DBA) to make a structure of tables, fields, and relationships

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

What are the types of Database Management System (DBMS)

A

1- Database development
2- Database Maintenance
3- Database interrogation
4- Database application

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

what is the language that used for creating tables, defining columns, creating database schema, deleting or modifaying tables?

A

Data difinition Language (DDL)

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

What is the language that used for, adding, deleting data, inserting new records, ubdating existing data.

A

Data manupulation Language (DML)

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