Exam 7: Arrays
Exam 1: Introduction to Computers and Programming50 Questions
Exam 2: Introduction to C Plus Plus60 Questions
Exam 3: Expressions and Interactivity44 Questions
Exam 4: Making Decisions53 Questions
Exam 5: Loops and Files63 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays58 Questions
Exam 8: Searching and Sorting Arrays20 Questions
Exam 9: Pointers45 Questions
Exam 10: Characters, C-Strings, and More About the String Class45 Questions
Exam 11: Structured Data53 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes47 Questions
Exam 14: More About Classes40 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions40 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library Stl39 Questions
Exam 17: Linked Lists40 Questions
Exam 18: Stacks and Queues47 Questions
Exam 19: Recursion22 Questions
Exam 20: Binary Trees38 Questions
Select questions type
Which statement correctly uses C++ 11 to initialize a vector of ints named n with the values 10 and 20?
(Multiple Choice)
4.8/5
(68)
An array can easily be stepped through by using a ________.
(Multiple Choice)
4.8/5
(90)
When writing functions that accept multi-dimensional arrays as arguments, ________ must be explicitly stated in the parameter list.
(Multiple Choice)
4.7/5
(81)
To pass an array as an argument to a function, pass the ________ of the array.
(Multiple Choice)
4.9/5
(78)
An individual array element can be processed like any other type of C++ variable.
(True/False)
4.8/5
(70)
In C++ 11, the range-based for loop is best used in situations where you need the element subscript for some purpose.
(True/False)
4.9/5
(72)
An array of string objects that will hold 5 names would be declared using which statement?
(Multiple Choice)
5.0/5
(77)
A two-dimensional array can have elements of ________ data type(s).
(Multiple Choice)
4.8/5
(87)
A two-dimensional array of characters can contain ________.
(Multiple Choice)
4.8/5
(83)
The name of an array stores the ________ of the first array element.
(Multiple Choice)
4.8/5
(76)
Although two-dimensional arrays are a novel idea, there is no known way to pass one to a function.
(True/False)
4.8/5
(81)
Showing 41 - 58 of 58
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)