Exam2025Proposed solution included

CSC 208 PROGRAMMING IN PYTHON AND C Exam 2025

About this paper

CSC 208: End-of-Semester Examination, Thursday 19/06/2025, University of Buea, Faculty of Science, Dept of Computer Science: Section A, Questions 1 and 2 word-for-word identical to Paper 10's (cross-referenced for their answers, reprinted here since this paper is not itself a duplicate), plus 3 new items -- a Swap(num1,num2) pointer-based real-number-swap fill-in-the-code exercise, C declaration items (including a positive-integer pair and a character-pointer declaration), and a complete Student-struct marksheet.dat file-writing C program; Section B, a new 10-item Python MCQ Part I (one item, on variable types including a Python list, flagged as having no fully-correct option among the four given -- the closest/intended answer selected and the flaw noted) and a new Part II (a nested-conditional mystery() function trace, 3 boolean-expression-writing items, a for-to-while loop-conversion exercise, 3 numeric-expression-writing items, and a 5-part iteration/count trace through a 12-character string, fully worked by hand).

Open in Shoracy

Opens this paper in the app on your phone.

University of Buea

Faculty of Science - FS

Computer Science - CSC

CSC2082025

PROGRAMMING IN PYTHON AND C

Exam · Second Semester · Level 200

From this paper

  1. 5.

    Write a complete C program which declares a structure called Student with the fields: name, matricule number, ccode, and score. Write a program which writes into a file called marksheet.dat a student’s record. (5 marks)

  2. 1.

    What is the first step to set up a coding environment in Python? A. Install a code editor or IDE. B. Write your first Python script. C. Learn Python syntax. D. Install Python packages.

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

View solutionOpen in Shoracy

At a glance

Course code
CSC208 (CSC 208)
Type
Exam
Year
2025
Level
Level 200
Semester
Second Semester
Proposed solution
Included

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