computor science

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

1/54

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:54 PM on 5/31/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

55 Terms

1
New cards
Database Definition
A place where information is stored and organised so it can be easily found, updated, and managed.
2
New cards
Data
Raw facts and figures like "9" or "Sibani" that have no meaning on their own until they are processed.
3
New cards
Information
Data that has been processed and organised into a context that gives it meaning (e.g. "Sibani is in Year 9").
4
New cards
Table
The main structure of a database where data is stored in a grid of rows and columns.
5
New cards
Record
One full row in a database table representing one single item or person (e.g. all the data for Sibani).
6
New cards
Field
One column in a database table representing one specific category of data (e.g. FirstName or DateOfBirth).
7
New cards
Primary Key
A field that uniquely identifies each record in a table. It cannot be duplicated and cannot be left blank.
8
New cards
Foreign Key
A field in one table that links to the Primary Key in another table.
9
New cards
Relationship
A link between tables using keys in a relational database.
10
New cards
Query
A request used to search for, filter, or display data from a database.
11
New cards

Short Text Data Type

A data type used to store short pieces of text such as names or addresses.

12
New cards
AutoNumber Data Type
Automatically creates a unique number for every new record; usually used for Primary Keys.
13
New cards
Boolean (Yes/No) Data Type
Used for fields that only have two possible answers such as "Allergy?".
14
New cards

Validation Rule

A check made by the computer to ensure inputted data is sensible and within limits.

15
New cards
Presence Check
A validation rule that ensures a field is not left blank.
16
New cards
Length Check
A validation rule that ensures data is not too short or too long.
17
New cards
Range Check
A validation rule that ensures a number is within limits.
18
New cards
Type Check
A validation rule that ensures the correct type of data is entered.
19
New cards
Flat-File Database
A database with only one table of data.
20
New cards
Relational Database
A database with multiple tables linked together.
21
New cards

Paper-Based Disadvantage

Takes up a lot of space, is slow to search through, and can be easily lost or damaged.

22
New cards

Computer-Based Advantage

Easy to organise and look through data, allows fast searching, and improves security.

23
New cards
Paper-Based Advantage
Easy to use, cheap, and simple to set up.
24
New cards

Computer-Based Disadvantage

Expensive, needs electricity/computer, likely needs training and can have technical issues.

25
New cards
Nibble
A group of 4 bits.
26
New cards
Byte
A group of 8 bits.
27
New cards

Binary

A base 2 number system, containing only 0 and 1

28
New cards
Denary
A number system using base 10.
29
New cards
Hexadecimal
A number system using base 16 (0–9 and A–F).
30
New cards
Overflow
When a number is too large to fit in the available number of bits.
31
New cards
ASCII
American Standard Code for Information Interchange; a system that turns characters into numbers so computers can store text.
32
New cards

Variable

A named container that stores data which can change.

33
New cards
Data type
The type of data a value is (e.g. integer, string, float)
34
New cards
String
Text data (e.g. "hello")
35
New cards
Integer
Whole numbers (e.g. 5)
36
New cards
Float
Decimal numbers (e.g. 2.5)
37
New cards
Type conversion
Changing data from one type to another (e.g. string → integer)
38
New cards
==
Checks if two values are equal
39
New cards

!=

This is the not equal to operator. It checks if two values are not equal to each other.

40
New cards
>>
Checks if one value is greater than another
41
New cards
<
Checks if one value is less than another
42
New cards

>=

Checks if a value is greater than or equal to another

43
New cards

<=

Checks if a value is less than or equal to another

44
New cards
= vs ==
= assigns a value, == compares values
45
New cards

free point (delete later)

k

46
New cards
/
Normal division (gives exact answer)
47
New cards

//

Floor division, divides and round down to the nearest whole number

48
New cards

%

Divide the first number by the second number, round the result down to the nearest whole number, multiply that by the second number, then subtract that from the first number. The result is the remainder, which is what the modulus operator (%) gives.

49
New cards
FOR loop
Used when you know how many times to repeat
50
New cards
WHILE loop
Used when repetition depends on a condition
51
New cards
Infinite loop
A loop that never stops because the condition is always True
52
New cards
if statement
A selection statement that runs code only if a condition is true
53
New cards
not operator
Reverses a condition
54
New cards
or operator
Returns True if at least one condition is True
55
New cards

if / elif / else

Used for selection in Python.
if runs code when a condition is true.
elif tests another condition if the previous if was false.
else runs code if none of the conditions are true.