Exam 5: Understanding Arrays, Strings and Pointers
Exam 1: An Overview of Object-Oriented Programming and C++55 Questions
Exam 2: Evaluating C Expressions51 Questions
Exam 3: Making Decisions50 Questions
Exam 4: Performing Loops51 Questions
Exam 5: Understanding Arrays, Strings and Pointers55 Questions
Exam 6: Using C++ Functions51 Questions
Exam 7: Using Classes56 Questions
Exam 8: Class Features and Design Issues53 Questions
Exam 9: Understanding Friends and Overloading Operators52 Questions
Exam 10: Understanding Inheritance53 Questions
Exam 11: Using Templates54 Questions
Exam 12: Handling Exceptions51 Questions
Exam 13: Advanced Input and Output55 Questions
Exam 14: Advanced Topics53 Questions
Select questions type
You can determine the size of variables in your system with the ____ operator.
(Multiple Choice)
4.8/5
(36)
A C++ value expressed within double quotation marks is commonly called a ____.
(Multiple Choice)
4.9/5
(40)
Match each term with the correct statement below.
Premises:
identifies each location where a piece of data can be stored
Responses:
hexadecimal
subscript
array
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(36)
What problem can you identify in the following program?
Char name1[] = "Mary";
Char name2[] = "Diane";
Strcpy(name2, "Margaret Veronica");
(Multiple Choice)
4.8/5
(46)
To compare the contents of two strings you can use the ____.
(Multiple Choice)
4.9/5
(40)
Match each term with the correct statement below.
Premises:
list of individual items that all have the same type
Responses:
subscript
two-dimensional array
element
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(40)
Which of the following statements produces the same output as cout ? Assume someNumbers is an array of integers.
(Essay)
4.8/5
(36)
The ____ function reads characters into an array, up to a size limit or until the newline character is encountered, whichever comes first.
(Multiple Choice)
4.9/5
(35)
Memory locations beyond an array are ____________________ for the array.
(Short Answer)
4.8/5
(41)
Match each term with the correct statement below.
Premises:
array whose elements are accessed using two subscripts
Responses:
array
hexadecimal
memory address
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(37)
Match each term with the correct statement below.
Premises:
single object in an array
Responses:
hexadecimal
element
flag variable
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(32)
Showing 41 - 55 of 55
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)