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
How can you copy the contents of one C-style string to another string in C++?
(Essay)
4.8/5
(41)
Match each term with the correct statement below.
Premises:
array whose elements are accessed using a single subscript
Responses:
array
memory address
flag variable
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(45)
Match each term with the correct statement below.
Premises:
number that indicates the position of the particular array element being used
Responses:
memory address
one-dimensional array
subscript
Correct Answer:
Premises:
Responses:
(Matching)
5.0/5
(42)
Which of the following statements produces the same output as cout ? Assume someNumbers is an array of integers.
(Essay)
4.9/5
(45)
To compare the contents of two string objects you can use the ____.
(Multiple Choice)
4.9/5
(38)
When you assign one pointer to another, you are not making a copy of the data; instead, you are setting two pointers to point to the same memory location.
(True/False)
4.9/5
(27)
Match each term with the correct statement below.
Premises:
occurs when a pointer is left pointing to garbage
Responses:
hexadecimal
subscript
two-dimensional array
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(30)
In C++, you are required to assign array values to elements in sequential order.
(True/False)
4.9/5
(30)
When you declare an array, the size must be a(n) ____________________.
(Short Answer)
4.9/5
(38)
Describe the various ways to place an asterisk when declaring an integer pointer.
(Essay)
4.8/5
(40)
Match each term with the correct statement below.
Premises:
you use it to mark an occurrence
Responses:
element
array
memory address
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(35)
Showing 21 - 40 of 55
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)