Computer Science 0478 IGCSE C1

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/62

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

63 Terms

1
New cards

Why do computers use binary?

Computers only understand ON (1) and OFF (0) states.

2
New cards
<p>What number systems must we know?</p>

What number systems must we know?

Binary (base 2), Denary (base 10), Hexadecimal (base 16).

3
New cards

Why is binary used in computers?

It enables fast calculations and efficient data storage.

4
New cards

What is hexadecimal used for?

MAC addresses, IPs, HTML colours, error codes.

5
New cards

Convert binary 00111110 to hexadecimal.

3E

6
New cards

Convert denary 94 to binary.

01011110

7
New cards

Convert binary 01100110 to denary.

102

8
New cards

Convert denary 63 to hexadecimal.

3F

9
New cards

Convert hexadecimal A7 to binary.

10100111

10
New cards

Why is hexadecimal useful?

Fewer digits, easier to read/debug than binary.

11
New cards

Add binary: 01011001 + 00110010

10001011 (no overflow)

12
New cards

What is overflow in binary addition?

When result exceeds available bits and data is lost.

13
New cards

Convert denary 22 to binary, shift left 1 place.

00010110 → 00101100 (×2 = 44)

14
New cards

What does a left binary shift do?

Multiplies by 2 for each shift.

15
New cards

What does a right binary shift do?

Divides by 2 for each shift.

16
New cards

What is two’s complement used for?

Representing positive and negative binary integers.

17
New cards

Convert -12 to binary using two’s complement.

11110100

18
New cards
<p>Convert 10110011 to denary (two’s complement).</p>

Convert 10110011 to denary (two’s complement).

-77

19
New cards

What is ASCII?

7-bit code for English characters.

20
New cards

What is Unicode?

16-bit+ code supporting many languages.

21
New cards

Difference between ASCII and Unicode?

Unicode supports more characters; ASCII is smaller.

22
New cards

How is sound represented in binary?

Analogue is sampled and converted via ADC.

23
New cards

What is sample rate?

Number of samples per second (Hz).

24
New cards

What is sample resolution (bit depth)?

Number of bits per sample.

25
New cards

Effect of increasing sample rate or resolution?

Better quality, larger file size.

26
New cards

How is an image stored in binary?

As pixels with binary values for colour.

27
New cards

What is image resolution?

Total number of pixels (width × height).

28
New cards

What is colour depth?

Bits used per pixel to represent colour.

29
New cards

Higher resolution/colour depth = ?

Sharper image, larger file size.

30
New cards

What is a bit?

A single binary digit (0 or 1).

31
New cards

How many bits in a nibble?

4

32
New cards

How many bits in a byte?

8

33
New cards

How many bytes in 1 KiB?

1024

34
New cards

Image file size formula?

width × height × colour depth

35
New cards

Sound file size formula?

sample rate × duration × bit depth × channels

36
New cards

Benefits of data compression?

Saves space, faster transfers, lower cost.

37
New cards

Lossy vs Lossless compression?

Lossy removes data; Lossless keeps all data.

38
New cards

Example of lossy file type?

.mp3, .jpeg

39
New cards

Example of lossless file type?

.png, .txt

40
New cards

What is Run Length Encoding (RLE)?

Compresses repeated data into count + value.

41
New cards

RLE example: AAAABBBCCDAA

4A3B2C1D2A

42
New cards

Why do computers use binary to represent data?

Because computers have two states, ON (1) and OFF (0), which binary represents.

43
New cards

What is ASCII used for?

Representing English characters with 7-bit binary codes.

44
New cards

What is Unicode?

A character set using 16 or more bits that supports many languages and symbols.

45
New cards

State one advantage of Unicode over ASCII.

Unicode supports multiple languages and more characters.

46
New cards

Compare ASCII and Unicode in terms of size and language support.

ASCII uses 7 bits and supports English only; Unicode uses 16+ bits and supports multiple languages.

47
New cards

What does sample rate mean in sound representation?

The number of sound samples taken per second.

48
New cards

How does sample rate affect digital sound quality?

Higher sample rate means better quality and larger file size.

49
New cards

What does sample resolution (bit depth) control in sound?

The number of bits per sample, affecting accuracy and file size.

50
New cards

How does increasing sample resolution affect sound quality?

It increases accuracy and file size.

51
New cards

Calculate the file size in bits of an image with resolution 640×480 and colour depth 24 bits.

640 × 480 × 24 = 7,372,800 bits.

52
New cards

Calculate the file size of a 800x600 image with 24-bit colour depth.

800 × 600 × 24 = 11,520,000 bits or 1,440,000 bytes.

53
New cards

Calculate the file size of a 3-minute stereo audio with sample rate 44,100 Hz and sample resolution 16 bits.

44,100 × 180 × 16 × 2 = 254,016,000 bits.

54
New cards

Give one example of a file type that uses lossy compression.

JPEG for images or MP3 for audio.

55
New cards

Give one example of a file type that uses lossless compression.

PNG for images or WAV for audio.

56
New cards

What is overflow in binary addition?

When the result exceeds the number of bits available to store it.

57
New cards

Give an example of overflow with an 8-bit register adding 255 + 1.

255 (11111111) + 1 = 00000000 (overflow occurs).

58
New cards

Explain what happens when a binary number is shifted left by one bit.

It is multiplied by 2; all bits move left, a 0 fills the right.

59
New cards

Explain what happens when a binary number is shifted right by one bit.

It is divided by 2; all bits move right, a 0 fills the left.

60
New cards

Explain what happens when a binary number is shifted right by two bits.

It is divided by 4 (ignoring remainder).

61
New cards

What is the size of 1 KiB in bytes?

1024 bytes.

62
New cards

Represent the decimal number -12 in 8-bit two’s complement.

11110100.

63
New cards

Explain why two’s complement is used.

To represent positive and negative integers in binar