PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

University - Professional Development

10 Qs

quiz-placeholder

Similar activities

Data Structures Quiz

Data Structures Quiz

University

10 Qs

Dynamic Arrays C++

Dynamic Arrays C++

University - Professional Development

10 Qs

Linked List

Linked List

Professional Development

15 Qs

C++ Pointers and Arrays

C++ Pointers and Arrays

University - Professional Development

10 Qs

C++ Pointer

C++ Pointer

University

13 Qs

exception

exception

University

10 Qs

Arrays and Pointers in C

Arrays and Pointers in C

University

15 Qs

DATA STRUCTURE QUIZ 1- INTRO TO DATA STRUCTURES

DATA STRUCTURE QUIZ 1- INTRO TO DATA STRUCTURES

University

10 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?