KMPK Skema
KMPK Skema
KMPK Skema
Nama : Tutoran :
Nama Pensyarah Tutoran :
No. Matrik No. Kad Pengenalan
M S
SAINS KOMPUTER
2 jam
1. a) Infographic given below shows the credit card payment process. There are four (4)
operations involved during this process.
i) Using step X in Figure 1, determine the action of the information processing cycle.
[1 mark]
Process
ii) Puan Awatif needs to get teaching feedback from her students. The teaching
feedback consists of three elements; personality, teaching strategy and teaching
delivery as shown in Figure 2. She collects data from the student surveys before
analyzing it and presents it in the table and graph form as a report. The mean for
each teaching element also needs to be included in the report. She submits her
teaching report to the management at the end of semester by hardcopy and also in
CD.
Based on the given scenario, identify the activity for each operation of the information
processing cycle during producing the report.
[4 marks]
Information Activity
processing
Output Print the report / Display the report / table and graph on the
monitor
Storage Store the report in CD / Save the report in CD for future use
1m for each activity
2. a) Answer the following question and give your answer in the requested number
system.
i) AZ Cakes & Pastries produces 2550 cakes a week. They make 1230 chocolate
cakes and the rest are red velvet nutella cakes. How many red velvet nutella cakes
do they produce? Give your answer in hexadecimal number.
[4 marks]
16 1320
16 82 - 8
16 5 - 2
0 - 5
(1m) (calculation)
[3 marks]
128 64 32 16 8 0 2 0
= 128 + 64 + 32 + 16 + 8 + 0 + 2 + 0 (1m)
= 250 (1m)
iii) Convert the following binary numbers into hexadecimal numbers: Show your
calculation. [6 marks]
iv) Convert each part of the IP address below into an 8 bits binary number.
24 . 2 . 0 . 10
[4 marks]
2 12 0
2 6 0
2 3 0
2 1 1
0 1
2 2
2 1 0
0 1
2 0
0 0
2 10
2 5 0
2 2 1
2 1 0
0 1
1m 1m 1m 1m
c) Identify the coding scheme based on information given, then complete the
following table based on the identified coding scheme.
[4 marks]
3. (a) Harithxan Rossy wants to spend his mid semester break at Qatar to watch the
2022 FIFA World Cup. He can only go to Qatar if he completed two doses of Sinovac
vaccine and a Pfizer booster or two doses of Pfizer vaccine and without the booster.
(i) Identify the legend and write a Boolean expression for the scenario.
[4 marks]
Y = go to Qatar
A = two doses of Sinovac vaccine
B = done a booster
C = two doses of Pfizer vaccine (2m if all legend are correct)
Y=(A.B)+(C.B’) - (2m)
[4 marks]
A B C B’ A.B C.B’ Y
0 0 0 1 0 0 0
0 0 1 1 0 1 1
0 1 0 0 0 0 0
0 1 1 0 0 0 0
1 0 0 1 0 0 0
1 0 1 1 0 1 1
1 1 0 0 1 0 1
1 1 1 0 1 0 1
1m for each true output column
(b) Write the boolean expression based on the given logic circuit.
[2 marks]
Z = (D.A)’ + (K+K)’ - 2m
(c) Logic gates are used to make decisions so that electrical outputs only 'turn on' when
the correct logic sequence has been applied. Choose the best logic gate from the
provided description.
[ 3 marks ]
ii) the output is in state 1 when both inputs are the XNOR gate
same, that is, both 0 or both 1.
iii) The logic gate, which gives a high output (i.e., 1) XOR gate
if either input A or input B but not both are high
(i.e. 1)
1m for each
(d) Langkawi RO-RO Ferry Services use their own traffic light system to allow cars to
enter and exit their ferry. They use logic gates as part of the control system. The system
is operated to allow cars movement when the output Y has the value 1. This happens
when:
(c) The ferry ramp in place to allow movement of cars (signal is green)
Write the logic notation to represent the above situation and draw the truth table.
(Note: You may assume for this problem that red = 0 and green = 1)
[6 marks]
D = A’ . B . C (1m)
Legend (2m)
Y - traffic light is operated
A - The ferry moving
B - The ferry tied to the terminal
C - The ferry ramp in place to allow movement of cars
A B C A’ A’ . B Y
0 0 0 1 0 0
0 0 1 1 0 0
0 1 0 1 1 0
0 1 1 1 1 1
1 0 0 0 0 0
1 0 1 0 0 0
1 1 0 0 0 0
1 1 1 0 0 0
Marks:
Legend : 2M
Boolean expression : Y = A’ . B . C - 1M
[7 marks]
Answer : all clients - 3m
printer -1m
1 database server - 2m, / database 1m server 1m
Intranet - 1m arrow-1m
incorrect line (deduct 1m)
i) Distinguish both classification in terms of coverage area and give one (1) example.
[5 marks]
Classification X Classification Y
Coverage area : Coverage area :
Network that covers a large geographic area such Network that covers limited geographical areas
as a city, country, or the world using a variety of such as home, school, office building or closely
wired and wireless transmission media. - 1m positioned group of buildings. - 1m
Example : Example :
Internet, city network -1m School network, home network - 1m
[4 marks]
[2 marks]
5. a) The Identify the areas of computer ethics based on the given scenario
[2 marks]
b) The figure below shows a conversation between a student and his friend.
FIGURE 1
i) Identify one (1) netiquette rules that must be abided based on figure
[1 mark]
ii) State one (1) good practice to follow and comply with netiquette rules when using
real time conversation.
[1 mark]
1. Do not use all capital letters, which is equivalent of SHOUTING!
2. Be careful when using sarcasm and humor : It might be misinterpreted.
3. Use emoticons to express emotion.
● :) Smile
● :| Indifference
● :o Surprised
● :( Frown
● :\ Undecided
4. Be polite : Avoid offensive language.
5. Use abbreviations and acronyms for phrases
6. Avoid sending or posting flames : Which are abusive or insulting messages.
Do not participate in flame wars, which are exchanges of flames.
6. a) The phases of the system development process constitute a loop, and each phase
consists of a number of operations. The five phases of system development normally
occur in that order, according to theory. Since activities typically interact with one
another during subsequent phases, system development is truly a dynamic, iterative
process.
Based on the action below, choose which phase of the System Development Life
Cycle (SDLC) this activity belongs to.
[2 marks]
Every day, Mrs. Ling constantly assesses the Support and security
safety of the system.
b) The RNB Corporation made the decision to create an information system that
required managing a database and increasing business revenue. Additionally, this
system must generate reports on the company's monthly profits, the rise in sales of
the company's goods and other data. At the moment, all tasks requiring business
decisions, producing reports and managing business data are carried out manually.
Describe one (1) example activity based on the table given, refer to the state
scenario.
[6 marks]
Planning
Steering committee will do a meeting to review
and approve the project requests.
Design
Prototype for the system resent to customer
Implementation
Programmers use Java to Develop programs.