CRYPTEC TECHNICAL QUIZ  3RD SEM 2ND ROUND

CRYPTEC TECHNICAL QUIZ 3RD SEM 2ND ROUND

University

25 Qs

quiz-placeholder

Similar activities

Java Programming

Java Programming

University

20 Qs

c++

c++

University

22 Qs

Data Structure & Algorithm-Quiz-1

Data Structure & Algorithm-Quiz-1

University

30 Qs

Basics of Data Structure

Basics of Data Structure

University

20 Qs

Fundamentals of data Structures & Linked list

Fundamentals of data Structures & Linked list

University

20 Qs

Data Structures

Data Structures

University

20 Qs

Prelims - LIST

Prelims - LIST

University

20 Qs

DS GRAND QUIZ

DS GRAND QUIZ

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?