
DS - Chapter 3 - Arrays
Authored by Cayden Henderson
Computers
University
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
27 questions
Arquitecturas Computacionales
Quiz
•
University
27 questions
Kuis tentang Peranan TIK dibidang Pertanian dan Kesehatan
Quiz
•
11th Grade - University
29 questions
Unreal Engine 4 - Widget Blueprints
Quiz
•
9th Grade - University
30 questions
Komputer Jaringan Dasar
Quiz
•
1st Grade - Professio...
30 questions
Fundamentals of Computers
Quiz
•
5th Grade - University
26 questions
Hacking quiz
Quiz
•
University
26 questions
UNIT 15 - Revision 2 - 10/10/21
Quiz
•
University
26 questions
Midterm Examination - PF101- OOP
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