CSC 208 PROGRAMMING IN PYTHON AND C Exam 2023
About this paper
CSC 208: End-of-Semester Examination, 07/06/2023, University of Buea, Faculty of Science, Dept of Computer Science (graded scan, handwritten/circled marks ignored, all answers independently re-derived): Section A (15-item C MCQ including a prefix-increment-on-non-lvalue compile-error item and a transposed-matrix print trace; a static-variable infinite-loop trace; 5 syntax-error corrections; a completed paint.c wall-area program); Section B Python (10-item MCQ Part I; Part II short-answer items 11-15 including numeric/boolean-expression traces, with item 15 flagged -- its 'while index > len(user_str)' condition can never be true from index=0, so the loop body never executes for any input, a likely-intended '<' typo'd as '>' in the source).
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
At a glance
- Course code
- CSC208 (CSC 208)
- Type
- Exam
- Year
- 2023
- 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 2023 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?