Save
Upgrade to remove ads
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

[F1-FORMATIVE] CS15

[F1-FORMATIVE] Introduction to Data Structures / Review of Pointers

QuestionAnswer
It is is representation of the logical relationship existing between individual elements of data. Group of answer choices Data Structure Program Data Algorithm Data Structure
A Tree is unordered lists which use a ‘hash function’ to insert and search. Group of answer choices True False True
Dynamic Array Is an array whose size is not specified when you write the program, but is determined while the program is running. Group of answer choices True False True
True/False: Abstract Data Type (ADT) stores data and allow various operations on the data to access and change it. Group of answer choices True False True
char &ch is valid pointer declaration Group of answer choices True False False
The address of operator is a unary operator that returns the address of its operand. Group of answer choices -> & @ ~ &
It is a memory address of a variable. Group of answer choices Variable Pointer Pointer Variable Address of a Variable Pointer
Consider Program A: Blank #[3]: Supply the code that is appropriate in the blank. [MSQ-2B] Pointers as Dynamic Variables.JPG Group of answer choices new New new() New() new
Stack is a special area of memory that is reserved for dynamically allocated variables. Group of answer choices True False False
If there is insufficient available memory to create the new variable, then new returned a special value named NIL. Group of answer choices True False False
-- (T/F) The program makes use of typedef. T
-- (T/F) The data type of the pointer variable is double. F
-- (T/F) Variable a is an ordinary array. F
-- (T/F) p = a is a valid statement. T
-- (T/F) p = &a is a valid statement. T
-- What is the value of a[3]? 3
-- After performing the loop that increments the value of each element by 1, what is the value of p[7]? 8
-- (T/F) In the program, changes in p will affect a. T
-- What is the size of the array? 10
-- (T/F) p is an example implementation of dynamic array. T
new attempt || TRUE/FALSE: Program = Algorithms + Data Structures Group of answer choices True False True
Primitive data structures are derived from non-primitive data structures. Group of answer choices True False False
Abstraction means separating the logical properties from the implementation details. Group of answer choices True False True
True/False: ADTs support abstraction, encapsulation, and information binding. Group of answer choices True False True
TRUE/FALSE: The * operator in front of a pointer variable produces the variable to which it points. When used this way, the * operator is called the dereferencing operator. Group of answer choices True False True
TRUE/FALSE: There is a name associated with a pointer data type in C++. Group of answer choices True False False
Pointer Variable is the content that is stored in the memory address. True
Consider Program A: Blank #[8]: Supply the code that is appropriate in the blank. [MSQ-2B] Pointers as Dynamic Variables.JPG Group of answer choices *p1 p1 *p2 p2 *p2
Consider Program A: Blank #[6]: Supply the code that is appropriate in the blank. [MSQ-2B] Pointers as Dynamic Variables.JPG Group of answer choices int INT my type mytype int
You can assign a name definition and then use the type name to declare variables using typedef keyword. Group of answer choices True False True
Given the program below, answer the succeeding questions: MS-2C-POINTER5.jpg -- What is the name of the struc? emp
Given the program below, answer the succeeding questions: MS-2C-POINTER5.jpg -- What is the name of the pointer variable? employee
Given the program below, answer the succeeding questions: MS-2C-POINTER5.jpg -- What data type can the pointer variable points to? char
Given the program below, answer the succeeding questions: MS-2C-POINTER5.jpg -- (T/F) The variable employee in the main program and in the function Output are the same. F
Given the program below, answer the succeeding questions: MS-2C-POINTER5.jpg -- (T/F) The type of parameter passing used from main program to function Output is by reference. F
Given the program below, answer the succeeding questions: MS-2C-POINTER5.jpg -- (T/F) It is also possible to pass a struct into a function by value. T
Given the program below, answer the succeeding questions: MS-2C-POINTER5.jpg -- How fields are there in emp? 4
Given the program below, answer the succeeding questions: MS-2C-POINTER5.jpg -- (T/F) The new operator is necessary to provide memory allocations for employee. T
Given the program below, answer the succeeding questions: MS-2C-POINTER5.jpg -- (T/F) The only function called in the main program is Accept(). T
Given the program below, answer the succeeding questions: MS-2C-POINTER5.jpg -- (T/F) The program is capable of accepting information of multiple employees. F
Created by: geanm
 

 



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