0% found this document useful (0 votes)
321 views5 pages

2025 Main Paper 02

The document consists of a series of questions related to information and communication technology, covering topics such as memory types, computer architecture, logic circuits, and coding systems. It includes multiple-choice questions that assess knowledge on various technical concepts and historical milestones in computing. The questions are presented in a format suitable for an examination or assessment in the field of ICT.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
321 views5 pages

2025 Main Paper 02

The document consists of a series of questions related to information and communication technology, covering topics such as memory types, computer architecture, logic circuits, and coding systems. It includes multiple-choice questions that assess knowledge on various technical concepts and historical milestones in computing. The questions are presented in a format suitable for an examination or assessment in the field of ICT.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

2025 PAPER SERIES #ictfromabc

ishÆ u ysñlï weúßKs /All Rights Reserved ]


Bandaranayake - ictfromabc Ravindu Bandaranayake - ictfromabc Ravindu Bandaranayake - ictfromabc Ravindu Bandaranayake - ictfromabc Ravindu Bandaranayake - ictfromabc Ravindu
Bandaranayake -
Bandaranayake -
ictfromabc
ictfromabc
Information
Ravinduand
Ravindu Bandaranayake - ictfromabc
Ravindu Bandaranayake - ictfromabc
Communication
Bandaranayake Technology
- ictfromabc Ravindu Bandaranayake - ictfromabc Ravindu Bandaranayake - ictfromabc Ravindu
Ravindu Bandaranayake - ictfromabc Ravindu Bandaranayake - ictfromabc Ravindu Bandaranayake - ictfromabc Ravindu
Bandaranayake -
Bandaranayake -
ictfromabc
ictfromabc
f;dr;=
Ravindu r
Ravindu Bandaranayake - ictfromabc
Ravindu Bandaranayake - ictfromabc
e yd ika
Bandaranayake k f
s õok
- ictfromabc ;dla
Ravindu I Kh
Bandaranayake - ictfromabc Ravindu Bandaranayake - ictfromabc Ravindu
Ravindu Bandaranayake - ictfromabc Ravindu Bandaranayake - ictfromabc Ravindu Bandaranayake - ictfromabc Ravindu
eeeeee

2025 PAPER 02 – INHERITANCE

1. What type of memory is used by the operating system to run an application whose capacity is greater
than the maximum capacity of a computer's primary memory?
mß.Klhl m%d:ñl u;lfha Wmßu Odß;djhg jvd jeä Odß;djhla we;s fhÿula Odjkh lsÍu
ioyd fufyhqï moaO;sh u.ska Ndú;d lrk u;lh j¾.h l=ulao@
1) Random Access Memory (RAM) iiïNdù m%fõY u;lh
2) Virtual memory w;:H u;lh
3) Hard Disk oDV ;eáh
4) Read Only memory (ROM) mGk ud;% u;lh
5) Cache memory ksys; u;lh

2. Which of the following(s) is/are false about registers?


frðia;r iïnkaOfhka my; ljrla wi;H fõo@
A. Registers are limited in capacity
frðia;rj, Odß;dj iSñ;h'
B. They are located within computer's central processing unit
tAjd mß.Klfha uOH ieliqï tAllh(CPU) ;=< msysgd we;'
C. Registers hold data that are used for current operations of the CPU
CPU ys j;auka fufyhqï i|yd Ndú;d lrk o;a; frðia;r ;=< r|jd ;nd .kS'
D. They are slower than L1 cache memory
tAjd L1 jdrl u;lhg jvd ukao.dó fõ'
E. None of the above
by; lsisjla fkdfõ'

1) C only. 2) D only. 3) A and B only. 4) A and D only. 5) None of the above.


C muKs. D muKs. A yd B muKs. A yd D muKs. by; lsisjla fkdfõ.

3. Which was the first electronic digital computer that was not patented because it was partially completed
between 1937 and 1942 with the help of John Vincent Atanasoff and Clifford Berry?
1937 - 1942 ld,h ;=, fcdaka úkaikaÜ wegfkdfid*a iy la,s*¾â fnÍf.a iyh we;sj w¾O jYfhka
ksu lrk ,o neúka fmagkaÜ n,m;%h ysñ fkdjQ m<uq úoHq;a ixLHdxl mß.Klh l=ulao@

