Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 12 pages
Exam (elaborations)

DATA STRUCTURES, ALGORITHMS, AND COMPLEXITY | FROM QUESTION TO PERFECTION| STUDY WITH CONFIDENCE!

Document preview thumbnail
Preview 2 out of 12 pages

DATA STRUCTURES, ALGORITHMS, AND COMPLEXITY | FROM QUESTION TO PERFECTION| STUDY WITH CONFIDENCE!

Content preview

DATA STRUCTURES, ALGORITHMS, AND COMPLEXITY |
FROM QUESTION TO PERFECTION| STUDY WITH
CONFIDENCE!

Course Code:
Course Title:
Programme:
Academic Year: 2026/2027
Duration: 2 Hours
Total Marks: 70%


Candidate Instructions:
1) Write your Registration Number on every answer booklet used.
2) Answer ALL questions in Section A and ANY TWO (2) questions in Section B.
3) Read each question carefully before answering.
4) Begin each question on a new page.
5) The marks for each question are indicated in brackets.
6) This paper consists of several printed pages, including this page.
7) Ensure your copy is complete before the examination begins.
8) Unauthorized materials and communication with other candidates are not permitted.




Turn Over.




APPHIA – Crafted with Care and Precision for Academic Excellence.
1

, Data Answer: The actual value or information stored within a data structure.
Linked List Answer: A linear sequence of nodes where each node points to the next.
Node Answer: An individual element in a linked list containing data and a pointer.
Head Answer: The first node in a linked list, serving as the traversal starting point.
Tail Answer: The last node in a linked list, pointing to null.
Singly Linked List Answer: A linked list where each node has only one pointer to the next.
Doubly Linked List Answer: A linked list where each node has pointers to both next and
previous nodes.
Pointer Answer: A reference that points to another node in memory.
Search Method (Linked List) Answer: Traverses a linked list and returns true if a specific value
is found.
Insertion Methods Answer: Methods that add nodes to a linked list, such as at the
beginning/end.
Big O Notation Answer: Measures the worst-case time or space complexity of an algorithm.
Constant Time (O(1)) Answer: Algorithm complexity where the operation count remains
constant regardless of input size.
Linear Time (O(n)) Answer: Complexity where operations grow proportionally with the input
size.
Quadratic Time (O(n²)) Answer: Complexity proportional to the square of input size, typically
involving nested loops.
Cubic Time (O(n³)) Answer: Complexity where operations increase cubically, often involving
three nested loops.
Logarithmic Time (O(log n)) Answer: Complexity where operations increase logarithmically,
common in divide-and-conquer algorithms.
Space Complexity Answer: Measures the memory space an algorithm requires relative to input
size.
Time Complexity Answer: Measures the execution time of an algorithm relative to input size.
Worst-Case Complexity Answer: The maximum time or space an algorithm requires for any
input size.
Stack Answer: A linear data structure that follows the Last-In-First-Out (LIFO) principle.
Push Answer: A stack operation that adds a new element to the top.



APPHIA – Crafted with Care and Precision for Academic Excellence.
2

Document information

Uploaded on
August 17, 2026
Number of pages
12
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Apphia
3.0
(2)
Sold
5
Followers
0
Items
3652
Last sold
2 weeks ago



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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions