Exercise: Microprocessors

Questions for: Microprocessors

Assertion (A): Dynamic RAM needs refreshing.

Reason (R): Capacitors tend to loose charge.

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: A

Dynamic RAM consists of a capacitor which has to be recharged.

A microprocessor uses 3 MHz oscillator. The duration of one T state is
A:
1 μs
B:
0.666 μs
C:
0.333 μs
D:
3 μs
Answer: C

= 0.333 x 10-6 s.

The correct way of writing the expression in Pascal is
A:
N * V * V / 2 + G * H / 3D
B:
N * V * V / 2.0 + G * H / (3.0 *D)
C:
N * V * V / 2 + G * H / 3.0 * D
D:
N * V * V / 2.0 + G * H / 3.0 * D
Answer: B

Operators must be written. They are not implied.

Consider the following rules for constructing variable names in C
  1. It can have alphabets, digits or underscores but no other special character.
  2. The maximum number of characters is 8.
  3. The first character may be an alphabet or digit but not underscore.
Which of the above are correct?
A:
All
B:
1 and 2 only
C:
1 and 3 only
D:
2 and 3 only
Answer: B

First character must be alphabet only.

Consider the following logical IF statement in Fortran 77

IF (SALT. LE. PEPPER) 11
GO TO 13

The above statement using arithmetic IF statement would be
A:
IF (SALT - PEPPER) 11, 11, 13
B:
IF (SALT - PEPPER) 13, 11, 11
C:
IF (SALT - PEPPER) 13, 13, 11
D:
IF (SALT - PEPPER) 11, 13, 13
Answer: A

The logical IF statement means that IF SALT is less than or equal to PEPPER, control goes to statement 11 otherwise (i.e., SALT greater than PEPPER), control goes to 13 Same is true of arithmetic IF statement (a).

Ad Slot (Above Pagination)
Quiz