1) MARK 1 2) ABC 3) UNIVAC 1108 4) EDSAC 5) EDVAC

4. The characteristic(s) of solid state drives when compared to hard disks are,
oDv ;eá yd iei§fï§ >k ;;ajfha Odjlhkaf.a ,laIK(h) jkafka"
A. Power consumption increases. úÿ,s mßfNdackh jeä fõ'
B. Heat generation is reduced. ;dm W;amdokh wvq fõ'
C. Cost per bit is low. ìgqjl úhou wvqh'
D. Ability to withstand shock is high. lïmkhg Tfrd;a;= oSfï yelshdj jeähs'

1) A only. 2) B and C only. 3) B and D only. 4) D only. 5) All of the above.


A muKs. B yd C muKs. B yd D muKs. D muKs. by; ish,a,u.

[See Page two


2025 PAPER SERIES -2- #ictfromabc

5. Which of the following statement is false?


my; ioyka l=uk m%ldYh wi;H jkafka o@
1) Grace Hopper created programs for UNIVAC, the world's first commercial computer.
f,dj m%:u jdKsc mß.Klh jk UNIVAC ioyd jevigyka ks¾udKh lf<a f.%aia fydm¾ úisks'
2) Robert Noyce, who invented the vacuum tube, is known as the mayor of Silicon Valley, a service
provider for high technology and innovation.
ßla;l k, ksmojQ frdnÜ fkdhsia wê ;dlaIKh iy kj ksmehqï ioyd kï oerE fiajd imhk
is,slka ksïkfha k.rdêm;s f,i yÿkajhs'
3) ALTAIR 8800, the world's first personal computer, was created in the third generation.
f,dj m%:u mqoa.,sl mß.Klh jk ALTAIR 8800 ;=kajk mrïmrdfõ§ ks¾udKh lrk ,È'
4) Transistors were first used in the design of microprocessors and these are known as SSI.
laIqø ilik ks¾udKh ioyd uq,skau g%dkaisiagr fhdod.;a w;r fïjd SSI f,i yÿkajhs'
5) Apple's Macintosh computer was the world's first computer with a graphical user interface.
wem,a iud.u úiska ksmojk ,o uelskafgdIa mß.Klh f,dj m%:u Ñ;% rEml w;=re uqyqK;
iys; mß.Klh úh'

6. The value of the two's complement of a negative number x is obtained by calculating 100001012 +
100112. What number is x?
x kï RK ixLHdjl foflys wkqmQrlfha w.h 100001012 + 100112 hk .Kkh lsÍfuka ,efnhs'
x hkq l=uk ixLHdjo@

1) 152 2) -152 3) -104 4) -151 5) 136

7. The answer obtained by calculating 111011002 + 1011002 - 1110102 is equal to,


111011002 + 1011002 - 1110102 hk .Kkh lsÍfuka ,efnk ms<s;=r iudk jkafka"
A. 3368
B. DF16
C. 222

1) A only. 2) B only. 3) C only. 4) A and C only. 5) All of the above.


A muKs. B muKs. C muKs. A yd C muKs. by; ish,a,u.

8. Which of the followings is/are characteristic(s) of the ASCII code system?


my; m%ldYk w;=ßka ASCII fla; l%uhg wod< ,laIK(h) jkafka@
A. Each symbol is represented by 7 bits.
iEu ixfla;hlau ìgq 7la u.ska ksrEmKh lrhs'
B. Supports modern coding methods.
kQ;k fla; l%u iuÕ .e<fma'
C. There is no linear representation of characters.
wlaIrj, f¾Çh ksrEmKhla fkdmj;S'

1) A only. 2) A and B only. 3) A and C only. 4) B and C only. 5) All of the above.
A muKs. A yd B muKs. A yd C muKs. B yd C muKs. by; ish,a,u.

9. A certain numeric file takes 648 bits to represent using a coding system called x. It takes 110100002 bits
to represent the same file in Unicode. What coding system is x?
tla;rd ixLHd f.dkqjla x kï fla; l%uhla Ndú;fhka ksrEmKh lsÍug ìgq 648 la jehfõ' tu
f.dkqju hqksfla; Ndú;fhka ksrEmKh lsÍug ìgq 110100002 la jehfõ' x hkq l=uk fla;lrK
moaO;sho@

1) BCD 2) ASCII 3) EBCDIC 4) Gray code 5) Data is insufficient.


