logo

CuriousTab

CuriousTab

Discussion


Home Electronics and Communication Engineering Microprocessors Comments

  • Question
  • The number of storage classes in C is


  • Options
  • A. 2
  • B. 3
  • C. 4
  • D. 6

  • Correct Answer


  • Explanation
    C has four storage classes viz. automatic storage class, register storage class, static storage class and external storage class.
    Tags: AIEEE, Bank Exams, CAT, Analyst, Bank Clerk, Bank PO

    Microprocessors problems


    Search Results


    • 1. Binary number 1101.101 is equivalent to decimal number?

    • Options
    • A. 13.5
    • B. 13.75
    • C. 13.625
    • D. 13.875
    • Discuss
    • 2. 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
    • 3. 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
    • 4. Computer virus can hide itself in a diskette but not in a hard disk.

    • Options
    • A. True
    • B. False
    • Discuss
    • 5. 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
    • 6. Consider the following DO statement in Fortran 77

      DO 52 N = 1, 10, 3

      The number of DO loop executions in the above statement is

    • Options
    • A. 1
    • B. 10
    • C. 3
    • D. 4
    • Discuss
    • 7. Which of the following is not a valid variable name in C?

    • Options
    • A. p o, t
    • B. p o t
    • C. po_t
    • D. p_ot
    • Discuss
    • 8. To evaluate X = (A + B + 1.2) * (A + B - C) the sequence of operation is

    • Options
    • A. + + + - * =
    • B. * + + + - =
    • C. + + - * + =
    • D. - + + + * =
    • Discuss
    • 9. In a microprocessor

    • Options
    • A. all instructions need only one machine cycle
    • B. some instructions need only one machine cycle while some other instructions need more than one machine cycle
    • C. all instructions need only fraction of one machine cycle
    • D. some instructions need less than one machine cycle
    • Discuss
    • 10. Which of the following DO statements is invalid in FORTRAN 77?

    • Options
    • A. DO 161 = 1, 15
    • B. DO 16 1 = 1, 10, 1
    • C. DO 16 I = - 5, 5, 2
    • D. none of the above
    • Discuss


    Comments

    There are no comments.

Enter a new Comment