Aptitude and OOP Concepts Assessment

Aptitude and OOP Concepts Assessment

University

20 Qs

quiz-placeholder

Similar activities

Qualifier Set B

Qualifier Set B

University

25 Qs

ASD - B

ASD - B

University

20 Qs

NEXUS'25

NEXUS'25

University

20 Qs

Python Files

Python Files

University

15 Qs

Exploring Creative Coding Foundations

Exploring Creative Coding Foundations

University

21 Qs

AVINYA 2K25

AVINYA 2K25

University

19 Qs

ETS Pemrograman Berorientasi Obyek

ETS Pemrograman Berorientasi Obyek

University

15 Qs

C++ OOPs Concepts & Inheritance Quiz

C++ OOPs Concepts & Inheritance Quiz

University

20 Qs

Aptitude and OOP Concepts Assessment

Aptitude and OOP Concepts Assessment

Assessment

Quiz

Engineering

University

Medium

Created by

Atharva Kulthe

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the next number in the series: 2, 4, 8, 16, ?

32

64

24

40

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If A is taller than B and B is taller than C, who is the shortest?

B

D

C

A

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a certain code language, if 'CAT' is coded as '3120', how is 'DOG' coded?

2145

3056

4157

4178

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid pointer declaration in C?

float *ptr;

int ptr;

char ptr;

int *ptr;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is polymorphism in OOP?

Polymorphism is the ability to create multiple instances of a class.

Polymorphism refers to the process of combining multiple classes into one.

Polymorphism is the ability of a class to inherit properties from multiple classes.

Polymorphism is the ability of different classes to be treated as instances of the same class through a common interface.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you access the value pointed to by a pointer in C?

Use the dereference operator '*' to access the value pointed to by a pointer.

Use the increment operator '++' to retrieve the value from the pointer.

Access the value directly using the pointer variable without any operator.

Use the address operator '&' to access the value pointed to by a pointer.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code: int a = 5; int *p = &a; printf('%d', *p);?

6

10

4

5

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?