100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
2024 Cambridge IGCSE Computer Science 0478 Course notes $10.39   Add to cart

Class notes

2024 Cambridge IGCSE Computer Science 0478 Course notes

 10 views  0 purchase
  • Course
  • Institution

This is a detailed and organised 60+ paged notes (handwritten), with diagrams, examples, and slide screenshots. It was written/summarised from the PG Online resource, and covers the whole IGCSE Cambridge Computer Science 0478 syllabus. It helped me and a few other students score an A* in the May-J...

[Show more]
Last document update: 3 months ago

Preview 10 out of 63  pages

  • July 24, 2024
  • July 24, 2024
  • 63
  • 2023/2024
  • Class notes
  • Pg online
  • All classes
avatar-seller
a
4
Computer
E science
-

, Unit 1 -

Data Representation
Binary systems
* Computers only understand 2 states
, represented by stues
On = 1
,
off = d

* computers are made up of billions of switches that turn current on

and of
Mnemonia




L
~
Bits & Bytes ger
I bit single / g or

Kin
a
=




4 bits/half
1 nibble
byte
=




byte 8 bits (eg "a")
Great
I = = 1 character .




1 kiB (kibibyte) =
1024 bytes
Pepper &
1 MiB (Mebibyte) =
1024 KiB
1
GiB(gibibyte) =
1024 MiB Eggs
1 TiB (tebibyte) 1024 GiB
=




1 PiB (Pebibyte) =
1024 TiB 1 kB
* (kilobyte)
=
1000
bytes



&
1 EiB (exbibyte) =
1024 PiB

(no of bits)
-




Scale sense
no ef possible
30 KiB
=
1 page of text combinations
3 MiB =
small digital coloured photo
650 MiB = music CD capacity
4 5 GiB
. = DVD capacity
Most & least significant bit

