CSC 308 Java Programming CA 2026
About this paper
CSC 308: Test 1, University of Buea, Faculty of Science, Department of Computer Science, Course CSC308 Java Programming, Second Semester 2025/2026, Instructor Nyanga B., 45 minutes. Section A (15 marks): 15 true/false statements with justification covering Java fundamentals -- platform independence, classes vs objects, primitive types, default initialization, encapsulation, identifiers, operators, control-flow conditions, instance vs local variables, constructors, void methods, array immutability, switch on Strings, and array indexing. Section B (8 marks): a Smart Home System design exercise requiring a Light class and a Room class demonstrating composition, package access, and a static import for a constant. Section C (8 marks): short-answer questions on classes vs objects, shared methods, polymorphism, class interfaces, and tracing the console output of a Java code fragment using print/println with escape sequences.
Opens this paper in the app on your phone.
University of Buea
Faculty of Science - FS
Computer Science - CSC
Java Programming
CA · Second Semester · Level 300
From this paper
Section A: True or False [15 marks]
Answer true or false, giving justification for your answer to earn complete marks.
- 1.
Java is a platform-independent language because the Java compiler produces bytecode rather than machine code.
At a glance
- Course code
- CSC308 (CSC 308)
- Type
- CA
- Year
- 2026
- Level
- Level 300
- Semester
- Second Semester
- Proposed solution
- Included
Where it's from
University
University of BueaFaculty
Faculty of Science - FSDepartment
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
Don't have the app yet?