(ADBS) PRELIM

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/116

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:16 AM on 9/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

117 Terms

1
New cards
  1. Database

  2. Database Management System (DBMS)

  3. Database Application

  4. Users


What are the components of database system?

2
New cards

Database

What is an organized collection of structured information, or data, typically stored electronically in a computer system?

3
New cards

Database Management System (DBMS)

What serves as an interface between the database and its end-users or programs?

4
New cards

Database Management System (DBMS)

What allows users to retrieve, update, and manage how the information is organized and optimized?

5
New cards
  • Performance monitoring

  • Tuning

  • Backup and recovery


A DBMS also facilitates oversight and control of databases, enabling a variety of administrative operations such as?

6
New cards

Database Application

What is a set of one or more computer programs that serves as an intermediary between the user and the DBMS?

7
New cards
  • Application programs

  • by sending DB query language to the DBMS


What does read or modify database data? And how?

8
New cards
  1. Naive Users

  2. Application Programmers

  3. Sophisticated Users


What are the types of users?

9
New cards

Naive Users

Who are the unsophisticated users who interact with the system by using predefined user interfaces; such as web or mobile apps?

10
New cards

Application Programmers

Who are the computer professional who write application programs?

11
New cards

Sophisticated Users

Who interact with the system without writing programs? Instead they form their requests either using a DB query language.

12
New cards

Database System Architecture

What involves database design and construction on how the database will operate and function within existing structures and location?

13
New cards
  1. Centralized Database System

  2. Distributed Database System


What are the two main types of database system architecture?

14
New cards

Centralized Database System

What is the database that supports data located at a single site?

15
New cards

Distributed Database System

Which refers to a collection of multiple interconnected databases, and spread physically across various locations?

16
New cards
  1. Structured Data

  2. Unstructured Data

  3. Semi-structured Data


What are the structures of data in DBMS?

17
New cards

Structured Data

Which refers to data that are stored in relational databases?

18
New cards

Structured Data

Which type of data uses a predefined and expected format or schema?

19
New cards

Unstructured Data

Which refers to data that exist in its original or raw state the can come in all shapes and sizes?

20
New cards

Semi-structured Data

Which refers to individual items of the same type may have different sets of attributes?

21
New cards

Semi-structured Data

Which contains semantic tags and there is no predefined schema?

22
New cards

Structured Data

What data structure does the example represent?

<p>What data structure does the example represent?</p>
23
New cards

Unstructured Data

What data structure does the example represent?

<p>What data structure does the example represent?</p>
24
New cards

Semi-structured Data

What data structure does the example represent?

<p>What data structure does the example represent?</p>
25
New cards
  1. SQL (Structured Query Language)

  2. NoSQL

  3. NewSQL

  4. Object-Oriented DB

  5. XML (Extensible Markup Language)


What are the types of database management system?

26
New cards

SQL (Structured Query Language)

What refers to a computer language for storing, manipulating, and retrieving data stored in a relational database?

27
New cards

NoSQL

What is generally used to describe a new generation of DBMS that is not based on the traditional relational database model?

28
New cards

Not only SQL

What does NoSQL stands for?

29
New cards

Big Data

NoSQL has been developed to address the challenges represented by what?

30
New cards

NoSQL

Which features a dynamic schema for unstructured data and the data can be stored in different ways?

31
New cards

NoSQL

What allows you to create documents without first having to carefully plan and define their structure?

32
New cards

NewSQL

Which incorporates and builds on the concepts and principles of SQL and NoSQL systems?

33
New cards

NewSQL

Which provides improved functionality and services, by combining the reliability of SQL with the speed and performance of NoSQL?

34
New cards

Object-Oriented Database

Which refers to a database that stores object rather than data as individual relations?

35
New cards

C++, Java and C#

Object-Oriented Database makes use of object-oriented languages such as?

36
New cards

Object-Oriented Database

Choose this when you have a business need for high performance on complex data.

37
New cards

XML (Extensible Markup Language)

Which is designed to facilitate the exchange of structured documents?

38
New cards

XML (Extensible Markup Language)

Which simplifies data sharing between various systems because of its

platform-independent nature?

39
New cards

XML (Extensible Markup Language)

Choose this as long as your datasets stay relatively small.

40
New cards
  • PL-SQL

  • T-SQL

  • PostgreSQL

  • MySQL

  • SQLite


What are the examples of SQL Extensions?

41
New cards

PL-SQL

What is the combination of SQL along with the procedural features of programming languages?

42
New cards

PL-SQL

What was developed by Oracle Corporation and stands for Procedural Language?

43
New cards

Transact-SQL

T-SQL stands for?

44
New cards

T-SQL

What is the Microsoft’s and Sybase’s extension of SQL that adds and declare variables, support transaction control, error and exception handling, and row processing to SQLs existing functions?

45
New cards

PostgreSQL

What is the open-source object-relational database system that uses and extends the SQL language?

46
New cards

MySQL

What is the open-source SQL relational database management system that was developed and supported by Oracle?

47
New cards

SQLite

What is the relational database management system contained in a C programming library?

48
New cards
  • BEGIN/END

  • DECLARE

  • SET or SELECT

  • CAST

  • PRINT

  • TRY-CATCH


What are examples of T-SQL Statement Blocks?

49
New cards

BEGIN/END

What is used to define a set of SQL statements that execute together?

50
New cards

DECLARE

What is used to declare a variable in SQL server?

51
New cards

@ symbol

If we want to use a variable in SQL server, what do we need to declare first and start variable names with?

52
New cards

SET or SELECT

What is used to assign a value(s) to a variable?

53
New cards

CAST

What converts an expression of one data type to another?

54
New cards

PRINT

What allows users to return a pre-defined message or value?

55
New cards

TRY-CATCH

What consists of a try block followed by one or more catch clauses, which specify handlers for different exceptions?

56
New cards

TRY-CATCH

What feature helps to deal with any unexpected or exceptional situations that occur when a program/query is running?

57
New cards
  • IF-ELSE

  • ELSE

  • ELSE-IF

  • WHILE

  • CASE


What are some examples of T-SQL Conditional Statements?

58
New cards

IF-ELSE

This conditional statement specify a block of code to be executed, if the returning condition is true.

59
New cards

ELSE

This conditional statement specify a block of code to be executed, if the returning condition is false.

60
New cards

ELSE-IF

This conditional statement specify a new condition to test, if the previous returning condition is false.

61
New cards

WHILE

This conditional statement loops through a block of code as long as a specified condition is true.

62
New cards

CASE

This conditional statement is the extension of IF-ELSE statement.

63
New cards

CASE

This conditional statement allows the user to apply multiple conditions to perform different sets of actions.

64
New cards

Common Table Expression (CTE)

What does specify a temporary named result set?

65
New cards

WITH

What operator can be used to define a CTE?

66
New cards

Common Table Expression (CTE)

What allows users to define tables that can be used in a particular query?

67
New cards
  • SELECT

  • INSERT

  • UPDATE

  • DELETE


What are the other statements CTE can be referenced within?

68
New cards
  • ORDER BY

  • INTO

  • OPTION


What are the clauses that cannot be used in CTE queries?

69
New cards
  • Non-Recursive CTE

  • Recursive CTE


What are the types of CTE?

70
New cards

Non-Recursive CTE

Which doesn’t use repeated procedural loops or recursion?

71
New cards

Non-Recursive CTE

Which type of CTE is easier to understand?

72
New cards

Recursive CTE

Which type of CTE uses recursion?

73
New cards

Recursive CTE

Which is useful when working with hierarchical data?

74
New cards

Recursive CTE

Which type of CTE continues to execute until the query returns the entire hierarchy?

75
New cards

Subqueries

What is a query (SELECT statement) inside another query?

76
New cards

parantheses

Subqueries are expressed inside what?

77
New cards

Outer Query

What refers to the first query in the SQL statement?

78
New cards

Inner Query

What refers to the query inside the SQL statement?

79
New cards

Inner Query

Which query is executed first?

80
New cards

output of an inner query

What is used as the input for the outer query?

81
New cards
  1. In WHERE clause

  2. In FROM clause

  3. In SELECT clause

  4. In IN operator

  5. In ALL and ANY operator

  6. Correlated Subqueries

  7. In EXISTS operator


What are examples of subqueries?

82
New cards

WHERE clause

Which subquery work as part of the row selection process?

83
New cards

WHERE clause

Which subquery is often found in the WHERE clause?

84
New cards

Nested Subqueries

WHERE clause is also called as?

85
New cards

FROM clause

Which subquery returns a temporary or virtual table?

86
New cards

FROM clause

Which subquery is useful in data warehousing application?

87
New cards

Inline View or Derived Table

FROM clause is also called as?

88
New cards

SELECT clause

Which subquery is nested in the list of another SELECT statement?

89
New cards

IN operator

Which subquery allows users to match one item from any of those in the list?

90
New cards

ANY operator

Which subquery returns true if any of the subquery values satisfy the condition?

91
New cards

ALL operator

Which subquery returns true if all the subquery values meet the condition?

92
New cards

Correlated Subqueries

Which subquery is used to select data from a table referenced in the outer query?

93
New cards

Correlated Subqueries

Which is executed repeatedly, once for each row evaluated by the outer query?

94
New cards

Simple Subquery

Correlated subqueries cannot be executed independently as?

95
New cards

Repeating Subquery

Correlated subqueries are also known as?

96
New cards

EXISTS operator

Which subquery is used to check whether a subquery produces any rows of query results?

97
New cards

Correlated Subqueries

EXISTS operator is commonly used with what?

98
New cards

Views

What refers to a virtual table that is constructed from other tables or views and saved as an object in the database?

99
New cards

Views

Which has no data of its own, but obtains data from tables or other views?

100
New cards
  • ORDER BY clause

  • A reference to a temporary table or a table variable


What cannot be included in VIEWS?