Electronics and Communication Engineering - Microprocessors

26. 

Assertion (A): The variable name 5KING is not valid in Fortran 77.

Reason (R): In Fortran 77 the first character of a variable name must be an alphabet.

A. Both A and R are correct and R is correct explanation of A
B. Both A and R are correct but R is not correct explanation of A
C. A is correct R is wrong
D. A is wrong R is correct

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

27. 

Which 8085 instruction causes exchange of contents of stack pointer with the contents of H L register pair?

A. XTHL
B. PCHL
C. LHLD
D. MVIA

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

28. 

The four types of integers in Java are called

A. byte, short, int and long
B. bit, byte, short and long
C. nibble, byte, short and long
D. nibble, byte, int and long

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

29. 

Consider the following statements about data structures in Pascal

  1. Arrays and files are types of data structures.
  2. List structure is not a data structure in Pascal.
  3. Each element of a binary tree is called a node of the tree.
Which of the above are statements correct?

A. All
B. 1, and 2 only
C. 1 and 3 only
D. 2 and 3 only

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

30. 

In the expression 3 * * 2 ** 4 ** 2 in FORTRAN 77 which exponentiation is performed first

A. 4 * * 2
B. 2 * * 4
C. 3 * * 2
D. all exponentiation are performed together

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.