Professional Documents
Culture Documents
2024 Quiz 12
2024 Quiz 12
2024/02/12
2024 QUIZ NO 12 ictfromabc
Ravindu Bandaranayake
1. Which of the following describes the divide between those who use technology and those who do not?
;dlaIKh Ndú; lrkakka yd fkdlrkakka w;r mj;sk fn§u úia;r lrkafka ñka l=ulska o?
1) Analog Divide 2) Digital Divide 3) Hybrid Divide 4) Random Divide
m%;siu fnÿu wxls; fnÿu fouqyqï fnÿu iiïNdù fnÿu
5) Sequential Divide
wkql%ñl fnÿu
2. What is used to handle the data transfer between CPU and RAM?
CPU iy RAM w;r o;a; yqjudrej yeisrùug Ndú;d lrkafka l=ulao@
4. Consider the following Karnaugh map and logic circuit implemented based on it where A,B are the input
and Q is output
A,B wdodkh jk w;r Q m%;sodkh jk my; Karnaugh is;shu iy th u; mokï jQ ;d¾lsl mßm:h
i,ld n,kak'
A 0 1
B
0 a b
1 0 c
For the logic circuit to correctly implement the logic function represented in Karnaugh map,
what should be the values of a,b,c
Karnaugh is;shfï ksrEms; ;d¾lsl Y%s;h ;d¾lsl mßm:h ksjerÈj l%shd;aul lsÍug kï"
a,b,c ys w.hka l=ula úh hq;=o@
1) a=0, b=1, c=0
2) a=1, b=1, c=1
3) a=0, b=0, c=0
4) a=0, b=1, c=1
5) a=1, b=0, c=1
5. Consider the following logic circuit which is created by using universal logic gates.
my; id¾j;% ;d¾lsl oajdr Ndú;fhka idok ,o ;d¾lsl mßm:h i,ld n,kak'
6. What is the output of the above python code? by; mhs;ka fla;fha m%;sodkh l=ulao@
num = 1
def func():
num = num + 3
print(num)
func()
print(num)
1) 4 1 2) 1 4 3) Syntax Error 4) 4 4 5) 1 1
8. A = bool(false)
B = bool(23)
C = bool('')
D = bool(' ')
E = bool([False])
The variable stored as False is, False hkak .nvd ù we;s úp,Hh jkafka"
1) A,B and C only. 2) A,C, and D only. 3) C only.
A,B yd C mu‚. A,C yd D mu‚. C mu‚.
4) D only. 5) A and E only
D mu‚. A yd E mu‚.
10. Can be used to design the styles and layout of web pages?
fjí msgqj, styles iy layout yeviõ .ekaùu ioyd Ndú;d l, yelafla@
1) XML
2) Python
3) JavaScript
4) CSS
5) HTML
⁕⁕⁕