Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CSCI 2010 Midterm Review – Chapters 9, 11, 13 Practice Questions

Rating
-
Sold
-
Pages
48
Grade
A+
Uploaded on
31-03-2026
Written in
2025/2026

CSCI 2010 Midterm Review – Chapters 9, 11, 13 Practice Questions Description: This document contains midterm review questions and answers for CSCI 2010 chapters 9, 11, and 13, focusing on programming concepts, algorithms, and data structures.

Show more Read less
Institution
CSCI
Course
CSCI

Content preview

(CSCI 2010 Midterm Ch 9, 11, 13 Review,: 2026 Questions and Answers)



The _________ , also known as the address operator, B
returns the memory address of a variable.
a. asterisk ( * )
b. ampersand ( & )
c. percent sign (%)
d. exclamation point ( ! )
e. None of these


With pointer variables, you can __________ manipulate C
data stored in other variables.
a. never
b. seldom
c. indirectly
d. All of these
e. None of these




3/30/2026, 5:31:26 PM 3/30/2026, 5:31:25 PM 3/30/2026, 5:31:22 PM

, (CSCI 2010 Midterm Ch 9, 11, 13 Review,: 2026 Questions and Answers)


The statement int *ptr; ฀has the same meaning as D
a. int ptr;
b. *int ptr;
c. int ptr*;
d. int* ptr;
e. None of these


When you work with a dereferenced pointer, you are C
actually working with:
a. a variable whose memory has been deallocated
b. a copy of the value pointed to by the pointer
variable
c. the actual value of the variable whose address is
stored in the pointer variable
d. All of these
e. None of these




3/30/2026, 5:31:26 PM 3/30/2026, 5:31:25 PM 3/30/2026, 5:31:22 PM

, (CSCI 2010 Midterm Ch 9, 11, 13 Review,: 2026 Questions and Answers)


These can be used as pointers. A
a. Array names
b. Numeric constants
c. Punctuation marks
d. All of these
e. None of these


The contents of pointer variables may be changed C
with mathematical statements that perform:
a. all mathematical operations that are legal in C++
b. multiplication and division
c. addition and subtraction
d. b and c
e. None of these


A pointer may be initialized with A
a. the address of an existing object
b. the value of an integer variable
c. the value of a floating point variable
d. all of these
e. None of these


3/30/2026, 5:31:26 PM 3/30/2026, 5:31:25 PM 3/30/2026, 5:31:22 PM

, (CSCI 2010 Midterm Ch 9, 11, 13 Review,: 2026 Questions and Answers)


What does the following statement do?฀double D
*num2;
a. Declares a double variable named num2.
b. Declares and initializes an pointer variable named
num2.
c. Initializes a variable named *num2.
d. Declares a pointer variable named num2.
e. None of these


When the less than ( < ) operator is used between two C
pointer variables, the expression is testing whether
a. the value pointed to by the first is less than the value
pointed to by the second
b. the value pointed to by the first is greater than the
value pointed to by the second
c. the address of the first variable comes before the
address of the second variable in the computer's
memory
d. the first variable was declared before the second
variable
e. None of these


3/30/2026, 5:31:26 PM 3/30/2026, 5:31:25 PM 3/30/2026, 5:31:22 PM

Written for

Institution
CSCI
Course
CSCI

Document information

Uploaded on
March 31, 2026
Number of pages
48
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$12.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Also available in package deal

Thumbnail
Package deal
CS & CSCI 2010/1010/1300 – Comprehensive Practice Questions and Study Guides
-
16 2026
$ 84.13 More info

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
doingqwerty Harvard University
View profile
Follow You need to be logged in order to follow users or courses
Sold
262
Member since
9 months
Number of followers
0
Documents
227
Last sold
2 weeks ago

4.5

4 reviews

5
2
4
2
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions