Professional Documents
Culture Documents
CS 9618 Notes
CS 9618 Notes
Founded four years ago under a different name, The Gpa Gym initially aimed to
assist peers and students. It has since grown into an educational platform, helping
underprivileged students like those in reputable schools.
We're thrilled to support your journey to success and have uploaded all Computer
Science 9618 notes and resources. We're working on a website and app to further
aid your academic journey, but it'll take time to develop.
Your feedback is valuable as we continuously improve our services. Join our team
by sharing helpful resources for Computer Science 9618 via email at
gymandgpa@gmail.com. Your contributions will support students who can't afford
expensive tuition. Describe the shared resources' usefulness when you’re providing
us with the resources.
Thank you for being part of our mission to make education accessible to all.
Mail:
gymandgpa@gmail.com
Website:
www.thegpagym.com
Instagram:
@thegpagym
Content overview
AS Level Content
1 Information representation
1.1 Data Representation 1.2 Multimedia – Graphics, Sound 1.3 Compression
2 Communication
2.1 Networks including the internet
3 Hardware
3.1 Computers and their components 3.2 Logic Gates and Logic Circuits
4 Processor Fundamentals
4.1 Central Processing Unit (CPU) Architecture 4.2 Assembly Language 4.3 Bit manipulation
5 System Software
5.1 Operating System 5.2 Language Translators
8 Databases
8.1 Database Concepts 8.2 Database Management System (DBMS) 8.3 Data Definition Language
(DDL) and Data Manipulation Language (DML)
11 Programming
11.1 Programming Basics 11.2 Constructs 11.3 Structured Programming
12 Software Development
12.1 Program Development Lifecycle 12.2 Program Design 12.3 Program Testing and maintenance
Assessment
If you are following the AS Level course, you will take two examination papers:
» Paper 1 Theory Fundamentals (1 hour 30 minutes)
» Paper 2 Fundamental Problem-solving and Programming Skills (2 hours)
If you are studying the A Level course, you will take four examination papers, Papers 1 and 2 and
also:
» Paper 3 Advanced Theory (1 hour 30 minutes)
» Paper 4 Practical (2 hours 30 minutes)
Note that calculators must not be used in any paper.
DATA REPRESENTATION
What you should know:
Binary – base two number system based on the values
0 and 1 only.
Bit – abbreviation for binary digit.
One’s complement – each binary digit in a number is
reversed to allow both negative and positive numbers to
be represented.
Two’s complement – each binary digit is reversed and
1 is added in right-most position to produce another
method of representing positive and negative numbers.
Sign and magnitude – binary number system where
left-most bit is used to represent the sign (0 = + and 1 =
–); the remaining bits represent the binary value.
Hexadecimal – a number system based on the value 16
(uses the denary digits 0 to 9 and the letters A to F).
Memory dump – contents of a computer memory
output to screen or printer.
Binary-coded decimal (BCD) – number system that
uses 4bits to represent each denary digit.
ASCII code – coding system for all the characters on a
keyboard and control codes.
Character set – a list of characters that have been
defined by computer hardware and software. It is
THE GPA GYM
THE GPA GYM EDUCATION FOR ALL.
NUMBER SYSTEMS
No matter how complex the system, the basic building block in all
computers is the binary number system. Since computers contain
millions and millions of tiny ‘switches’, which must be in the ON or
OFF position, this lends itself logically to the binary system. A switch
in the ON position can be represented by 1; a switch in the OFF
The 0 values are simply ignored when calculating the total. The
reverse operation – converting from denary to binary – is slightly
more complex. There are two basic ways of doing this. Consider the
conversion of the denary number, 107, into binary.....
Method 1
This method involves placing 1s in the appropriate position so that the
total equates to 107.
128 64 32 16 8 4 2 1
0 1 1 0 1 0 1 1
Method 2
This method involves successive division by 2; the remainders are
then written from bottom to top to give the binary value.
1. Start from the least significant bit and move left, ignoring leading
zeros until the first 1 is encountered.
2. Ignore the first 1 and flip all the remaining bits from that point.
Change 0s to 1s and 1s to 0s.
There are, however, two options for BCD; the first is to store one
BCD code in one byte leaving four bits unused. The other option is
packed BCD where two 4-bit codes are stored in one byte.
There are several applications where BCD can be used.
The obvious type of application is where denary digits are to be
displayed, for instance on the screen of a calculator or in a digital time
display.
A somewhat unexpected application is for the representation of
currency values. When a currency value is written in a format such as
$300.25 it is as a fixed-point decimal number (ignoring the dollar
sign).
Multimedia
What you should know:
Bit-map image – system that uses pixels to
make up an image.
Pixel – smallest picture element that
makes up an image.
Colour depth – number of bits used to
represent the colours in a pixel, e.g. 8 bit
colour depth can represent 28 = 256
colours.
Bit depth – number of bits used to
represent the smallest unit in, for example,
a sound or image file – the larger the bit
depth, the better the quality of the sound or
colour image.
Vector graphics
It is normal for an image that is created by a
drawing package or a computer-aided design
(CAD) package to consist of a few geometric
objects. The outcome is then usually for the
image to be stored as a vector graphic file.
A vector graphic file conta ins a drawing list.
The list contains a command for each object
included in the image. Each command has a
list of attributes that define the properties of
the object. The properties include the basic
geometric data such as, for a circle, the
position of the centre and its radius. In
addition properties such as the thickness and
style of a line, the colour of a line and the