Data Structure and Algorithm

Data Structure and Algorithm

University

43 Qs

quiz-placeholder

Similar activities

1sm2. UT5. Periféricos de entrada (2)

1sm2. UT5. Periféricos de entrada (2)

University

39 Qs

ข้อสอบปลายภาควิชาพื้นฐานธุรกิจดิจิทัล 1/2564

ข้อสอบปลายภาควิชาพื้นฐานธุรกิจดิจิทัล 1/2564

University

40 Qs

Repaso examen

Repaso examen

9th Grade - University

42 Qs

แบบทดสอบกลางภาควิชาเทคโนโลยีดิจิทัลเพื่อการจัดการอาชีพ

แบบทดสอบกลางภาควิชาเทคโนโลยีดิจิทัลเพื่อการจัดการอาชีพ

University

40 Qs

Basic Computer Concepts Quiz

Basic Computer Concepts Quiz

University

40 Qs

Ôn Tập Chuong III - Tin 11

Ôn Tập Chuong III - Tin 11

6th Grade - University

40 Qs

Topic 1 Introduction to Computer System

Topic 1 Introduction to Computer System

University

40 Qs

Arsitektur Komputer

Arsitektur Komputer

University

40 Qs

Data Structure and Algorithm

Data Structure and Algorithm

Assessment

Quiz

Computers, Mathematics

University

Practice Problem

Hard

Created by

inocencio madriaga

Used 92+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

43 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

If for an algorithm time complexity is given by O(n) then complexity of it is:

linear

exponential

constant

none of the mentioned

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Data in the data structures are processed by operations like insertion, deletion, sorting, merging and ______________

A. Traversing

B. Searching

C. Retrieval

D. Both A and B

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the insertion and deletion happens from both the ends then the deletion is called a ______

Deque

Enqueue

peek

full

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Process of inserting an element in stack is called

Insert

Pop

Overflow

Push

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?

CBA

ABDC

ABCD

DCAB

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What does the following function do for a given Linked List with first node as head?

void fun1(struct node* head)

{

if(head == NULL)

return;

fun1(head->next);

printf("%d ", head->data);

}

Prints all nodes of linked lists

Prints alternate nodes of Linked List

Prints all nodes of linked list in reverse order

Prints alternate nodes in reverse order

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

. Match the following.


a) Completeness i) How long does it take to find a solution

b) Time Complexity ii) How much memory need to perform the search.

c) Space Complexity iii) Is the strategy guaranteed to find the solution when there in one.

a-iii, b-i, c-ii

a-i, b-ii, c-iii

a-i, b-iii, c-ii

a-iii, b-ii, c-i

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?