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).
Opens this paper in the app on your phone.
University of Buea
Faculty of Science - FS
Computer Science - CSC
PROGRAMMING IN PYTHON AND C
Exam · Second Semester · Level 200
From this paper
- 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)
- 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.
At a glance
- Course code
- CSC208 (CSC 208)
- Type
- Exam
- Year
- 2025
- Level
- Level 200
- Semester
- Second Semester
- Proposed solution
- Included
Where it's from
University
University of BueaFaculty
Faculty of Science - FSDepartment
Computer Science - CSCMathematics - MATPhysics - PHY
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
Don't have the app yet?