ITEC48 PRELIM Flashcards

1
Q

is a collection of data stored in a format that can easily be accessed.

A

Database

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

is a collection of programs that enables users to access, manipulate, report, and represent data.

A

Database Management System (DBMS)

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

helps control access to the database.

A

Database Management System (DBMS)

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

defines the logical design and structure of a database and how data will be stored, accessed, and updated.

A

Database model

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

organizes data into a tree-like structure with one-to-many relationships.

A

Hierarchical Model

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

organizes data like a graph, allowing more than one parent node.

A

Network Model

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

This database model was used to map many-to-many data relationships.

A

Network Model

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

This was the most widely used database model, before Relational Model was introduced.

A

Network Model

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

creates relationships by dividing objects of interest into entities and attributes.

A

Entity-relationship Model

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

This model is good to design a database, which can then be turned into tables in relational model.

A

Entity-relationship Model

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

is the database model used to store data in two-dimensional tables with a common field.

A

Relational Model

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

most widely used database model, in fact, we can say the only database model used around the world.

A

Relational Model

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

is a skeleton structure that represents the logical view of the entire database.

A

Database schema

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

defines how the data is organized and how the relations among them are associated.

A

Database Schema

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

It’s the database designers who design the schema to help programmers understand the database and make it useful.

A

Database Schema

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

pertains to the actual storage of data, such as files and indices.

A

Physical database schema

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

defines logical constraints, tables, views, and integrity constraints.

A

Logical database schema

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

This schema defines all the logical constraints that need to be applied on the data stored. It defines tables, views, and integrity constraints.

A

Logical Database

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

is the basis for SQL and modern database systems like MS SQL Server, IBM DB2, Oracle, and MySQL.

A

Relational Database Management System (RDBMS)

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

The data in an RDBMS is stored in database objects which are called as.

A

Tables

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

is a table that consists of numerous columns and rows, storing related data entries.

A

Table

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

Every table is broken up into smaller entities called

A

fields

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

is a column in a table that maintains specific information about every record.

A

Field

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

is an individual entry (row) in a table.

A

Record

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
is a vertical entity in a table that contains all information associated with a specific field.
Column
26
is a category of database management systems that do not adhere to relational concepts.
NoSQL
27
is a language used for storing, manipulating, and retrieving data in a relational database.
SQL
28
NoSQL stands for?
Not only SQL
29
who is father of relational databases?
Edgar F. "Ted" Codd
30
what year did the SQL release?
1974
31
IBM developed the first prototype of relational database and standardized by ANSI.
1986
32
The first relational database was released by Relational Software which later came to be known as
Oracle
33
is the SQL command used to retrieve records from one or more tables.
SELECT
34
is the SQL command used to create a new record in a table.
INSERT
35
is the SQL command used to modify existing records.
UPDATE
36
is the SQL command used to delete records.
DELETE
37
is a transaction control command that commits a transaction.
COMMIT
38
is a SQL command that rolls back a transaction in case of an error.
ROLLBACK
39
is a type of data that stores character type data of variable length.
VARCHAR
40
ensures that a column cannot have a NULL value.
NOT NULL
41
ensures that all values in a column are unique.
UNIQUE
42
is a constraint that uniquely identifies each row in a table.
PRIMARY KEY
43
is a constraint that ensures a row in a table is related to another table.
FOREIGN KEY
44
is the SQL command used to create a new table.
CREATE TABLE
45
is a SQL command that modifies an existing database object.
ALTER
46
is a SQL command used to delete a table or other object from the database.
DROP
47
are commands that deal with the structure of a database, such as creating or modifying tables.
Data Definition Language (DDL)
48
are commands that deal with the manipulation of data in the database.
Data Manipulation Language (DML)
49
are commands that manage the rights, permissions, and controls of the database.
Data Control Language (DCL)
50
is a SQL command that gives a user a privilege.
GRANT
51
is a SQL command that removes privileges from a user.
REVOKE
52
are commands that manage transactions in the database.
Transaction Control Language (TCL)
53
is the process of managing transactions and ensuring the integrity of the database.
Transaction Management
54
is the SQL command that sets a savepoint within a transaction.
SAVEPOINT
55
is the process by which SQL determines how to carry out a query.
SQL Process
56
are the rules and guidelines that define how SQL commands should be structured.
SQL Syntax
57
is a case-insensitive language where commands can be written in any case.
SQL
58
the rules enforced on data columns on a table. These are used to limit the type of data that can go into a table. This ensures the accuracy and reliability of the data in the database.
SQL CONSTRAINTS
59
There are no duplicate rows in a table.
Entity Integrity
60
Enforces valid entries for a given column by restricting the type, the format, or the range of values.
Domain Integrity
61
Rows cannot be deleted, which are used by other records.
Referential integrity
62
Enforces some specific business rules that do not fall into entity, domain or referential integrity.
User-Defined Integrity
63
is the SQL command used to create a new database.
CREATE DATABASE
64
is the SQL command used to delete an existing database.
DROP DATABASE
65
is the SQL command used to select or switch to a different database.
USE DATABASE
66
is the SQL command used to create a new table and define its columns and data types.
CREATE TABLE
67
The SQL commands that deals with the manipulation of data present in the database belong to DML or Data Manipulation Language and this includes most of the SQL statements.
DML (DATA MANIPULATION LANGUAGE)
68
are sets of instruction written in a language that can be understood by the database system.
Queries
69
Queries have (3) three basic parts.
Action - Location - Restrictions
70
What the purpose of the query is.
Action ( SELECT and INSERT and UPDATE and DELETE )
71
Which table or tables the action will be performed on.
Location ( FROM tableName )
72
What columns rows and data will be affected.
Where ( WHERE Set of Restriction )
73
is used to fetch the data from a database table which returns this data in the form of a result table.
SQL SELECT QUERY
74
These result tables are called.
Result-Sets
75
specifies the columns to be displayed
SELECT Clause
76
specifies the table containing the columns that are listed in the SELECT Clause.
FROM Clause
77
The asterisk (*) can be used to select all the available columns and records from a table.
TRUE
78
is used to specify a condition while fetching the data from a single table or by joining with multiple tables.
SQL WHERE clause
79
is used to add new rows of data to a table in the database.
INSERT INTO
80
is used to modify the existing records in a table.
UPDATE QUERY
81
is used to delete the existing records from a table.
DELETE QUERY
82
In UPDATE if you dont specify the WHERE Clause the whole rows will be affected ( true/false )
TRUE
83
In DELETE if you dont specify the WHERE Clause the whole rows will be deleted ( true/false )
TRUE
84
If you want to delete all the records from a table, you dont need to use WHERE Clause ( true/false )
TRUE
85
USE is use to specify what schema/database you will be using or will be affected ( true/false )
TRUE