Question

In Pascal the repeat and while loops will terminate

a.

only when the logical expression controlling the loop becomes true for both repeat and while loops

b.

only when the logical expression controlling the loop becomes false for both repeat and while loops

c.

only when the logical expression controlling the loop becomes true for repeat loop and false for while loop

d.

only when the logical expression controlling the loop becomes false for repeat loop and true for while loop

Answer: (c).only when the logical expression controlling the loop becomes true for repeat loop and false for while loop

Interact with the Community - Share Your Thoughts

Uncertain About the Answer? Seek Clarification Here.

Understand the Explanation? Include it Here.

Q. In Pascal the repeat and while loops will terminate

Similar Questions

Explore Relevant Multiple Choice Questions (MCQs)

Q. Which of the following statements is non-executable in FORTRAN 77?

Q. In C the range of real constants expressed in exponential form is

Q. Assertion (A): The 'do while' statement is used less frequently than the 'while' statement.

Reason (R): For most applications it is more natural to test for continuation of loop at the beginning than at the end of loop.

Q. Consider the following in C

int k
float a ;
k = 4.2
a = 300

The values stored in computer memory for k and a are respectively

Q. The statement IMPLICIT INTEGER (A - F) in FORTRAN identifies

Q. The number of computer viruses is some thousands.

Q. If 8085 is required to add two 32 bit numbers, the numbers of addition sequences is

Q. Incompatibility between memory and I/O device may be due to

Q. When the mains supply is switched off the contents of primary computer memory are lost.

Q. 8255 A is a

Q. Consider the following mnemonics

1. MOV
2. ADD
3. LXI

Which of the above are valid for 8085?

Q. A memory system has a 9 chips. If MTBF of one clip is 900 000 hours, MTBF of complete memory system is

Q. If X = - 285.56 and the Pascal write statement used is WRITE (X : 8). Then the print out will appear as

Q. For the Infix expression A + B - C + D the Postfix notation is

Q. Which of the following is also called handshaking programmed data transfer?

Q. Cache memory size is about

Q. In the words Kb or Mb used describing memory capacity, the letter b denotes

Q. In Fortran 77 negation is a unary operation.

Q. Power Point is a presentation software.

Q. In the expression a = 5 * 2 / 3.2 + 4 / 8 - 2 + 5 / 9 which operation will have the first priority in C?

Recommended Subjects

Are you eager to expand your knowledge beyond Electronics and Communication Engineering? We've handpicked a range of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of various subjects. Happy exploring!