CSC208 (CSC208) - CSC208 Programming in Python and C - End-Sem Exam, June 2023 - Univers - 2023 Exam - University - NdeTek Papers
details.appName
CSC208 Programming in Python and C - End-Sem Exam, June 2023 - Univers
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).