CA2024Proposed solution included

CSC 207 INTRODUCTION TO ALGORITHM CA 2024

About this paper

CSC 207: CSC207 Test 2024/2025, 20/11/2024, University of Buea: Section A (an ArrayList reverseList() algorithm, an array-vs-file storage trade-off discussion, and 4 code-output traces (a)-(d), with (d) involving a loop body that increments its counter twice per iteration -- a trap recurring across several papers in this source set -- traced by hand to the correct final output rather than assumed); Section B (an Auto Teller Console algorithm/flowchart handling up to 3 PIN-retry attempts, action/account-type/amount selection, and Cancel-button handling at every step).

Open in Shoracy

Opens this paper in the app on your phone.

University of Buea

Faculty of Science - FS

Computer Science - CSC

CSC2072024

INTRODUCTION TO ALGORITHM

CA · First Semester · Level 200

From this paper

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

    1.

    Which of the following sorting algorithms is known for its stability? A) Quick sort B) Merge sort C) Heap sort D) Selection sort

  2. 2.

    What is the time complexity of the binary search algorithm? A) O(n) B) O(log n) C) O(n log n) D) O(n 2)

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

View solutionOpen in Shoracy

At a glance

Course code
CSC207 (CSC 207)
Type
CA
Year
2024
Level
Level 200
Semester
First Semester
Proposed solution
Included

Read CSC207 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