Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4,6 TrustPilot
logo-home
Examen

C949 - Data Structure and Algorithms Practice Test questions with answers

Note
-
Vendu
-
Pages
9
Grade
A+
Publié le
12-10-2025
Écrit en
2025/2026

C949 - Data Structure and Algorithms Practice Test questions with answers

Établissement
Cours

Aperçu du contenu

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

École, étude et sujet

Établissement
Cours

Infos sur le Document

Publié le
12 octobre 2025
Nombre de pages
9
Écrit en
2025/2026
Type
Examen
Contient
Questions et réponses

Sujets

€16,44
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
EXAMSTUDYPLUG Stanford University
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
331
Membre depuis
3 année
Nombre de followers
107
Documents
19727
Dernière vente
2 jours de cela
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!

Lire la suite Lire moins
4,5

234 revues

5
158
4
50
3
14
2
5
1
7

Documents populaires

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions