Home / ECE / Microprocessors :: Section 4

ECE :: Microprocessors

  1. A microprocessor can understand instruction written in

  2. A.
    machine language only
    B.
    mnemonics operation codes only
    C.
    high language only
    D.
    both machine language and mnemonics operation codes

  3. Which language has a preprocessor?

  4. A.
    Fortran 77
    B.
    Pascal
    C.
    C
    D.
    None of the above

  5. In a display specified as 600 x 400 the number of pixels across the display screen is

  6. A.
    600
    B.
    400
    C.
    240000
    D.
    either (a) or (b)

  7. Consider the following DO statement in Fortran 77

    DO 12 A = 1.0, 5.5, 0.5

    The number of DO loop executions in the above statement is

  8. A.
    1
    B.
    11
    C.
    10
    D.
    4

  9. Which of the following real expressions is incorrect in Pascal?

  10. A.
    Y - X
    B.
    (A + B) (C + D)
    C.
    X / Y - Z
    D.
    P * Z - 5.0

  11. The instruction MVI A, 20 in 8085 means

  12. A.
    contents of memory location 20 are brought into the accumulator
    B.
    the value 20 is brought into accumulator
    C.
    either (a) or (b)
    D.
    neither (a) nor (b)

  13. The two orientations of worksheet page are called

  14. A.
    portrait and landscape
    B.
    auto text and auto correct
    C.
    font and footer
    D.
    header and footer

  15. The correct form of expression B3 -2 A C in FORTRAN 77 is

  16. A.
    B * * 3 - 2 * A * C
    B.
    B * 3 - 2 * A AC
    C.
    B * * 3 - 2 ** A * C
    D.
    B *** 3 - 2 * A * C

  17. If RADIUS = 3.0 the result of the following FORTRAN 77 program will be

    REAL RADIUS, CAREA, SAREA, RATIO
    PI
    PI = 3.1416
    READ *, RADIUS CAREA = PI * RADIUS * RADIUS
    SAREA = 2 * RADIUS * RADIUS
    RATIO = CAREA/SAREA

  18. A.
    1.5708
    B.
    1
    C.
    28.2744
    D.
    18.0

  19. Which one is not a valid subscripted variable?

  20. A.
    KET(2* J, 3* 1 - 4)
    B.
    MET(J + 2, K - 4)
    C.
    A (2 I)
    D.
    VEL(I)