Multi-Paradigm Programming with Modern C++ - Passing Things Around

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a method of passing data in C?
By constant array
By constant pointer
By constant reference
By value
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the recommended maximum number of arguments for a function to maintain simplicity?
2
6
4
8
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why should you avoid relying on interfaces of other packages in your interface design?
It might expose implementation details
It makes the code run faster
It increases the number of arguments
It simplifies the code
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default method for passing arguments when a copy is cheap?
By pointer
By constant reference
By value
By reference
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a better alternative to using out arguments in a function?
Using a global variable
Using a return statement
Using a raw pointer
Using a constant pointer
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a major downside of using raw pointers?
They are too complex
They are ambiguous
They are too fast
They are too simple
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When is it acceptable to use raw pointers?
When using a legacy API
When using a constant reference
When using a smart pointer
When using a modern API
Similar Resources on Wayground
3 questions
C++ Developer - Section Overview - Pointers

Interactive video
•
University
8 questions
Complete Modern C++ - Reference

Interactive video
•
University
8 questions
C++ Standard Template Library in Practice - Shared Pointers

Interactive video
•
University
4 questions
Multi-Paradigm Programming with Modern C++ - Shared Pointer

Interactive video
•
University
8 questions
Multi-Paradigm Programming with Modern C++ - Arguments and Return Values

Interactive video
•
University
4 questions
Mastering C++ Standard Library Features [Video] - Smart Pointers: Guidelines

Interactive video
•
University
2 questions
Multi-Paradigm Programming with Modern C++ - Managing Memory

Interactive video
•
University
6 questions
Behavioral Design Patterns in C++ - Methods for States - IV

Interactive video
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University