Unit-2: Assignment 2
Quiz
•
Computers
•
University
•
Medium
Umadevi N
Used 6+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an Array in C language.?
A group of elements of same data type.
An array contains more than one element
Array elements are stored in memory in continuous or contiguous locations.
All the above.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the Types of Arrays.?
int, long, float, double
struct, enum
char
All the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An array Index starts with.?
-1
B)
C)
D)
0
1
2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of an array element which is not initialized.?
By default Zero 0
1
Depends on Storage Class
None of the above.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly declares an array?
int anarray[10];
int anarray;
anarray{10};
array anarray[10];
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index number of the last element of an array with 29 elements?
29
28
0
Programmer-defined
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a two-dimensional array?
array anarray[20][20];
int anarray[20][20];
int array[20, 20];
char array[20];
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Listen in Python
Quiz
•
University
13 questions
Chap 1: What is a program made of?
Quiz
•
University
10 questions
MS Excel - Day 04
Quiz
•
University
10 questions
Komdat Chap 2
Quiz
•
University
10 questions
POP QUIZ 4 (DFC40243)
Quiz
•
University
20 questions
C - Structures
Quiz
•
University
10 questions
cp06-01-1D-Array
Quiz
•
University
20 questions
DreamWeaver CS6
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
