Exam2026Proposed solution included

CSC 308 Java Programming Exam 2026

About this paper

CSC 308: Second Semester 2025/2026 Examination, University of Buea, Faculty of Science, Department of Computer Science, Course CSC308 Java Programming, Instructor Nyanga Bernard Y., Tuesday 01/07/2026. Section A: 25 multiple-choice questions on core Java topics (abstract classes, exception handling, access modifiers, collections, arrays, polymorphism, threads, operator precedence, checked exceptions, static, Swing, interfaces vs abstract classes, I/O, final, primitive types, control flow, inheritance, reference typing, access control, and ArrayList vs LinkedList performance). Section B (16 marks): 16 true/false statements on String immutability, super, ArrayList ordering, break/continue, HashMap nulls, operator overloading, finalize(), synchronized, instanceof, integer division, interface fields, while loops, abstract classes, and arrays. Section C (9 marks): 9 fill-in-the-blank questions on core Java terminology. Section D (23 marks): short answers on main(), variable declaration, overloading vs overriding, autoboxing/unboxing, I/O streams, a code-debugging exercise on an off-by-one array loop bug, and an essay design question modelling Vehicle/Car/Bicycle with inheritance and composition.

Open in Shoracy

Opens this paper in the app on your phone.

University of Buea

Faculty of Science - FS

Computer Science - CSC

CSC3082026

Java Programming

Exam · Second Semester · Level 300

From this paper

  1. Section A: Write the letter of the best answer for each question

    1.

    Which keyword is used to define an abstract class in Java? A) abstract B) static C) final D) void

  2. 2.

    What is the primary purpose of the finally block in a try-catch-finally statement? A) To catch specific exceptions. B) To execute code regardless of whether an exception occurred. C) To re-throw an exception. D) To declare a new exception type.

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

View solutionOpen in Shoracy

At a glance

Course code
CSC308 (CSC 308)
Type
Exam
Year
2026
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 2026 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