
DAY-2 DSA BOOTCAMP
Authored by ATHARVA GALNE
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not correct for virtual function in C++ ?
Must be declared in public section of class.
Virtual function can be static.
Virtual function should be accessed using pointers.
Virtual function is defined in base class
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Identify the scope resolution operator.
:
;
: :
| |
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not the member of class?
Static function
Friend function
Const function
Virtual function
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How many instances of an abstract class can be created?
0
Equal to number of class objects created
Abstract Value
Infinite
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Why reference is not same as a pointer?
A reference can never be null.
A reference once established cannot be changed.
Reference doesn't need an explicit dereferencing mechanism.
All of the above.
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Can we declare an array size as negative?
Yes, you can declare an array size as negative in certain programming languages.
No, you cannot declare an array size as negative in any programming language.
It depends on the programming language, some allow negative array sizes while others do not.
Negative array sizes are only allowed in advanced data structures, not in regular arrays.
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Pccoe_Pune
GFGPCCOE
PGcFcGoPeC_CPOuEne
Pccoe_PuneGFGPCCOE
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
10 questions
Software Testing
Quiz
•
University
10 questions
C++ Array Quiz
Quiz
•
University
10 questions
Microsoft Word
Quiz
•
University
15 questions
Computer Applications in Banking and Finance Quiz
Quiz
•
University
10 questions
Node.js
Quiz
•
University
10 questions
PHP Introduction - Assignment 1
Quiz
•
University
10 questions
margaret hamilton
Quiz
•
University
15 questions
Parcial - Módulo IV
Quiz
•
1st Grade - 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