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
12 questions
หน่วยที่ 2 หลักการและความสำคัญของเครือข่ายคอมพิวเตอร์
Quiz
•
University
20 questions
Spreadsheet Fundamentals - Quiz2
Quiz
•
University
20 questions
IT Essential UIUX Chapter 03 (Typography)
Quiz
•
University
10 questions
104-P-01: Delegates and lambdas
Quiz
•
University
15 questions
Software Engineering Chapter 2
Quiz
•
University
15 questions
Fundamentals Of Computer
Quiz
•
University
10 questions
QUIZ 2 NDJ10303 v1
Quiz
•
University
15 questions
NSCC-CODE TO COIN
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
