Exercise: Microprocessors

Questions for: Microprocessors

Assertion (A): In 8085 SP and PC are 8 bit each.

Reason (R): 8085 is an 8 bit microprocessor.

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

SP and PC are 16 bit each in 8085.

Consider the following features of 'structures' in C?
  1. The values of a structure variable can be assigned to another structure variable of the same type using the assignment operator.
  2. One structure can be nested within another structure.
  3. A variable structure can also be passed to a function.
Which of the above are correct?
A:
All
B:
1 and 2 only
C:
1 and 3 only
D:
2 and 3 only
Answer: A

All are correct.

For the expression cos (ωt + 0) the correct Pascal equivalent is
A:
BETA * JCOS (OMEGA * T + THETA) / SQRT (SQR (BETA) + SQR (OMEGA))
B:
BETA COS (OMEGA * T + THETA) / SQRT [SQR (BETA) + SQR (OMEGA)]
C:
BETA COS (OMEGA T + THETA) / SQRT [SQR (BETA) + SQR (OMEGA)]
D:
None of the above
Answer: A

Operator * must be written explicitly in Pascal.

In Java 31% gives an answer
A:
3
B:
4
C:
3 / 4
D:
4 / 3
Answer: B

Modulus operator gives the remainder of division as answer.

Initially the number decimal 8 is stored. If instruction RAL is executed twice, the final number stored will be
A:
decimals 8
B:
decimal 16
C:
decimal 32
D:
decimal 2
Answer: C

If instruction RAL is executed once the number gets doubled.

Ad Slot (Above Pagination)
Quiz