logo

CuriousTab

CuriousTab

Discussion


Home Electronics and Communication Engineering Microprocessors Comments

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

  • Correct Answer
  • All 

    Explanation
    All statements are true.

    Microprocessors problems


    Search Results


    • 1. 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
    • 2. 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
    • 3. 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
    • 4. 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
    • 5. Which of the following can not be used as a variable name in C?

    • Options
    • A. else
    • B. coal
    • C. ram
    • D. vendy
    • Discuss
    • 6. In a computer the instructions, data, intermediate and final results during processing are held in ALU.

    • Options
    • A. True
    • B. False
    • Discuss
    • 7. Which of the following computer memories is fastest?

    • Options
    • A. Cache
    • B. Primary
    • C. Mass storage
    • D. Off line back up
    • Discuss
    • 8. Which of the following real variable names is not valid in Fortran?

    • Options
    • A. BETA
    • B. ALPHA
    • C. A
    • D. AB * 2
    • Discuss
    • 9. Which of the following is not a valid real constant in C?

    • Options
    • A. 426
    • B. 321.0
    • C. -621.231
    • D. +201.2314
    • Discuss
    • 10. Which of the following is not a valid variable name in C?

    • Options
    • A. 1 a
    • B. a 1 2
    • C. a b 123
    • D. a b c 123
    • Discuss


    Comments

    There are no comments.

Enter a new Comment