Data Structures and Algorithm

Data Structures and Algorithm

11th Grade - Professional Development

30 Qs

quiz-placeholder

Similar activities

TM103 - Ch.1 Quiz

TM103 - Ch.1 Quiz

University

25 Qs

SDdbC#_Final Quiz

SDdbC#_Final Quiz

Professional Development

25 Qs

Đề Cương Tin Học 8 HKI

Đề Cương Tin Học 8 HKI

1st Grade - University

25 Qs

PST - Day 6 | Post Day Quiz

PST - Day 6 | Post Day Quiz

Professional Development

25 Qs

ITS301-Unit1 OHS Trial Test 2

ITS301-Unit1 OHS Trial Test 2

University

25 Qs

Quiz tentang Array dan String, knapsack dalam Pemrograman

Quiz tentang Array dan String, knapsack dalam Pemrograman

11th Grade

25 Qs

UAS Basis Data 2

UAS Basis Data 2

University

25 Qs

Data Structures and Algorithm

Data Structures and Algorithm

Assessment

Quiz

Computers

11th Grade - Professional Development

Practice Problem

Medium

Created by

Saurabh Soni

Used 32+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?