100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
IGCSE/O-Level Computer Science (0478) Notes CA$10.49   Add to cart

Class notes

IGCSE/O-Level Computer Science (0478) Notes

 10 views  0 purchase

Comprehensive Computer Science (0478) notes that helped me get A*

Preview 4 out of 55  pages

  • June 20, 2024
  • 55
  • 2021/2022
  • Class notes
  • Igcse computer science (0478)
  • All classes
  • Secondary school
  • 11th Grade
  • Computer Science
  • 1
All documents for this subject (1)
avatar-seller
viduwidyalankara
Data representation


1.0 -- Binary systems




187 to binary
187-128=59 | 59-32=27 | 27-16=11 | 11-8=3 | 3-2=1 | 1-1=0
128 64 32 16 8 4 2 1

1 0 1 1 1 0 1 1
187 = 10111011

Byte - kilobyte - megabyte - gigabyte - terabyte
For the exams, you can use the 1000 rule as you don’t have a calculator.

Why do computers use binary
● Computer consist of transistors / logic circuits
● that can only store/process data in two states / as high-low / on-off / 1 and 0

255 is the largest number that can be represented with 8 bits!




2.0 -- Hexadecimal




● Closely related to the binary system

, ● Hexadecimal is a base 16 system
● Numbers 0 to 9 and letters A to F are used to represent each hexadecimal digit
● Hexadecimal is used as it’s easier to read and shorter than binary

Hexadecimal to decimal
1. Link each hex digit to 16 to the power of x. 45F -- 4-162, 5-161, F-160
2. You will multiply each number by the 16 to the power of. In order to do this you will
have to convert any letter to its corresponding number.
3. Now create and solve the math equation.
(4 * 162) + (5 * 161) + (15 * 160) = (4 * 256) + (5 * 16) + (15 * 1) = 1024 + 80 + 15 = 1119

45F = 1119




Decimal to hexadecimal
1. Divide the number by 16, keeping track of the remainders
2. Keep doing this until you get to a number less than 16
3. Take the remainders from last to first and translate them to Hexadecimal.




Binary to hexadecimal
1. Divide the binary into nibbles (4 bits)
2. Find the decimal value of each nibble.
3. Find the hexadecimal value of that decimal value

,And back
1. Find the decimal value of each character
2. Find the binary value of that decimal value.


Benefits of hexadecimal Source
● Easier/faster to understand (read and write)
● Easier/faster to debug
● Takes up less screen/display space
● Less chance of making an error


Uses Source
● Media Access Control (MAC) addresses
● Assembly language
● Error codes. Hexadecimal can be used for shorter error messages.
● Locations in memory
● Defining colours in Hypertext Markup Language (HTML)




3.2 -- moved to 1.5


3.3 -- File Formats

File Type File Format

, Sound .mp3 .wav .mid .flac .aif

Text .doc .docx .rtf .txt .pdf

Pictures .jpeg .gif .png .bmp

Video .mp4 .flv .wmv



MIDI
Musical Instrument Digital Interface
● Stores the notes played and not the sound
● Can edit individual notes
● Can be a compressed format
● Recorded using a musical instrument
● Contains instructions/commands for digital instruments

MP3
● Contains actual sound
● Uses lossy compression
● Recorded using microphone

MP4
● Contains video AND audio
● Lossy compression

JPEG
● Contains digital images
● Lossy compression



3.4 -- Data compression
Data Compression - Computer Science GCSE GURU

Lossy data compression Source (ctrl+f “lossy”)
● A way to compress/reduce the size of a file by using an algorithm that permanently
removes redundant/useless information. This reduction should not be very noticeable.
● Examples of things lossy compression would reduce would include:
○ Image resolution
○ Image colour depth/range of pixels
○ Sound sample rate
○ Background noise
● Can be applied to music, video, or picture files, but NOT for text files or spreadsheets


Lossless data compression
● A way to compress/reduce the size of a file without losing any data

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 viduwidyalankara. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for CA$10.49. 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
CA$10.49
  • (0)
  Add to cart