CA2024Proposed solution included

CSC 301 Data structure and algorithm CA 2024

About this paper

CSC 301: First Semester Test 1, Friday 28/11/2024, 1h30min, Dr Achankeng \& Mr Kometa, AMPHI 600, University of Buea, Faculty of Science, Dept of Computer Science: source carries a faint handwritten margin note and scratch marks, not used as the answer source (the Program = Algorithms + Data Structures relationship given in the solution is independently stated textbook knowledge, not copied from the handwriting). Section A's six Yes/No theory justifications (stack dynamic-sizing, string-as-ADT, linear-search sorting myth, ADT implementability, array-deletion growth rate, constant-vs-linear growth-rate interpretation), a non-cyclic-array priority-queue method proposal, a fully-traced infix-to-postfix conversion (with exponentiation) shown as a table, and an all-occurrences-count search pseudocode; Section B's computer-program definition, the Program/DS/Algorithm relationship, and two C pointer-behaviour demonstration programs (plain pointer and pointer-to-pointer; struct and union pointer access).

Open in Shoracy

Opens this paper in the app on your phone.

University of Buea

Faculty of Science - FS

Computer Science - CSC

CSC3012024

Data structure and algorithm

CA · First Semester · Level 300

From this paper

  1. 1.

    What is a computer program? (1 mark)

  2. 3.

    Using C programs, show how two (2) types of pointers behave. (4 marks)

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

View solutionOpen in Shoracy

At a glance

Course code
CSC301 (CSC 301)
Type
CA
Year
2024
Level
Level 300
Semester
First Semester
Proposed solution
Included

Where it's from

  1. University

    University of Buea
  2. Faculty

    Faculty of Science - FS
  3. Department

    Computer Science - CSC

Read CSC301 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
Open in Shoracy