logo

CuriousTab

CuriousTab

Discussion


Home Electronics and Communication Engineering Microprocessors Comments

  • Question
  • If A = 20 and B = - 7 in PASCAL, A mod B =


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

  • Correct Answer


  • Explanation
    It gives remainder in division operation.

    Microprocessors problems


    Search Results


    • 1. 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
    • 2. 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
    • 3. 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
    • 4. 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
    • 5. 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
    • Discuss
    • 6. A 256 x 4 EPROM has

    • Options
    • A. 8 address pins and 4 data pins
    • B. 8 address pins and 8 data pins
    • C. 4 address pins and 8 data pins
    • D. 4 address pins and 4 data pins
    • Discuss
    • 7. Assume that x = 5 and y = 2. Then in Java operation x + = y, the result is

    • Options
    • A. x = 7
    • B. x = 2
    • C. x = 3
    • D. x = 2
    • Discuss
    • 8. Which of the following is not a valid integer constant in C (for 16 bit)?

    • Options
    • A. 321
    • B. -162
    • C. -65321
    • D. +1
    • Discuss
    • 9. Which of the following can not be used as a variable name in C?

    • Options
    • A. else
    • B. coal
    • C. ram
    • D. vendy
    • Discuss
    • 10. In Java it is possible to have

      1. An array of integers
      2. An array of string objects
      3. An array of arrays
      4. An array on integer and strings
      Which of the above are correct?

    • Options
    • A. All
    • B. 1, 2 and 3 only
    • C. 1 and 2 only
    • D. 1, 3 and 4 only
    • Discuss


    Comments

    There are no comments.

Enter a new Comment