Tag: programming languages

Questions Related to programming languages

  1. True.

  2. False

  3. True , if the Serializable attribute is not used.

  4. The members have to be protected.


Correct Option: A
  1. .Net doesnot support multiple inheritance. Hence cannot inherit all the 3, results in error.

  2. .Net allows to inherit only 1 class and 1 interface, hence error.

  3. The class has to be inherited first and then the interfaces.

  4. The interface has to be inherited first then class.


Correct Option: C

What is the size of PSW ?

  1. 32

  2. 24

  3. 64

  4. 16


Correct Option: C

What is the size of General purpose registers ?

  1. 32

  2. 16

  3. 8

  4. 24


Correct Option: A

Which bytes are used to hold Address in 24-bit addressing ?

  1. Low order 2 bytes

  2. Low order 3 bytes

  3. All 4 bytes

  4. Fourth byte


Correct Option: B
  1. Low level

  2. High level

  3. Both 1 and 2

  4. None


Correct Option: A

General purpose registers are used to hold

  1. Data

  2. Address

  3. Both 1 and 2

  4. Can't say


Correct Option: C