CRYPTEC TECHNICAL QUIZ  3RD SEM 2ND ROUND

CRYPTEC TECHNICAL QUIZ 3RD SEM 2ND ROUND

University

25 Qs

quiz-placeholder

Similar activities

Docker & Kubernates

Docker & Kubernates

University

20 Qs

 Milking Minds 17-01-24

Milking Minds 17-01-24

University

25 Qs

Arrays

Arrays

University

20 Qs

Fundamentals of Data Structures-Test 1-Unit-1

Fundamentals of Data Structures-Test 1-Unit-1

University

20 Qs

3ICTH7H8DSA

3ICTH7H8DSA

University

25 Qs

Stack and Queue

Stack and Queue

University

25 Qs

Arrays and pointers quiz

Arrays and pointers quiz

University

20 Qs

Stack

Stack

University

20 Qs

CRYPTEC TECHNICAL QUIZ  3RD SEM 2ND ROUND

CRYPTEC TECHNICAL QUIZ 3RD SEM 2ND ROUND

Assessment

Quiz

Computers

University

Hard

Created by

PRAKHYATH KUDVA

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

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

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?