
DS - Chapter 3 - Arrays

Quiz
•
Computers
•
University
•
Medium
Cayden Henderson
Used 12+ times
FREE Resource
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
Similar Resources on Wayground
33 questions
Pre assessment_Front end_Athani

Quiz
•
University
33 questions
Pre assessment_Front end_Ranebennur

Quiz
•
University
30 questions
Data Structures Quiz

Quiz
•
University
33 questions
Pre assessment quiz_ Front end + react_ Khanapur

Quiz
•
University
30 questions
Latihan UAS

Quiz
•
University
30 questions
kamala_bec

Quiz
•
University
35 questions
CodeChef (Secret Snippet)

Quiz
•
University
35 questions
CS2110 Spring 24 Final Exam Prep

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University