CEC 305 Data Structures and Algorithms Exam 2024
About this paper
CEC 305: First Examination 2023/2024, 17/01/2024 (printed date reads 17/01/2023, a year behind the printed exam year and month/year field; reproduced using the exam-year-consistent date, flagged) (instructor Nyanga B.), University of Buea: Section A, the same 32-question MCQ set as Paper 4's Section B (the source's own printed numbering duplicates '6' and skips '7', corrected here to a clean sequential 1-24 -- this paper's Section A only reproduces the first 24 of Paper 4's 32 Section-B questions, omitting items 25-32); Section B, four new True/False statements on self-referential classes, dynamic variables, and linked-list length/memory order; Section C: (Q1) DFS/BFS traversal trees of the same 8-vertex graph as Paper 4 and the adjacency matrix of the same directed 6-vertex graph (without the MST sub-question); (Q2) pre-order, post-order and in-order traversal of a 16-node variant of the Metamorphosis word-tree (AWOKE gains an extra leaf child 'A'); (Q3) Big-O worst-case analysis of two pseudocode functions (a triply-nested loop, and a halving tail-recursive function); (Q4) a hash-table exercise (linear probing, load factor, quadratic probing, and a discussion of table-size choice) -- identical in content to Paper 7's Section B Q1.
Opens this paper in the app on your phone.
University of Buea
College of Technology - COT
Computer Engineering - CET
Data Structures and Algorithms
Exam · First Semester · Level 300
From this paper
SECTION A: Write the letter with the correct answer. Each Question carries 1 marks.
1.An abstract data type is (a) a compound type and its associated operations (b) a simple type and associated operations (c) a compound type independent of operations (d) a simple type independent of operations (e) none of these
- 2.
If a sales transaction has an item ID, a customer ID, and a date, then what kind of data structure would you use to store information about a set of sales items? (a) structure (b) array of structures or objects (c) two-dimensional array (d) string (e) structure containing a string for each customer
At a glance
- Course code
- CEC305 (CEC 305)
- Type
- Exam
- Year
- 2024
- Level
- Level 300
- Semester
- First Semester
- Proposed solution
- Included
Where it's from
University
University of BueaFaculty
College of Technology - COTDepartment
Computer Engineering - CET
Read CEC305 2024 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
Don't have the app yet?