100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

WGU C949 Data Structures and Algorithms I Exam Guide (New 2023/ 2024 Update) Questions and Verified Answers| 100% Correct

Rating
-
Sold
-
Pages
28
Grade
A+
Uploaded on
29-11-2023
Written in
2023/2024

WGU C949 Data Structures and Algorithms I Exam Guide (New 2023/ 2024 Update) Questions and Verified Answers| 100% Correct Q:UESTION A is a "doubled-ended queue" Answer: deque Q:UESTION List Answer: ADT that has elements of the same type so that the elements can be retrieved based on index or position Q:UESTION (high + low)/2 Answer: mid-values calculation for binary search. toCeil() Q:UESTION What is the effect on the object regarding garbage collection? Computing obj = new Computing(); obj = null Answer: It is automatically available for garbage collection Q:UESTION mutable Answer: open to or capable of change, fickle Q:UESTION immutable Answer: (adj.) not subject to change, constant Q:UESTION unique and immutable Answer: Characteristics of keys in associative dictionary data type Q:UESTION DictName[key].remove(value) Answer: method used to take a value out of a dictionary Q:UESTION J.FileInputStream Answer: Java method used to read bytes from standard file Q:UESTION Add(int index, Object x) Answer: Command that inserts object x at position index in a list. Q:UESTION Quick sort Answer: Values are "pivoted" in to the correct order. Sort function: >Avg: O(N log(N)) >Worst: O(N²) Q:UESTION Bubble sort Answer: Values are swapped to make the largest value float to the top. Sort function: >Avg: O(N²) >Worst: O(N²) Q:UESTION Bucket sort Answer: Values are distributed into sets. Sort function: >Best: O(N+K) >Avg: O(N+K) >Worst: O(N²) >Space: O(NK) Q:UESTION what type of sort is this? for i from 0 to N -1 if a[i] > a[i+1] swap(a[i], a[i +1] end for Answer: bubble sort Q:UESTION Which algorithm does this describe? def shortSort(alist): exchanges = True passnum = len(alist)-1

Show more Read less










Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
November 29, 2023
Number of pages
28
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • wgu c949 data structures

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.
ace_it Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
3699
Member since
5 year
Number of followers
1916
Documents
4710
Last sold
16 hours ago

4.0

585 reviews

5
290
4
116
3
94
2
30
1
55

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

Frequently asked questions