Search Header Logo

Untitled Quiz

Authored by Menaka Chameli

Computers

University

Used 2+ times

Untitled Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following application makes use of a circular linked list?




a)Recursive function calls

b) Undo operation in a text editor

c) Implement Hash Tables

d) Allocating CPU to resources

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following tree data structures is not a balanced binary tree?

a) Splay tree

b) B-tree


c) AVL tree

d) Red-black tree

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is an AVL tree?

a) a tree which is unbalanced and is a height balanced tree


b) a tree which is balanced and is a height balanced tree

c) a tree with atmost 3 children

d) a tree with three children

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the functionality of the following piece of code?

public void display()

{

if(size == 0)

System.out.println("underflow");

else

{

Node current = first; while(current != null)

{

System.out.println(current.getEle()); current = current.getNext();

}

}

}

a) display the list


b) reverse the list

c) reverse the list excluding top-of-the-stack-element

d) display the list excluding top-of-the-stack-element

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following data structure can provide efficient searching of the elements?

a) binary search tree


b) unordered lists

c) 2-3 tree

d) treap

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

In simple chaining, what data structure is appropriate?

a) Doubly linked list

b) Circular linked list

c) Singly linked list


d) Binary trees

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the need for a circular queue?

a) easier computations


b) implement LIFO principle in queues

c) effective usage of memory

d) to delete elements based on priority

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