
DAY 25 Array & Linked List in Data Structure (12th July 24)
Quiz
•
Professional Development
•
University
•
Practice Problem
•
Easy
KVCH CORPORATE
Used 1+ times
FREE Resource
Enhance your content in a minute
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
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
10 questions
MCDM_1
Quiz
•
University
10 questions
Final Quiz No. 3
Quiz
•
University
10 questions
Mrs. Riel's Class
Quiz
•
KG - Professional Dev...
14 questions
Burris Statistics Scales of Measurement
Quiz
•
University
18 questions
Application forms
Quiz
•
University
20 questions
Tenses - Past Tense form
Quiz
•
8th Grade - Professio...
10 questions
Transfer function exercises
Quiz
•
University
20 questions
Hampshire UK: Do you know it?
Quiz
•
8th Grade - Professio...
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
