|Description: programming languages Online Quiz - 19|
|Number of Questions: 20|
|Created by: Aliensbrain Bot|
|Tags: programming languages|
Expansion of BASIC ......
Expansion of FORTRAN ....
Expansion of COBOL ....
Expanstion of LISP ....
C++ requires that you re-declare static data members outside the class. This is not required in Java.
C++ does not support string type.
Java supports preprocessor.
By which keyword Boolean data type is expressed in C++?
If not assigned a value, a variable of type char has the following default value:
Which of the following is not a hexadecimal number? (A) 999 (B) (hex)23 (C) 0x556 (D) 0x1F2
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?
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?
27 | 8 = ?
Identify the statements that are correct: (A) int a = 13, a>>2 = 3 (B) int b = -8, b>>1 = -4 (C) int a = 13, a>>>2 = 3 (D) int b = -8, b>>>1 = -4
What will be the result of the expression a % b when a and b are of type int and their values are a = 10 and b = 6?
The type long in java can be used to store values in the following range:
15 & 29 = ?
The operations y >> 3 and y >>> 3 produce the same result when y > 0.
All bitwise operations are carried out with the same level of precedence in Java.
Declarations must appear at the start of the body of a Java method.