Exam2022Proposed solution included

CSC 308 Java Programming Exam 2022

About this paper

A Second Semester Examination (sat June 2022) for CSC 308 Java Programming at the University of Buea Faculty of Science, instructed by Dr Denis Nkweteyim and Bernard Nyanga. Question 1 is a fill-in-the-code exercise implementing a Fraction class with add and multiply operations. Question 2 is a fill-in-the-code exercise building a Shape class inheritance hierarchy (Rectangle, Square, Ellipse, Circle, Sector, Triangle) with area computation and toString chaining. Section B covers Java fundamentals MCQs on bytecode/portability, static vs instance initialization order, and a full field-initialization-order code trace.

Open in Shoracy

Opens this paper in the app on your phone.

University of Buea

Faculty of Science - FS

Computer Science - CSC

CSC3082022

Java Programming

Exam · Second Semester · Level 300

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

View solutionOpen in Shoracy
Proposed solution included

At a glance

Course code
CSC308 (CSC 308)
Type
Exam
Year
2022
Level
Level 300
Semester
Second Semester
Proposed solution
Included

Where it's from

  1. University

    University of Buea
  2. Faculty

    Faculty of Science - FS
  3. Department

    Computer Science - CSC

Read CSC308 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