100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
C949 Pre-assessment Questions and Answers $11.49   Add to cart

Exam (elaborations)

C949 Pre-assessment Questions and Answers

 8 views  0 purchase
  • Course
  • WGU C949
  • Institution
  • WGU C949

C949 Pre-assessment Questions and Answers

Preview 2 out of 10  pages

  • October 23, 2024
  • 10
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • WGU C949
  • WGU C949
avatar-seller
TheeGrades
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

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.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller TheeGrades. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $11.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

62890 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$11.49
  • (0)
  Add to cart