Quiz 1_DSA
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
Lenin Narengbam
Used 1+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
1) How can we describe an array in the best possible way?
The Array shows a hierarchical structure.
Arrays are immutable.
Container that stores the elements of similar types
The Array is not a data structure
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How can we initialize an array in C language?
int arr[2]=(10, 20)
int arr(2)={10, 20}
int arr[2] = {10, 20}
int arr(2) = (10, 20)
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is the disadvantage of the array?
Stack and Queue data structures can be implemented through an array.
Index of the first element in an array can be negative
Wastage of memory if the elements inserted in an array are lesser than the allocated size
Elements can be accessed sequentially.
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which one of the following is the size of int arr[9] assuming that int is of 4 bytes?
9
36
35
None of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which data structure is mainly used for implementing the recursive algorithm?
Queue
Stack
Binary tree
Linked list
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What would be the time complexity if user tries to insert the element at the end of the linked list (head pointer is known)
O(1)
O(n)
O(logn)
O(nlogn)
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is the time complexity to search an element in the linked list?
O(1)
O(n)
O(logn)
O(nlogn)
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Monday Week#2
Quiz
•
University
15 questions
Partes de una PC
Quiz
•
7th Grade - University
16 questions
Gerência do Processador
Quiz
•
University
20 questions
Computación 1ro y 2do básico
Quiz
•
1st Grade - University
15 questions
IT 209
Quiz
•
University
20 questions
PHP First Internal Practical Viva
Quiz
•
University
15 questions
Assessment 08
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
