CSNP-04103 Chapter 6 - Functions
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Rafael Orta
Used 189+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
What are the methods used to pass parameters to a function in C++?
Call by memory
Call by reference
Call by duplicating the argument
Call by value
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Select all that apply. Functions can:
Return no value
Return exactly one value
Return more than one value
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C++ What is the symbol used to tell the compiler that you are sending a parameters to a function by reference?.
&&
@
*
&
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C++ when sending parameters by reference the & is placed.
&<Data Type>
<Data Type>&
<Data Type> <Variable Name>&
<Data Type> <Constant Name>&
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C++ if you are calling a function passing parameters by reference, the function itself must be of type:.
void
int
float
string
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C++ When passing parameters by reference to a function, you are passing:
A copy of the value in the calling function.
The value of the parameters in the calling function
The memory address of the variable in the calling function
None of the above.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In C++, If you need to send a value to a function by using parameters, and you do not need to return anything from the function, what type of call will you use:
Call by Value
Call by Reference
Call by Cellular phone
A void call
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Computer Applications in Banking and Finance Quiz
Quiz
•
University
15 questions
Computer Science Quiz
Quiz
•
University
10 questions
Node.js
Quiz
•
University
10 questions
Scratch (28th March)
Quiz
•
KG - University
10 questions
PHP Introduction - Assignment 1
Quiz
•
University
10 questions
C++ Array Quiz
Quiz
•
University
10 questions
Microsoft Word
Quiz
•
University
15 questions
quiz pertemuan 2 asik ddp
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
