
DAY 25 Array & Linked List in Data Structure (12th July 24)

Quiz
•
Professional Development
•
University
•
Easy
KVCH CORPORATE
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way to declare an array
in C++?
int array[10];
array int[10];
int[10] array;
array[10] int;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity to access an element in an
array using an index?
O(1)
O(n)
O(log n)
O(n log n)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you initialize an array of integers with 5 elements
to zero in C++?
int array[5] = {0};
int array[5] = 0;
int array = {0, 0, 0, 0, 0};
int array[5] = {0, 0};
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following correctly describes the way arrays
are stored in memory?
Randomly
Contiguously
Non-contiguously
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given an array int arr[5] = {1, 2, 3, 4, 5};, what will be the
value of arr[2]?
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main advantage of a linked list over an array?
Fixed size
Easier access to elements using an index
Dynamic size
Faster access to elements
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a type of linked list?
Singly linked list
Doubly linked list
Circular linked list
Triply linked list
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Programming Knowledge Quiz (Medium)

Quiz
•
5th Grade - Professio...
15 questions
Add funds Team QUEUEBUSTERS

Quiz
•
KG - Professional Dev...
12 questions
DigComp "Provincia Digital"

Quiz
•
KG - Professional Dev...
13 questions
IBC2 - Session 4

Quiz
•
University
20 questions
ADS MCQ

Quiz
•
University
15 questions
Data Structures and Algorithms Quiz No.1

Quiz
•
1st Grade - Professio...
16 questions
Information Technology

Quiz
•
University
20 questions
UTM PREMIUM CAREER FESTIVAL 2024 QUIZ 1

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Professional Development
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University