logo

CuriousTab

CuriousTab

Discussion


Home Electronics and Communication Engineering Microprocessors Comments

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

  • Correct Answer


  • Explanation
    Do statement is executed when N = 1, 4, 7, 10, i.e., a total of 4 times.

    Microprocessors problems


    Search Results


    • 1. The number of storage classes in C is

    • Options
    • A. 2
    • B. 3
    • C. 4
    • D. 6
    • Discuss
    • 2. Binary number 1101.101 is equivalent to decimal number?

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

    • Options
    • A. True
    • B. False
    • Discuss
    • 6. 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
    • 7. To evaluate X = (A + B + 1.2) * (A + B - C) the sequence of operation is

    • Options
    • A. + + + - * =
    • B. * + + + - =
    • C. + + - * + =
    • D. - + + + * =
    • Discuss
    • 8. 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
    • 9. 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
    • 10. Consider the following

      1. The first letter of a Java variable is lower case.
      2. Each successive word in Java variable begins with a capital letter.
      3. All other letters are lower case.
      4. A Java variable can have a digit as first character.
      Which of the above are correct?

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


    Comments

    There are no comments.

Enter a new Comment