ARRAYS
Quiz
•
Computers
•
11th - 12th Grade
•
Medium
Leo Richard
Used 29+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an Array?
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
In general, the index of the first element in an array is __________
0
-1
2
1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is meaning of following
declaration ?
int arr[20];
Array of size 20 that can have integer address
Array of Size 20
Integer Array of size 20
None of these
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assuming int is of 2 bytes, what is the size of int arr[15];?
15
19
11
30
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following piece of code?
int arr[]= {1,2,3,4,5};
cout<<arr[2];
cout<<arr[4];
3 and 5
5 and 3
2 and 4
4 and 2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you initialize an array in C++?
int arr[3] = (1,2,3);
int arr(3) = {1,2,3};
int arr[3] = {1,2,3};
int arr(3) = (1,2,3);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Elements in an array are accessed _____________
randomly
sequentially
exponentially
logarithmically
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
PRE-ASSESSMENT ETECH M1
Quiz
•
12th Grade
15 questions
11° Evaluación bimestral de informática
Quiz
•
11th Grade
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
10 questions
Quiz 9 (15.09.2021)
Quiz
•
1st - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
15 questions
Chapter 3: Storage devices and media (Part 2):
Quiz
•
10th - 11th Grade
10 questions
EMPTECH L4 Q2
Quiz
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
