Exercise: Microprocessors

Questions for: Microprocessors

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

Time required to access different cells is the same.

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?
A:
1 and 2 only
B:
1 and 3 only
C:
2 and 4 only
D:
1, 2 and 3 only
Answer: A

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

Diskette can be used for primary storage as well as secondary storage in a computer.
A:
True
B:
False
C:
D:
Answer: B

Diskette is a secondary storage.

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?
A:
8
B:
1
C:
15
D:
10
Answer: A

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.

Which of the following is not a valid real variable in FORTRAN 77?
A:
ANUT
B:
MONEY
C:
A MONEY
D:
BS
Answer: B

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

Ad Slot (Above Pagination)
Quiz