100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten
logo-home
WGU C949 Computational Data Structures and Algorithms I Knowledge test Exam Toolkit Questions and Verified Marking Scheme 2024/2025 €11,81
In winkelwagen

Tentamen (uitwerkingen)

WGU C949 Computational Data Structures and Algorithms I Knowledge test Exam Toolkit Questions and Verified Marking Scheme 2024/2025

 0 keer verkocht
  • Vak
  • WGU C949 Data Structure and Algorithm
  • Instelling
  • WGU C949 Data Structure And Algorithm

WGU C949 Computational Data Structures and Algorithms I Knowledge test Exam Toolkit Questions and Verified Marking Scheme 2024/2025 What are LinkedList class' two data members? - correct answer Head and tail In a circular doubly-linked list with at least 2 nodes, where does the head node's pr...

[Meer zien]

Voorbeeld 2 van de 15  pagina's

  • 12 november 2024
  • 15
  • 2024/2025
  • Tentamen (uitwerkingen)
  • Vragen en antwoorden
  • WGU C949 Data Structure and Algorithm
  • WGU C949 Data Structure and Algorithm
avatar-seller
WGU C949 Computational Data Structures
and Algorithms I Knowledge test Exam
Toolkit Questions and Verified Marking
Scheme 2024/2025

What are LinkedList class' two data members? - correct
answer Head and tail


In a circular doubly-linked list with at least 2 nodes, where does
the head node's previous pointer point to? - correct answer
Tail


T or F: In a circular linked list with 1 node, the tail node's next
pointer points to the tail. - correct answer True


T or F: The Stack class has both a LinkedList and Node data
member. - correct answer False. Only has a LinkedList data
member.


The Stack class' push() method uses the LinkedList ____ method
to place elements on a stack. - correct answer prepend()


T or F: The Stack class's push() method takes a Node as a
parameter. - correct answer False.
The push() method takes an int, not a Node, as a parameter. The
method creates a new node, whose data is the integer parameter,
and inserts the node into the linked list.

, Sorting algorithms that can be adapted for linked lists? -
correct answer Insertion sort, merge sort


Sorting algorithms that dont work well for linked lists? -
correct answer Shell sort, quicksort, heap sort


What aspect of linked lists makes adapting array-based sorting
algorithms to linked lists difficult? - correct answer Elements
in a linked list cannot be accessed by index.


Which sorting algorithm uses a gap value to jump between
elements, and is difficult to adapt to linked lists for this reason? -
correct answer Shell sort


Why are sorting algorithms for arrays generally more difficult to
adapt to singly-linked lists than to doubly-linked lists? - correct
answer Singly-linked lists do not support backward traversal.


The current node to be sorted is placed _____ the location
returned by find_insertion_position(). - correct answer after


The insertion_sort_singly_linked() method would also sort a
doubly-linked list. - correct answer False.
doubly-linked does not have the remove_after() method.


Singly-linked list insertion sort variant:
The current node to be sorted is placed _____ the location
returned by find_insertion_position(). - correct answer after

Dit zijn jouw voordelen als je samenvattingen koopt bij Stuvia:

Bewezen kwaliteit door reviews

Bewezen kwaliteit door reviews

Studenten hebben al meer dan 850.000 samenvattingen beoordeeld. Zo weet jij zeker dat je de beste keuze maakt!

In een paar klikken geregeld

In een paar klikken geregeld

Geen gedoe — betaal gewoon eenmalig met iDeal, creditcard of je Stuvia-tegoed en je bent klaar. Geen abonnement nodig.

Direct to-the-point

Direct to-the-point

Studenten maken samenvattingen voor studenten. Dat betekent: actuele inhoud waar jij écht wat aan hebt. Geen overbodige details!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper KieranKent55. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor €11,81. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 69252 samenvattingen verkocht

Opgericht in 2010, al 15 jaar dé plek om samenvattingen te kopen

Begin nu gratis
€11,81
  • (0)
In winkelwagen
Toegevoegd