Home / ECE / Microprocessors :: Section 5

ECE :: Microprocessors

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

  2. A.
    DO
    B.
    ASSIGN
    C.
    END
    D.
    DIMENSION

  3. In C the range of real constants expressed in exponential form is

  4. A.
    -2.3 e 37 to + 2.3 e 37
    B.
    -3.4 e 38 to + 3.4 e 38
    C.
    -3.4 e 37 to + 3.4 e 37
    D.
    -2.3 e 38 to + 2.3 e 38

  5. Assertion (A): The 'do while' statement is used less frequently than the 'while' statement.

    Reason (R): For most applications it is more natural to test for continuation of loop at the beginning than at the end of loop.

  6. 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

  7. Consider the following in C

    int k
    float a ;
    k = 4.2
    a = 300


    The values stored in computer memory for k and a are respectively

  8. A.
    4.2 and 300
    B.
    4 and 300 respectively
    C.
    4.2 and 300.00 respectively
    D.
    4 and 300.00 respectively

  9. The statement IMPLICIT INTEGER (A - F) in FORTRAN identifies

  10. A.
    all variable names which begin with A, B, C, D, E or F as being of integer type
    B.
    all character names which begin with A, B, C, D, E, or F as being of integer type
    C.
    all variable names which begin with A and have 6 characters
    D.
    none of the above

  11. Assertion (A): C has a large number of library functions classified as arithmetic functions, data conversion functions, character classified functions, string manipulation functions, searching and sorting functions etc.

    Reason (R): 8086 uses a segment : offset addressing scheme.

  12. 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

  13. The box on the external left of the title bar of menu is called control menu box.

  14. A.
    True
    B.
    False

  15. The maximum number of characters for variable names in C is

  16. A.
    4
    B.
    8
    C.
    12
    D.
    16

  17. An 8 bit wide 4 word sequential memory has

  18. A.
    Eight 4 bit shift registers
    B.
    Eight 8 bit shift registers
    C.
    Four 8 bit shift registers
    D.
    Foui 4 bit shift registers