CEC 226 Script Language CA 2019
About this paper
CEC 226: Quiz Number Two (15 marks), 2019, University of Buea: Introduction to Programming Using Python -- 10 items on string reversal/slicing, the count method, tuple vs list, sort/sorted, and short code-trace/debugging questions. Catch Up Continuous Assessment, 2019, University of Buea: choose-3-of-5 exercises covering a buggy while-loop, a divisibility algorithm, algorithm vs program definitions, a capitals dictionary, and a flow-of-control trace. Continuous Assignment Number One, 2019, University of Buea: 12 code-output questions on list indexing/slicing, function calls, list comprehensions, nested loops, string reversal, and list aliasing/mutation. One MCQ item (12) is flagged as flawed: none of its printed options match the computed answer.
Opens this paper in the app on your phone.
University of Buea
College of Technology - COT
Computer Engineering - CET
Script Language
CA · Second Semester · Level 200
From this paper
- 4.
Given the string 'abcdefghi', write a single line of code that will print the following (Hint: slicing is your friend): (1.5 marks) (a) 'ihgfedcba' (b) 'adgi' (c) 'igeca'
- 6.
What differentiates a tuple from a list? Be specific. (1 mark)
At a glance
- Course code
- CEC226 (CEC 226)
- Type
- CA
- Year
- 2019
- Level
- Level 200
- Semester
- Second Semester
- Proposed solution
- Included
Where it's from
University
University of BueaFaculty
College of Technology - COTDepartment
Computer Engineering - CETElectrical / Renewable - EET/REN
Read CEC226 2019 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?