CSC101 1
CSC101 1
PAS T
QUESTIONS
for
UNIZK
S TUDENT S
al
. B statementC.
machineD. h1ghlevelE none.
3. Exampleofamulu-usercomputer1s 'A. mainframe B. micro
C robot D. artificial E. hybrid
. 4. (11110),isequivalenttoi__ indecimalA. 40B. 15 D 18
.. 30C.
E. 75.
5. (101111100)?=(X). .W11atisX? A. 475 B. 574 C. 445 13.25
. E. 446- -
'
.6; .. An example of an unconditional statement in BASIC lS aA .-
.FOR-TO-NEXTB. GOTO C. FlowchartD. WHILE E. END
17... is an example of an outppt device. A. floppy disk B_
printer C. keyboard D. scanper ECD.
8. is a type of system soiiware: A. operating system B.
.- machinelangilage C.ob_jectcode D.source codeE. none.
9.f ' Thethreecommon devices
o1itput are:A.1nonitor,
printer, B.
speak
joystick, mouse,keyboard C VCD, CD, Floppy disk,
' D.Gold,
silver, ironE. none.
10. _'_is themostpopularinput
device. A. scannerB.joystick C.
- keyboard D. VCD E. speaker
l-L , Theoctal
equivalent A. 43.42B.43.
of(100111.1011),13____ '
55
C 47.54 D 47.55 E 55.47 . .
12 1
f A. .
.. ' R
'
B r
i ' _
" 1 TheactuaiRe .
. . " .
Presentanon of B A. +C
.. ' -
v. Thiss -
14'Data 18 m b 1
A-
sS'mbol
0%?thD called
11013
8513c33mg
! 08mm
C /
isnst decision E. branChing .
'. aref§d intothe computerv186
mftmns
\ :w:gg
M imymui - i D.
.sA outputB. processingC. input
nitI
storach none
INPUT H
I]
,
10 1F>50 GOTO50 . . a
*
p=300H . ' .
$3. aoTO -
50 60 .A
- .0.. '
50)
£0 . P=l500+400*(H-
60 PRINTP,H
70 END
Usetheaboveprogramtoanswerquestion15-20 -
[fH60whatisthevalueofP A. 4500 B. 4000 C. 5500
1) 5000 E. none.
Whichline indicates the uncondil: onal transfer of control? A. 10
3.20 C30 D40 EH50
[fH= 40, what 18thevalue of P/ -A.~10,000 B. [2, 000 C. 9000 D. 4*
7000B. None
_Whichline indicates the output statement? A. ' IO B. 20 C. 60 D. 70
E. 40. -
Underwhatconditionwill line 50 be executed? A. H<50 B.H<30'
C.H<20 D. H>50 E. H=10.
.
-
.
the term permanent is oRen associated with; A. A LU B. Control
Cunit C.printer D.keyboard E.secondarystorage.
Which ofthe following is an invalid output statemem? A. Average '
B.Average% C.Average$ D.34Averagev E.AVG. ;
ABASIC
variable withasuffix
name 3represent
i variable. 7 t
A. integer B. Real C. String D.Subscripted E.none.
c
.40-
«I.! mmmm.mm 1m
gmmmm
The oldest known mechanical am 1'0:compuung is:
8
A. Annlyiic
Engnm Punchchard C. Abacus D. Napier Bones E. Wcavmg
boom
. 29. (BF6)16-(),givcs: A.(|0|llll|0110) a.(IIoIoI)
C.(l00100||) D.(l0|0|0|0) E.none.
30. The ['5 complement of (01011), is __ A. IIOOO B. 10100 C. ..
llOll D.000ll| E.none.
. Evaluate the expressions in 31-35 .
3|. (I6).+(7).: A.23 8.24 C.25 D.32 E42.
32. (ABC)..+(BC)..-()..: A887 13.878 c.1388 D. B77 13.none.
33. (IIOI).+(IIII2)2-( ),: A. 1101 B_110|1I c I_IIoo D. 10101
.
E. lllll.
34. (385)..- ()..:A.249 3.429 c.924 D449 5.654.
35. (440),+(24),-( )SzA. 123 B. 321 C. 213 D. 112 E. None.
36. "ABCD"Isca|1eda_consIanl A. Integer 3. Real C. string
D. double E. None.
precision
37. Whatmake5134 182 an invalidintegeris: A.Toolong B.Too
shon C.?Iesenceofcommac) D.Absenceperiod (.) E.Nonc.
38. A computer is basically an electronic devices which can respond 16
A.Commands B.Stimulus C.order D.heal E.None.
Ir' Translates translate the A.
39, prognm into object codes.
Source 8. machine C. assembler D. compiler E. None
40. Allexcept one is notan Input deVIce A keyboard 3. Scanner C.
mouse D. speaker E. joystick.
Sn, yesled Solulion: to (In CSC 101 20H Session For Nan Students .
Mr. Ohms.
LC Digital 2.A Pictorial 3.A Mainframe
.
4B
Working:
(l'IIO).-Ix2'+lx2+lx2'+l x2"+0x2'-30 ->B
5.8 Working:
£5121; First weconverttobase 10. i..e
(lOlllIl00)-|x2'+ox2 +lx2 + lx2+1x2 +Ix2+Ix2+ Ix2 +0x2
'
Step 2;
We convert380,.to basé
8.
-41-
i.e. 380
8 47R4
8 5 R0
5 R0 :.sso..,-(s74), ->B
-42-
v...
0 wwMW ma
mm m TOME NW11
. 29A Working, 1.5.?!
Using shortcut»; we Just ,gonven e
(Bf6),,=(},
basc2.Butrcmembcr.B- '11,F 15.!-
rintegerto
Solet'sgo
2 11 2 .15. 2 5
'. 2
2 5R! ' .2 ,:ZR] 3R0
'2 2R0' . 2 -3R1 2 1R]
2 1R0. ..' 2 11111-4; L .. OR!
. .
OR! OR} I
$0011). -=(111'1), =(no),.=(00
u(BFe),,'=(101111110110),=>(A)
30.B Working; 1),,its1scomplementns
(0101 '=>B
(10100)2
31. C Working,-
1' 6;
- .
.+ 7, ..
'
(2 5):. =>C
3-9 .3 Working,
, ABC.,+BC,, = A B c 10 n 12
,3
+ B c 1112., -
Ii- . = (378).. =>B.
f? "(1"1"'-7'8)
s, 33.C Working; _ .
g (1101),+(1m),= 1101, .
' ' ' ' '
+ l l l 1Ir -
'
(11 100), thus, the correctoption is C
34. (None) .
85), = ( )I6is; 16 3 85
Working, ,(3
.. 16, 24R!
16 1R8
0R1
. =.(181)=(None)
35A %rking; (44), +(24), = 4 4;
' + 2 . 45
-' _ .
. _ _ (I 2 3), =>A
- ..37C Presenceofcomma
36.C String _
'
, -43-
' mm*'~u"
mar; 1 .
CF
' W- ,
11-1111/11
.11."1111111111111
39.A Source
'11-'111'
40.0 .
38A Commangg Speaker _'
NNAMDIAZIKIWE UNIVERSITYAWKA. ..1.
of Computer Science. First Semester Diploma
Department
Examination 2011/2012 Session CSC 101 -Introduction to Computer ,_
*
Scienceand Procrammmg xThursday March29,2012.
Instructions: '
(11) Attempt allQueshons _
Shade the CorrectAnswers Only (1:) TimeAllowed: 50 Mins-
(b)
2_
1.' arefunctions
These of Operating
Systefn
sharing resources C. memory
E.program1nteract1on
A.Filling
except? B
management D. program execution
21
5_ / What isthe23complement
of (11001100),?. B.:
A. 11001100 9.
1
00110011 C. 00110100 D. 100111011 E. noneofthcabove. ' i. r
6. ? A.
An advantageof supercomputerover others is ............... a
Purchase Cos't B. Processing power C. D %'
Portability E. Allofthe above .maintainability
7. Theterm V sual 1nVisualBasic.NET 1efersto the abilityto create
what classofappl1cat1o1is'?A Command 11ne B. Graph1calUser
Interface C.message boxes D.Console E.InputB_oxes. _
8. ' The main functicm of the is .............. ? A.
computermcmory
memorizingof past events B. conversionof pr'og'ram C. .
conversionlsthage of data D. translationof languages E. storage
' ofdataand 1nstruct1ons '
9. EBCDIC1sanacronym thatstands for ..........-..............?A.
ExtensionBinary Coded Decimal Interchange Code
. - B. Extens1bleB1naryCoded DecimalInterchangeCode
BinaryCodedDecimalInformationCode
. C.E11tended
D. ExtendedBinary Coded Decimal Information Cdde
E.Extensible
BinaryCoded Denary Interchange_Code
444-
"I 1'11111811117313
-MTOCW.SC1MJ 911101013
010101 One
Durable
characteristics
D. Static
0 RAM
E. Versatile.
IS 7 A.Voiat1le B. permanent C.
'
Boolean Algebra was invented by ........
.1? A.Be1'nard Boole B.
Charles Boole C. Kevin Boole D. George Boole E. Thomas Boole.
What gate has its output as a logic 1 1f and only 1f1he inputs to the
gate are all' 1n the same state? A. Ex-NOR B AND C. OR D. Ex-
OR E. NAND.
- 101 and B=100 are
IfA inputs to a logic gate and C=101, is the
output What type of gate is represented? A. ExNOR B. AND C.
. OR D Ex-OR E. NAND.
One of the following doesnot applyto a digital computer?A.
' Speed B Accuracy C. Reliability D Versatility E performance.
The oldest known mechanical aid for computation is ? A.
Analytical engine B Difference engine- -C. Abacus D.Napie1-
Bones E.Weav1ngloom
16. Robotics' 13technologies of ,....,, ........ computer generation? ,
A.First B.second C.third D.fourth E.f1fth. 1
17. A storage device used with the computer, made of thin plastic and
macnetically
D 4 éoated is called? A. Hard disk B. Floppy disk C.
magneticdrum .D.Diskdrive E.CD-ROM
18. Visual Basic. NET is a programming language development by
........ 7 A. sun Microsystems B.Apple1nc C.Orac1e1nternationa1
D. Microso& E. IBM
19. .... Is notarmmber system? A. duodecimal B.hexadecimai C. .
octdecimal D. denary E. decimal.
20. One of the foilowing1s not a nonvoiatiie memory.A.1-1ard d1sk B
CD -ROM C. Flash memory D.RandomAccessMem01y E. None
oftheabove.
21. VDU stands for ......... 9 A. VisuaiDispiay Utility B. VirtuaiDi'spiay
Unit C. visual Display Unit DV1suai D1o1tai Umt E. Visuai
Diagnostic Unit.
'
22. coordinates arid controls the performance of vanous hardware
and software components that make up the computer system. A.
centroi unit B. controls unit C.coord1nates umt D1
coordinates/control unit 13.coordinatirig unit.
23..~ Truth table shows the various states of input to logic variabies and
thecorresponding
statusof the A. true state B. truth state C. output
D. statusstate E. input.
-45- ~
" com.
IoI-III
mmoc scm'
IIIIIIIIIII-iiom
24 . Analytical Engine was a dengg conceived by ......... ? A HeImaII
HolleI It B CharlesBabbageC. Alan Turing D. John Napier E
--rJoseph Jacuard.
-__
i
'4
_
16'! A. Chineio, 2012 B Jennifer, 16 C 1996, Jennifer D.
.;i Jennifei,_2012 E. Jennifer,-
How thevariable
does agegetitsvalues?
A Computation
and
assignment B. input from the keyboard C. it has no value D.
initialization after declaration E. read from file.
(35),x(5),=(X),whatisX? A.367 B.22I c. 327 D. 227 E.
s...:.._-::.. . -45-
1'1
111111
01011111111 11111111
1111111
@1qu measures
computei
,,,,,,,
34. ete
disci values?
A.Mic1~o
B,
5 ¢
E Discrete .r.
.r.
(1.Hybrid D Digital
below
Usethe'diagram answer 35,36and37
questions
"vi, tivi
g . m
'
'71:)
3_5. What
logic isrepresented
gate by
g? B.NAND
A.AND C0R
,D NORDE.
Buffer
crate
Whatlogica isrepresented
m?A.ANDB.NAND
C.OR
1)
~NOR E. Buffer ,
37. The diagramaboveISan exampleof ...... circuit. A. integrated
B ConsecratedC. convertedD. compactedE.Noneof theabove
'938.
Ali there are common form controls 1nVisulBasic. NET e'xcep:
........... ? A: Label B. TextBox C. Button D. all above E. none
39. .............
Acts asbothinputstorage
deviceA. PrinterB. Scanner
C. WedCam D. Keyboard E. Floppy.
"
I 40. Small high speed memory units used for storing of intermediate
resultsare..........? A. Flip flops B.Controlun1t C. RegisterD.
MainmemoryE.Noneoftheabove ..
41. Which of these is not an application progr_am.A. Macromedia
flash B. MySQLC. MS- Word D. MS- Linux E. Pagemaker.
42. The advantages(s)of high level languageas good programming
to machinelanguage
ascompared
language A. it is
13/ are.............
tedious to write B. it is not machinedependentC. It 15not time
-
consuming D. a, b, andcabove E. bandc above.,
,. 4'43. Thecentralprocessing is madeupof
unit (CPU)of thecomputer
D.5 EH6
A.2 B3 C4
"
subunits.
\ '
.44. isasingle
............ user system?
operating C.
B.CPM
' A.UNIX
CMPA D. SVMS E Noneof theabove.
£15. .The hexadecimal equivalent of(110011001010),is ....? A. CCA
__/ 46.
B. CAD C 1A7
(A2+M*N.2)/SQR(2)
A.isualBasic
D. ZEF
isanexample ?
E. DDB.
oi ........
VisualBasicExpression B. VisualBasicStatement
EquationD. VisualBasic C
E Noneof the
.
Language
i -47-
e . I., I111. mm:w -
11110115110013-
above . .
An exampleofrepetition constructis .......? A.1F B.1F-THEN (
_ 47* D. GOTO E. FOR.NEXT: . .r.
" CASE
Oneof theseis aninvalid name
variable A yeaerBiI-tII;
{3
E 4" c~ year_ Dyear-of-birth
birth
YEAROFBIRTH of_
QI' E. yearofbirth 7W!"
49 A combination
of anAND gateandaninveIter
is equIvalent
to
0 ExOR BAND C.NANDD,BufferE.AND1.
gate7A.
One of the following is not true about algorithm. A. It must héve a
50 finesetB.it must haveaninitialaction C It must haveaunique
ted to eachaction D. it mustbe efficient andeffective E. It
successor
'e.
mustaIways
haveasolutIontoaproblem
. . .
DI M ,1.
lg CSC
SWERST02012101
FORDIPLOMA- OHMS.
BYMR.
Filling 2.C MVS _ l. .
I - ' f' . . .. a 1,..31
3'0 . Windowsexplorer - . I. - ;.
'4..D.I. Working: '
GIven1011111002, . -. 1 - -
wegroup
Here, the
numbeI-s
Into of3and
b10cks thén
convert
each
fobaselO. - _
i.e.1011x21+0x2+1x2=5
' ~' ' - .
'2111=_1x2"°+1x2+1x2=7 '1?
, 100_=1x2+0x2+0x2" "_4._
. . . =(574). ~.; f-
:.(10111I1-100)z =>D . . '1
5C Warkmg » _ I . .- 1
\_
. Given(11001100),. - 3», ; .13 _~ g
Step1:1scOmplemént= ,
00110011 231:? y; _ I
Step2: 1.6.
AddltotheleastSIonIfIcantdIoIt 00110011
1: I
. . . . . . | , . oonmopac
5 -
.53 ProcessmgPower ' ; _ ' 5. 15.:
j _ ,
7.B., GraphicalUserInterface .. . I ' ~_' .:. . . '
8.13 Storageof dataandinstruction ,
I
-48
mu N;y0rklng¬ BU UUHJ JiuLUm
B C . *3-
A
l 1 l .
' 0': ..
0 . 0 _,
I 5.?"'
I
the
Hence correct the the
above,
1: (ha;
anSWer
ls
gate. ' Optiiafirigné
table
. . OR
-_
J43 Performance §.1134}
.
a
. L
l5.C._Abacus
'
"
RandomAccess
Memory.
Unit
'
Control Unit
Display
.
-
AH
-
'23. C , Output
24.B ChargeBabbagé _ ' "-2
'
.25.C- IntegratedCircuits i
26.B' :GeneralPurpose _
27.E gUnicode ' -
'
28.B- Flowchart
29.B ~MsgBox :1.
30.D . Currentyear
31.E .Jennifer,l996 1
32.(-) .
. 33.B Working: - -
' ' 3 '
.' 5's E's .
x 5, . - --
(2 2 1); ."T>B-'
34.0- Digital_.
35.3
36..E' Buffer '
NAND'
»' "- -
. 37.A IntegratedCircuit . . ,
38.E' Noneofth'eébove ."
* - -'.'
.:
2 1-
-_
.
~
. s.
~ :1- "-3"- : -
-'
1; '
'
. v,
*
m.
H
39.E-:Floppy.
_40.A Flip flop
" _--
-49-
1111
%115111
100111116110
111111111
42 E BandC ~. . 1
43.B 3 441) " ' ' '
45A br/ring: D . . .
. 9
Given(110011001010)1
Here,wesimplygroupthedigitsintoblocksof 4 andthenconvert
eachtobaselo . o.
ie1100"1x.2\"1x2"'0(24'0"2=12=C
- .
11001x2"+1x2+Ox2'+ox2°=12=C
8+0+2+o=19=A
1010=1x2+0x2+1x2'+'0x2°=
=CCA =>A.
:.-(110011001010),
'
V15ua1 BasicExpression . -
5 -* z -
46A .
FOR-TO-NEXT - r. -
47.E ' '1'
"
43D . Year- Of- Bitth
49. NOR Gate,Bonusnoanswe1
50.13 1tmusta1wayshaveé solutiop to a problem.
'
.....
RegistrationNumben .......Department................................. I
i "T NNANIDIAZIKIWEUWRSITY, AWKA. DEPARTMENT. OF
Examination 2011/2012
' COMPUTER SCIENCE. First Semester
(SC 101{NTRODUCTION'TO CONIPUTER SCIENCE
Session:
ANDPROGRAMJVHNG FridayMarch 23, 2012.
1.; Instructions: (A). Attempt 311 Questions and Shade the Correct
Answers Only,- T1meA11owed: 50 Mins. '
GroupA:
1. All of these are found on thc VisualBasic. NET IDE except A.
Explorer C. Code W111dow D.
Form Designe1jB So1ut1'on
v-v-p.
(101111100)1
.2.
Wmdows Explorer E.T001box
474 234C.334 D 574
=>(119,=?what1sX?A.
P.
E.634.-1
31' B. .
A.11001100
WhatistheZscompIcmentofUmOl100)]?
00110011 C. 00110100 D. 100111011 E noneoftheabove.
4. An advantageof. supercomputerover others is ......
Purchase
Cost B.Process1'ng D
powerC.111ainta1'nability
E A11oft11eabove.
Po1tab111ty
5. ThetennVisual 1nV1sua11Bas1'c.
NET refersto theability to create .
A Co1ffmand11ne
whatclassofapp11cat1ons2 B.Graphica1User
250-
. . ?*-1.25
I 1 WWW 11101111
molMTOAMSC/WD'
Interface C. message boxes D Console E. InputBoxeS.
6. The main function. of the computer memory is .....5.,......? A
memorizingofpasteventsrB conversion of program C. conversio
1. lstorage of data D. translation of languages E. storage of data and
instructions.
The two main types of computer memory are ........ ? A. RAM and
ROM B Floppy
memory disk
and DiskCMajonand
Hard Minor
memory D. FlashDisk and Hard Disk E. Primary and secondary
memory. ,
Onecharacteristics of RAM 1s? A Volatile PermanentC,
. Durable D. Static E. Versatile B.
' Boolean was
Algebra invented 7 A.Ber11ard
by...... B
Booie
.CharlesBooléC.Kevin Boole-B Thomas
D.-George '
Boolé. _ Boole
What
gate has itsoutput
asalogic
1if and
only 1ftheinputs
tothe
are allinthe samestate? A
gate B. AND C. OR D.
ExNOR EX~'
OR B NAND.
- ' IfA=101andB=IOO toalogicgateandC=101,
areinputs isthe
ohtput.Whattypeof gateis represented?A. EXNOR B. AND C
OR D_.Ex-ORE.NAND. '_
One of the fpllojaving does not apply to a digital computer? A.
Speed B. Accuracy C. Reliability D. Versatility E. performance.
. -. The oldest known mechanical aid for computation is ?A. Analytical
engine B. Differenceengine C. Abacus D. Napier Bones
E
Wcavingloom. .
Robotics15technologiesof ...............computergeneration?
A. First B. second C. third D. fourth '.E fifth. .'
. 15. A storagedeviceusedwith the computer,made of thin plasticand
-
magnetically coated 15 called? A. Hard disk B. Diskette ;.C.
magneticdrum D. Diskdrive E. CD-ROW
16. l-Visual Basic. NET is a programming language development
by
-' ........? A. sun
MicrosystemsB. Apple Inc C. OracleInternational
Microsoft E. IBM.
' D".
IfAand
Bare toanExclusiveOR
inputs theoutput
gate, .7
is..........
A. A+B BAQ B C. At B D.A.B E..A+B.
'The data meant for future use are stored in .........?' A. Main memory
'.
memoryE
B. Minor Memory C Major memory D. Secondary
Primarymemory 1...
-51-
1.11!11111111111-
1111-1111010 11111g
of the
l9. One followingisnotanon-volatiie
memory.A. HarddiskB.
I ROM
1CD- C.Flash D.RandomAccess
memory E.None
Memory
.1 .- l ofthe
above. -n
b 20. VDU for........
stands ?.AVisualDispiayB.VirtualDiSplay
Utility
. Unit C VisualDisplay.Unit D. VisualDigitalUnit B..Visual
' _. DiagnosticUnit.
hardware
of various
21._ andcontrolstheperformance
.......coordinates
andsonare components that make up computersystem.A. -_
the
controlunitB.controls unitC.coordinates_D.,
'unit
# B.
coordinates/controlunit unit.
coordinating
22. Truthtableshowsthevariousstatesof 1nput and _ .
to logicvariables
'- statusofthe A. truestateB truthstateC.output '
thecorresponding
D. statusstate E input.- .
k. 24'.
23. Analytical wasadevice
Engine conceived
by
HolleritB. ChariesBabbageC.AlanTuringD JohnNapier E.
Joseph Jacuard. .
-L". p
'
Thespecial
feature
of third
generation wasthatthey
computers
were built with ..... as switchingelement A. Transistors B. 1
valves C. Integratedcircuits..D ,of above E.
.Thermionic ' All the
None of the above.
25: Another
' '. B. name
forHigh
Level 7 A.ManMade
IS..........
Language
General C. purpose executable
high D.Machine E
Compliant
Human Convertible. ~
One of the following 15 not a member 'of the set? A. ANSI B.
EBCDIC C. ASCIA D. ASCII E. Unicode.
27. The pictorial representation of an algorithm 15
. chartD.
chartB.FlowchartC Diagram chart E.
the above.
Algorithm Aliofq
I Use the program below and answer Question29-32
I. DimnameAs
String '
2. DimcurrentYearAsInteger=2012 - "
' - - .- ' -
3. ' .. DimyearofBirthAsInteger . 1
.3
a-\~ ..
1 '
4 DimageAsIhteger , 4 . . ,
S String
DimmsgstringAs
6 name=Inp'utBox(Please enteryouryearof b1rth)
In putBox ( Please enteryogiyear of b11th)
yearOfBirth=
=currentYear-
38e~ -yearOtB
irth
Hi & name8:, you are & age& yearsold.
mSgString=
:52-
[0
{mm M ~sIlnjvsvnm
mm-MTow MsgBox(msgSu-ing)
B. ' ',
variabiesin
28. ThefoHowingm-e thebrogragn A.msgString
except
' -
MsgBox c.gge D.currentYear E.nam§. .
39. ; Which of thesevariableswas initiahzedWlth a value on
'5 declaration.
A.msgStringB.InputBox Chage E.
D.cun'entYear
'
'
. Ifthe
30.
name.
istheoutput then
oftheprogram, m
.
theInputs
.
. '
figure'above
7 are? A. 1996 B. Jennifer,16
lines6 and Chinelo, C.1996,
3 - Jennifer D.Jennifer,2012 E.Jennifer,l996. .
Exercise
Hi Iannifcnyouué 16yam dd
g
m
a . .
,35.
. ' Whatlogxl'cgateis'ré
presentedb ' yg? A.AN D B. NAND
'
., NORE.Bum=r- . t CQR-D'
.
36.. _ 'Whatlogicgateis representedIm. 9 A.
. 2-31}: above
diagram isanexample
of ....... cifcuit.A.integrate
. C.
.1 onsecratgd conyerted D. compacted B.None ofthe above.
'
_ -53-.
UH»
-
1(1111
N...
(110111111110C0'111C11111
1111111111
1101011
.All there are common form controls'In VisulBasic. NET except
2
3. above. .,.
39: ............. -Acts as both input and storage device A. Printer B.
Scanner C. Wed Cam D. Keyboard E. Floppy' Wm;
40. Small highspeedmemoryunitsusedfor storingof intermediate
results are ...........
. Main memory E. Noneqfthe above. ,
'
1'4]. program.A Macromediafiash
Whichoftheseisnotanapplication
B MySQL C MS- Word D. MS- Linus E. Pagemaker. _
42. . The advantages(s)of high. !evel language as good programming .
languageas comparedto machine language Is / are ............. A it is
i .tediousto write B it is not machinedependent'C. It Is not time' -
. ' . consumingD. a,b, andcabove E. bandc aboye.
43.
' ' The central processingunit (CPU) of the computer is made up of
........... subunits. A.2B.3 C.4 D.5..E6
44. ............ is asingle user operating system? A. UNIX B. CPM C.
v CMPA D. SVMS E. Nonéoftheabove. .
45. The hexadecimal éqllivaientofU 100l100101.0),is ....? A. CCA B.-
'
..1 CAD C. lA7 D.ZEF E.DDB. .-
46. . is anexample of ........ ? "
(A_2+M*N2)/SQR(2)
'
A.Visua1Basic Expression B VisualBasic Statement C.
. VisualBasic Equation D. VisuaiBasic Language 13.None of the
above
'
.47. An example ofrepetition constructis ....... 7 A.IF B.IF-THEN C.
. CASE D. GOTO B. FOR- NEXT.
48. One of these is ah ini/alid va'riable name A. yearOfBirth B.
YEAROFBIRTH C year_ of_ birth D. year-of birth E. yearof
_ birth va
49. A combination of an AND gate and an inverter is equivalent 'to ......
.gate?A.ExlOR B.AND C_.NAND, D. Buffer E.ANDI.
50. One of the following is not true aboutalgorithm. A, It must have a
fine set B. it must have an initial action C. It must have a unique
successori6 each action D. it must be efficient and effective E. It
mustaiwayshavea solutiontoa problem.
E
1
(1111 MMMMM'M
MM MMMMMM
MMMMMMMMM
311? 1w;
GroupA. _'
o1uz1122_ 7"
H" 1
1,..+.rw
LD - Windows
Explorer'
n»! «I_
ll
13
2D - .
-Working:
Given: 1=>(X).1% W3group
(101111100) 1nto P,_
thenllfrlbers
blocksof3,andthen tobase10.1.1:
weconverteach
'
+0x2+1x2°:5
(101),=1xz
(111),1x2 +1x2 +1x2 =71 .
+0x2'-+0x2°=4
(100L"1x2 (101111100)
=(§74M
. 31C Working:
' . .
Step1: 1 scomplement=001~10011.'
Step 1tothe
2:Add lpast .~:
s1g111f10a111
fi1g1t.1e. ~
00110011
+" ..1\.-_'"
. . . ,' '(00110100)1
4.8~ -Processi11g
Power - . ' ' '
5.B Graphical.)
Userinterface
(GUI).
6.E -Storageofdataandinstructions. ' "
' ~
7.E -Primaryandsecondarymemory '. _ . ,
- '
8.A -Volatile 1
' . . '.. 1 1 . _.
9.D VGeorgeBoole .' . . _' ' 1 3 .
' - " '
10.A Ex-NOR . 2
11.3 ¥ANDgate
12.E -Pcrformance ,--.«- 5
- 13.C .-Abacus ' '
, ~ ~. _ . -
'14.E '-F111h . ' '_ '-_
.. '_ f'
15.3 ~Diskette« ..
MD > -Microsofc '.
--
17.13 ~A¬BB ..
l8.D -Seconda1rymen10ry . .
19.D ' l . '
-RandomAccessmemory
200 -Visual 1"
DisplayUnit
21.A -ControlUnit
22.C -Output . . .
23.8 ' ., , . . . t. .
24A -ChafleSBabbage' .
-Transistors .. _ ' _ _;
, .. .
-.. x."
,.
- -
~ss-.-
J
I h l ' ' '- "
! 25g A'L
It-Gegegflimpg ' ._1,..
10111Wffy111-
26:5 Unicode _ '
27.8 -Flouwchart
. - . - ' ' ~
,- 28.3 MsgBox .,
29.D- ~Currentyear - .' 3
30.3 . Jennifer, I996:
31D :Linelo - 1 ' - :
.' *
.,1-.. .
32D _. Initialisation
33.13
-Working.-_~
aairdécla'ftff
, .35. ' ~1-.-'-"' '
; x "5, .' ... . .
W=>B ~« :3 . "r
"
34.!) -Digital 13'
' ' '
35.13 -
.-NANDgaté
36.5 '-Butfer
'
w... '37.A -Integtatedcircuita
38.13 -Noneoftheabove
39.E '
'1. -Floppy _
40.'A '-
,3 ~Flipflops
41.D' ~MS- Linus '
' . -~
. 42E ' --BandCabove
" '. 3:"
43.8 -3 3 " '
, _ - .
44.B .-Numberisnegative 3.-:"-,". -
45A.
'
-Seelectu1-enote
(GetSerious). ) -. =131
46.A --VisualBasicExpression. .3 ..g: _.
47.13' -1011 To NEXT _- , 4 g .
' '- -' ' " ,- -
48D Year-of-birth ', 7! '
49.(-) NORG_ate
50.E haveasolutlontoaproblem
-Itmustalv_vays . ".:--. .. -
.9:-
NNAMDI AZIKIW E UNIVERSI'I Y, AWKA
MDEPARTMENT OF COMPUTER SCIENCE: FIRST 313mm
EXAMINATION 2012/2013 SESSION: CSC lOl-INTRODUC'IION
T0 COMPUTER SCIENCE AND PROGRAMMING THURSDAY
MARCH 21, 2013. TYPE A :< .-.'< .
INSTRUCTIONS: ANSWER ALL QUESTIONS, SHADE TYPE
ON YOUR OMR AND THE CORRECT ANSWERS ONLY; TIME
I 1?!
_ ALLOWED 50 MINS.
_1.
' VisualBasic.
NETisa(n)......... A.
prograrnminglanguage"
-code- driven B. logic-driven C event -dr1ven D. foxm- driven
E. all of the above.
is a single user operating system? A. UNIX B. CPM
...............
'57;
'
.......... .. nuuulvum-IHIIIIHM uummu 1111 1
-591
l
.0 I diagram .eowtoanswer
l'.|-|" Illlll!l.Ull'H NHI-
"' "" l-t'IMH
Usethe
IA
36and
_ 35,
question 37.
m
,I
What isrepresented
gate
log1c byg?A.EX-OR
.B.NANDC.OR
35.
D. EX-NOR E. AND. .
16.
. -
B.NAND
Whatlog1cgateisreprcsentedbym
A.
EXOR C.0R
D.EX-NOR E. AND. «.1.
37. The
diagram ismanufactured
above' as.....
? A transistors
B.
diodes C. Integrated circuits D. AandB only E.A,B,andConly.
38. All these are common form contrpls in VisualBasic. NET
except. ..?A.Labe1B:TextBoxC:Bi1ttonD. allaboveE.none
above.
39. .....Acts as both 1nput and Storage device. A Printer B. Scanner C.
Wed Cam D. Keyboard E. Floppy
40-. Small high speed memory units used for storing of inte1mediate
resultsare.......? A. FlipflopsB.Co'ntrolunit
C. D.Main
memory E. None of the above. Register
41. Which of these 15 not an application program? A. Macromedia
flash B. MySQL C. MS- Word D.MS-L111ux E. PageMaker.
.42. The advantage(s) of high level language as good programming
-
language as compared to machine language is/are ..... A. It is
tedious to write B. It is'not machine dependent C: It is not time
' consuming D. A, B, andCabove E. BandCabove.
43. IDE is an acronym that stands for ..............? A. Integrated
Deve10pmentEmvironment B. IntegralDevelopment
Environment C. Incorporated Development Emvironment D.
Integrated Denegration Environment E. Integrated Development
Environment
The presence of extra digit 1n 2s complement operation method
signifies......? A. Error in operation B. numberis negative C
4'5.
. B.CAD C. 1A7 -D.2EF E.DDA.
46.
(A"2+M*N"2)/SQR(2)isancxamplq
91.11."?
-50-
s
I I II I 'I l
-61-
NH 1 11111'
M WWI " W
'.111'1.11..-'.u.1111111
W
.- 00110011
+' 1 .
I
(00110100), =>c . 4 ; .
-
E
1]..
power Storage
1.013 Processing of dataand tions
10:33:" '3
memory 13-B Perma_
andSecondary
12. E Primary
_-14.D GeorgeBoole15A Ex-NOR 16-B AND Diskette _
C
18. 1913
Abacus 20
Fifth. 536 View ._..._
17. E
quformance'
M13FG§6R¬2«D~ .23C Fgm}
ControHoolbox A 'etrol D sign
217D
26 U1
24.D 199125.DRandom Memory
Access C9?..
Output28.B Charles
Babbage29.A
Flowcart
. 27.C
30.B 31E Unicode.32.BTransistfo
GeneralPurpose
33E Answer =.(5CD).6
_ Working:
Given A 5"s .= 10 '
.511
-. x 9.6 X 9I6
(s 12 13)
--
inputage
~ .. Is. '
Y"
l8 .- .4 . DisplaxYoucanvote!"
gagg=
"
\ N \
difference (18 - age ' '
a ,
+"more
QM] difference togo!.
years
STOP f
.
l. Theflowchart
above
1sdesigned a.area0?cifcles
to determine
b. perimeter of rectangles .c. eligible voters d. sum of values
e. average of numbers
2. If anage what
of25isgiven willbetheoutput?
a.Youcanvote!
b. You cannot vote! c. 7 more years to go d---7 more years to go
-63-:
Whig Flowers.5.John
D. TohI'my VonNeuman.
-64-
11.511:
:11111'111111111111-
1.-11111111111415.1112]'.-
move.
E, nqne of the
3~19. . In performing the operation110.001,- 10.11,,the 1s
complementof the subtrahendwill be A. 0101.110,
"
B. 101.001,
. C. 0101.111, D. 001.01, E. 1001.010,
" 7" 20. Convert 45.125" to octalA. 55.1I B. 55.01I @551. D.
55.101, 'E. 45\.125..
211? FEED, BED equals A. F3, B. BEED C.,FEB.5 D. FED
E. F300,. ._
22. . The octal equivalentof (84.,- 100100,)isA. 64 B. 36 48
D. 60 E. 75
C.
23. One of 1=ses was part of the team that designed the ENIAC A.
Alan Turing B. John P Eckert C.11 _. Atanasoff D. John Von
'
Neuman E. Jay W Forrester
-_24. Booleari algebra was developedby A. Kelvin Boole B. George
Boolean C. JohnKemeny. D. GeorgeBoole B. JohnBull.
..
'
1._Usethediagrambelowto answerthe_
next4questions.
_p
.q
'61;
m
.ED'
below
ofthelogicgates
Which appeared above
inthediagram
25. .
A.BUFFER B.NAND C.X-NOR -D.OR EINVERTER
26. - -Whatwill be theoutputof theNORgatein thediagram?A. ETC;
:B M C p+q D 13(p+q) E peq
275 -Theinput variable(s)1nthe diagraminclude(s)A. only p B 0111"
.'' pandq C. onlypandq D. p,q,pandq E onlys
28. 'Theoutputof theAND gateis an input to which gateA. OR
B. INVERTER _C.EX--OR D. NOR E.NAND
i
-65-
In {111111.1111.2,-:11. 111
1/ 1-11111111
29. What 15the resutofA(B+CD)+1 given thatA=1, B= 0 .3
D= O E. B+CD
30. IfA= 101 and B- 100 are inputs to a logic gate and C '- 101, is
the output. What type of gate is represented?. A. OR B. AND
I E. (11+ 13. C) -
An outlme of the step-by-stcp approach to solving a problem IS .
'34.' referred to as A. a flowchart B. a module C. an algonthm D
'a documentation E. a program.
belowandanswer
Usethepseudocode the,next3 quastlons
u.
2 Get thelengthvalueinto .
3 length.
Get the width value into width
*
4. perimeter + (length + width) 2
5.
'
area (1ength * width
- 6.
Display perimeter .
7 Display area
8 Algonthm stop
766-
'
11.-mnmw .11mm .11 111111.11
1.11. ~
A. length B. input C.widt11_.D area B. perimeter
38. In algorithm design, the focus on how the program should wmk
dealswiththeA. variabledeclaration B. functional specification
cggbnccpt mlysis D. primary duty E.architect'ura1design 12.:
39_.. The use of one selection or repetition constructinside another is ,
referred
tobasA.doubling infusion 1'F'ing- nesting
E.concate.1ation.
B. C. D.
of an algorithm"13A.Pictoria1 chart
Thepictorial representation
411.
B FlowchartC Diagram chart D. Algorithm chart E. Logic
chart.
twomain
The ofcomputer
categories areA RAMand
1.:emory
41. and Hard disk C.Prima1"y and
ROM memory B Floppy 1113!
secondary Diukand E Majorand
memory_D.F1ash
Minor memory. BardDisk
42.
' One characteristics
major ofRAM it isA.StaticB
isthat
Permanent C Durable D Versatile E. Volatile.-
43. - One 01:11: following 1snot a non-volatile memory. RAM B.
'
CD-ROM C. flashmemory D. memorycard E. none of the
' above.
One .15
ofthesesNOTafimctiohal
unitofthecomputer
system
A. controlunit B. input unit C. processing unit D. memory .
~67-
V
rsm2014CSC101.1For UntzikStudents-
e 1;,-M, Ohm m_
i; section
5.
B
Degsiop 3
B
£2;:Agc
A1an
Eli 'ble Voters 2. A You can
-
.3
Working. . _ . .-
6.D
G1venAB+AB +AC 12.5..
WhereA= 1,B= 0de= .
1-'
. thus,AB= A.B=l.=0 -.
. AB= O(FromANDtruth
AB1-.1=1(From
AND truth '
AC=A.C=11=1
table)tabl'e)
' (FromANDtruth
AB +AB +AC= AB+ (ABtable); 0 +
:therefore,
=0+l= +AC) (1+1)?
.- _ l(FromORtruthtable)=>D-- . .
7E UNIVACI 8.D NiklausWirth 9.A Lothadeh
C University
10. ofI111n01s
. =
11.13ARPANET
12B. Workingr ,
Giving
00,-)10110110
_ ,
" "l; 7 ' _:'
Where
10110110: thenumbqs
,Now,weg10up
=0101101102
_: '
into blocks of 3 and then convert each to base 10 1.e .'
"
010= 0x2w+1x2 +0x2° =;2 110,=1x2-'1:-1x2 +0x2°=6
'
- 13.A
110=1x2+' _1x2
Working:
Ox? 6; L;10110110
=266
='>B
"
'
" Given(11001101)1 1n'1s complement
, Generally,
change every 1 s to zero and every 0s _to 1;'
=_110010
=>A
We -
Oper_ation,
. ~ , f
A
' i r. * ..-
.i.
thereforez
(11001.101),=
1' h 00110010
- 14.C 3rd Generation 1 . - ..
"'15.D Working:
- I ; Given BEDE,; -) binary
(base2)
1 First,weconvertto basedecimal1e - ,.
'' Bxl6J+Ex16 +Dxl6+Ex16°
BEDE,,= ..
=4886219
Next,we divide 2 1.
e
by . . .
48862.9
r ':
......s
.
_ _
-68- .5 l;_
.48862 51
Lng
24431110
12215111
.115"
6107R1
3053111
NNN
1526Rl
.763R0 -
381R1 . .,
190111 .
95110
47111 -
23111
11111.
5111. -
- - '
1110 .
-~ =1011111011011110,
0111
'
therefore,BEDEm-1011111011011110 =>D
..16 E _Working:
Given wegro11p
,Asusua1,
11001110111011, the
numbers
into
2 ' blocks of 4 and then convert each Ito base 10;
- Butnotethat11001110111011',=001100111
0011, '0x2 + 0x2z + 1x2I + 1x2°= 3 '.
'.
0011 =0x2 + 01121
+1x2.+1x2°= 3
. 1011=1x2+0x2+1x2'+1x2=11=B
1011,=1x2 + 01121
+1x2'+1x2'=11.= B
.. 11001110111011$333353.
" .3,. . .-t'1
.
17.C Working;
Given 5B1s > Base 10
1.1:5131,,=
5x16+me' + ='>c
1457
-.18C Pos1t1've
., 1x16°=
result '
19.(-)Working:G1'Ven
110. - 10.11,,1116
001,
its1s
therefore, - 00,s111:-1ahend13
Icomplgment01. =>(-)
-69-
-IIIWIHIH ,I .'
. 0,A Working:11LIII II VIll . ' I I
d
Givén 45 .125" (X). .
The wholenumberpart (45)'1sdivided
by the base8 and the
remainder bewmes the answer,while the decimal
part (0 124) i'
' ' multipliedby .6 base8
'
andthecarryoverto integershouldbe
written as the answer. ' -
'
Now, lets go! .
Jatr-
J
. 8 45 .1 . and 8x0.125=1.0=1
. 8 5R: '- .
' .8xo.o='o.o=o
.. , .ORS =10=1
-
. , =55' .,
theanswer=
therefore, '
21.15 Working: . (55.10...),=>A
.
GivenFEED, BED,;ButB=1'l, D= 13,B=1'-'.,F=15
thus, we have 15 14 14 1315
- - ' -
, 11 14 '13.,
-3 15 3 o o- j=F300..=>E
221; Working:
~ Given -100100,'
84,. ,First,convert
we_ tobase
100100 10
' 1:: 100100 =1x25+0x2 +0x2 +0x2°=
-36,.
II: vs, 84.,- 36,0 48,. +1x2z+l0x2'
..
prt, we divide 48,0by81.e ; ' ;
8. 48"
_ 8 6R0
OR 6 .
. = 60 => D
PEckert24.
23.8-J0hn Boole25E INVERTER
D George '
, '25.C p+q 27.D 28.CEX-OR
' ' 29.C Working: , p,q,pand'q
GivenA.(B+C.D)+l;WhereA=1B0,C=1,D=0
"thus,
Wehave;1. (0+0)+1=1.(0
(O+1.0)+1=.1
o+1=1=>c
30A .ORgate '.
.7701,
WIWL-Ilmn
1141
11111-11
J'lHH
WW
31E ng :Whetep'i
(p.q); Ia
0011;~>p~11008ndq::.0101
q
E1"'91ng
0;tfterq/ore,(p-.
en
.q)=10001¬I-, l,
nauL-a-u' _
. .
x
'Pq(Pq)" Law"?
'12,,
0
1
1 okc
CSOH ..
1,5
Answer=lOCC'=>E-.,
_
-
32.13
.EX-OR ('3) 34.0Analront1n
3.13A'.(13-. ' -'
35A .-Rectangles1'3we
;Forarectangle ..
(3) wea=basc(w1dth)xhe1ght(16ngth) haye;:' "a- .'- .
.
-7'1;
.-u. ...u1| H H 11!
ll
11; W m- "1-.
In I
3.
Time:
2015.
00pm
Apnr . ll
Time
50m
NNAMDIA 1 [WE UNIVERSITY,AWKA
10th
SCIENCE:
OFCOMPUTER
pARTMENT FIRSTSEMESTER
SESSION:
20l4/2015
PMINATION CSC HON
lOl-INTRODUC 1:
ExamDate:
SCIENCEANDPROGRAMMING:
T0 COMPUTER
(a).Attemptall Questionsandshadethecorrect
InstIUCtions:
only:
1mswer Name: No:------
---Reg ----- Department:
Two common coding systemsare? a. EBCDIC andASCII b.
1.. ASCIIandBENSCII- c. EBICIDCaiidASCII d .BASICand
e EBCDIC '
EBCDIC andACSH
The first addingmachinewasfoundedin1642ADby?21.Charles
b AlanTuringcBlaisePascail~
d.Abraham
Lincoln '
Babbage
e. Early men
ISa-----generation
k1
TheENIAC b.Second
computer2@l-irst
. 0. Sixth e Third
d(Fcurth
-------- directs and coordinatesoperationsin computer?a
c. ALU
b,ThcControl
Registers
---------
'
Unit c.Inputdevices(1.Humans
isnotfu.ction
ofthecomputer? b.Processing r$
'-
tn
a/Input
.
0 Output @Memory 6. Storage .
oneofthefollowing
Which isnotanauxiliary
storage?
@Hard
'
disk b, Floppy Disk c. DVD ROM (1.FlashDrive 6.
Memory card
-------is not an input device?a Keyboard b. Touchscrccii c.
-
Mouse d, Sensors 6. Card reader
One of the following 15not a part of the computerkeyboard? a.
keys b.Cursorc.CAPSlock .d Space
Function bar 6.
Shift
key .
Ananalog- to- converter
digital (ADC) translates-----
waves
digital measuringcomputer can process?a. Video b. Lightintéy'
,._
Sound d X--rays 6Radio
10. OMR means?a OpticalMedia Request b.0ptica1Ma1k
'
Reader
c.Open
MarkReader
d Open
media e.
Request
Optical Method Reader
11. is?a Read
ROM Open b Volatile
Mcmbry ofmetal
c.niade
b. Not usedby computer QNone of theabove
'
-72-
. 1 1111...11111.-
:11 .11,111111111.
111.1 '
1121-111
Iris
recognition is
system atype a.
01'?Biometricb.
input
output c.D1gIIalou1putdDigital Biometnc
Biometric
Biometriccomputer
.6
----isnotacomputer?Thermometerw
b'. oven
Microwave
c. SamsungSS drcagtachometer 1:.Analog Television
One 15NOTanumber
ofthese system?
a:BinaryWenary
- c.0cta1 d.Decima1 e.1-1exadecimal
$.14
15 'c10101,d.10011
1 I e. 110001,
11001b.10011,
25,.=?inBinary?a.
1 16 . 101011,
?1nbaac 10a 43.. b. 32,. c. 47;. d. 53, 13.34,,
" 17. 705= ?inbase2a. 101000101, b. 111000101, 0. 101010101,
les :- d. 11110010011, 1:.01011000101,
1111'1"310115315 230
-?..a.1234.. c4D2..
1111323.. d P 5D2==
19; =?, 1327 b.1325 1237 :CZ-s
1011010111, a.- c. $1528, e. 7324
20. ZBB.=?,211010111011, c.010111001,
-b1010110011,
d.1011110011,
0.1010100011,
1
21. Z= 1.2"! What1sthevalueof Z 11'the 1nputsareX= 0011' and
1000b.0011..c0101 .d.0001 e'.0010
Y= 0101?a.
22. NAND gate b. OR gate. 0.
The figurebclowrepresents?a.
' XNORgatee.NORgate
XORgate'11.
Q).
23. If theinputs X= 0101andY= 0011aremadeto.thelogic gaie'
a.0101 b. c. d. 1010 e.
abovewhatwi11Zbe?
' '' - 0110 1001
1000
2A. 23complement
The number
ofthe8bitbinary 15.?
00001110,
11.
111010010, c.01010011,(1.11111001,
b.11110010,
e. 110010011,
that~(X.Y)=-'X + 'Y1s?3, Idempotent rule
-2s.' . therulewhichstates
rule c. Involutionrule d. Simplif1cation rule
b. Absorption e.
DeMorgan' S 11119.
26. Whichof 1hese1s a problemsolvingtechnique?a.f10wchart-
balgorithm c Pseudocode d. a, b andc e. none of a b & c
27. Whichof theseis nota flowchartsymbol?a.Ova1 b Square
1:.Diamondd.para_11e10gmim
e. circle
28. Acomputerprogram represented1npicture format 13called a?
.73..
h ' ll N"H .1 MNL J. VII .H'nlM ,Softwarc
. .. a.Code
homo c-Algqrithm
29.' OOPLimplies?pObjecthgcntcd Vl°w°iagdLaengu
1' b.0penOriented c.0135.
Programmmg J Programng
Prograrélgmt
'
Linksd. 6 openObject
'_
ObjectOriented-PgrsonalL_anguage ,
ELI...
PersonalLapguage ~
30
, VB.NET Pro rams are bre'atedwith the use 0 fa softwaretOOI
called
an?a.Igntegrated
data'Environrnent zbIntegratiiivol
DevelopmentEnvironment c.-Imegrated
d. InterpretedDevelopment 6. Interpre Data _
Developmertled
Environment
Environment ~ , ', ' -
.
31. TheVB.NETstafement:
DimOBIAsIntegeris?aA declaration
b. OpenStatementc. Beginning d. Remark,
' ' Statement
' '
e.Keywordstatement
32. ----- is_agroupof related . H_, -,~ j:-
files,suchascodeandImages(hilt
makeup a programin VB.NET? a. Fdrm b. Window
~ ' Qypioj CCt
d. Product or Event .. - . .
Usingthefigurebelowanswerquestions
33 to 37
33.
34.
35.
36.
' ~I: nllh wmm- l Iml 35
tft nu HIM .u! 4.1!.
exploml', d. Cu ne Explore e none of the above
The part labelledaE is? a. Prgpexties Page b. Properties
g
3 H.
Windows c. Properties form d. Solution Window e. none
Which one of these'15not a VB. NET event? a. button b.
c.mouse focusd.timerse.mouse clicks 'H
Nkeystroke§ andUndggm.
Which pairis a featureof OOPL?a. Encapsulation
b.Procedures
capsulation andPolymorphism c. Encapsulatioh
andPolymorphisme
d. Undercapsulation
andPolymorphism
All of the above
40. ISusedby VB. NET for decision
Whichone'ofthefollowing'
a. 60 T0 b.1F-THEN-ELSE c. BRANCH d. EXIT
making?
e. JUMP
4|. One of theseis an invalid variable name for a VB. NET program?
a. yearOfBinh b.YEAROFBIRT1-1 q. year_ of_ birth_ __
-birth e. yearotbirth
(L year-of-
42. of extradigit.in Zscomplementoperationmethod . __
Thepresence
signifies? 8. Error" tn operation b. number is negative c.
numberis positive d. All of the above e. None of the above _
43. Whichof the following is not an Application software? a. MS
Windows b.-MS Access e. PageMaker d. MS Excel e.
Photoshop
All theseare common form controls in VisualBasic. NET except
---? 8. Label b. TextBox c. Button d. radio button e. TV
button
45. computer measmesdiscrete value? a. Micro b. Analog
c. Hybrid d. Digital e. Dicrete
-- is not an example of a hardware port? a. PS/Z b. LPTl
0 USB d. VGA e. CPU
47. VB.NET is a(n)--dn'ven PrJgramming language? a. Code
b. Mouse c. Event e. Method e. Logic -
48. The Joystickis an example of-u-device? a. Writing b. Input
c. Outputd.pointing
device e. Joyousdevice
49. A combinationof an AND gate and r verter is equivalent to --
gatc?a. Ex-OR b. AND c. NAND- d. Buffer. e. NOR
50. IF-THEN-ELSEisa w-Programmingstructure?a. Selection
b.Repetitionc. Iteration d. Choosing.e. Looping
-
g
-75.
m I I1"55.1.1-mn'7llllllIII'UUHI'1",]
0 m"
WW,0qu 1 S 101ForUnikSIudm -K h
ASCII 2.
BCDICand 5D C Blaise
Pascal3 A First
6.A
Thecontrolunit Memory Hard disk 7 D Season
9.C Sound
(\urSor
Markreader
optical MarkRecognition).
(orOptical TheOMR1:
of gettinginformationfromhuman
theprocess beingsby
markson a
recognizing document.OMR15a scaunc. Cm reads
on areas
marks SPCCifiC of the page None
11.15 of the above
computer13.A Thermometer
14.B ' .
Biometric De'r1ary-
25m) 00,, thus,we have "
Working:Ob_serve
25 . » - "
12R1"..',"«: -
NNNNNN
6R0 :.--.- ' '..:."":
3R0.'.--.- - -:-,-:
1 R1 '. -
'
.0 RI '
therefor'e, 25,,- 11001 =>A.
Working:
705 7x8 + 0x8'+ 5x8"=448 + 0 + S=
= -453..
.
Next, we convert453..to base2. i.e.wehave ,-
2 453
2 226R1
2 113R0
2 56 R1
2 28RO
2 14R0
2 7
7R0
2 3R1 . . .
-_ '
2 1R1 ~_ . l g
2 0R1 _ r
=
1110001012=>B ,
-76-
*__
3 111-11
:1 .111
1111;st .111.1.-.
$211,121,th 11111111
11., g
' 3"
6%,, 1234..= 16 3" 1234 '
:6 .6;
M
16 77R2
16 . -
411131
R4 >c
. 4132 4132,,
Working
Here,we groupthenumbersintoblocksof 3, andthenconyert
'
. eachtobase101e1011010111,500101101011,
'
41: rhus,001,=0x2-°+0x2'+1x2 =1 9.
(32:, .1 -o11,=0x2'+1x2'+1x2°=3;111,=1x2'+1x2'+1x2'=7'
base '
Working:First, we convert to 10;
.3: i.e2BB,.=2xi6+Bx16'+Bx16°=699nI
Now tobasc21._.-e « .,
weconvert
. 2 699 _ ~_
g. 2349111
2 174111 "
33:
q!
4 ..
4 2 ,87R0
§ 2 '43R1
, 2' 21111 e
1' ~2 ~10Rl
g "2 5R0
; 2 2 R1
'
2 - 1 R0 ,
0 R1 =1010111011,=>A'
'-
Y=
0011,=0101; =1?Y-Applythé
ButZ=
21AWorking:Gi'ven;x=
wehave. r- - .
ANDgar;formular,
'
x Y x Y z=x.Y
O .O l 1 __1
O 1 1 0 0.
0 .4 ~' -
1 0 ,0 l
..1 l . 0 0 -0 =>A
.zAnswer=1000
:22,DXNOR
gate
' ..11.1.-:1 .1111
'11-.1/11111 11.
11111.11- w
23_C Working:
Given X = 0101, Y = 0011; Apply JOQOR& OR gates,we have
4 , 3711'
Lvuii"
s11116
25.E DeMorgan 26.D a,bandc 27.(-) 28.D Flowchart
2911 Object Onentcd Programming Language
Integrated Development Environment 31. A A declaration
32.C Project 33. E Form Designer 34. C Toolbox
35.13 Solution Explorer 36. E None" 37 13 Properties Windows
38D Timers
39.C Encapsulation& Polymorphism. Other features of OOPL are
Inheritance,Data Hiding, Overloading & Reusability
40.3 IF-THENELSE 41 .D Year-of-birth. In VB.NET, the hyphen is
not allowed 42.3 Number is negative '43.A MS Wmdows
44.15 TV button 45D Digital 46.15 CPU 47.C Event
48. B Input. The Joy stick is an input device that allows the user to
control a characteror machine in a computer program -
49.C NAND 50.A Selection 1
-78-'
1 71 1..) :1. ~
11111211.;
u 7101.111
VNANH)IAZ-r l C VB UNIVERSITY, AWICA
DEPARTMEN T OF COMPUTER SCIEN CE: FIRST SEMESTER
EXAMINATION 2015/2016SESSION; CSC 101-INTRODU CTION
TO COMPUTER SCIENCE AND PROGRANINHNG THURSDAY
SaturdayJuly 23, 2016. CEP
erall Questions
(g)Answ
IVSTRUCTIONS' Shadethecorrect
Answer: sheet:
ontheOMB (b).TIME. .50MINS.
ALLOWED:
1. NET' ISa(n)
VisualBasic. programming language? a.
b.10gic-drivenc. eventdriven d. form-driven
code-dnven
e. :11of the above
No commoncodingsystemsare found m computer systemare
?a. EBCDIC and ASCII b. ASCII and BASIC
c.EBICIDCandASCII d_.
ABSIC andEBCDIC e. EBDCICand
'-
ASCII.
is a singleuseropeiating system?a. U\IX b. CPM
c. CMPA d SVMS e. None. _
is the number of bits that can convey 512 possible
combinations'ofinformation7a. 10 b. 8 o. 9 d. 7 e. 6-
is not found on the VisualBasic. NET IDE? a. Form
Designerb SolutionExplore c. Code Window d. Windows \
Explorer e. Toolbox
isnotanexample
ofahardware3..PS/2
port? b.LPTl
c. USB d. VGA 3. AGP
a 474 b. 234_c.
(110011100),§(X),=?WhatisX? 334
d. 574 e. 634
WhatISthe 2 s compiementofU1001100),? 21.11001100
b..00110011c 00110100 d. 100111011 e. none oftheabove
An advantage puter over others 18
of supercom ...?
f16wc11art
The 3ymboi 1<
1ab¢1¢d
iepiééenté b Daemon
a.Process
'
-79-
11111111111111
.111111111 I 111111-
111 11:11.11
1:Terminald.np11t/Output e. Pageconnector
Thetwémaintypesof computer
memoryare~ . 7
a.RAM andROM memory b FloppydiskandHarddisk
c. Major and Minor memow d.F1ash diskand harddisk
e Primaryand Secdndary memory
is the characteristics
of information1nROM? a.V01a111e
b.Permanent c. D111ab1ed. Non-Static e. Versatile
. .Boolean - ? a.Bema1dB001: 1
, 13. Algeb1awas inventedby
b.Charles
Boolec.Kevin", Boolee Thomas
Booled.George
O
Boole. , '. -
14. Robotics
18 of computei
technologies afirst
Eenerat1on?
1).second c. third (1 foun11.e 111111 _
15. What hasitsoutput
gate asalogic to
0ifandonlyiftheinputs
thegatesmeall in thesame AND_c: OR
a:Ex-NOR 13:
state?
d. Ex-_OR e. NAND
16. IfA - 101 and B- 100 me inputsto a logic gate and C-" 101, is
theoutput.Whattype of gateisrepresented?
a. Ex-NOR b. AND ,
1:.OR (1.Ex-OR e. NAND "
'
17. doesnotapplyto a digitalcomputer?
Oneof thefollowing
._ 11Speedb. Accuracyc. Reliabiiityd.
VersatilitygPerformance-
18: ' is theoldestknownmechanical
aid for computation?
b Difference
Analyticalengiue engine1: Abacus 5!.Napier
'
Bones e. Weavingloom. :
19. A storage usedwiththecon1p11ter,u1ade
device of thinplastic;
& ,;
magneticallycoated'1sca11ed?
a.1-1arddisk 1).Diskette
c. Magneticdrum d. Disk drive e. CD- ROM .
NET1sa programming
VisualBasic. languagedeve1opedby_ 7:
a. Sun Microsystems b.App1111c c ' '
' Oracleinternationai
d. Microsoft e. IBM
If A and B are inputsto an ExclusiveOR gate, the output is_-__ ?
.30.
H 1 M. -m: M V m1!- 1 n.
24. One ofthe following1i; _nota non-volatilememory.a Hard d1sk
b. CD- ROM c. Flashmemory d, Random Access Memory
' 9. None of the above
'
c. ASCI d ACSII e Umcoda
32. of an algorithmis
The pictorialrepresentation .? a. Pictorial
chart d.Algorithmchart
chart b.Flowchart c.Diagra1n
. c. All of the above.
33. r 1s SDCb.34Ac.ISBAd.BISD
X721
(A5),,x(9),.(X).,
e. 5CD
34. __computer measuresdiscretevalues? a. Micro b Analog
1:.Hybrid d. Digital e. Discrete
Usethediagram
toanswer 35,36and37
questions
m
, ii iii 11! M.- "!£11111'11111'-111"111111
35. What logicgate 15representedby 2? a. EX-OR b. NANDL OR
4}? d. EX- NOR e AND
36. What logicacats is representedby m?_a. EX- OR b. NAND
1: OR d. EXNOR e. AND
37. The diagramis manufacturedas ? a. transistors b. diodes
c. integiagedcircuits d. a and b only e. a, b and 0 only
38. All these are common form cdntrols in VisualBasic. NET except
?a. Label b. TextBox c. Button d. all of the above
e. none ofthe above
39. actsas both input and storage device a Printer b. Scanner
Web Cam d. Keyboarde.Floppy
'c.
40. Small high speed memory unitsused for storing of intermediate '
results are ?a. flip flops b.controlun1t c.
d. main memory 6. none of the above -- register
'.
41. Which of these 15not an application'progiam? a.Macromedia , .
flash b. MySQL 1:. MS- Word d. MS-Linux e. Pagemaker 1'
-82;'
'11111 m . .111I11 - 1111I111111'I'111111111i
.mmu
'
e.yearotbirth ..
w; 1:111,
ate'15theequivalent
of acombination
of an11mm
AND b.ANDcNAND
1311.011
gatéstra. a Buffer
e1%?
50: . . One
ofthefollowing
13nottrueabout
algorithm
set b. It
11.1tmusthaD e
f mte musthaveaninitial actiori 00 musthavea
uniquesuccessor
to eachaction d It mustbeéfflcientand
effective e. It must always have a solution to a problem.
. 11-in
to20I6UnizikCSC101 CEP- BvMr071m.
Answers
VB .NET1sanevent-diivenprogramming.1
l-C . Event-driven.
. language,
meaningwith VB.NET,you canwrite programs
(of 1
instructions) that are triggered when an event occurs or a user
~,performsany actions.Examplesof event-driven activities are
clicks(mohse
Mouse focus), keyboard_
Windowresizing,
presses,branch operations, message110111other programs etc '
2.A . , . . .
' EBCDIC and ASCII 3.A UNIX
4.C
' Working:Fromtherelation,2"=512=2,=>h11'= 9
therefore, the number of bits 139 => C
- -
5.D , Windows Explorers 6. (--)
'
' . Working: Given (110011100)z> (X), , Here, we group the digits
7.13.
intoblocksof 3 andthenconverteachto base101.e .
110= 1x2 + 1.x2+0x2°=6- 011 =0x21+ 1112' + 1x2°=3
-
100,= 1121+0112'+0x2°= 4; .; (110011100); 634 => 5.
-
Observe(11001100),
.8.C- Wbrking:
Step1:.lscompleme11t=00110011
001l O011
2:
.Step 1tothe
least51on1f'cantd1g1t1e
.
Add +___._.\_._.L
001101110.
-
.
nabili 10.BDecision 1
?IDE 3nd
ary
Ema 12
Memory
Secondary BPehnanent
l3.D Boole (-)
l4.EFifth
15.
16.B ANDgate George
'
' 17.EWarformance. .,-
18.C pacus .
V
5 0M.-
- 1 H"tut
Diskette "i:
*11WWH1il-
1H1
19.i3
Microsoii . 9 15
20p
A93 ' ;.
21.13
Noneof theabove
221-: 23.D 1991 _ . . .
24.5 None of the a of
non-volanle '
include
meinory
merizve-
read-only OM) FlaSh
ERxamples memmY:Ferroelectric
RAM
if - (F-
-RAM) mest (e
tryy magneticcqmputer devices
storage (e.g '
harddisks, and
Skof
floppy?! magnetic dscs
tape),0ptica151
early s'cor;S
computer
E 1s
es suchas
paper 'and
tape punched
'1 Optic
Jcards. Cirxitthods, '1
Babbage '
251B Charles , a
.26.A.ControlUnit'.. ' '
. . 4
27.C Output -
28.A Transistors I l 1'! i i I i
Purpose_ .
29.B General 5I ,'5 ' t
30D RAD(Rapid
Application
Development
LB BBCDIC.
3- Coded
(Extended
Binary Code)Is
DecimalInterchange
an eightbit character encoding used mainly on IBM mainframe
andIBM midrange computer operating It canrepresent ,
systems.
1/. 256 characters.Other differenttypesof codingschemesareBCD, ' ,
. ASCII,UnicodeOptionB 15Correct. _. .I 51 .. '
32.8 Flowchart _ _ . NT
"
33.E Working:Given A 5,, = -~ 10 .56
'1
X 916 X 915
13)
(5
=>E
(51213)1a=(5CD)16
thus, ' 1
, 34D Digital ,
35.13 SAND _. .1
'36.A EX-OR 1
Circuits
37.C Integrated
38.5 None ofthe above -~
- . . .'
39.5 Floppy : , '
40.A FlipHops . 1'" . "
3- - -
411x
) ~_
42E BandCabove_ 3'
\
[HM .111
.1111-111' 11111111
1.11 q, .
.. Development
I 431* Integrated
is
Env1rongnent
(IDE)
44.8 Number negative
45.13 DDA
46.A VisualBasicExpression
' '.
47.13 FORNEXT ' -;
48D yearof-
-birth: ; '' -
NAND
49.C .-
. 50.E It mustalwayshavea solution
toa problem.
Name: -'
)u-
. Registration1 Number Department
NNAMDI AZIKIWE UNIVERSITY, AWKA
.5135?
,
'
DEPARTMENT
EXAMINATION
COMPUTER
OF COMPUTER
2015/2016
SCIENCE
SCIENCE:
SESSION:
AND
FIRST
CSC
PROGRAMMING
SEMESTER
101LVTRODUCTION
TO THURSDAY
\L
..1.»« . Tuesday Apr1126 2016
INSTRUCTIONS: (2). Answer 2111Questions, Shade the correct
answers on the OMR sheet: (b). TIME ALLOWED: 50 MI1\S.
. .85-
41
1" 1111111
111!
1' 11i "11 .1111111' 1"1111
.1
b. 00110011 1:."110100 d. 100111011 e. noneoftheabové'
An advantage of supe1compute1overothers1s 7
a.Purchase Cost b. Processing powerc.Mai11tai11ability
d. Portabilityc.All of theabove.
The main function of the computer memory is"" ? a.
memorizing of pastevents b. conversion of program c.
of languagese'. '
of data d.tra11slation
conversion/storage
storage of data and instructions
' -7
The two main typesof computermemoryare
'
a RAM and ROM memory b. Floppy disk a1'1dHa1d disk
c. Major and Minor memory d. Flash disk and handdisk
'
e. Primary and Secondarymemory.
11.
12.
-' i
is the characteristics
Boole e. Thomas
George
-
1n ROM?- a. Volatile
~
Boole.
13. Robotics' 13technologies of computer generatiqn? a. first
b. second c. third d. fourth e. fifth .
What gate has its output as a logic 0 if and only if the inputs to_'
the gatesme all 1nthe same state?a. Ex-NOR b. AND 0. OR
d. Ex-OR e. NAND
15. lfA= 101 and B - 100 are inputs to a logic gate and C= 101, is
the output Whattype of gateis represented?
a.Ex1\'OR b. AND .
c. OR d. Ex-OR e. NAND
16. Oneof thefollowingdoes
notapply16a digitalcomputer?
21.Speed b. Accuracy c. Reliability d. Versatility e. Performance
17. is the oldestknown mechanical aid for computation?
Analytical engine b. Differenceengine' 0. Abacus d. Napier
Bones e. Weaving loom.
18. A storage device used with the computer, made of thin plastic &
magnetically coated is called? a. Hard disk b. Diskette
c. Magnetic drum d. Disk drive e. CD-ROM
19. Visual Basic.NET1s a programming language developed by_ 7
a.Su11 Microsystems b. Appl lnc c.0racle1nternational
d. Microsoft e. [BM
20. VisualBasic .NET enables of GUI applications? a. MAD b.
-86-
11111-111
113711111 11
111111-1:
1.1
DAR c.ADR d.RAD ..e.-f\AD '27:
2|. VisualBasic.
NET1s a(n)__ a code.
Pl'og1amminglanguage?
driven b.10gic-drivenc. event-driven d. form- driven e.a
22. If A andB areinputs
toan Exciusive-_OR
gate,theoutput'
13
~J
bAeB cAiB d.A.Be.A+B
a.A+B
All ofthese a. Integrated
havereiationshipsexcept? circuit
b.The1mionicvalve c. Diode d. Vacuumtubes e. none
VisualBasicwas first released 1n ? a. 1971 b.1981
c.1975 d. 199] c.1985 ,
isnotahon-voiatiie
ofthefollowing
One a Hard
memory. -
disk
b.CD-ROM 0. Flashmemoiy d. Random Acces31Memory
3].
Anothernamefor High Level Language IS__
b.Generalpurpose
0 Highexecutable
a. Human Convertible
d Machine
compliant
is a standa1dencoding scheme? a. ANSII
? a man made
b. EBCDIC
«
I
c. ASSC d. ASCII e. Unicoda
32. Thepictorial of an aigo1ithm13
1ep1esentation ? a. Pictmiai«
chart b.Flowchart c. Diagram chart d. Algorithm chart
9 Ali ofthe above S
.87..
W111 .11 111111
1. .111' 3. 1
WW
3. 5CD - r
\
' discrete
measures values?a.
Micro Analog
34. #compufer
c d Digital Discrete
.~_. . ~ ' b.
Hybrid le . w -
a
.
.
-.1
.What
35;_ logicisrepresented
gate EX-OR
g7a.
by b. cOR'
' _NAND
d. EX-NOR e. AND .
'36. Whatiogic isrepresented
9
gate bym?
a.EX-0R NAND
b.
c. OR d. EX-NOR e. AND _ 1*
. 37. The diagram 15manufacturedas ? a. transistorsb. diodes-
c. integrated circuits d.- a and b only_ e. a, b and c only.
38. . are common form controls1nVisuaBasicNET except
All these
? a.Label b.TextBoxc. d.all oftheabove
, e none of the above - Button,
39. andstorage
as.bothinput
_____acts device
a.Printer
b.Scanner
0. Web Cam d Keyboard e. Floppy - .
_
40. Small high speedmemory unitsusedfor storingof intermediate
results are 7 a. flip flops b control unit c.1egister.
'
d. main memory e. none of the above - i
41'. Which of these 13not an applicationprogram? a. Macromedia
_ ~
42.
f1ash b. MySQL. c.MS-Wo1-d d. MS- Linux esPagemaker '
V The advantage(s)of high leyel languageasgoodprogramming =
language as compared to' machine language is/are
a.It istedious
towrite b.It isnotmachine c.It is - -
dependent
not time consuming d. a, b and 0 above e. b and 0 above s1
43. IDE is an acronym that standsfor 7 a. Integrated
Development Environment b. Integrated Development
Environment c. Incorporated Development Environment
* d. Integrated Degeneration Environment 3. Integrated
' ' DevelopmentEnvironment
44. The presenceof extra digit 1n2 s complementoperationmethod
signifies ?a. Error 1noperatiori b numbcr 13ncgauve
.4
-88-
'
. 11
09110100
-39-
111 1.-.1.1 11m 111.171
'
Portability a
9E Storageof dataandinstruction
10.13 Primary andSecondary
11.3
Memory-
_ Permanent .. v .1
123 George Boole ""17__
' h
113 F 1fth 1
. J 17;
1419 5
-90-
W
' '
V Nu
lbt' l .III. ViI! Mm.
. In.
J :1" . on .
I.11. character
'urftbit eandlng usedImamly IBM? ainframe
campy?
midréihge systems.
«operating It can Presémm
. :"mféMt rs, Other
-
*5 . ' °f
dlffergntWPFS
.' . . -.
3 C°rrect«.
codino= sche mesan; '~-
Unicode.
0pm.".
?agachirsaéi
313~Flowchart
-. - -
'
5u - . ~ , . - 3;...1'1-
_.- - 10~ 5"u wk:
315 kma:GnvenA.-
W07 g .. 1 I ..
IIoIIIX _9" . -X____i.
3*"
~ v:
,1 ._:' . (s: 12 13).._~ -, .4:
..' __. - . .
Ithus,
(51213),§=(5CD),,?>EII
34.D Digital . . .I:
n
.. , .. .. . I :
.
NAND - XI I 'I . II:'I :IIII-In I . _
35.3 - . ,.
36A EX'OR ' ' :. ~
Circuits I . I' _ .;.- .
37.C Integrated - '-
38.15. Noneof theabove I' . I . I
Floppy _ . -_ . I, .
39.15
~ I:~ I
40.A Flipflops.. .~. I. I_ 2.»
_: w" . , I ~.
41.D(-) "1
I- III:
42.5 BandCabbve . - . . .
'
43.A Integrated
DevelopmehtEnvironmentaDB) ,.
44.3
"
5 "'~ '. 5 " ~~ '
Numberisnegative '
. 45.13 DDA ~I : :_'II;. 1 ti;
46.A '-
_
l l
VisualBasicEquession
47.3 FOKNEXT . -2'. ¥. ..ii'?s
48.D . s
Year-oflbirHI ": ; "-- 3 1 '5' "
49.C NAND-. . - 4 ~ g .9...:
50.5 It must
alwayshaveréolutionto a problem.
l
, :--.
.
"o.-
,.
\f
ll quu ll Hunt! 1
l". "- u... m _. '1
-..
)NAMDIAZI WEUVIVERSITY'AWKA
OFCOMPUTER
DEPARTMENT SCIENCE; SEMESTER
FIRST
2016/2017
£XAMINATION CSC101-INTRODU
SESSION: CTION
10 COMPUTER SCIEN CE AND PROGRAMMING: ExamDate:
. ;. .
Friday7th April 2017.
allQ11estions,Shzide
(a).Answer
INSTRUCTIONS: thecorrect
onthe OMR sheet:(b).TIME ALLOWED:
ansi'vers 50Mins.
1_ Two
conmon computer a.EBDIC
are?
systems
coding &ACSII
.
ASCIIand
b. BASICc EBICIDC and
ASCIId-.
BASIC
M
. EBCDIC e. EBCDIC and ASCII ~
'
.
and.
' The difference
2_ . enginewas foundedby? a: Charles
Babbage
#
b.AlanTuring c.BlaisePascald.AbrahamLincol11
4
-
_ e. Early men
3. -TheTransistor forthe generation
wasused computers?
b.Second
Generation
. a.First c.Third
GenerationGeneratio
_ _.(1 FourthGeneration'e. All of theabove " (_
4. ' ofthese
Which ofthecpmputer7
isnotafunction a.Input
function b.1nfonn'ationfunction e. DataOutputfunct1on
e. function
' ' d. Storagefunction- Processing
' ("'- _ a.Accuracy
ofa computer?
S. "r J Whichis nota characteristics
b. Versatility 0. Sound d. Reliabilitye. Memory
6 is anAuxiliarystorage?a Harddiskb. Floppydisk
'
.c. Server d. Card reader e. harddrive ._
7, ' . is notaninputdevice?a Digitizer b Touchscreen
1:.Touch Pod d. Webcam '.e Joystick
8 Which ofthe 13
not
following' apan ofthe CPU? :1. .
the above '
Rjgisters
b. Main Memoiy c. ALU d Control Unit e Noneo
9 . are circuitry paths for transmitting data and signals
among the parts of the computer? a. Signal path b. Roads
c. ways d. Cars e. Buses
lkilo bytes 1sequivalentto?a. half Mega Byte b. half GigaByte
c. 1000 Bytes d. 512 Bytes e. 128 Bytes: « -
, drive?a.WO_RMb CDR 6-Flash
isnotanoptical
12 d.DVDe.Bl11eRay
'
IDrive
. . r1s recognition 5 stem is a type 0f?a,'Di:i1:IBiomeiric
mput
b.Biometricc.D1°1tal
outgut d-Blometnc
outpllt a:
.
J
.92-
'1." 11m .1} 1.1'1! mm mhhlr 1 1m
x
e. Biomeffi'Epi'ocessing
OMR means a. Ordinary Mark Reader b.0pera1ed Machine ~.
'
*iii
Reader c. OpticalMark Recognitiond.0ptica1MarkRegister
e. None of the above
The largest possible symbol in the binary number is? a. 0 b. l
,c.2 (1.10 e. 8
- 235... What is the value of Y? a. 1076, b. 1056,
Y,
c. 2076, d. 1065, e. 2075;
h'f'k?
The producg oftwo binary bitsA -1110 and B - 1011 is - 7
a. 10011010 1). 101101 c. 10110011010 d.1110 e. 10010011
Conven 5.8125,.10 a number in Hexadecimal a. 5.13 b. 5.22
c. 5.1A d. 5.0 e. 5.0
The 25 complement of the binary number 110011 is? :1.001100
13.111001 c. 0101010 d. 0010101- e. 001101
.93.
1111113111 .11
11-111 111 W
. 111111-11
a. Program b Pééudo Cod5"c.Programming d.A1gorithm
'
e. Sequence ,-
Use the diagram below to answer questions 27 to 29. . 44.1- urn
,A...
11-"
1
'
N
e w
Y1010 . .
x= 0101
on? a.1010b.
What1stheva1ue
0101
c..0000d.1111
.- I
3
~
_
..
1
e 0011
Wis=f2 a. 0000 b. 1111 c. 1010 d.0101 e. 1001
The whole gateis the sameas an? £1.111verter
gate b. NAND
'
gate c. XOR gate (1.XNOR gate e. 0R Gate
VB .NET 2015 15an integral pait of? a.Visua1 Studio 2015
m
b VisualStudio15 c.V1sua1Bas1cStud102015
d.1ntegrated
Studio 2015 e. NET Studio 2015'
Which one of the following 15not a feature of 00??
b.1nheritance
Polymorphism
e. Polyprogramming
calledaa.Document
-.d
e.Abstraction
Encapsuiatio
A collection off11es which make up a VB NET program is
c. Projectd.Product
a.
,
M
.
_
.039
A0.)
Which
d. Transformer
15notaVB.NET:va1id
oneofthefollowing' keywdfd?
e. Editor
:J.Y:q
a. DIM. b. ELSE' c. BRANCH d. THEN 6. IF
A 1 is usedto éhangethe size of VB object during design?
a. Handles b. Changers c. Sizers d. Selector 13.None of the
. above.
A3" The presenceof extra digit m 23 complementoperation method
signifies 7 a. error in operation b. number 13negative
c. numberis
positive (1,all of
the_above e. none of the above
"
"'1
3:
4:.5 Thesizeof a file is measured
- d.
in? a. Hertz b. Bits' 1c.Meters
Bytes e. Noneof the above -
.
,-;
151.5:
Inn.
5.1:»
1"
4:1 All theseare VisualB'asicNET datatype except
a. Integer b. Byte c. Date d. Double e. Time
. ?
,z-
.1
,
.1:5"
-,?._'
$1; 9'
.
enclosed
- c. Combo Box
is a VB.NET buiIt-ni function that will display the text .
a. MessageBox b. Window
within the brahqkets?
d.,Text Box ,e. Address Box
MS Window 10 is an example of an? 21.Operating system
.- b. SoftwareApplication
Packagec.01aphicsPackage
. d. Desktop application 6. databaseManager
.1:>1 ' is not associated with computer programming?
,.
a.Algorithmb.Codingc.Pseudo
coded. e.N011e
of the above - Flowchart
g. 43. is not a relationaloperator?a. >= ' 1).<=. c. <>~
1 ,
d.><
a
e < I I .
l 49.. High levellanguagecodesare convenedto beforethey
can be executed by a machine? a.-Source code b. User Code
c.0bjeetCode d. ComputerCode e.ExecutiveCode
1 50. is not aVB NET Programming structure? a. Selection
b. Choosing c. Iteration d. Sequence e. Looping
a»
v.
.-95-
1111-
.1 1111: 1
1111111111.
CSC
ik2017 101 #38MrOhms:
Answers
111'
EBCDICandASCII . 3 .
1.E
2.A An English
Babbage...
Charlcs Charies
mathematician
Babb
1812
in .the machine
Difference This
developed has
the Engine;
1
" of polynomial 3.B Second
capability evaluation Generation
Informationfunction SG -:So'und ~ .' .'
_
4.13 -'.1
Server.Auxiliaryme_mo1y,
alsoknownasauxiliary or
storage
''W
storageorsecondary
secondary orexternal
memory memoryis
non-volatilememoiy(doesnotlosestoreddatawhendev1cejs
- powered down) that is notdirectlyaccessible
byltheCPU;
because it is not a'cce'ssed channels..
via the iripuVoutput
.1N
'Examplesareharddiskdrives;
optical medialikeCds,
storage
' DVDs andBlu-ray',f12ishdrivesandanytypeof memo1y card.
7.21- Digitizer.Examplesof inputdevice_s
are:(I). keyboard
-
(11). , Image scanner (iii).microphone(iv). Pointingdevicese g
Graphicstablets Joystick,
Lightpen,mouse,
optical,
pointing
I stick Touchpad,Touch 2T1ackba11
screen, _
softcam(vi) Refreshable
Webcam, braille -
(v). dispigiy. x.-
28E None ofthe above 9. A Signalpath .
10C 1000bytes - 1000bytes)
(1KB=1024bytes V- .
1
11.A WORM. An opticaldrive 15a type of computer disk drivethat
reads andwrites data from opticaldisksthrough laser beaming
technology Thistype of driveallowsa user-to retrieve,editand J
delete the cohtént from opticaldiskssuch as Cds, DVDs, , 5
Blu- -ray disk, CDR 12 E Biometricprocessing
13.C (or OpticalMark Reader)14B 1(one) 3
OpticalMark Recognition
15A Working: 2313,6> Y, ;Step1: Convert 2313,,to base 10' 1
Step 2: 8 574
»s 71R6 . . .t'
;
8
3 1R0
8R7
1 ' .
8 T
OR] =>A.
.E'Ahswer=1076,
-96-
71
'
N» 1111111-1"
11;
M111111
16MVork1ng:GWenA-
1 1
B=
1110,
-0
1011l,111113,A
k
a x 1 0 1 1.
._._.--
I
. 1 1 1 0
.1111 1 1 ,1 0
E; oo o 0
fig», 1 11 1 o
p}; I 0 0 1 1 ~0 1 0 =>A
#17.A-Wofking:61ven5.281 ( )!,
_5,.,-)
S17 The
whole
number
part by16and
divided
(5)13 rema1nder
the
$11," beéomes
theanswer
whilethedecimal
pan(0 8125)Is
{41 multip1iedby 16 andthecarryoverto theintegershouldbe
- writtenastheanswer.
35"
' Lets go!
1;?
5? 165 ., '-
:3. 0R5 . and
.1; .
'
16xo.s125=13.ol.
16 x 0.0 = 0.0
4. '
Answer= 5 Answer= 130 = 13
1; therefore, the final answer; 5.13 =>A: - ' 5
18.13 Working: Observe l 1001 l
:Step 1: 15 complemént = 001100
.
2: Add1tothe:
Stgp léast 1,6 '0 0 1L1-0.0
significaqtdigit:
1' 1..
'a-. ._+
001100 =>E
19.A , Working:
Given011011010010, wegroupthe
;
o1o,=0x2'+1x2'+0x2°=2;010,=ox2+'1x2+0x2°l=2 »
=
.
=>
41011011010010), (3322), A
(.
g.
20.D'
1 0 0 1, _
+ 1 1 0 1, _ . . .
"
1 0 1'1 0 x ;.We discardthe extral ',ll1us,we have
' "
1 ~97- .
I- n
..
I IIMMI'II r'u'ulul-I
0110. r "w",
10101.15 1 0 0 1
itsZscomplenientis
therefore,
.1. - - f 1
". '-
. --.';:'_'_:.1010291)
:AIV
.
"
l,
21.13 BDisplay
22.
1nve1ter 23.AOutput]
fo1eve1y1n
srule 26.D
24.(-) 25.B De1
Morgan . '1 z A1go1ithm
211C GivenX=
Workihg: Y= 1010Wenot1cedf10m
0101, the' ,
' OR atet/u/s,--- .
d1agramthatW1sEx-c1usive -
W=XGY= We
Hence, ' 7,7
,',;'d"-:':.;f
X.Y+Y.X; have
, --X Y ->< 17 XY 17.x XY+Y.X
vo-1 110.1' .0-1 1 .
_ f. 1 o ,0, 1 o 1 1 .
o 1 1 o 1 o « ..1 .
1 o o 1 -'o~ 1 -1
1 therefore,
W- W= =>
0000 C
' 28.B 1111 .. 1111-;ButZ=111v£rter=Ja I
. 29D
_
XNOR gate. ('1.e combinationof ExclusiveOR gate a_ndInverter
2015 31E Polyprogm'mming
30.A VisualStudiQ 32.C 'iject
- 33.D OutputBox 1~ . k.-
-*|;+
anobject_ u j]:
15atypeofliseiz
andmethod
34.D_Properties Generally,
interface elementyou createon a VisualBasicform by usingia
todlbox controlAn object1nVB hasth1ee
are? 'I- « 1111ponantelemen:t
They . hgw
Thisdescribes
attributes):
(1).. Properties(o theobject rw '6:.
(ii). (b aviou1):Thiscauses
Methods anobjectto do something
(iii) .This'is whathappened
Events: whenanobjectdoessomethin
explorer36B F5key
35.C Solution - v _g
37.C Text Box.
contrdlDis
Text
Box tohandli;>
designed b
2:636
thye? the
text When ou have to both dis 1a
38
C Object Oriented Programming (OOP) IS a pro
gramming language
Ions
ofOOPian anddata
model organized around object rather than act
' 7 than
u rather logic.Some
examples
PHB'VBNET.c#,c++,RUBY39.13 a1";
JAVA
Interpgrléiffs
'~ '98- 14.
40.A \ DIM4!. D_Selector.
1%;
__.____._.______I_v_~
isnegative
42._Bil\'11111be1' '
of
f 1esize themeasure
C A is 11 on a
space 1111115112,;storage
M 43.
: such
, medium asco1i1puter File sizescanbemeasure
hardd1'1vc.
,in
byteé
(B); (KB); (MB), (GB
megabytes.
kilobytes
beyond.
~ .. a11d C Correct:
Optio11 1s gigabytes
,§%'11e1nrabytes(TB)
4'4E ,.. .51;:'...'.r
a
-
,145
" .AMemssage
Box. 1sbu1lt-111
Msonx
Thegfunction,
the
of_
function
1:: I ' Visualit willdisplay text enclosed
ii the BasicZOlSBand'
11AisCo1rectwl ;~,;;; -' "within:
b1'ackets.0pti
'3?46A'-Ope1ati11g 101sapé1so11ai '
systemxWiqdqws computer9pe1'ati
'
7," .: andrpleasedby,V1101
'deveipped
';.-s'ys_tem osoftaspart of the .
\T familyofopemting
'~.~,"Windows
3,9: system.~' ' .13 -.'JAN"?-
5'
$47.13,- .
ab.ov.e- '1. 1'." ' ' ="""" '
Nopeofthe 1.7;
_71
48.D >_< :l'Arelation'al
o'erator1s that two
~ , _... Mperator co1npar§s
84%: and _>=.
are=; <>',.41; .49
hValues.13xa111ple'é
50:8
«99A ' _Sou1cecode ifiii. 1"
ii'r Li: 3' TJ Ohoos111
1-. ' ' " ' ~41
.99 " -
4; Yi _ 113... .1; --,~ .. -_ .
' ' . I .
J, 1 -,~ . .- , 1 _. ' -._-. . ~,
" -
2! ._" Z" 1 1
.1, v; 1
i n 11' '
m
L (a -
3. . '
5 $3.:
9-}. " », . .. _
1 JV P .J V
(r 1 J r1.
J I 1 " \
N " V
r .. a _:n? ~
1 -;
. .' 33V?
-.c 1 1 . '
, . r
'1 1
J '3 1 h . -~
.
,
. X
. Z" '1? .47
k
V 1
,
p 2' '11?
. ,' < <
5' \
1'
.
j
-
F
I .
.
"I'EWHOFELOWSHIPSWITHTl-EHOLY
SPIRIT ISAREFLECTORarm
SUCCESSFOR'I'I-EHOLYSPIRITISTE
AWHOROFSUCCESS'
-ELDORADOTECH