Question

Which one is true for writing array variable in Pascal?

a.

The general form of an array variable is an integer or a real variable name followed by subscripts enclosed within square brackets. The subscripts are separated by commas

b.

The general form of an array variable must be an integer name followed by subscripts enclosed within square brackets. The subscripts are separated by commas

c.

The subscripts in array variable must be separated by dots

d.

The subscripts must be enclosed within parenthesis

Answer: (a).The general form of an array variable is an integer or a real variable name followed by subscripts enclosed within square brackets. The subscripts are separated by commas

Interact with the Community - Share Your Thoughts

Uncertain About the Answer? Seek Clarification Here.

Understand the Explanation? Include it Here.

Q. Which one is true for writing array variable in Pascal?

Similar Questions

Explore Relevant Multiple Choice Questions (MCQs)

Q. In 8085, which of the following is an 8 bit register?

Q. What does the instruction 'PCHL' in 8085 do?

Q. In a multi-processor configuration two coprocessors are connected to host 8086 processor. The instruction sets of the two coprocessors

Q. Virus is a

Q. Assertion (A): C allows the use of logical operators, AND, OR, NOT.

Reason (R): C has logical operators as well as bitwise operators like AND, OR etc.

Q. The read and write cycle times of cache memory are in the range of

Q. In 8086

Q. In which of the following logical group instructions of 8085 do the contents of accumulator remain unchanged?

Q. If quadratic equation x² - 1000x + 25 = 0 is solved using floating point arithmetic with 4 digit mantissa, the roots are

Q. Assertion (A): In microprocessor 8085 DMA allows direct access to memory to speed up data transfer.

Reason (R): HOLD and HLDA signals are used for DMA operations.

Q. Which of the following is not a valid variable in FORTRAN 77?

Q. The expression A ** B / C + D is equivalent to

Q. Consider the following symbols

1. Letters A to Z and a to z
2. Digits 0 to 9
3. Logical operators and, or, not
4. Parenthesis ( )

Which of the above symbols are available in Pascal?

Q. Which of the following 8085 instructions does not belong to arithmetic group?

Q. Which characteristics of a memory chip is called dc characteristics?

Q. RAM is a volatile memory device.

Q. Consider the following strings:

1. A
2. Z2
3. X3Y
4. P12R
5. BX

Which of the above strings are valid in Pascal?

Q. Consider the following statements:

1. In 8085 address and data buses are multiplexed.
2. In Z 80 address and data buses are multiplexed.
3. In Z 80 address and data buses are not multiplexed.
4. Z 80 has 16 bit address bus and 8 bit data bus.

Which of the above statements are correct?

Q. The stack pointer holds the address of the desired memory location.

Q. DMA stands for direct memory access.

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!