1) How can we describe an array in the best possible way?
Quiz 1_DSA

Quiz
•
Computers
•
University
•
Medium
Lenin Narengbam
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
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
Similar Resources on Quizizz
25 questions
QUIZ

Quiz
•
University
20 questions
DAA-Quiz1

Quiz
•
University
16 questions
Linked List and Arrays in JAVA

Quiz
•
University
15 questions
Searching and Sorting

Quiz
•
University - Professi...
15 questions
Knowledge Knockout[Quiz Round](2nd-4th years)

Quiz
•
University
18 questions
Sorting Algorithms II

Quiz
•
University
21 questions
Sorting algorithms I

Quiz
•
University
15 questions
Sorting

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade