Question

Read the following statements about files in Pascal

1. A file can grow or shrink dynamically.
2. A file which consists of only characters is called text file.
3. Text files may be read and written using standard Pascal READ and WRITE procedures.
4. Every file must have a beginning but may or may not have an end.

Which of the above are correct?

a.

All

b.

1, 2, 3 only

c.

2, 3, 4 only

d.

1, 2 and 4 only

Answer: (b).1, 2, 3 only

Interact with the Community - Share Your Thoughts

Uncertain About the Answer? Seek Clarification Here.

Understand the Explanation? Include it Here.

Q. Read the following statements about files in Pascal 1. A file can grow or shrink dynamically. 2. A file which consists of only characters is called text file. 3. Text files...

Similar Questions

Explore Relevant Multiple Choice Questions (MCQs)

Q. If word length is 16 bits the decimal equivalent of largest number which can be stored is

Q. Assertion (A): Dynamic RAM needs refreshing.

Reason (R): Capacitors tend to loose charge.

Q. When one operand is real and one integer in Pascal, which of the following operations are not allowed?

Q. Consider the following statements about an array in Pascal

1. An array has a fixed predetermined number of components.
2. Any component of an array can be accessed using an index.
3. An array variable name refers to a group of quantities by a single name.
4. When array variables are used an appropriate declaration is required.

Which of the above are correct?

Q. Which of the following is a valid integer constant?

Q. When two ALU 1C 74181 are cascaded

Q. For the floating point numbers 1.81 x 10‾²⁹ and 0.0152 x 10¹⁸ the normalised forms are

Q. In computers the secondary memory is faster than primary memory.

Q. Consider the following in C

1. An arithmetic operation between integer and an integer gives integer as the result.
2. An arithmetic operation between a real and a real constant gives real constant as the result.
3. An arithmetic operation between an integer constant and a real constant is not valid.

Which of the above are correct?

Q. Binary storage of decimal number 44 in 8 bits is

Q.
LET JCOKE = 11 and LPEPSI = 19. Consider the statement

IF (JCOKE - LPEPSI) 5, 5, 7
5 JCOKE = JCOKE + 2
7 JCOKE = JCOKE + 5

The value of JCOKE after the execution of above statement will be

Q. Assuming that k is an integer what would the result of following expression in C

k = 2* 3 / 5 + 4 / 4 + 8 - 2 - 4 / 8

Q. Which of the following is a valid real constant?

Q. Which of the following is a valid real constant?

Q. Consider the following program in C

int k
float b ;
k = 3
b = 10.1
k = k / b

The final result would be k =

Q. The decimal equivalent of binary 1101.11 is

Q. Which of the following is not a valid real constant?

Q. Consider the expression b = acd (xz). The correct C statement for above expression is

Q. Which is a valid Java variable?

Q. When we use RRC instruction once in 8085, the number is

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!