PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

University - Professional Development

10 Qs

quiz-placeholder

Similar activities

Quiz 1: The background and history of IoT

Quiz 1: The background and history of IoT

University

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Binary Tree

Binary Tree

University

14 Qs

Linked List 2

Linked List 2

University

10 Qs

Website Usability and UX

Website Usability and UX

University

10 Qs

Python Week 1 & 2

Python Week 1 & 2

University

10 Qs

OM_SBENT3C_Q2

OM_SBENT3C_Q2

University - Professional Development

15 Qs

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

Assessment

Quiz

Computers

University - Professional Development

Practice Problem

Medium

Created by

Rafael Orta

Used 342+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?