logo

CuriousTab

CuriousTab

Discussion


Home Electronics and Communication Engineering Microprocessors Comments

  • Question
  • 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

  • Correct Answer
  • 1, 2 and 3 only 

    Explanation
    An array on integers and strings is not possible.

    Microprocessors problems


    Search Results


    • 1. Which of the following can not be used as a variable name in C?

    • Options
    • A. else
    • B. coal
    • C. ram
    • D. vendy
    • Discuss
    • 2. 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
    • 3. 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
    • 4. 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
    • 5. If A = 20 and B = - 7 in PASCAL, A mod B =

    • Options
    • A. 6
    • B. 2
    • C. - 1
    • D. 3
    • Discuss
    • 6. Which of the following is invalid in Basic?

    • Options
    • A. A ** B + - C
    • B. A ** B - C
    • C. A * B - C
    • D. A * B - C ** D
    • Discuss
    • 7. Let JCOKE = 98 and LPEPSI = 42 Consider the statement

      IF (JCOKE - 3 * LPEPSI) 5, 6, 7
      5 JCOKE = JCOKE + 5
      6 JCOKE = JCOKE + 8
      7 JCOKE = JCOKE + 11

      The value of JCOKE after the execution of above statement will be

    • Options
    • A. 103
    • B. 106
    • C. 109
    • D. none of the above
    • Discuss
    • 8. While selecting a memory chip the feature which should be examined is

    • Options
    • A. capacity
    • B. ac characteristics
    • C. dc characteristics
    • D. all of the above
    • Discuss
    • 9. Read the following statements about files in Pascal

      1. A file is a data structure which consists of a sequence of components of the same type.
      2. The number of components in a file is variable.
      3. The components in a file can be accessed only sequentially starting from the beginning of the file.
      Which of the above are correct?

    • Options
    • A. All
    • B. 1 and 2 only
    • C. 2 and 3 only
    • D. 1 and 3 only
    • Discuss
    • 10. In a computer the instructions, data, intermediate and final results during processing are held in ALU.

    • Options
    • A. True
    • B. False
    • Discuss


    Comments

    There are no comments.

Enter a new Comment