
DCS1101 - Week 9 (Arrays)
Presentation
•
Computers
•
University
•
Medium
Yasmin Basiran
Used 1+ times
FREE Resource
38 Slides • 10 Questions
1
2
3
4
5
6
7
8
9
10
11
12
13
Multiple Choice
Array indexing begins with what number?
14
Multiple Choice
Which declaration is correct?
int num[5];
int[5] num;
num int[5];
array int num(5)
15
Multiple Choice
What will this output show if
int bats = {3,5,7}
cout << bats[1];
Output: Error
16
17
18
19
20
21
22
23
24
25
Multiple Choice
Default values in uninitialized local array?
26
Draw
Draw a spooky array called ghosts[5] and label each index with a different ghost.
27
Draw
Draw a memory box diagram showing how pumpkin[4] = 13 is stored.
28
29
30
31
32
33
34
35
36
37
38
39
40
Open Ended
Why is accessing out-of-range elements dangerous
41
42
43
44
45
Multiple Choice
Which of the code prints an entire row of arrays?
46
Multiple Choice
To modify array inside function, what is the best practice?
47
Open Ended
If you were storing potion recipes, would a 1D or 2D array be better? Why?
48
Show answer
Auto Play
Slide 1 / 48
SLIDE
Similar Resources on Wayground
46 questions
A Via Láctea e a evolução das Galáxias
Presentation
•
12th Grade
39 questions
Unit 207 Develop and Maintain your Effectiveness at Work
Presentation
•
Professional Development
41 questions
C++ Programming (Basic)
Presentation
•
University
41 questions
ClaseString
Presentation
•
University
46 questions
DCS1101 - Week 1 (Intro to CPP)
Presentation
•
University
46 questions
English Composition II - Workshop 6-2023
Presentation
•
University
46 questions
5.2 The Modern Periodic Table Slides
Presentation
•
KG - University
44 questions
Nuages, rotation 1 to 3 revision
Presentation
•
12th Grade
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
MyPath Diagnostic Overview
Presentation
•
6th - 8th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Adding and Subtracting Decimals
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
21 questions
Lab Safety
Quiz
•
10th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
20 questions
Brand Trivia
Quiz
•
9th Grade - University
10 questions
Would you rather...
Quiz
•
KG - University
21 questions
Mapa países hispanohablantes
Quiz
•
1st Grade - University
10 questions
Spanish Greetings and Goodbyes!
Presentation
•
6th Grade - University
12 questions
CE 2b Early Documents Review
Quiz
•
7th Grade - University
30 questions
Multiplying and Dividing Integers
Quiz
•
6th Grade - University
13 questions
Back to School
Quiz
•
KG - University