
Ben's Flashcard
Flashcard
•
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What does this code snippet do?
Back
Fill the array with zeros
2.
FLASHCARD QUESTION
Front
How would I access the 3rd element in the 4th row of an array? Options: arrName[4][3], arrName[3][2], arrName[2][3], arrName[3][4]
Back
arrName[3][2]
3.
FLASHCARD QUESTION
Front
How would I declare an array of 11 rows and 13 columns? Options: int arrName[11][13], int arrName[13][11], int arrName[12][10], int arrName[10][12]
Back
int arrName[11][13]
4.
FLASHCARD QUESTION
Front
When you pass a two-dimensional array to a function, which dimension(s) does the compiler make sure that you pass?
Back
The 2nd dimension
5.
FLASHCARD QUESTION
Front
What type is returned when indexing a two dimensional array declared as int my2DArr[3][4] with my2DArr[0]?
Back
A pointer to an array
6.
FLASHCARD QUESTION
Front
I pass a 2D array to a function and modify it inside the function. When I return from the function I print the values. Are the values printed the modified ones or the original ones?
Back
The modified ones
7.
FLASHCARD QUESTION
Front
I pass an integer to a function and modify it inside the function. When I return from the function I print the integer. Is the integer printed the modified one or the original one?
Back
The original one
8.
FLASHCARD QUESTION
Front
True/False - If I want to loop through a 2D array inside a function, I need to pass both dimensions to the function. True/False - I will likely use a loop inside a loop (nested looping) for this.
Back
True, True
9.
FLASHCARD QUESTION
Front
Am I allowed to do this? my2DArr[1.0][2]
Back
No
Similar Resources on Wayground
10 questions
Animals per tot arreu!
Flashcard
•
2nd Grade
5 questions
Twilight 3 part
Flashcard
•
12th Grade
3 questions
Untitled Flashcards
Flashcard
•
9th Grade - University
10 questions
Gespräche an der Rezeption
Flashcard
•
7th - 10th Grade
10 questions
Making sentences
Flashcard
•
4th - 6th Grade
7 questions
CSS Rules Flashcard-unit 4 CodeHS
Flashcard
•
7th Grade - University
9 questions
Patrik test
Flashcard
•
KG
4 questions
Seasons
Flashcard
•
KG
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
Discover more resources for
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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