PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

University - Professional Development

10 Qs

quiz-placeholder

Similar activities

HEAP TREE

HEAP TREE

University

11 Qs

PDS - 04225 - Heaps and Treaps - Chapter 10

PDS - 04225 - Heaps and Treaps - Chapter 10

University

10 Qs

COMPUTER PROGRAMMING 2- SEATWORK 1- INTRO TO DATA STRUCTURES

COMPUTER PROGRAMMING 2- SEATWORK 1- INTRO TO DATA STRUCTURES

University

10 Qs

POINTERS

POINTERS

University

10 Qs

C - Pointers

C - Pointers

University

10 Qs

Dynamic Allocation

Dynamic Allocation

University

8 Qs

C++ Pointers and Arrays

C++ Pointers and Arrays

University

13 Qs

Arrays and Linked Lists

Arrays and Linked Lists

University

15 Qs

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

Assessment

Quiz

Computers

University - Professional Development

Medium

Created by

Rafael Orta

Used 342+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C++ pointers are

Memory locations

always int data type

objects that do not require data type

Variables that point at other variables

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C++ Pointer variables contain

Integer values

addresses of locations in memory

hexadecimal numbers

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C++ the heap is

A special C++ library that controls the memory

A special variable

An amorphous block of memory that your program can access as necessary.

An perfect block of memory that your program can access as necessary.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C++ the Memory is broken into individual bytes with each byte carrying it’s own:

Values

Pointers

Scope

Address

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The heap is:

Symmetric storage

a special variable

A block of memory that is controlled by the programmer

A block of memory that is controlled by the compiler

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What are 2 typical problems with fixed array sizes?.

Exceeding the maximum

Use of For Loops

Use of indexes to access the array

No expansion

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you use the "new" command in C++ for?.

Create new object

De-reference memory locations

Allocate heap memory

Create arrays

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?