PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

University - Professional Development

10 Qs

quiz-placeholder

Similar activities

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

SAN Module 4 Quiz

SAN Module 4 Quiz

University

15 Qs

WN-CELLULAR CONCEPT

WN-CELLULAR CONCEPT

University

10 Qs

PRACTICE  SET FOR INTERMEDIATE 2

PRACTICE SET FOR INTERMEDIATE 2

Professional Development

10 Qs

coding

coding

7th Grade - University

14 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

Week 4

Week 4

University

15 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

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

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?