• wonderlic tests
  • EXAM REVIEW
  • NCCCO Examination
  • Summary
  • Class notes
  • QUESTIONS & ANSWERS
  • NCLEX EXAM
  • Exam (elaborations)
  • Study guide
  • Latest nclex materials
  • HESI EXAMS
  • EXAMS AND CERTIFICATIONS
  • HESI ENTRANCE EXAM
  • ATI EXAM
  • NR AND NUR Exams
  • Gizmos
  • PORTAGE LEARNING
  • Ihuman Case Study
  • LETRS
  • NURS EXAM
  • NSG Exam
  • Testbanks
  • Vsim
  • Latest WGU
  • AQA PAPERS AND MARK SCHEME
  • DMV
  • WGU EXAM
  • exam bundles
  • Study Material
  • Study Notes
  • Test Prep

WGU C949 Objective Assessment (Latest 2026/2027) Data Structures and Algorithms I |Version 1| Questions and Verified Answers| 100% Correct| Grade A

WGU EXAM Mar 1, 2024
Preview Mode - Purchase to view full document
Loading...

Loading study material viewer...

Page 0 of 0

Document Text

WGU C949 Objective Assessment (Latest 2026/2027) Data Structures and Algorithms I |Version 1| Questions and Verified Answers| 100% Correct| Grade A

WGU C949 Objective Assessment (Latest

2026/2027) Data Structures and Algorithms I

|Version 1| Questions and Verified Answers|

100% Correct| Grade A

Q: Which data type is appropriate for this array to store the given data?

a = ["AF", "71", "BC", "157", "BA", "253"]

Answer:

String

Q: Which data type is appropriate for the given data set?

a = [1, 717, 23, 12, 314, 6]

Answer:

Int

Q: Which data type should be used for this object?

days = { "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"}

Answer:

String

Q: Which data type should be used for this variable?

phoneNum = "212-555-1212"

Answer:

String


Q: What is true about garbage collection?

Answer:

It reclaims memory from data structures implemented using linked allocations.

Q: What is true about a data structure implemented using linked allocation?

Answer:

Storage is allocated using pointers to new locations as needed.

Q: What are the array elements corresponding to the mid-values in the first and second

iterations of a binary search in an array arr = {45, 77, 89, 90, 94, 99, 100} and key = 100?

Answer:

90 and 99

Q: What is the effect on the object Computing regarding garbage collection?

Computing obj = new Computing(); obj = null;

Answer:

It is automatically available for garbage collection.

Q: What are the mid-values in the first and second levels of recursion in this binary search?

int arr = {46, 76, 89, 90, 94, 99, 100} and key = 99

Answer:

90 and 99


Q: Which data set is represented using the dictionary data type?

Answer:

A set of students and their test scores

Q: What is a characteristic of keys in an associative dictionary data type?

Answer:

They are unique and immutable.

Q: Which method can be used to take a value out of a dictionary?

Answer:

D1[key].remove(value)

Q: Given this data dictionary in Python:

dict = {'white':0x0000, 'black':0x1111}

Which command/function generates the output ['white','black']?

Answer:

dict.keys()

Q: Items were added sequentially in this stack starting with 'ham':

'sausage'

'toast'

'eggs'

'ham'

What is the correct order of contents after the push operation is performed with the value

'bacon'?





Download Study Material

Buy This Study Material

$11.00
Buy Now
  • Immediate download after payment
  • Available in the pdf format
  • 100% satisfaction guarantee

Study Material Information

Category: WGU EXAM
Description:

WGU C949 Objective Assessment (Latest 2026/2027) Data Structures and Algorithms I |Version 1| Questions and Verified Answers| 100% Correct| Grade A

UNLOCK ACCESS $11.00