Which function incorporates a membership 'identity label' in the header?

CRYPTEC TECHNICAL QUIZ 3RD SEM 2ND ROUND

Quiz
•
Computers
•
University
•
Hard
PRAKHYATH KUDVA
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Member functions
Normal functions
Inline functions
Constant functions
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the extra feature in classes which was not in the structures?
Member functions
Data members
Public access specifier
Static Data allowed
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which definition best defines the concept of abstraction?
Hides the important data
Hides the implementation and showing only the features
Hiding the implementation
Showing the important data
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which among the following is not a member of the class?
Virtual function
Constant function
Static function
Friend function
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the size of a class?
Sum of the size of all inherited variables along with the variables of the same class
The size of the class is the largest size of the variable of the same class
Classes in the programming languages do not have any size
Sum of the size of all the variables within a class.
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of the following variable violates the definition of encapsulation?
Array variables
Local variables
Global variables
Public variables
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Box(double w, double h, double d) {
this.width = w;
this.height = h;
this.depth = d;
}
What is the purpose of “this” keyword in the above code snippet?
this is a reference to the method which was invoked
this can be used inside any method to refer to the current object
this is used to initialize and declare objects
this is used to initialize a method within a class
Create a free account and access millions of resources
Similar Resources on Quizizz
22 questions
EXCEPTION HANDLING IN PYTHON

Quiz
•
University
20 questions
Quantitative Aptitude Series

Quiz
•
University
22 questions
c++

Quiz
•
University
30 questions
Data Structure & Algorithm-Quiz-1

Quiz
•
University
30 questions
Data Structures and Algorithms Quiz

Quiz
•
University
20 questions
Code Junction 4

Quiz
•
University
23 questions
Java Array

Quiz
•
University
21 questions
quiz 2nd/3rd year

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade