Exam2025Proposed solution included

CEC 305 Data Structures and Algorithms Exam 2025

About this paper

CEC 305: First Examination 2024/2025, 30/01/2025 (instructor Nyanga B.), University of Buea: Section A, 41 single-mark MCQs on ADTs, recursion/memoization/dynamic programming, NP/NP-complete/NP-hard/reductions and P-vs-NP, graph traversal (BFS/DFS) and algorithms (Dijkstra, Kruskal), sorting algorithm properties/complexities (bubble/selection/insertion/merge/quick/radix sort), and searching algorithms; Section B, a hash-table exercise (linear probing, load factor, quadratic probing, table-size discussion -- identical content to Paper 5's Q4) and a C enum/bitmask program-output trace (an 8-iteration loop printing combinations of ITALIC/BOLD/UNDERLINE text-style flags) plus defining a days-of-the-week enum.

Open in Shoracy

Opens this paper in the app on your phone.

University of Buea

College of Technology - COT

Computer Engineering - CET

CEC3052025

Data Structures and Algorithms

Exam · First Semester · Level 300

From this paper

  1. SECTION A: Write the letter with the correct answer. Each Question carries 1 mark.

    1.

    What is an abstract data type (ADT)? a) A data type that is implemented using a specific data structure b) A data type that defines a set of operations that can be performed on it c) A data type that is used to store a collection of data d) A data type that is used to represent a real-world object

  2. 2.

    Which of the following is an example of an ADT? a) Array b) Linked list c) Stack d) Int

Open in the app to read the full paper and its proposed solution.

View solutionOpen in Shoracy

At a glance

Course code
CEC305 (CEC 305)
Type
Exam
Year
2025
Level
Level 300
Semester
First Semester
Proposed solution
Included

Read CEC305 2025 in Shoracy.

  • Every page, with zoom for diagrams and small print
  • The proposed solution, one tap away
  • Stays on your phone after the first open, even offline
Open in Shoracy