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

C949 Pre-assessment Questions and Answers

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
23-10-2024
Written in
2024/2025

C949 Pre-assessment Questions and Answers

Institution
WGU C949
Course
WGU C949









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

Written for

Institution
WGU C949
Course
WGU C949

Document information

Uploaded on
October 23, 2024
Number of pages
10
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

C949 Pre-assessment Questions and Answers

Which attribute of a recursive function makes it unique? CORRECT ANS-Calls itself


What is x in the following block of logic?
x = 28


if x >= 10 and x < 20
x = 20
elif x <= 30
x = 25
elif x >= 50
x = 100
else

x = 500 CORRECT ANS-25



What is an if statement inside of an if statement referred to as? CORRECT ANS-Nested


Which search algorithm functions by continually dividing the data set in half until the sought
item is found or the data set is exhausted? CORRECT ANS-Binary Search



Which search algorithm has the best performance when the data set is sorted? CORRECT
ANS-Interval Search
ex: Binary Search


Which term describes a way of organizing, storing, and performing operations on data?
CORRECT ANS-Data Structure

, C949 Pre-assessment Questions and Answers
Which data structure is used to implement a dictionary data type? CORRECT ANS-Hash
Table



Which element refers to the numeric positions in a list abstract data type (ADT)? CORRECT
ANS-Indexes


Which characteristic of a class allows it to be used as an abstract data type (ADT)?
CORRECT ANS-It consists of variables & methods



What is the result when 6 is enqueued to the queue 7,9,8 (with 7 as the front)? CORRECT
ANS-7, 9, 8, 6


enqueued adds to end


Which value would be returned from executing the dequeue operation on the queue 7,9,8
(with 7 as the front)? CORRECT ANS-7


dequeued removes the front value


Which queue results from executing the following queue operations on the queue 7,9,8 (with
7 as the front)?


Dequeue ()
Enqueue (6)
Enqueue (5)

Dequeue () CORRECT ANS-8, 6, 5


What will be the new state of the queue 7,9,8 (with 7 as the front) after the enqueue (3)
operation? CORRECT ANS-7, 9, 8, 3

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.
TheeGrades NEWCASTLE UNIVERSITY
View profile
Follow You need to be logged in order to follow users or courses
Sold
97
Member since
1 year
Number of followers
5
Documents
12905
Last sold
2 weeks ago
THEEGRADES

Ace Your Exams with Premium Study Guides! Unlock your full potential with our expertly crafted revision materials. Whether you're prepping for exams, quizzes, or looking to solidify your understanding, we've got you covered. Our study guides, summaries, and test banks are designed to simplify complex topics and enhance your knowledge retention. What We Offer: Comprehensive Summaries: Key points made easy for quick revision. Test Banks: Practice with real exam-like questions. Exam Prep Guides: Focused content to boost your scores. Instant Access: Download and start studying immediately! Don’t just study harder—study smarter! Excel in your exams with our trusted materials. You are Welcome. SUCCESS!!!

Read more Read less
3.3

24 reviews

5
9
4
4
3
3
2
1
1
7

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