Electronics and Communication Engineering - Microprocessors

11.
Which of the following is not valid integer variable in FORTRAN 77?
MBR
LOTS
JAMMU
BRG
Answer: Option
Explanation:

The first letter is not I, J, K, L, M, N.


12.
Which of the following is not an integer constant?
2.3
156231
10
-256
Answer: Option
Explanation:

It has a decimal point.


13.

Assertion (A): To add 8 bit words, two 1C 74181 can be cascaded.

Reason (R): In 1C 74181 a sum greater than 15 leads to high carry out.

Both A and R are correct and R is correct explanation of A
Both A and R are correct but R is not correct explanation of A
A is correct R is wrong
A is wrong R is correct
Answer: Option
Explanation:

A is correct but R is wrong. Two IC 74181 can be cascaded to add two 8 bit words.


14.
Consider the following tasks in a micro computer
  1. Receiving data and instruction
  2. Performing arithmetic computation
  3. Performing logical computations
  4. Storing data and instructions
Which of the above are performed by ALU?
2 only
2 and 3 only
1, 2 and 3 only
All
Answer: Option
Explanation:

ALU performs arithmetic and logical computations.


15.
Consider the following DO statement in FORTRAN 77

DO 25 J = 1, 7

The number of DO loop executions in the above statement is
7
6
1
8
Answer: Option
Explanation:

Do statement is executed when J = 1, 2, 3, 4, 5, 6, 7, i.e., a total of 7 times.