logo

CuriousTab

CuriousTab

Discussion


Home Electronics and Communication Engineering Microprocessors Comments

  • Question
  • Which of the following is not a valid real constant in C?


  • Options
  • A. 1.2 e 2.0
  • B. -2.3 e - 2
  • C. -2.3 E 2
  • D. -2.3 e 2

  • Correct Answer
  • -2.3 E

    Explanation
    In C real constant expressed in exponential form, mantissia and exponent should be separated by e (and not E).

    Microprocessors problems


    Search Results


    • 1. Assertion (A): Microprocessor 8085 has on-chip oscillator with inbuilt crystal.

      Reason (R): For frequency stability crystal oscillator is preferred.


    • Options
    • 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
    • Discuss
    • 2. Z flag is reset if an ALU operation results in 0.

    • Options
    • A. True
    • B. False
    • Discuss
    • 3. Which of the following is not an integer constant?

    • Options
    • A. 0
    • B. -8
    • C. +1074
    • D. -8.1
    • Discuss
    • 4. In which computer language is 'break' statement used

    • Options
    • A. Fortran 77
    • B. Pascal
    • C. C
    • D. none of the above
    • Discuss
    • 5. Temporary register in 8085 is a 16 bit register.

    • Options
    • A. True
    • B. False
    • Discuss
    • 6. Assertion (A): If source and destination addresses are made implicit the length of instruction is reduced.

      Reason (R): 8085 has only 3 addressing modes.


    • Options
    • 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
    • Discuss
    • 7. To multiply a number by 8 in 8085 we have to use RAL instruction

    • Options
    • A. once
    • B. twice
    • C. thrice
    • D. four times
    • Discuss
    • 8. Consider the following program in Pascal

      X = 2.57
      X = (X + 0.06) * 10
      I = TRUNC (X)
      X = I
      X = X / 10.0

      The final value of X would be

    • Options
    • A. 2
    • B. 2.6
    • C. 2.63
    • D. 26.3
    • Discuss
    • 9. EEPROM permits

    • Options
    • A. read operation only
    • B. read and byte erase operations
    • C. read, byte erase and byte write operations
    • D. read, byte erase, byte write and chip erase operations
    • Discuss
    • 10. If A = 20 and B = - 7 in PASCAL, A mod B =

    • Options
    • A. 6
    • B. 2
    • C. - 1
    • D. 3
    • Discuss


    Comments

    There are no comments.

Enter a new Comment