WGU C949 Objective Assessment (Latest 2023/ 2024) Data Structures and Algorithms I |Version 2| Questions and Verified Answers| 100% Correct| Grade A

WGU C949 Objective Assessment (Latest

2023/ 2024) Data Structures and Algorithms I

|Version 2| Questions and Verified Answers|

100% Correct| Grade A

Q: Which data structure is used to implement a priority queue?

a. Queue b. Stack c. Heap

d. Linked List

Answer:

Heap

Q: Which sorting algorithm has the best worst-case time complexity of O(n log n)?

a. Bubble Sort b. Merge Sort

c. Selection Sort

d. Insertion Sort

Answer:

Merge Sort

Q: In a binary search tree (BST), what is the property of the right child compared to the parent

node?

a. It is greater than the parent node. b. It is less than the parent node.

c. It is equal to the parent node.

d. There is no specific relationship.

Answer:

It is greater than the parent node.

Q: Which data structure is suitable for implementing a stack?

a. Array

b. Linked List c. Hash Table

d. Heap


Answer:

Linked List

Q: Which algorithm is used to find the minimum spanning tree in a weighted graph?

a. Breadth-First Search (BFS)

b. Depth-First Search (DFS)

c. Dijkstra's Algorithm

d. Prim's Algorithm

Answer:

Prim's Algorithm

Q: Which data structure allows efficient insertion, deletion, and retrieval op- erations with a

time complexity of O(1)?

a. Array

b. Linked List c. Hash Table

d. Stack

Answer:

Hash Table

Q: Which sorting algorithm works by repeatedly finding the maximum ele- ment and moving it

to the end?

a. Bubble Sort b. Quick Sort

c. Insertion Sort

d. Merge Sort

Answer:

Bubble Sort

Q: Which data structure is used to represent a hierarchical relationship be- tween elements with

a single parent and multiple children?

a. Stack b. Queue


c. Linked List d. Tree

Answer:

Tree

Q: Which algorithm is used to traverse a binary tree in a post-order manner?

a. Depth-First Search (DFS)

b. Breadth-First Search (BFS)

c. Preorder Traversal

d. Postorder Traversal

Answer:

Postorder Traversal

Q: What is the purpose of analyzing algorithms?

a. To understand their implementation details b. To determine their runtime complexity

c. To optimize their memory usage

d. To improve their user interface

Answer:

To determine their runtime complexity

Q: Which of the following is NOT a characteristic of an algorithm?

a. Finiteness

b. Determinism c. Adaptability

d. Input and Output

Answer:

Adaptability

Q: What is the worst-case time complexity of a linear search algorithm?

a. O(1)

b. O(log n)

c. O(n)

d. O(n^2)

No comments found.
Login to post a comment

jordancarter 7 months ago

This study guide is clear, well-organized, and covers all the essential topics. The explanations are concise, making complex concepts easier to understand. It could benefit from more practice questions, but overall, it's a great resource for efficient studying. Highly recommend!
Login to review this item
Q. What will I receive when I purchase this document?
A. You will receive a PDF that is available for instant download upon purchase. The document will be accessible to you at any time, from anywhere, and will remain available indefinitely through your profile.
Q. Satisfaction guarantee: how does it work?
A. Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Q. Who am I buying these notes from?
A. you are buying this document from us learnexams
Q. Will I be stuck with a subscription?
A. No, you only buy these notes for $ indicated . You are not obligated to anything after your purchase.
Q. Can learnexams be trusted?
A. check our reviews at trustpilot
Price $11.00
Add To Cart

Buy Now
Category Exams and Certifications
Comments 0
Rating
Sales 0

Buy Our Plan

We have

The latest updated Study Material Bundle with 100% Satisfaction guarantee

Visit Now
{{ userMessage }}
Processing