Quiz1-V10 - Sol
Quiz1-V10 - Sol
QUIZ # 01 - Solution
Course Title: Database Systems Course Code: CC-230
Course Instructor: Rida Ayesha Program: BS-CS
Section: V10 Semester: Spring 2025
Date: 11th April, 2025 Marks: 30
Instructions:
• Attempt all the questions.
• Copied answers will result in a zero!
• Quiz will be cancelled, if found cheating or communicating by any means.
• Questions will not be interpreted. Understanding the questions is an essential part of the
exam.
• Draw Diagrams where applicable.
Question 01: Define the following terms with suitable examples: (10 points) [CLO-1]
Answer:
Data Raw facts and figures that have not yet been processed to reveal meaning.
Example:
A list of numbers like 25, 45, 67 or entries like "Ali", "B+" are data points.
Information Definition:
Processed data that is meaningful and useful for decision-making.
Example:
From student data — "Ali scored 85% in the final exam" is information.
Data Definition: It is a subset of SQL used to define, modify, and delete the structure of
Definition database objects such as tables, schemas, indexes, and views.
Language Commands: Create, Alter, Drop & Truncate
(DDL)
Database Definition:
(DB) An organized collection of related data stored electronically, usually in a structured
format.
Example:
A university database that stores student records, course details, and faculty info.
Database Definition:
Management Software that manages databases and provides tools for storing, retrieving, and
System manipulating data securely and efficiently.
(DBMS) Example:
MySQL, Oracle, or Microsoft SQL Server are DBMS tools.
1|Page
University of Management and Technology
Department of Computer Science, School of Systems and Technology
Bachelor of Science in Computer Science: BS (CS)
Question 02: Compare the File-Based System with the Database Approach based on the
following aspects: (10 points) [CLO-1]
Answer:
Answer:
2|Page