Reference and Pointers in C++

Quiz
•
Computers, Science
•
6th - 8th Grade
•
Medium
Natalia Fumero
Used 115+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What does this symbol allow for in C++? -> *
De-refrencing
Summing numbers
Making text more sparkly
Performing modular operations
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the operator used for dereferencing or indirection?
*
&
%
&&
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Specify whether the statement below is valid or invalid.
int i;
double * dp = &i;
Valid
Invalid
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
A pointer variable store a/an
value of another value.
value of another variable.
address of another pointer.
address of another variable.
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Given the following declarations:
int i;
int *pi;
double d;
double *pd;
Specify whether the statements below is valid or invalid.
pi = &i;
Valid
Invalid
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
The __________, also known as the address operator, returns the memory address of a variable.
asterisk (* )
ampersand ( & )
percent sign ( % )
exclamation point ( ! )
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What does the following statement do?
double *num2;
Declares a double variable named num2
Declares and initializes a pointer variable named num2
Initializes a pointer variable named num2
Declares a pointer variable named num2
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Строки в с++

Quiz
•
8th Grade
12 questions
Programare cu C++ nivel incepatori 5

Quiz
•
6th - 8th Grade
13 questions
Dojo - Type Inference

Quiz
•
1st - 12th Grade
7 questions
8 сынып өткен материалға шолу

Quiz
•
8th Grade
15 questions
Final 1A

Quiz
•
6th - 8th Grade
10 questions
C Language Basic Quiz

Quiz
•
7th Grade - Professio...
12 questions
Scientific Method Quiz

Quiz
•
7th Grade
10 questions
C++

Quiz
•
7th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade