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
20 questions
Sorting and Searching Algorithms Quiz - Batch 1

Quiz
•
University
15 questions
Data Structures Activity - 1

Quiz
•
University
20 questions
Quantitative Aptitude Series

Quiz
•
University
15 questions
AlgoMania Quiz

Quiz
•
University
20 questions
SMARTICUS

Quiz
•
University
15 questions
CC 105 - Quiz No 2 (BSIT2A-G2)

Quiz
•
University
20 questions
Data Structures

Quiz
•
University
20 questions
data structures1

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade