
1D Array
Authored by Abhishek Pandey
Computers
University
Used 23+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Array?
A. Collection of different type of elements
B. Collectionof similar type of elements
C. None of the above
D. Both A and C
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is right way to Initialize array?
A. int num[6] = { 2, 4, 12, 5, 45, 5 };
B. int n{} = { 2, 4, 12, 5, 45, 5 };
C. int n{6} = { 2, 4, 12 };
D. int n(6) = { 2, 4, 12, 5, 45, 5 };
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of dimensions an array in C may have?
A. Two
B. eight
C. sixteen
D. Theoratically no limit. The only practical limits are memory size and compilers
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the starting index of an array in C?
0
1
5
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare an array named "scores" that can store 5 integers in C
array scores = 5;
int scores[5];
scores = int[5];
int[] scores ;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C, what function is used to input values into an array from the user
scan()
input()
scanf()
read()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
in array int a[5]; what will be index of last element
4
5
8
2
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
Programación II Parte 5
Quiz
•
University
10 questions
Quiz Ke 8 alprog if-09
Quiz
•
University
10 questions
História da Matemática
Quiz
•
University
9 questions
CHAPTER 5 ONLINE QUIZ
Quiz
•
University
8 questions
Arquitetura de computadores (Aula 2)
Quiz
•
University
12 questions
Javascript
Quiz
•
University
9 questions
Los periféricos del computador
Quiz
•
1st Grade - Professio...
10 questions
Quizizz
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