100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

C949 - Data Structure and Algorithms Practice Test questions with answers

Beoordeling
-
Verkocht
-
Pagina's
9
Cijfer
A+
Geüpload op
12-10-2025
Geschreven in
2025/2026

C949 - Data Structure and Algorithms Practice Test questions with answers

Voorbeeld van de inhoud

C949 - Data Structure and Algorithms |\ |\ |\ |\ |\ |\




Practice Test questions with answers |\ |\ |\ |\




Which data structure follows the "First-In-First-Out" (FIFO)
|\ |\ |\ |\ |\ |\ |\


principle?
a. Stack
|\


b. Queue
|\


c. Linked List
|\ |\


d. Tree
|\




Queue
Which sorting algorithm has a worst-case time complexity of
|\ |\ |\ |\ |\ |\ |\ |\ |\


O(n^2)?
a. Bubble Sort
|\ |\


b. Merge Sort
|\ |\


c. Quick Sort
|\ |\


d. Insertion Sort
|\ |\




Bubble Sort |\




In a binary search tree (BST), what is the property of the left
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


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.
|\ |\ |\ |\ |\




It is less than the parent node.
|\ |\ |\ |\ |\ |\




Which data structure provides constant-time average-case
|\ |\ |\ |\ |\ |\


insertion, deletion, and retrieval operations? |\ |\ |\ |\


a. Array
|\


b. Linked List
|\ |\


c. Hash Table
|\ |\


d. Stack
|\

, Hash Table |\




Which algorithm is used to find the shortest path between nodes
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


in a graph? a. Breadth-First Search (BFS)
|\ |\ |\ |\ |\ |\


b. Depth-First Search (DFS)
|\ |\ |\


c. Dijkstra's Algorithm
|\ |\


d. Bellman-Ford Algorithm
|\ |\




Dijkstra's Algorithm |\




Which data structure uses the "Last-In-First-Out" (LIFO) principle?
|\ |\ |\ |\ |\ |\ |\


a. Queue
|\


b. Heap
|\


c. Stack
|\


d. Hash Table
|\ |\




Stack
Which sorting algorithm has the best average-case time
|\ |\ |\ |\ |\ |\ |\ |\


complexity?
a. Bubble Sort
|\ |\


b. Selection Sort
|\ |\


c. Insertion Sort
|\ |\


d. Quick Sort
|\ |\




Quick Sort |\




Which data structure is based on a hierarchical relationship
|\ |\ |\ |\ |\ |\ |\ |\ |\


between elements? |\


a. Stack
|\


b. Queue
|\


c. Linked List
|\ |\


d. Tree
|\




Tree
Which algorithm is used to traverse a binary tree in an in-order
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


manner?
a. Depth-First Search (DFS)
|\ |\ |\

Documentinformatie

Geüpload op
12 oktober 2025
Aantal pagina's
9
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
EXAMSTUDYPLUG Stanford University
Bekijk profiel
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
331
Lid sinds
3 jaar
Aantal volgers
107
Documenten
19727
Laatst verkocht
2 dagen geleden
GRADE BUDDY

Welcome to My Page! Are you looking for high-quality study resources to ace your exams or better understand your coursework? You've come to the right place! I'm passionate about sharing my knowledge and helping students succeed academically. Here, you'll find a wide range of well-organized notes, study guides, and helpful materials across various subjects, including Maths ,nursig, Biology, History, etc.. Each resource is carefully crafted with detailed explanations, clear examples, and relevant key points to help simplify complex concepts. Whether you're preparing for a test, reviewing lectures, or need extra support, my resources are designed to make your learning experience smoother and more effective. Let me be a part of your academic journey, and feel free to reach out if you have any questions or need personalized assistance!

Lees meer Lees minder
4.5

234 beoordelingen

5
158
4
50
3
14
2
5
1
7

Populaire documenten

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen