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. 426
  • B. 321.0
  • C. -621.231
  • D. +201.2314

  • Correct Answer
  • 426 

    Explanation
    Real constant must have a decimal point.

    Microprocessors problems


    Search Results


    • 1. Which of the following real variable names is not valid in Fortran?

    • Options
    • A. BETA
    • B. ALPHA
    • C. A
    • D. AB * 2
    • Discuss
    • 2. Which of the following computer memories is fastest?

    • Options
    • A. Cache
    • B. Primary
    • C. Mass storage
    • D. Off line back up
    • Discuss
    • 3. In a computer the instructions, data, intermediate and final results during processing are held in ALU.

    • Options
    • A. True
    • B. False
    • Discuss
    • 4. 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
    • 5. 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
    • 6. 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
    • 7. Consider the following C program int ram

      float alpha, gamma
      ram = 6400
      alpha = 0.562
      gamma = alpha * ram + 1

      Now consider the following statements about this program

      1. ram is an integer variable
      2. alpha, gamma are real variables
      3. *, + are arithmetic operators
      4. 0.562 may be an integer constant or real constant
      Which of the above are correct?

    • Options
    • A. All
    • B. 1, 2, 3 only
    • C. 2, 3, 4 only
    • D. 1, 2, 4 only
    • Discuss
    • 8. Computer virus can hide itself in a diskette but not in a hard disk.

    • Options
    • A. True
    • B. False
    • Discuss
    • 9. IC (instruction cycle), FC (fetch cycle) and EC (executive cycle) are related as

    • Options
    • A. IC = FC - EC
    • B. IC = FC + EC
    • C. IC = FC + 2EC
    • D. EC = IC + EC
    • Discuss
    • 10. MICR stands for

    • Options
    • A. Magnetic Ink Chart Receipt
    • B. Magnetic Ink Character Recognition
    • C. Magnetic Ink Chart Recognition
    • D. Magnetic Ink Character Receipt
    • Discuss


    Comments

    There are no comments.

Enter a new Comment