Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

WGU C949 DATA STRUCTURES AND ALGORITHMS I OBJECTIVE ASSESSMENT EXAM QUESTIONS AND CORRECT ANSWERS WITH RATIONALES

Rating
-
Sold
-
Pages
225
Grade
A+
Uploaded on
11-04-2026
Written in
2025/2026

WGU C949 DATA STRUCTURES AND ALGORITHMS I OBJECTIVE ASSESSMENT EXAM QUESTIONS AND CORRECT ANSWERS WITH RATIONALES

Institution
WGU C949 DATA STRUCTURES AND ALGORITHMS
Course
WGU C949 DATA STRUCTURES AND ALGORITHMS

Content preview

WGU C949 DATA STRUCTURES AND ALGORITHMS I OBJECTIVE
ASSESSMENT EXAM QUESTIONS AND CORRECT ANSWERS
WITH RATIONALES
Question 1

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

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

A.) Byte
B.) Char
C.) Short
D.) String

Correct Answer

D



Question 2

An array soc of size 1009 is used where the index is an integer in [0,1008] and the hash-function
key%1009.

Where will the data associated with the key given by the last 4 social security digits '2023' be
stored?

A.) In soc[4]
B.) In soc[5]
C.) In soc[1009]
D.) In soc[2023]

Correct Answer

B



Question 3

,Which data structure allows inserting and deleting data elements at both the front and the
rear?

A.) Trees
B.) Deques
C.) Stacks
D.) Queues

Correct Answer

B



Question 4

Which data structure allows insertion and removal from only one end of the data structure?

A.) List
B.) Queue
C.) Stack
D.) Deque

Correct Answer

C



Question 5

Which command will insert object x at position index in a list?

A.) Get(int index)
B.) Remove(int index)
C.) Add(int index, Object x)
D.) Set(int index, Object x)

Correct Answer

C



Question 6

,Items were added sequentially onto the stack starting with 'red':

'green'
'yellow'
'blue'
'red'

What is the stack after a pop operation?

A.) 'yellow'
'blue'
'red'
B.) 'green'
'yellow'
'blue'
C.) 'purple'
'green'
'yellow'
'blue'
'red'
D.) 'green'
'yellow'
'blue'
'red'
'purple'

Correct Answer

A



Question 7

Which value is appropriate for the variable middle given the pseudocode?

function mystery()
{
string last;
string first;

, char middle;
int phone;
float rate;
}

A.) 'D'
B.) 'Da'
C.) "david"
D.) "David"

Correct Answer

A



Question 8

What is true about garbage collection?

A.) It is often portrayed as the same as manual memory management.
B.) It is no longer a primary concern since memory is very inexpensive.
C.) It is scheduled to take place at regular time intervals to reclaim memory.
D.) It reclaims memory from data structures implemented using linked allocations.

Correct Answer

D



Question 9

Which type of operation is represented in the pseudocode?

int x,y,z;
x=y=z=100;

A.) Ternary
B.) Assignment
C.) Comparison
D. Equality

Correct Answer

Written for

Institution
WGU C949 DATA STRUCTURES AND ALGORITHMS
Course
WGU C949 DATA STRUCTURES AND ALGORITHMS

Document information

Uploaded on
April 11, 2026
Number of pages
225
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$18.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TutorExpert West Virginia University
Follow You need to be logged in order to follow users or courses
Sold
540
Member since
3 year
Number of followers
313
Documents
9471
Last sold
8 hours ago
TOP GRADES

Expertise in Nursing, Biochemistry, Mathematics, Psychology, Biology, History etc. My Work contains the latest, updated Exam Solutions, Study Guides.100% verified & Guarantee Top Grades Attained.

3.7

75 reviews

5
34
4
13
3
13
2
3
1
12

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions