CA2023Proposed solution included

CEC 226 Script Language CA 2023

About this paper

CEC 226: Continuous Assessment, May 2023 (30 marks), University of Buea: boolean evaluations, string slicing, string methods, a list comprehension, the same buggy while-loop debugging exercise as the June 2023 final (condensed), and an average() function -- an overlapping subset of the June 2023 final exam's question bank.

Open in Shoracy

Opens this paper in the app on your phone.

University of Buea

College of Technology - COT

Computer Engineering - CET

CEC2262023

Script Language

CA · Second Semester · Level 200

From this paper

  1. 2.

    What is the outcome of the following expressions? print('Hello, world!'[7]) print(len('Hello, world!')) print('Hello, world!'[0:6]) print('Hello, world!'[3:])

  2. 3.

    What do the following expressions evaluate to? print('Hello'.upper()) print('Hello'.isupper())

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

View solutionOpen in Shoracy

At a glance

Course code
CEC226 (CEC 226)
Type
CA
Year
2023
Level
Level 200
Semester
Second Semester
Proposed solution
Included

Read CEC226 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
Open in Shoracy