WGUl C949l Pre-l Assessmentl (Latestl 2026l
Update)l Datal Structuresl andl Algorithmsl
Il Review|l 100%l Verifiedl Questionsl &l
Answersl |l Gradel A
Q:l Whatl doesl al timel complexityl analysisl ofl anl algorithml include?
*l Memoryl usage
*l Efficiencyl analysis
*l Screenl loadl times
*l Worstl case
Answer:
Worstl case
Q:l Whichl datal typel dol heapl sortsl workl with?
*l Tree-basedl datal structure
*l Array
*l String
*l Number
Answer:
Tree-basedl datal structure
Q:l Whichl functionl isl usedl inl conjunctionl withl al mergel sortl algorithm?
*l Forl loop
*l Ifl statement
*l Dol whilel loop
*l Recursive
,Answer:
Recursive
Q:l Whichl attributel ofl al recursivel functionl makesl itl unique?
*l Callsl itself
*l Callsl anotherl function
*l Usesl forl loops
*l Usesl casel statements
Answer:
Callsl itself
Q:l Whatl isl xl inl thel followingl blockl ofl logic?
l x=28l
Ifl xl >=l 10l andl xl <l 20l
l xl =l 20
elifl xl <=l 30l
l xl =l 25
elifl xl >=l 50l
l xl =l 100
elsel
l xl =l 500
Answer:
xl =l 25
Q:l Whatl isl anl ifl statementl insidel ofl anl ifl statementl referredl tol as?
*l Nested
*l Internal
, *l Doublel if
*l Subscript
Answer:
Nested
Q:l Whichl searchl algorithml functionsl byl continuallyl dividingl thel datal setl inl halfl untill
thel soughtl iteml isl foundl orl thel datal setl isl exhausted?
*l Sequentiall search
*l Binaryl search
*l Jumpl search
*l Linearl search
Answer:
Binaryl Search
Q:l Whichl searchl algorithml hasl thel bestl performancel whenl thel datal setl isl sorted?
*l Sequentiall search
*l Listl search
*l Intervall search
*l Linearl search
Answer:
Intervall Search
Q:l Whichl terml describesl al wayl ofl organizing,l storing,l andl performingl operationsl onl
data?
*l Datal structure
*l Vertex
*l Record
Update)l Datal Structuresl andl Algorithmsl
Il Review|l 100%l Verifiedl Questionsl &l
Answersl |l Gradel A
Q:l Whatl doesl al timel complexityl analysisl ofl anl algorithml include?
*l Memoryl usage
*l Efficiencyl analysis
*l Screenl loadl times
*l Worstl case
Answer:
Worstl case
Q:l Whichl datal typel dol heapl sortsl workl with?
*l Tree-basedl datal structure
*l Array
*l String
*l Number
Answer:
Tree-basedl datal structure
Q:l Whichl functionl isl usedl inl conjunctionl withl al mergel sortl algorithm?
*l Forl loop
*l Ifl statement
*l Dol whilel loop
*l Recursive
,Answer:
Recursive
Q:l Whichl attributel ofl al recursivel functionl makesl itl unique?
*l Callsl itself
*l Callsl anotherl function
*l Usesl forl loops
*l Usesl casel statements
Answer:
Callsl itself
Q:l Whatl isl xl inl thel followingl blockl ofl logic?
l x=28l
Ifl xl >=l 10l andl xl <l 20l
l xl =l 20
elifl xl <=l 30l
l xl =l 25
elifl xl >=l 50l
l xl =l 100
elsel
l xl =l 500
Answer:
xl =l 25
Q:l Whatl isl anl ifl statementl insidel ofl anl ifl statementl referredl tol as?
*l Nested
*l Internal
, *l Doublel if
*l Subscript
Answer:
Nested
Q:l Whichl searchl algorithml functionsl byl continuallyl dividingl thel datal setl inl halfl untill
thel soughtl iteml isl foundl orl thel datal setl isl exhausted?
*l Sequentiall search
*l Binaryl search
*l Jumpl search
*l Linearl search
Answer:
Binaryl Search
Q:l Whichl searchl algorithml hasl thel bestl performancel whenl thel datal setl isl sorted?
*l Sequentiall search
*l Listl search
*l Intervall search
*l Linearl search
Answer:
Intervall Search
Q:l Whichl terml describesl al wayl ofl organizing,l storing,l andl performingl operationsl onl
data?
*l Datal structure
*l Vertex
*l Record