Computer Science - Representing data in a computer + databases πŸ“€ Flashcards

1
Q

How is data stored?

A

Data is stored in each memory location in a pattern of bits.

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

Bit patterns can represent different types of data such as…

A

Bit patterns can represent different types of data such as numbers, text, audio, images, graphics, and video.

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

Computers store and manipulate data in the form of…

A

Computers store and manipulate data in the form of electronic pulses.

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

What are the 2 signal states that a computer represents data with?

A

ON (The high voltage level) OFF (The low voltage level)

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

How is the digitized data represented numerically?

A

It is represented using the binary number system (base 2) which only uses 1s and 0s.

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

Since there are only 2 states in a computer, it is called a _______.

A

Since there are only 2 states in a computer, it is called a bi-stable device.

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

How does you pressing a letter lead to it being shown on the screen?

A

Electrical signals are sent from the keyboard to the CPU. The CPU turns the signals into binary code. Then, the computer reads the code and sends it to the monitor to display the letter.

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

A bit is a ____.

A

A bit is a single digit in a binary number; it is either a 0 or a 1. It is the smallest unit of memory the computer stores.

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

What is a byte?

A

A byte is a group of 8 bits, representing a single character. It is normally the smallest grouping used by computers.

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

8 bits =

A

1 byte

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

1024 bytes =

A

1 kibibyte

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

1024 kibibytes =

A

1 mebibyte

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

1024 mebibytes =

A

1 gibibyte

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

1024 gibibytes =

A

1 tebibytes

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

What are the three most common number systems?

A

Decimal (denary), Binary, and Hexadecimal.

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

What is the base of the decimal number system?

A

10

17
Q

What is the base of the hexadecimal number system?

A

16

18
Q

Since the base of the hexadecimal number system is 16, what are the characters used to represent the final 5 digits?

A

A (10), B (11), C (12), D (13), E (14), F (15).

19
Q

How do you convert a decimal (denary) number to its binary equivalent?

A

1) Write down the decimal number.
2) Continually divide by 2 to give a remainder of 1 or 0
3) Keep doing this till the final result is 1 or 0
4) You can get the binary result by putting the binary numbers together, starting from the bottom. If the result is not a byte, fill in the spaces before the answer with zeros.
Recommended to see the method in book as it is hard to visualise.

20
Q

How do you convert a binary number to its decimal/ denary equivalent?

A

I can’t explain the method in writing and cannot put images in the answers without a pro subscription but uhh here’s a link to a picture of the method, keep it open in a new tab and open it whenever you get this flashcard… https://i.pinimg.com/originals/68/57/33/68573306c2979a81384b814e53adbaa2.gif

21
Q

What is a database?

A

A database is a store of data that has been organised in some way.

22
Q

Why are databases useful?

A

Databases are so useful because they store data in a structured way. When data is structured, it can be manipulated easily and then output in different ways.

23
Q

Databases consist of:

A

1) Files/tables
2) Records
3) Fields

24
Q

What is a file/table?

A

A collection of records and fields is called a file.

25
Q

What is a record?

A

One single row of a database represents one record.

26
Q

What is a field?

A

Each cell of a table indicates a single field. A single field can hold one piece of data.

27
Q

What is a key field?

A

A key field is an individual piece of data that is unique.. A key field is used to differentiate one record from another.