Professional Documents
Culture Documents
Annual Examination Paper 2 2023 of Akueb Class X Computer Science
Annual Examination Paper 2 2023 of Akueb Class X Computer Science
CLASS X
on for
Time: 1 hour 50 minutes Marks: 25
ng 3
ly
ni 02
an in EB
ar 2
Le on
-
ng am U
d ati
INSTRUCTIONS
hi x K
RUBRIC
A
2. There are SIX questions. Answer ALL questions. Questions 5 and 6 each offer TWO choices.
Attempt any ONE choice from each.
S2302-0921120
Page 2 of 12
Write the name and draw the flowchart symbol in front of each description in the given table.
Flowchart
Description Name
Symbol
on for
It is used to connect various flowchart symbols.
ng 3
ly
ni 02
an in EB
ar 2
Q.2. Le on (Total 3 Marks)
A C program is written to take three integers with different values as an input and also identify the
-
#include <stdio.h>
ac l E A
int main() {
int n1, n2, n3;
printf("Enter three different numbers: \n");
scanf("%d %d %d", &n1, &n2, &n3);
Te ua
nn
A
return 0;
}
S2302-0921120
Page 3 of 12
#include <stdio.h>
int main() {
int m=27;
int n=36;
do
{
printf("\n%d", n);
on for
n-=3;
}
while (m<n);
ng 3
ly
return 0;
ni 02
}
an in EB
ar 2
Complete the trace table for the given program.
Le on
M n Output
-
ng am U
27 36
d ati
hi x K
ac l E A
Te ua
nn
A
Two switches, L and M, send values of 0 and 1 to a logic circuit respectively. Value X is the output of
the logic circuit.
L
Logic Circuit Output X
M
on for
Switch L sends value 1 AND switch M sends value 0
ng 3
OR
ly
ni 02
Switch L sends value 0 AND switch M sends value 0
OR
an in EB
ar 2
Switch L sends value 1 AND switch M sends value 1
Le on
-
S2302-0921120
Page 5 of 12
ii. Complete the truth table for the logic circuit drawn in part i.
(Note: Show your working in the given working space. Without working NO mark will be
awarded.)
L M Working Space X
0 0
0 1
on for
1 0
ng 3
ly
ni 02
1 1
an in EB
ar 2
Le on
-
ng am U
d ati
hi x K
ac l E A
Te ua
nn
A
on for
<5 100000
>= 5 200000
Female
ng 3
ly
<5 150000
ni 02
OR
an in EB
b. Write a C program to
ar 2
Le on
take a number ‘n’ as an input.
-
i.
ng am U
d ati
ii. print ‘n’ even numbers.
hi x K
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
Te ua
___________________________________________________________________________________
nn
___________________________________________________________________________________
A
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
S2302-0921120
Page 7 of 12
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
on for
___________________________________________________________________________________
ng 3
ly
ni 02
an in EB
ar 2
Le on
-
ng am U
d ati
hi x K
ac l E A
Te ua
nn
A
EITHER
a.
i. Describe authentication and authorisation. (2 Marks)
ii. Describe TWO methods for Two Factor Authentication (2FA). (4 Marks)
OR
on for
b. Describe the following types of hackers:
ng 3
ly
ii. Black Hat Hacker (2 Marks)
ni 02
iii. Green Hat Hacker (2 Marks)
an in EB
ar 2
___________________________________________________________________________________
Le on
-
___________________________________________________________________________________
ng am U
d ati
___________________________________________________________________________________
hi x K
ac l E A
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
Te ua
___________________________________________________________________________________
nn
___________________________________________________________________________________
A
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
S2302-0921120
Page 9 of 12
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
___________________________________________________________________________________
on for
ng 3
ly
ni 02
an in EB
ar 2
Le on
-
ng am U
d ati
hi x K
ac l E A
Te ua
nn
A
END OF PAPER
S2302-0921120
S2302-0921120
Page 10 of 12
A
nn
Te ua
ac l E A
hi x K
ng am U
an in EB -
d ati
Le on
ar 2
ni 02
ng 3
on for
ly
A
S2302-0921120
Page 11 of 12
nn
Te ua
ac l E A
hi x K
ng am U
an in EB -
d ati
Le on
ar 2
ni 02
ng 3
on for
ly
S2302-0921120
Page 12 of 12
A
nn
Te ua
ac l E A
hi x K
ng am U
an in EB -
d ati
Le on
ar 2
ni 02
ng 3
on for
ly