Computer Science Notes
Computer Science Notes
A=10
B=11
C=12
D=13
E=14
F=15
Use of the Hexadecimal system
Data transmission
Simplex= one direction only (tv screen, computer to a printer)
Half-duplex= both directions but not at the same time(walk-talkie)
Full duplex= both directions simultaneously (social network)
Serial Parallel
Cheap Expensive
slower Faster
Good for long distances Good for short distances
Data congestion can take place No data congestion
Safer Less safe
Synchronous and Asynchronous
Synchronous
Asynchronous
Advantages Disadvantages
Automatically detected Only, fit one way Maximum cable length is about 5
(plug-and-play) meters
Checksum
Checksum is another way to see if data has been
transmitted correctly
Data is sent in blocks and an additional value sent at the
end of the block
Echo check
When data is sent to another device, this data is sent
back again to the sender
The sender compares the two sets to check if any errors
occurred
Not reliable
Internet Technologies
Internet Protocol (IP) Address
Each device on the internet is given a unique address
known as the IP address
32-bit number written in the form: 109.108.158.1
IP address gives the location of a device on the internet
whereas the MAC address identifies the device
connected to the internet
IP address changes, MAC address remains unchanged
Mac address
An Internet Server Provider (ISP) is a company that provides users with access to
the internet.
It would be impractical and costly for individuals and most companies to connect to
the internet infrastructure directly, hence the importance of ISPs who give them
access at an affordable monthly price.
ISPs often provide additional services to their customers too, such as email
addresses, web hosting and the supply / loan of equipment.
Operation systems-examples
Microsoft Windows
IOS
Android
MacOS
Windows server
Windows phone
Each time you click a mouse button or tap a touchscreen, you send an interrupt
signal to the device
Computer architecture
Buses- They move data around the computer and also send signals to make sure
everything is synchronized.
Address Bus- Carries signals related to addresses between the processor and the
memory – unidirectional.
Data Bus- Sends data between the processor, the memory, and the output and
input devices- bidirectional.
Control Bus- Carries signals related to the control and coordination of all activities
within the computer- unidirectional.
Functions of CPU- The CPU, or Central Processing Unit is the heath and the
brain pf every computer.
Function of Control Unit- A control unit decides how data moves around the
CPU, it tell the computer’s memory, arithmetic/ logic unit and input and output
devices how to respond a program’s instructions.
Input devices
Keyboard
Mouse
Joystick
Web camera
Microphone
Touchscreens
Output devices
Laser printers
2D/3D printers
LED monitors
Projectors
Memory
Primary memory
Rom- “read only memory” is a storage medium that is used with computers and
other electronic devices. As the name indicates, data stored in ROM may only be
read.
RAM- “Random Access Memory” is the main memory in the computer. RAM in the
hardware in a computer device where the operating system application programs
and data in current use and kept so they can be quickly reached by de processor.
Secondary memory
HDD- Hard Disk Drive is a memory that controls the positing, reading and writing of
the hard disk.
SSD-Solid State Drive is a type of mass storage device similar to a hard disk
(HDD). It supports reading and writing data and maintains stored data in a
permanent state even without power.
CD ROM- Compact Disc, read only-memory is and adaption of the CD that is
designed to store computer data in the form of text and graphics
DVD- Digital Versatile Disc is a type of optical media used for storing digital data. It
is the same size as CD but, as a larger storage capacity.
USB Flash Drive- is used for data storage that includes a flash memory and an
integrated USB interface.
SD Card- Secure Digital Memory Card is a very popular flash memory card used
primarily for camera and extra phone storage.
Compression of data
Advantages: Very small file sizes and lots of tools, plugins, and software
support it.
Disadvantages: Quality degrades with higher ratio of compression. Can’t get
original back after compressing.
Lossless- it’s a type of data compression and none of the data is lost.