Search Header Logo

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

Authored by Rafael Orta

Computers

University - Professional Development

Used 342+ times

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?