YOUR SUBJECT CS304 Object Oriented ProgrammingChange subject ↗
CS304 QUESTION BANK

Object Oriented Programming

Build confidence with practice questions, then check what you know with a timed test.

1available questions
1midterm questions
0final-term questions
↗

Practice & understand

Browse the MCQs and their answers at your own pace. No timer, no pressure.

Open practice bank →
◷

Take the test with 60 seconds per question

Challenge yourself with randomly selected questions, then review every answer.

Set up your test →

A question to get you started

CS304 · Midterm#1

Suppose you have been given the following design, "A person has a name, age, address and sex. You are designing a class to represent a type of person called a patient. This kind of person may be given a diagnosis, have a spouse and may be alive". Given that the person class has already been created, what of the following would be appropriate to include when you design the patient class?

  1. A
    ? registration date and diagnosis
  2. B
    ? age and sex
  3. C
    ? sex and diagnosis
  4. D
    ? diagnosis and age
Show correct answer

Correct answer: A. ? registration date and diagnosis

Check community answers against your course notes.Question permalink ↗