
BroCode Round 1
Authored by Shravan Kale
Computers
University
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Inheritance is the principle that
Classes with the same name must be derived from one another
Knowledge of a general category can be applied to more specific objects
C++ functions may be used only if they have logical predecessors
One function name may invoke different methods
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
If you want to use a class to define objects in many different programs, you should define the class in a C++ _______ file
Header
Program
Source
Text
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You can use C++ as a procedural, as well as an object-oriented, language
True
False
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is false?
You enclose a function's statements in a set of braces
The function header is considered a C++ statement, so it must end in a semicolon
The keyword void tells the C++ compiler that the function does not return a value
A function can receive information that you send (pass) to it
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is an access specifier?
Particular
Shielded
Protected
Safe
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
When a program calls a function that has default parameters, if you omit an argument, you must ________
Not omit any other arguments
Omit all arguments
Omit all arguments to the right of that argument
Omit all arguments to the left of that argument
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
If we pass an array as an argument to a function, what actually gets passed?
Value of elements in array
First element of the array
Base address of the array i.e., the address of the first element
Address of the last element of array
Access all questions and much more by creating a free account
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
20 questions
Processing- The CPU Quiz
Quiz
•
10th Grade - University
20 questions
Skill Competition Quiz 2024
Quiz
•
10th Grade - University
15 questions
[CEH4H3] Sistem Tertanam Ganjil 1819 Kuis Online 2
Quiz
•
University
15 questions
Introducción Redes Tele1 IB
Quiz
•
10th Grade - University
20 questions
Spreadsheet Fundamentals - Quiz2
Quiz
•
University
20 questions
Algoritma Remedial RPL
Quiz
•
University
15 questions
Chapter 8 - Memory Management Strategies
Quiz
•
University
15 questions
Revisão - Unidade I - Teoria da Computação
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade