SCIENCE - D684 (PART1) EXAM
QUESTIONS AND ANSWERS RATED
A+ SURE PASS
Whichntypenofnvariablenrepresentsnanwholennumberninncomputernprogramming?
String
Array
Integer
Floatn-nCORRECTnANSWERSnInteger
2
Whatndescribesnannamednstoragenlocationnthatncannholdnvaluesnthatncannchange?
Variable
Constant
Identifier
Operandn-nCORRECTnANSWERSnVariable
Whatnisnonenstandardnrulenfornanvariablenname?
Thennamenshouldnhavenannappropriatenmeaning.
Thennamenmustnstartnwithnanlowercasenletter.
Thennamenmustnstartnwithnthentypendesignation.
Thennamenmustnusenhyphensnbetweennwords.n-
nCORRECTnANSWERSnThennamenshouldnhavenannappropriatenmeaning.
Whichncodingnconstructnallowsnanchoicenbetweennperformingnannactionnandnskippingnit?
,Assignment
Input/output
Selection
Iterationn-nCORRECTnANSWERSnSelection
Whatnisnthenvaluenofnthenexpressionnan+n(bn/nc)n*ndn-nenifnan=n19,nbn=n6,ncn=n2,ndn=n20,nandnen=n14?
65
132
226
426n-nCORRECTnANSWERSn65
Whatnisnanlist?
Anvarying-
length,norderedncollectionnofnhomogeneousnitemsnthatnallowsnforneasynaccess,ninsertion,nandnrem
oval
Angroupnofnrelatednattributesnstorednasnindividualnfieldsnundernansinglennamenandntreatednasnansing
lenconcept
Anfixed-lengthncollectionnofnhomogeneousnitemsnthatncanneachnbenaccessednbynitsnposition
Angroupninnwhichnindividualnelementsnarenaccessednfromnthensamenendnthatnisncallednthentopn-
nCORRECTnANSWERSnAnvarying-
length,norderedncollectionnofnhomogeneousnitemsnthatnallowsnforneasynaccess,ninsertion,nandnrem
oval
Hownarenitemsnaddedntonandnremovednfromnanstack?
Allnitemsncannbenaddedntonornremovednfromnanynlocation.
Allnitemsncannbenaccessednornchangednbutnnotneasilyninsertednornremoved.
Thenfirstnitemntonbenaddednbecomesnthenfirstnitemnremoved.
, Thenitemnremovednisnthenonenthatnhasnbeenninnthenshortestntime.n-
nCORRECTnANSWERSnThenitemnremovednisnthenonenthatnhasnbeenninnthenshortestntime.
Thencollectionnofncustomersnfornansmallnbusinessnisnstoredninnsuchnanwaynthatnancustomerncannbene
asilynaccessed,ndeleted,nornadded.nWhatnisnthendatanstructurencallednforninnthisnprogrammingnsitua
tion?
Queue
Record
Stack
Listn-nCORRECTnANSWERSnList
Whatndescribesnanreferencenparameter?
Stopsnthencontentnofnthenargumentnfromnchangingnanywhereninnthenprogram
Passesnancopynofnthencontentninnannargumentntonthenfunction
Allowsnthenuserntontypeninnthencontentnofnannargumentnatnruntime
Passesnthenaddress,nrathernthannthencontent,nofnthenargumentntonthenfunctionn-
nCORRECTnANSWERSnPassesnthenaddress,nrathernthannthencontent,nofnthenargumentntonthenfunctio
n
Thencodenshowsnansubprogramnandnancallntonthatnsubprogram.
my_function(num_a)
num_cn=nprocess(num_a)
store(num_c)num_bn=nmy_function(num_d)
Whichnvariablennamenrepresentsnannargument?
num_a