Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary ALL OF COMPUTER SCIENCE NOTES 0478 (everything U NEED TK)

Rating
-
Sold
-
Pages
22
Uploaded on
16-07-2024
Written in
2023/2024

Summary of 22 pages for the course Cambridge at Cambridge (ITS HELPT LOADS)

Institution
Course

Content preview

Computer Science Paper 1

● Data representation
● Data transmission
● Hardware
● Software
● The internet and its uses
● Automated and Emerging technologies




Data representation

Any information needs to be converted into BINARY



Binary:
- Base 2 number system
- 2 values → 1 (ON) and 0 (OFF)
- Switches
- Logic gates



Denary:
- Base 10 number system


Hexadecimal:
- Base 16 number system




Programmers find hexadecimal more convenient:
❖ 1 hex represents 4 binary digits → more compact
❖ Easier to read, write and copy
❖ Less prone to errors


USES OF HEXADECIMAL (EMIH)
❖ Error codes
❖ MAC address (Media access and control)
❖ IP address (internet protocol)
❖ HTML (hypertext markup language)

,Overflow Error → extra bit → register may have a fixed size → thus extra bit is log


Logical Shift

- Left → x2 1 = x2 2 = x4 3 = x8
- Right → ÷2 1 = ÷2 2 = ÷4 3 = ÷8

- Registers often have a 8 bit limit
- Multiplying can cause bits to be lost
- Losing the most significant bit




Two's Complement
- Used to represent negative numbers

If start digit:
0 = positive
1 = negative




Text
- Every character is represented by binary code

- Character set: collection of characters and symbols that have been defined or recognised by the computer,
each character and symbol has a unique value.
ASCII
UNICODE



ASCII UNICODE

Unique 8 bit binary code Uses 16 to 32 bits

UC, LC, digits and punctuation marks Characters in different languages can be represented

Uses values 0 to 127 Emojis

128 to 256 characters Unicode has 60 thousand to 4 billion characters

1 byte for 1 character 4 bytes for 1 character

Characters used in other language can be represented



Disadvantage for using UNICODE
More bits per character can result in a larger file size and slow processing times when working with text based data

, Sound (is analogue as it varies continuously)

- Analog sound is Captured and recorded using microphone
- The sound wave is sampled at regular time intervals to measure the amplitude
- This gives an approximate representation of sound waves
- Each amplitude has a unique binary value
- The sample rate is set which is the number of samples taken per second
- The sample resolution is set which is the number of bits used for each sample
- Each sample taken is converted to binary


Sampling Resolution (Bit depth)
- Number of bits used to represent sound amplitude in digital sound recording

- Increase sampling resolution
Gives more accurate representation of sound wave
Greater quality
Increase file size




Sample Rate
- The number of sound samples taken per second
1Hz = 1 sample per second

- Increasing sample rate
Gives a more accurate representation
Greater quality
Increase file size




pros and cons of increasing sample rate/resolution

Written for

Course

Document information

Uploaded on
July 16, 2024
Number of pages
22
Written in
2023/2024
Type
SUMMARY

Subjects

$10.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
aahilkamran

Also available in package deal

Get to know the seller

Seller avatar
aahilkamran
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
9
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions