Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

CIS 123 comp mem

The & operator finds the address of a variable
How much access time vary between different RAM memory locations? It takes the same time to access any address
You don't need to have a return statement in your function when you declare that your function has void return type
How big is one byte? 8 bits
T or F, Computer memory is similar to a row of container boxes with unique address assigned to each box true
T or F, A memory address uniquely identifies a piece of memory available to the CPU. true
&x means take the address of &x
T or F, The higher the memory address in RAM the longer it takes for the CPU to access that memory. false
Required amount of memory storage for global variables is allocated at compile time
The body of the function is surrounded by braces
Does function main( ) have a return value in a C/C++ program? yes
Computer memory locations (addresses) are numbered sequentially starting at 0
In C, C++, and Java, int is a data type
What return value is expected from main( ) at the normal ending of a C/C++ program? 0
Using calculator, convert decimal value 123 to hex: 7B
A C++ program #include <iostream> int main() { int x = 123; std::cout << &x << '\n'; return 0; } prints the memory address of the variable x
Local variables live in the stack
A memory address is a unique number identifying a piece of memory
T or F, By definition, global variables are accessible both inside and outside of C functions. true
Empty parentheses in main( ) indicate that the function has no input parameters
By definition, global variable is the one declared outside of any function (at the file level)
Using calculator, convert hex value 5F to binary: 01011111
Accessing memory at the NULL (nullptr in C++) location will cause a segmentation fault crash
T or F, Multiple computer memory locations can be accessed via the same memory address. false
In C++ program , the variable my_global_variable is initialized with all bits set to zero
Which of the following is an example of an error related to computer memory misuse? all of the above
Created by: Notthebrave
Popular Quiz Bowl sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards