Electronics and Communication Engineering - Microprocessors

21.
Which of the following is not a valid real variable in FORTRAN 77?
ANUT
MONEY
A MONEY
BS
Answer: Option
Explanation:

It starts with M and hence it is not a real variable.


22.
Let JCOKE = 3 and LPEPSI = 5. Consider the statement

IF (3 * JCOKE. EQ. LPESPSI)
JCOKE = JCOKE + 2
JCOKE = JCOKE + 5

What will be the final value of JCOKE after the above statement is executed?
8
1
15
10
Answer: Option
Explanation:

The logical IF statement means that IF (3 x J COKE) is equal to (L PEPSI), J COKE = 3 + 2 = 5 otherwise J COKE = 3+5 = 8 Since (3 x J COKE) is more than (L PEPSI), the result is 8.


23.
Diskette can be used for primary storage as well as secondary storage in a computer.
True
False
Answer: Option
Explanation:

Diskette is a secondary storage.


24.
Read the following statements
  1. Magnetic tape is a sequential device.
  2. Magnetic disc is a direct access device.
  3. Magnetic tape and disc are both sequential devices.
  4. Magnetic tape and disc are both direct access devices.
Which of the above statements are correct?
1 and 2 only
1 and 3 only
2 and 4 only
1, 2 and 3 only
Answer: Option
Explanation:

Both 1 and 2 are correct but 3 and 4 are wrong.


25.
A memory chip has 65536 cells in it. Then
time required to access cell is same as that to access cell 65536
time required to access cell is less than that required to access cell 65536
time required to access cell is more than that required to access cell 65536
either (a) or (b)
Answer: Option
Explanation:

Time required to access different cells is the same.