
C++ (Unit 1 & 2)

Quiz
•
Computers
•
12th Grade
•
Hard
Battala Krishna
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is the correct identifier?
VAR_123
$var_name
varname@
9abc_12
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is the concept of OOPs
object
function
Class
method
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which is used to define the member of a class externally?
:
;;
#
::
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following is a valid class declaration?
class A { int x; };
class B { }
public class A { }
object A { int x; };
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The data members and functions of a class in C++ are by default ____________
protected
public
private
public & protected
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following access specifier or specifiers are used for inheritance?
provate
public
protected
all of the above
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of the following statements is correct about the friend function in C++ programming language?
A friend function is able to access private members of a class
A friend function can access the private members of a class
A friend function is able to access the public members of a class
All of the above
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Variables and Data Types Knowledge Check

Quiz
•
9th - 12th Grade
18 questions
AP Computer Science A Post Unit 2 Check

Quiz
•
10th Grade - University
15 questions
CICS Test 2 Review

Quiz
•
9th - 12th Grade
15 questions
Basic Python Coding

Quiz
•
11th - 12th Grade
15 questions
JavaScript Basics

Quiz
•
12th Grade - University
20 questions
OOP Java

Quiz
•
12th Grade
20 questions
APCSA Arrays

Quiz
•
9th - 12th Grade
20 questions
QUIZ DASAR DASAR PEMROGRAMAN JAVA

Quiz
•
11th Grade - University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade