
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
DAY 4 - Arrays & String Assessment _14 June 24

Quiz
•
University
20 questions
Test 2: Unity and C# Integration

Quiz
•
University
10 questions
Struktur Data

Quiz
•
University
20 questions
Recursion and Data Structures Quiz

Quiz
•
University
16 questions
UC_TM03_Arrays_Functions

Quiz
•
University - Professi...
10 questions
C#Proga

Quiz
•
University
10 questions
Moringa JavaScript Arrays

Quiz
•
5th Grade - Professio...
10 questions
Arrays - 2D

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade