SC015 SC015
Computer Science 1 Sains Komputer 1
Semester I Semester I
Session 2022/2023 Sesi 2022/2023
2 hours 2 jam
No. Matrik No. Kad Pengenalan No. Tempat Duduk
Matric No. Identity Card No. Seat No.
(Isikan maklumat dengan lengkap)
KOLEJ MATRIKULASI KEDAH
KEDAH MATRICULATION COLLEGE
PRA PEPERIKSAAN SEMESTER PROGRAM MATRIKULASI
PRE MATRICULATION PROGRAMME SEMESTER EXAMINATION
JANGAN BUKA KERTAS SOALAN INI SEHINGGA DIBERITAHU.
DO NOT OPEN THIS QUESTION PAPER UNTIL YOU ARE TOLD TO DO SO.
Untuk Kegunaan Pemeriksa
For Examiner’s Use
No. Markah
Soalan Mark
Question Pemeriksa KP /
No. Examiner KKP
1 5
2 21
3 19
4 22
5 4
6 9
JUMLAH
80
TOTAL
SULIT
Kertas soalan ini mengandungi 11 halaman bercetak.
This question paper consists of 11 printed pages.
© Kolej Matrikulasi Kedah
SULIT
SC025
1 An information processing cycle (IPC) is the sequence of events in processing
information, which includes input, process, output, and storage.
There are four (4) operations involved in the information processing cycle: Input,
Process, Output and Storage.
(a) Explain the second operation involved in the information processing cycle.
[1 mark]
Computers apply instructions to data to produce information.
OR Process of transforming data into information
(b) Analyse the use of the information processing cycle in the following scenario.
"A customer buys groceries at a supermarket. He pays the bill using T&G
e-Wallet. ."
[4 marks]
Operations Description
Input The computer accepts data from barcode/qr code in T&G e-Wallet.
Process The computer checks balance/amount to paid
Output The computer displays balance/amount paid
Storage The computer saves the the history of the transaction
2
SC025
2 (a) A number system is defined as a system of writing to express numbers.
Convert between number systems.
(i) 0101101001101001002 = ________ 10
[3 marks]
= (0 × 2¹⁷) + (1 × 2¹⁶) + (0 × 2¹⁵) + (1 × 2¹⁴) + (1 × 2¹³) + (0 × 2¹²) +
(1 × 2¹¹) + (0 × 2¹⁰) + (0 × 2⁹) + (1 × 2⁸) + (1 × 2⁷) + (0 × 2⁶) + (1 ×
2⁵) + (0 × 2⁴) + (0 × 2³) + (1 × 2²) + (0 × 2¹) + (0 × 2⁰)
= 92580
(ii) 67810 = ________ 2
[3 marks]
2 678 0
2 339 1
2 169 1
2 84 0
2 42 0
2 21 1
2 10 0
2 5 1
2 2 0
2 1 1
0
10101001102
(iii) F1FA16 = ___________ 10
[3 marks]
F=15 1 F=15 A=10
163 162 161 160
4096 256 16 1
15 x 4096 1 x256 15 x 16 10 x 1
61440 + 256 + 240 + 10
= 6194610
3
SC025
(iv) 3652910 = ___________ 16
[3 marks]
16 36529--- 1
16 2283---- 11-B
16 142--- 14-E
16 8---- 8
0
= 8EB116
(v) 01AF9816 = ___________ 2
[2 marks]
=1AF 98
= 0001 1010 1111 1001 1000
= 8421 8421 8421 8421 8421
= 000110101111100110002
(vi) 11111010110011100000111111112 = ___________ 16
[2 marks]
1111 1010 1100 1110 0000 1111 1111
8421 8421 8421 8421 8421 8421 8421
8+4+2+1 8+2 8+4 8+4+2 0 8+4+2+1 8+4+2+1
15 - F 10 -A 12 - C 14 - E 0 15 - F 15 - F
= FACEOFF16
4
SC025
(b) An information coding scheme is a standard which tells the user's machine
which character represents which set of bytes.
Differentiate the coding system based on the number of bits and total number
of characters represented.
[5 marks]
Extended ASCII/EBCDIC Unicode
Number of use 8 bits to represent a use 16 bits to represent a
bits character character
capable of representing 28 or
Total capable of representing 216 or 65536
256 different characters with
number of different characters with values that
values that range from 0 range from 0 through 65535.
characters
through 255.
5
SC025
3 A logical operator is typically used with Boolean (logical) values, true or false. Two
or more Boolean expressions can be combined using Boolean operators.
(a) Boolean expression is a logical statement that is either TRUE or FALSE.
(i) Derive a Boolean expression based on the given logic statement below.
"It’s about lunch time. Ali and Adi decided to eat at the café. Ila
and Ida are interested to join them. Ali will go to the café if Ila
or Ida does not go but Adi goes."
[3 marks]
Let
X – Ali goes to the cafe
A – Adi goes to the cafe
B – Ila goes to the cafe
C – Ida goes to the cafe
Therefore, Boolean expression is X = (𝐵 + 𝐶).A
(ii) Derive Boolean expression based on a given logic circuit.
[3 marks]
X = ((A+B)’ . C’)’.C’
6
SC025
(b) A truth table is a tabular representation of all the combinations of values for
inputs and their corresponding output.
(i) Construct a truth table based on a given Boolean expression.
Y = (𝐴 + 𝐵). C
[4 marks]
A B C ¬A ¬B ¬A∨¬B ¬(¬A∨¬B) Y
0 0 0 1 1 1 0 0
0 0 1 1 1 1 0 0
0 1 0 1 0 1 0 0
0 1 1 1 0 1 0 0
1 0 0 0 1 1 0 0
1 0 1 0 1 1 0 0
1 1 0 0 0 0 1 0
1 1 1 0 0 0 1 1
(ii) Construct a truth table based on a given logic circuit.
Y = (A.B’) ⊻ C
[5 marks]
A B C B’ A.B’ Y
0 0 0 1 0 0
0 0 1 1 0 1
0 1 0 0 0 0
0 1 1 0 0 1
1 0 0 1 1 1
1 0 1 1 1 0
1 1 0 0 0 0
1 1 1 0 0 1
7
SC025
(c) Draw a simple logic circuit for a given logic statement or scenario.
"Yani will play as Center if Ani and Betty become Defenders or Chitty
plays as Wing Attack."
[4 marks]
Y = Yani plays Center
A = Ani plays defender
B = Betty plays defender
C = Chitty plays wing attack
Y = A.B+C
4 A network is a group of computers linked to each other that enables the computer to
communicate with another computer and share their resources, data, and applications.
(a) Network architecture is the design of a computer network.
Illustrate types of network architecture based on the given scenarios.
(i) Scenario 1: A network which consists of four (4) computers, one (1)
printer, and one (1) scanner in a room.
[3 marks]
peer-to-peer
8
SC025
(ii) Scenario 2: A network which consists of one (1) server, four (4)
computers, one (1) printer, and one (1) scanner.
[4 marks]
client/server
(b) Network is classified based on area of coverage.
Differentiate between Local Area Network (LAN) and Wide Area Network
(WAN).
[5 marks]
Local Area Network (LAN) Wide Area Network (WAN)
Area of A network that connects A network that connects
coverage computers and devices in a LANs and computers in large
small area such as a home, areas such as a country or the
school computer lab, office world.
building or closely located
buildings.
Ownership Single ownership: Multiple/ Shared/ Distributed
Typically owned by an ownership:
individual or a single WAN is not owned by any
organization, such as school, one organization but rather
college, university or exists under collective or
company. distributed ownership and
management.
9
SC025
(c) The Internet is a global computer network providing a variety of information
and communication facilities, consisting of interconnected networks using
standardized communication protocols.
Differentiate between Intranet and Extranet.
[5 marks]
Intranet Extranet
A private network of an organization A private network of an organization
which uses internet technologies to that securely shares parts of
share organization’s information or organization’s information with its
operations with its employees. suppliers, vendors, partners,
customers, or other organizations.
It only provides access to employees It provides limited access to
within an organization. authorized people outside the
company.
Facilitate communication and Facilitate communication and
operations among employees within business operations between the
an organization. organization and related people or
organizations.
Example of intranet: Example of extranet:
KMK Intranet – provides email, Package shipping company that
Student information system, Web allow their customers to access their
server, printer server, and access to intranet to print shipment bills,
the Internet. schedule pick-ups, and even track
shipped packages.
(d) The Internet address is a group of unique numbers that identifies a device on
the Internet or a network.
(i) Explain the reason IPv6 is used instead of IPv4.
[2 marks]
Providing a much larger address space.
Improved traffic routing and better security.
(ii) Explain the relationship between IP address and domain name.
[3 marks]
IP address is a unique numbers that identifies each computer using
the Internet Protocol to communicate over a network.
A domain name is a text-based name that corresponds to the
IP address of a server that hosts a website.
10
SC025
5 (a) Computer ethics are a set of moral standards that govern the use of computers.
Identify the area of computer ethics based on the given scenario.
[2 marks]
Scenario Area of Computer Ethics
(i) As a computer user, Ahmad Information accuracy
assumes that information on the
Internet is accurate, timely, clear,
and important.
(ii) As a law-abiding citizen, Green computing
Abdullah always uses paperless
methods to communicate.
(b) Netiquette is the set of rules about behaviour that is acceptable when
communicating with people over the Internet. The purpose is to ensure that
every user feels comfortable while communicating with others on the Internet.
Apply the rules of Netiquette in the given scenario.
[2 marks]
Scenario Rules of netiquette
(i) When sending email message, Do not use all capital letters,
Mary writes a brief message which is the equivalent of
using all capital letters. SHOUTING!
(ii) John sends abusive and insulting Avoid sending or posting flames
messages in his WhatsApp group.
11
SC025
6 System Development Life Cycle (SDLC) is a systematic approach which explicitly
breaks down the work into phases that are required to implement either new or
modified Information System.
(a) When does the first phase for a project begin?
[1 mark]
When the steering committee receives a project request.
(b) List two (2) activities in the second step of SDLC.
[2 marks]
Conduct a preliminary investigation
Perform detailed analysis
(c) Explain the purpose of the first activity in the second step of SDLC.
[1 mark]
To determine the exact nature of the problem or improvement and decide
whether it is worth pursuing.
(d) Identify two (2) deliverables in step 3 of SDLC.
[2 marks]
The specifications of hardware and software to be used.
The detailed design of the new or modified information system.
(e) What is the first activity and the last activity of the second last step in SDLC?
[2 marks]
Develop programs
Convert to the new system
(f) What is the purpose of the last step in SDLC?
[1 mark]
To provide ongoing assistance for an information system and its users after
the system is implemented.
END OF QUESTION PAPER
KERTAS SOALAN TAMAT
12