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 Exam Questions and Verified Answers| Latest Update 2026/2027

Rating
-
Sold
-
Pages
44
Grade
A+
Uploaded on
15-04-2026
Written in
2025/2026

CSCI 2010 Midterm Exam Questions and Verified Answers| Latest Update

Institution
CSCI 2010
Course
CSCI 2010

Content preview

CSCI 2010 Midterm Questions and
Verified Answers| Latest Update



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




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

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




When you work with a dereferenced pointer, you are 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
C




These can be used as pointers.
a. Array names

,b. Numeric constants
c. Punctuation marks
d. All of these
e. None of these
A




The contents of pointer variables may be changed 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
C




A pointer may be initialized with
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

, A




What does the following statement do?
double *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
D




When the less than ( < ) operator is used between two 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
C

Written for

Institution
CSCI 2010
Course
CSCI 2010

Document information

Uploaded on
April 15, 2026
Number of pages
44
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.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

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.
KelvinBrooks West Virgina University
Follow You need to be logged in order to follow users or courses
Sold
684
Member since
2 year
Number of followers
9
Documents
5136
Last sold
7 hours ago
Brooks

Welcome to Brooks Study guides! The place to find the best study materials for various subjects. You can be assured that you will receive only the best which will help you to ace your exams. All the materials posted are A+ Graded. Thank you very much!

4.3

76 reviews

5
44
4
14
3
15
2
2
1
1

Recently viewed by you

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