o;a; m%udKj;a fkdfõ'

[See Page three


2025 PAPER SERIES -3- #ictfromabc

10. Which of the following expression(s) is/are equal to 1?


my; i|yka l=uk m%ldY(h) 1 g iudk fõo?
̅ C + ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
A. D . (BB ̅ + DB)D ̅
̅̅̅̅
B. 0(B0 + BD) + CC
.
̅̅̅̅
̅
C. D(CD + BD
.
̅ ) + BC

1) A and B only. 2) A and C only. 3) B and C only. 4) All of the above. 5) None of the above.
A yd B muKs. A yd C muKs. B yd C muKs. by; ish,a,u. by; lsisjla fkdfõ.

11. What is the Boolean expression can be obtain from the below logic circuit?
my; ;d¾lsl mßm:fhka ,nd.; yels nQ,shdkq m%ldYkh l=ulao@

1) AD + A(CC + ̅̅̅̅
̅̅̅̅ ̅ C)
D
2) AC + (CC + ̅̅̅̅D̅ C)
3) ̅̅̅̅
AC + (B0̅̅̅̅ + DC̅)
4) ̅̅̅̅ + C(B1 + DC̅)
AC
5) ̅̅̅̅
AC + C̅(B1̅̅̅̅ + DC̅)

12. Consider the following logic circuit consists of NAND gates.


my; NAND oajdr j,ska iukaú; ;d¾lsl mrsm:h i,lkak'

To get an output as 0, what are the valid input combinations for A, B and C respectively?
0 f,i m%;sodkhla ,nd .ekSug" ms<sfj,ska A, B iy C i|yd j,x.= wdodk ixfhdack fudkjdo?

1) 001, 010 2) 000, 001 3) 001, 101 4) 110, 101 5) 011, 100

13. Consider the following logic circuit consists of NAND gates.


my; NAND oajdr j,ska iukaú; ;d¾lsl mrsm:h i,lkak'

If the required output of the above circuit is ABC + A̅. B


̅. C̅ . Then what should be the input of X, Y and Z
be?
by; mßm:fha wjYH m%;sodkh ABC + A ̅. B
̅. C̅ kï, túg X, Y iy Z ys wdodkh l=ula úh hq;=o@
1) X=A,Y=B,Z=C
2) X=A,Y=B ̅ , Z = C̅
3) ̅
X=A,Y=B ̅ , Z = C̅
4) X = A , Y = B , Z = C̅
5) X=A ̅ ,Y=B,Z=C

[See Page four


2025 PAPER SERIES -4- #ictfromabc

14. Consider the following SR Flip-flop circuit.


my; SR ms<sfmd< mrsm:h i,ld n,kak'

Which of the following statement(s) is/are true?


my; m%ldY(h) j,ska l=ula i;H fõo?
̅ will be 0.
A. When both S and R are set to be 0, consequently Q will be 1 and Q
S iy R folu 0 f,i ilid we;s úg" tys m%;sM,hla f,i Q, 1 jk w;r Q ̅ , 0 jkq we;'
̅ will be 1.
B. When both S and R are set to be 1, consequently Q will be 0 and Q
S iy R folu 1 f,i ilid we;s úg" tys m%;sM,hla f,i Q, 0 jk w;r Q ̅ , 1 jkq we;'
C. When both S and R are set to be 1 and 0 respectively, consequently Q will be 0 and Q̅ will be 1.
S iy R hk folu ms<sfj,ska 1 iy 0 f,i ilid we;s úg" tys m%;sM,hla f,i Q, 1 iy Q ̅, 0
jkq we;'

1) A only. 2) A and B only. 3) A and C only. 4) All of the above. 5) None of the above.
A muKs. A yd B muKs. A yd C muKs. by; ish,a,u. by; lsisjla fkdfõ.

15. x = 10+2**(4/2)+(2*3**2//3**2)
x = bin(int(x))
What is the value of x?
x ys w.h l=ula o@

1) 0b10000 2) 0b10010 3) 0b110010 4) 0b10100 5) 0b1000110

16. Consider the following statements regarding variable naming in Python.


mhs;ka ys úp,H kdulrKh iïnkaOfhka jk my; m%ldY i,lkak'
A. false cannot be used as a variable name because keywords cannot be used as variable names.
uQ, mo úp,H kdu f,i fhdod .ekSug fkdyels neúka false hkak úp,H kduhla f,i
fhdod.ekSug fkdyels fõ'
B. "new-variable" is not a valid variable name.
"new-variable" hkq j,x.= úp,H kduhla fkdfõ'
C. A variable name can only start with a letter.
úp,H kduhla wdrïN úh yelafla wl=rlska muKs'
What is/are the correct statement(s)?
ksjerÈ m%ldY(h) jkafka@

1) A only. 2) B only. 3) C only. 4) A and B only. 5) All of the above.


A muKs. B muKs. C muKs. A yd B muKs. by; ish,a,u.

17. Which of the following(s) is/are correct?


my; tAjdhska ksjerÈ jkafka fudkjd o@
A. x,y=5.0
B. z=float(5)
C. p,q=q,p=5.0, 5
D. r=none

1) A and B only. 2) B and C only. 3) B and D only. 4) A,B and D only. 5) All of the above.
A yd B muKs. B yd C muKs. B yd D muKs. A,B yd D muKs. by; ish,a,u.

[See Page five


2025 PAPER SERIES -5- #ictfromabc

1. (a) A university's library has an advanced access control system to manage entry to its restricted section,
which contains rare books and sensitive materials. To ensure only authorized individuals can enter, the
system uses three inputs.
úYajúoHd,hl mqia;ld,fha ÿ¾,N fmd;a iy ixfõ§ øjH wvx.= tys iSud lrk ,o fldgig we;=¿ùu
l<ukdlrKh lsÍug Wiia m%fõY md,k moaO;shla we;' wjir ,;a mqoa.,hskag muKla we;=¿ úh
yels nj iy;sl lsÍu i|yd" moaO;sh wdodk ;=kla Ndú;d lrhs.

• Student ID (X)
• Faculty ID (Y)
• Special Permission (Z)

The system will grant entry (F = 1) if special permission is granted and either a valid student ID or a valid
faculty ID is detected. If both a student ID and a faculty ID are present, the system will not allow access
to the restricted section.
úfYaI wjirh ,nd § we;s kï iy j,x.= YsIH ye÷kqïm;la fyda j,x.= mSG ye÷kqïm;la wkdjrKh
jqjfyd;a moaO;sh m%fõYh (F = 1) ,nd fohs' YsIH ye÷kqïm;la(student ID) iy mSG ye÷kqïm;la(faculty
ID) hk folu ;sfí kï" moaO;sh m%fõY ùug bv fkdfoa'

(i) Draw the truth table for the above scenario.


by; isÿúug wod, i;H;d j.=j weo olajkak.

(ii) Derive sum of product (SOP) expression from the above truth table.
by; i;H;d j.=fjka .=Ks;hkaf.a tl;= (SOP) m%ldYkh ,nd .kak'

(iii) Derive product of sum (POS) expression from the above truth table.
by; i;H;d j.=fjka tl;+kaf.a .=Ks; (POS) m%ldYkh ,nd .kak'

(iv) Draw the logical circuit for the expression obtained in (ii) using only 2 input basic logic gates.
wdodk 2 ys uQ,sl ;d¾lsl oajdr muKla Ndú;d lrñka (ii) ys ,nd.;a m%ldYkh i|yd ;d¾lsl
mßm:h w¢kak'

(v) Draw the logical circuit for the expression obtained in (ii) using only NAND gates.
NAND oajdr muKla Ndú;d lrñka (ii) ys ,nd.;a m%ldYkh i|yd ;d¾lsl mßm:h w¢kak'

(b) (i) Show that the Boolean expression ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅


̅̅̅̅ + ̅̅̅̅
(DC DB)C + BD is equivalent to C̅ + BD using the Boolean algebra
laws.
nQ,Sh ùc .Ks; kS;s Ndú;fhka ̅̅̅̅̅̅̅̅̅̅̅̅̅̅̅
̅̅̅̅ + ̅̅̅̅
(DC DB)C + BD nQ,Sh m%ldYkh C̅ + BD g iudk jk nj
fmkajkak'

(ii) Draw the logical circuit for the above expression obtained in (i) using only NAND gate.
NAND oajdrh muKla Ndú;d lrñka ^i& ys ,nd.;a by; m%ldYkh i|yd ;d¾lsl mßm:h w¢kak'

⁕⁕⁕

You might also like