Home / ECE / Microprocessors :: Section 7

ECE :: Microprocessors

  1. If N = 196, the result of the following program will be

    INTEGER N, DIGIT 1, DIGIT 2, DIGIT 3,
    SUM
    READ*, N
    DIGIT 1 = N - (N / 10)* 10 N = N / 10
    DIGIT 2 = N - (N / 10)* 10 N = N / 10
    DIGIT 3 = N - (N / 10)* 10
    SUM = DIGIT 1 + DIGIT 2 + DIGIT 3

  2. A.
    196
    B.
    16
    C.
    16.0
    D.
    196.0

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. In 8085, which of the following registers cannot be paired?

  4. A.
    A
    B.
    E
    C.
    C
    D.
    both (b) and (c)

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. If the mantissa has a sign bit of 0 and the exponent is changed from a negative number to a more positive number the result is

  6. A.
    a positive number and closer to zero
    B.
    a positive number and away from zero
    C.
    a negative number
    D.
    a negative number and closer to zero

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Which of the following statements in FORTRAN 77 is non executable?

  8. A.
    GO TO
    B.
    RETURN
    C.
    STOP
    D.
    PARAMETER

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. A blank EPROM has

  10. A.
    all bits set to logical 0
    B.
    all bits set to logical 1
    C.
    half the total number of bits set to 0 and remaining half to logical 1
    D.
    either (a) or (b)

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. In 8085 the term 'absolute addressing' means

  12. A.
    Direct addressing
    B.
    Immediate addressing
    C.
    Register addressing
    D.
    Register indirect addressing

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. The range of floating point numbers in Java is

  14. A.
    1.4 E - 45 to 3.4 E + 38
    B.
    3.4 E - 45 to 1.4 E + 38
    C.
    1.4 E - 38 to 3.4 E + 45
    D.
    3.4 E - 38 to 1.4 E + 45

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. What does the operator ( ) mean in C?

  16. A.
    Function expression
    B.
    Array expression
    C.
    Structure operator
    D.
    Increment / Decrement

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which of the following is a valid FORTRAN assignment statement?

  18. A.
    10 = N
    B.
    X + 2.1 = 5.6
    C.
    A = B
    D.
    A = B = 1

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. Which of the following statements is written in plain English in 8085?

  20. A.
    Data definition
    B.
    Assignment
    C.
    Conditional
    D.
    Repetitive

    View Answer

    Workspace

    Discuss Discuss in Forum