Question
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?
a.
All
b.
1, 2, 3 only
c.
2, 3, 4 only
d.
1, 2 and 4 only
Posted under Electronics and Communication Engineering
Interact with the Community - Share Your Thoughts
Uncertain About the Answer? Seek Clarification Here.
Understand the Explanation? Include it Here.
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...
Similar Questions
Explore Relevant Multiple Choice Questions (MCQs)
Q. Which of the following is a valid integer constant?
View solution
Q. When two ALU 1C 74181 are cascaded
View solution
Q. For the floating point numbers 1.81 x 10‾²⁹ and 0.0152 x 10¹⁸ the normalised forms are
View solution
Q. In computers the secondary memory is faster than primary memory.
View solution
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?
View solution
Q. Binary storage of decimal number 44 in 8 bits is
View solution
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
View solution
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
View solution
Q. Which of the following is a valid real constant?
View solution
Q. Which of the following is a valid real constant?
View solution
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 =
View solution
Q. The decimal equivalent of binary 1101.11 is
View solution
Q. Which of the following is not a valid real constant?
View solution
Q. Consider the expression b = acd (xz). The correct C statement for above expression is
View solution
Q. Which is a valid Java variable?
View solution
Q. When we use RRC instruction once in 8085, the number is
View solution
Q. Read the following statements about sets
1. If A and B are sets then A + B denotes union of sets A and B.
2. The union of A and B is that set whose elements are in either A or B or both.
3. If A and B are sets, then difference of sets A and B is denoted by A - B.
4. A - B in the set obtained by removing elements of A from B.
Which of the above are true?
View solution
Q. Consider the following rules about integer constant in C
1. An integer constant must have at least one digit.
2. An integer constant must not have a decimal point.
3. An integer constant may be positive or negative.
4. The default sign is positive.
5. A maximum of one comma or blank is allowed.
Which of the above are correct?
View solution
Q. Consider the following logical IF statement in Fortran 77
IF (SALT. LE. PEPPER) 11
GO TO 13
The above statement using arithmetic IF statement would be
View solution
Q. Consider the following rules for constructing variable names in C
1. It can have alphabets, digits or underscores but no other special character.
2. The maximum number of characters is 8.
3. The first character may be an alphabet or digit but not underscore.
Which of the above are correct?
View solution
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!