Exam2022Proposed solution included

CEF 238 C/C++ Programming Exam 2022

About this paper

CEF 238: Second Semester Examination, 9 June 2022, University of Buea, instructor Nde D. Nguti: Section A, a 28-item True/False and short-answer set on classes, encapsulation, polymorphism, inheritance, preprocessing, malloc, pointers, arrays, structs, file I/O and scope; Section B, a C student struct with pointer-to-self member and initialization, and a C++ student class with private members, getter/setter defined outside the class, an out-of-class constructor, and object instantiation.

Open in Shoracy

Opens this paper in the app on your phone.

University of Buea

Faculty of Engineering and Technology - FET

CEF2382022

C/C++ Programming

Exam · Second Semester · Level 200

From this paper

  1. Section A (Each correct answer carries one mark)

    3.

    Encapsulation is about bringing code and data together into a single entity. True/False.

  2. 4.

    Polymorphism is implemented through inheriting a method and overriding the menthod. For this, the name of the method cannot be the same. True/False.

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

View solutionOpen in Shoracy

At a glance

Course code
CEF238 (CEF 238)
Type
Exam
Year
2022
Level
Level 200
Semester
Second Semester
Proposed solution
Included

Other CEF238 papers

Read CEF238 2022 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