0% found this document useful (0 votes)
293 views

Assignment 013 ComprogCS201

This document contains the results of 10 multiple choice questions from an assignment on pointers, references, and variables in C++. The student answered 7 questions correctly on the first attempt and received partial credit for 3 additional questions based on previous attempts. Overall, the student received a total score of 6.67/10.00 on the assignment.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
293 views

Assignment 013 ComprogCS201

This document contains the results of 10 multiple choice questions from an assignment on pointers, references, and variables in C++. The student answered 7 questions correctly on the first attempt and received partial credit for 3 additional questions based on previous attempts. Overall, the student received a total score of 6.67/10.00 on the assignment.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Assignment 013 ComprogCS201

Question 1
Correct
Mark 0.33 out of 1.00

Flag question

Question text

These are declared with parameters.


Select one:
a. Variables
b. Pointers
c. Functions
d. Classes
Check

Feedback

Correct
Marks for this submission: 1.00/1.00. Accounting for previous tries, this gives 0.33/1.00.
Question 2
Correct
Mark 1.00 out of 1.00

Flag question

Question text

These are containers that are assigned an actual value (e.g. not an address in
the memory).
Select one:
a. References
b. Variables
c. None of the choices
d. Pointers
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
Question 3
Correct
Mark 0.00 out of 1.00

Flag question

Question text

What are the result of retrieving a value from a variable?


Select one:
a. Reference to the value
b. Copy of the value
c. Copy of the address
d. Reference to the address
Check

Feedback

Correct
Marks for this submission: 1.00/1.00. Accounting for previous tries, this gives 0.00/1.00.
Question 4
Correct
Mark 0.67 out of 1.00

Flag question
Question text

These are containers that are preceded with an ampersand.


Select one:
a. Pointers
b. None of the choices
c. Variables
d. References
Check

Feedback

Correct
Marks for this submission: 1.00/1.00. Accounting for previous tries, this gives 0.67/1.00.
Question 5
Correct
Mark 0.67 out of 1.00

Flag question

Question text

What are used in function's parameters that store addresses in the memory?
Select one:
a. References
b. Pointers
c. None of the choices
d. Variables
Check

Feedback

Correct
Marks for this submission: 1.00/1.00. Accounting for previous tries, this gives 0.67/1.00.
Question 6
Correct
Mark 1.00 out of 1.00

Flag question

Question text

These are containers that are preceded with an asterisk.


Select one:
a. References
b. Variables
c. None of the choices
d. Pointers
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
Question 7
Correct
Mark 1.00 out of 1.00

Flag question

Question text

These are container objects in C++ that can be applied with references.
Select one:
a. Pointers
b. Variables
c. None of the choices
d. References
Check
Feedback

Correct
Marks for this submission: 1.00/1.00.
Question 8
Correct
Mark 1.00 out of 1.00

Flag question

Question text

These are non-constant containers that may only be assigned a value once.
Select one:
a. Pointers
b. Variables
c. None of the choices
d. References
Check

Feedback

Correct
Marks for this submission: 1.00/1.00.
What are used in function calls that store addresses in the memory?
Select one:
a. References
b. None of the choices
c. Variables
d. Pointers
Check

Feedback

Correct
Marks for this submission: 1.00/1.00. Accounting for previous tries, this gives 0.67/1.00.
Question 10
Correct
Mark 0.67 out of 1.00

Flag question

Question text

These are container objects in C++ that can be applied with pointers.
Select one:
a. Variables
b. Pointers
c. None of the choices
d. References
Check

Feedback

Correct
Marks for this submission: 1.00/1.00. Accounting for previous tries, this gives 0.67/1.00.

You might also like