Search Header Logo

test

Authored by Om Jaiswal

Computers

University

test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a

b

c

d

e

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In OOP, a friend function of a class has exclusive access to which members of that class?

Private & protected members
Public & protected members
Private & public members
Private members
Protected members

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In OOP, which of the following is used to achieve runtime polymorphism?

A friend function
A virtual function
Operator overloading
Function overloading

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In OOP, which of the following concepts allows a class object to be used inside another class?

Encapsulation
Abstraction
Composition
Inheritance

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the postfix expression for the following prefix expression: +pq-rs

pq+rs-
pqrs+-*
pq+rs*-
pq+-rs*

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many nodes does a complete binary tree with N leaves contain?

2N
N
2N-1
N-1
2(N-1)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers