
DS - Chapter 3 - Arrays
Quiz
•
Computers
•
University
•
Medium
Cayden Henderson
Used 12+ times
FREE Resource
Enhance your content
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If an array is declared as arr[] = {1,3,5,7,9}; then what is the value of sizeof(arr[3])?
1
2
3
8
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If an array is declared as arr[] = {1,3,5,7,9}; then what is the value of arr[3]?
1
7
9
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If an array is declared as double arr[50]; how many bytes will be allocated to it?
50
100
200
400
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If an array is declared as int arr[50], how many elements can it hold?
49
50
51
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If an array is declared as int arr[5][5], how many elements can it store?
5
25
10
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given an integer array arr[]; the ith element can be accessed by writing
*(arr+i)
*(i+arr)
arr[i]
All of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An array is used to refer multiple memory locations having the same name.
True
False
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
35 questions
Final Exam - BECC0302
Quiz
•
University
30 questions
Long Quiz
Quiz
•
University
33 questions
Midterm Exam - CTCC0323
Quiz
•
University
30 questions
MPP Pra UTS
Quiz
•
University
29 questions
Programación Orienta a Objetos: Semana 10
Quiz
•
University
31 questions
Cuestionario sobre Funciones de Arrays PHP
Quiz
•
University
30 questions
ITS Boot Camp C2
Quiz
•
University
26 questions
String in C Programming
Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms
Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms
Quiz
•
11th Grade - University
20 questions
La Hora
Quiz
•
9th Grade - University
7 questions
Cell Transport
Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University