Data Structures and Algorithm

Quiz
•
Computers
•
11th Grade - Professional Development
•
Medium
Saurabh Soni
Used 32+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following sorting algorithms can be used to sort a random linked list with minimum time complexity?
Insertion Sort
Quick Sort
Merge Sort
Heap Sort
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the worst case, the number of comparisons needed to search a singly linked list of length n for a given element is (GATE CS 2002)
log 2 n
n/2
log 2 n - 1
n
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose each set is represented as a linked list with elements in arbitrary order. Which of the operations among union, intersection, membership, cardinality will be the slowest? (GATE CS 2004)
membership, cardinality
intersection, membership
union, intersection
union only
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The minimum number of comparisons required to determine if an integer appears more than n/2 times in a sorted array of n integers is
Θ(n)
Θ(logn)
Θ(log*n)
Θ(1)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A series of values stored in memory is called ___
an array
a tree
a matrix
a struct
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In some languages, arrays are also called ___
groups or arrows
roots or leaves
lists or vectors
lines or strings
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Arrays of characters, like letters, numbers, punctuation and other written symbols, are called ___
structs
vectors
strings
groups
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
Battle With DSA

Quiz
•
University
30 questions
BUG-OFF

Quiz
•
University
27 questions
T-Level DPDD: Searching & Sorting Algorithms Quiz

Quiz
•
11th Grade
25 questions
C++ with DS

Quiz
•
University
30 questions
Data Structures and Algorithms Quiz

Quiz
•
University
33 questions
CS 3 Midterm 2023

Quiz
•
12th Grade
27 questions
Data Structures Midterm Exam WRI

Quiz
•
University
25 questions
WOMANIA PRELIMS

Quiz
•
Professional Development
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
11 questions
All about me

Quiz
•
Professional Development
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade