(a) Name any two basic principles of Object-oriented Programming.

ICSE Class 10 Computer Applications PYQ · 2019 Paper · Section A

11 Mark · 2019 · Section A · 2019 Paper

(a) Name any two basic principles of Object-oriented Programming.

Show SolutionHide Solution↓
  1. Encapsulation
  2. Inheritance

(b) Write a difference between unary and binary operator.

unary operators operate on a single operand whereas binary operators operate on two operands.

(c) Name the keyword which:

  1. indicates that a method has no return type.
  2. makes the variable as a class variable
  1. void
  2. static

(d) Write the memory capacity (storage size) of short and float data type in bytes.

  1. short — 2 bytes
  2. float — 4 bytes

(e) Identify and name the following tokens:

  1. public
  2. 'a'
  3. ==
  4. { }
  1. Keyword
  2. Literal
  3. Operator
  4. Separator
Next question →

Browse the free Computer Applications sample bank