0

programming languages Online Quiz - 19

Description: programming languages Online Quiz - 19
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

All bitwise operations are carried out with the same level of precedence in Java.

  1. True

  2. False


Correct Option: B

The operations y >> 3 and y >>> 3 produce the same result when y > 0.

  1. True

  2. False


Correct Option: A
  1. -231 to 231 - 1

  2. -232 to 232 - 1

  3. -264 to 264

  4. -263 to 263 - 1


Correct Option: D

Consider the following code: int x, y, z; y = 1; z = 5; x = 0 - (++y) + z++; After execution of this, what will be the values of x, y and z?

  1. x = 4, y = 2, z = 6

  2. x = 3, y = 2, z = 6

  3. x = 4, y = 1, z = 5

  4. x = -7, y = 1, z = 5


Correct Option: B

What will be the result of the expression a % b when a and b are of type int and their values are a = -17 and b = -6?

  1. 5

  2. -5

  3. -23

  4. None of these


Correct Option: A

By which keyword Boolean data type is expressed in C++?

  1. boolean

  2. boo

  3. bolean

  4. bool


Correct Option: D

Java supports preprocessor.

  1. True

  2. False


Correct Option: B

C++ does not support string type.

  1. True

  2. False


Correct Option: A

C++ requires that you re-declare static data members outside the class. This is not required in Java.

  1. True

  2. False


Correct Option: A

Expanstion of LISP ....

  1. List Programming

  2. LISt Programming

  3. List Instruction Set Programming

  4. List Information Set Programming


Correct Option: B
  1. Common Object Business Oriented Language

  2. Complete Object Business Oriented Language

  3. Common Object BASIC Oriented Language

  4. Common Oriented Business Object Language


Correct Option: A
  1. FORmula TRANslation

  2. FORmula TRANslator

  3. FORmal TRANslation

  4. FORmal TRANslator


Correct Option: B

Expansion of BASIC ......

  1. Begin All Program Symbolic Instruction Code

  2. Beginners' All-purpose Symbolic Information Code

  3. Beginners' All-purpose System Instruction Code

  4. Beginners' All-purpose Symbolic Instruction Code


Correct Option: D
- Hide questions