Computer Science Form 3 (Chapter 4: Database & SQL) Flashcards

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

1/29

flashcard set

Earn XP

Description and Tags

These 30 vocabulary-style flashcards cover the fundamental concepts of Chapter 4: Database and SQL for the KSSM Asas Sains Komputer (ASK) Form 3 syllabus, including table structures, primary keys, and basic SQL commands.

Last updated 1:57 AM on 8/22/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

30 Terms

1
New cards
<p>Database</p>

Database

A collection of data organized systematically so it is easy to store, search, and update.

<p>A collection of data organized systematically so it is easy to store, search, and update.</p>
2
New cards

Purpose of Databases

To store information neatly, prevent redundant data, and facilitate easier data searching.

3
New cards

Everyday Examples of Databases

School student records, library systems, hospital records, and the Google Classroom application.

4
New cards

Table

A place to store data organized in the form of rows and columns.

5
New cards
<p>Field</p>

Field

A column in a table that stores a single type of information, such as Name or Age.

6
New cards

Record

A row in a table that contains complete information for a single individual or object.

7
New cards

Data

Facts or information collected for the purpose of storage and processing.

8
New cards

Difference between Field and Record

A field refers to a column, whereas a record refers to a row within a table.

9
New cards

Relational Database

A database consisting of several tables that are interconnected through keys.

10
New cards

School Database Function

Used to store information regarding students, teachers, classes, and examination results in an organized banner.

11
New cards

Primary Key

A field that contains a unique value to identify every individual record.

12
New cards

Importance of Primary Keys

Ensures that every record identifies unique entries and prevents duplicate information.

13
New cards

Primary Key Restriction

Two records cannot share the same primary key; the value must be unique.

14
New cards

Student Table Primary Key Examples

Identity Card Number (Nombor Kad Pengenalan) or Student ID (ID Murid).

15
New cards

Table Relationships

Connections that link data between two or more different tables.

16
New cards

Advantage of Multiple Tables

Ensures data is better organized and prevents the repetition of information compared to using one giant table.

17
New cards

Data Type

The classification of information stored in a field, such as numbers or text.

18
New cards

Examples of Data Types

Text and Number.

19
New cards

"Nama" Field

A field used to store the names of students or users.

20
New cards

"Umur" Field

A field used to store age values in numerical form.

21
New cards

SQL

Stands for Structured Query Language, which is the language used to manage databases.

22
New cards

SELECTSELECT Command

An instruction used to display data from a table.

23
New cards

FROMFROM Command

An instruction used to determine which table is being targeted for use.

24
New cards

WHEREWHERE Command

An instruction used to filter data based on specific conditions.

25
New cards

INSERTINSERT Command

An instruction used to add new records into a table.

26
New cards

UPDATEUPDATE Command

An instruction used to modify or update existing data.

27
New cards

DELETEDELETE Command

An instruction used to remove records from a table.

28
New cards

* Symbol in SELECTSELECT

A symbol used to indicate that all fields in the table should be displayed.

29
New cards

SELECTFROMMurid;SELECT * FROM Murid;

An instruction that displays all records and all fields from the table named MuridMurid.

30
New cards

Importance of SQL in ASK

SQL allows users to easily store, search, add, modify, and delete data within a database.