DSA Quiz (A)

DSA Quiz (A)

University

80 Qs

quiz-placeholder

Similar activities

Computer Science Quiz

Computer Science Quiz

University

85 Qs

ch 4,5

ch 4,5

University

83 Qs

Sec-I-cquiz1

Sec-I-cquiz1

University

77 Qs

SIA 101 (Week 15)

SIA 101 (Week 15)

12th Grade - University

75 Qs

Soal UAS Ganjil Algoritma & Pemrograman

Soal UAS Ganjil Algoritma & Pemrograman

University

80 Qs

โครงสร้างข้อมูลและอัลกอริทึม

โครงสร้างข้อมูลและอัลกอริทึม

University

80 Qs

Server 2019 Chapters 4-6 Test Review

Server 2019 Chapters 4-6 Test Review

University

80 Qs

DAA KCS 503 Tutorial Quiz

DAA KCS 503 Tutorial Quiz

University

77 Qs

DSA Quiz (A)

DSA Quiz (A)

Assessment

Quiz

Computers

University

Hard

Created by

Om Jaiswal

FREE Resource

80 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 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

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In OOP, which of the following is used to achieve runtime polymorphism?
A friend function
A virtual function
Operator overloading
Function overloading

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

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

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many nodes does a complete binary tree with N leaves contain?
2N
N
2N-1
N-1
2(N-1)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these is an expression for runtime in T(n) for the following recurrence: T(n)=4T (n/ 2) + n²
O(n²)
O(nlogn)
O(n²logn)
O(nIog²n)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In C, which of the following bitwise operators is used to turn off a specific bit in a number?
&&
&
||
!

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?