JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
CS 3650 - Computer Systems ICA-02
An In Class Activity on today's lecture that is to be completed in class.
Sign in to Google
to save your progress.
Learn more
* Indicates required question
First Name
*
Your answer
Last Name
*
Your answer
Email address
*
Your answer
Is there a difference between heap and stack memory?
*
1 point
Yes. Stack memory is automatically allocated when a function is called. The heap is managed by malloc and free.
No. They are identical.
Which of the following apply to a pointer? (Check all that apply)
*
1 point
A pointer is a data type.
A pointer stores an address.
You can have pointers the point to custom data types you define (i.e., structs).
Required
What does it mean to "dereference" a pointer?
*
1 point
To return the address of the variable.
To return the value of the variable it points to.
What is a Null Terminator? (Check all that apply)
*
1 point
A '0' value used to end strings.
The never released first movie of the Terminator series.
Required
What happens if we forget to reclaim or "free" memory in C?
*
1 point
Nothing, the OS handles that.
There is a 'memory leak' and if my process runs long enough the system will run out of memory and crash.
Nothing, C handles reclaiming memory if I forget to.
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google.
Report Abuse
-
Terms of Service
-
Privacy Policy
Forms