1 TiB =
Hard disk capacity O 110 118 &
most
& &
significant
last
sig.
double (largest (smallest
Binary base I
&




F
128643216 842 I Calculate value that
largest
eg .
8 I J & I 08 I can be represented :


value 64 16 8 1
denary
+
in +
(no 2) bits)
= +
.




base 18
89 2 1
-


I




↓ from O-result
range
Sbits , 0-255
eg
.

,Binary data in
computer
A central
processing unit (CPU) is made from logic gates which process
many ,


data Each
(PU has
.
a number of registers which each store binary data
,
.

the result
When a
calculation/processing occurs , is also stared in a .
register

Hexadecimal AKA . nex
* Uses base 16 (0-15 only
denary & 123456789101112131415
nex 0 123456789ABCDEF


Hex to
denary Denary to nex

Hex 2A 18
:
Denary :




&
= (2x16) +
18 18 + 16 = I remainder 2

More than 2 digits :
=
42 is denary =
12 in nex
2A5
-d Y
Binary hex
to (2x134+ (8 16) + 5
+ =
667
Idenary
1110 14 Einhex
E
= =



* need &
1110 8101
· 181 = 5 in hex
=
E5 Probably won't



Hex to
binary

/3 00 ,
=



=
8811 8181

10



Advantages of nex
1 . Easier for humans to understand (shorter representation of binary
.
2 Easier to remember and enter
. Less
3
likely to make error (fewer digits)

, Binary addition
11118 * Rules : 0 + O =
0

+ 1188 1 + 8 =
1

i 1018 1 + 1 =
0
carry
47 1 + 1 +
1 =
1
carry
Overflow error

when result of addition is
larger that the number of bits the
works with
computer


Binary shifts & twos complement
Multiply by 2-shift to the left add ,
o at the right
180811186x2
80011188
least significant always &
is

Divide 2-shift to the out left
by right add


[
,


Shifts because
1000
11106 + 2


most
&
-
180811/ binary are
sig. base 2
alwaysa


Accuracy
Lack of
precision When dividing/right shift result loses ,


the functional component (the remainder)
eg 22 5 .
: .




* A bit is removed
00



&
Two's
complement System for negative binary . Convert 2s
* Half binary numbers are positive half negative
, complement to


-denay
a
* 8 bits allow -128 to 127

Converting positive to negative ( bits that
Convert number binary eg 15
/
1 to =
0000 I
. .
are 1)
.
2 Invert all bits 11118808

3
. Add bit
1 or 2000 500
1111000
mostsigngave ↑
.




+ 1

* If

, ASCII & Unicode
26 Covercase
26


~
15
uppercase
numbers
36 characters
3 -
98
7-bits give
characters on
unique 128 keyboard
.
combinations
a




character sets set of letters , symbols & digits represented
by
a
computer .
* ASCII
* Unicode 3 Major character sets

ASCII (American standard code for information interchanges
* 128 characters in 7-bit binary codes



&
Asall table



E
0 -


9 = 48-57 on

need A -

Z = 65 -

98 Extended ASCII
don't
ber a-z
=
97-122 256 characters , 8-bits
↳ remem = 32
space

Unicode (for other
languages) Advantage represent more languages
:



* 65 , 536 combos ,
16-bits /meaning 16-bits 1 character) =




* 32-bits ,
4 294 967 296
, , ,
posible combos
Sound
Digitised by repeatedly measuring &
recording sound
wave
.




[
Analogue sound signals
U continuous naloguetodigital
Digital signals
discrete Ital to audio converter
i

,Sound
sampling
-
measurement of
amplitude of sound
at time
.
wave a
given

Bit depth/sample resolution
Number of bits used to record each measurement
Landis bit depth)
-


How closely sound wave sampled on y-axis
* More bits per sample
>
-



height of wave more accurate
>
-
increase file size



Sample rate




I
Number of samples per second
* Measured in hertz (Hz)
H2 I
sample per second
-

1 =




CDs at 44 100 H2
sampled
-




,




sample
rate
Sound file size



File (bits) rate resolution duration
size =

sample x x




Digitised sound quality
Recording quality improves :



& the more
frequently we sample sound (Increase sampling rate)
& the more accurately we record the wave height (Increase resolution
* Both will increase file size (bit
depth




2
Hearing range
Lossy compression MP3 & AA 20 -

20 , 000 Hz
Removes sound can't hear .
-




we
easily younger people
R useful for hear
higher
downloading/streaming

, Lossless
compression Uncompressed files
& FLAC (free lossless audio codec & WAV & AFF
* ALAC (Apple Lossless audio codez)
* WMA (Windows media audio


Image
Bitmap file formats Vector image Bitmap /er Raster) images
BMP
-



SVG Made of picture elements/
up
-




JPG pixels (smallest identifiable
-




-


GIF Editing formats area of an
image)
-



PNG
-


Al (illustrator) 2
-




TIFF
-


PS
(photoshop) #

Image resolution
Number of pixels in the image
HD
/high definition) TV ->
> 1920 x 1080 pixels
-




lot iPhone >
- 320 x 480
pixels
-




Colour depth/bit depth
of bits
per pixel
Number

knumber of color combinations. /available colours
greater range of
better
*
higher color depth >
- colors , .
quality
. 8-bits per pixel
eg 28 256 colors = =




Imagesize Resolution x color depth bit pattern
~
PBM monochrome
images
Stores :


* dimensions
Image
* Black white with
or 1 or O

,Colour values



[
Expressed hexadecimal read
,
as
denary RBG values in easier to


& Range =
0-225 (8-bits per color) & write ,
remember ,

& (RBG) whole pixel =
3 x
8 =
24 bits reduce errors


Compression to reduce file size (sound image , ,
video
* opposite to decompression (for lossless only)

Lossy compression /JPG GIF. , MP3)
Permanently loses some data
& Cause small mistakes or
digital artefacts



,
Lossless Compression (PNG TIFF)
doe
,



Doesn't lose any original data
> Finds
repeating data
-




Run Length Encoding (RLE) RLE 5130


=




* Algorithm to compress data/reduce data stored
* uses frequency/data pairs
&




1 white 8 black
eg .
: =
,




Loss of data Bandwidth
Possible to reduce : Maximum volume of
All loses data data transmitted over

S
-



resolution
-


color depth (permanently) internet connection
rate
sample but reduce in
given amount
-



a

-

bit rate file size of time
.



Using compression -
often for files & data sent via internet

*Transmission time reduced >
-

download faster
* Data allrance go further
* Less bandwidth required
* Less files
storage space to save

,Benefits of compression
* smaller files fewer packets faster
=
=
transmission time
>
-
quicker to complete transmission
>
- reduce traffic over the internet
* Reduce danbad time
>
-
streaming is possible
#Images in web pages appear faster
* Reduce disk/servers
space on




Buffering Happens if dennload speed is slower than
playback speed
.
Files for videos and streaming are
compressed
*TV computer decompress data video
or as it
plays
* Buffer sufficient amount in case network occasionally
Slow
k If web/server detect slow connection it sends alternative
,


lower quality file
.

, Unit 2 -
Data transmission and
encryption
Revision Notes
Data packets
To send large amounts of data through networks,
data is needed to be broken down into smaller packets .




apacketmuudes
:



Destination address

Header
E Originating
Packet number
address

(to restore order

Payload -

The content
Data that indicates
Trailer
S end of

Checksum
packet

(to check for errors)

Packet switching
The
process of sending data through a network :


1 . Data break into smaller packets
.
2 send packets through network
.
3 Routers contro route taken
may arrive cut
of
4
correct order
. ~ order
. Reorder packets into


Network components
Routers manage the
rentes so there is less
traffic
Carrive faster)

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller vivian24245. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.39. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77254 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling

Recently viewed by you


$10.39
  • (0)
  Add to cart