How is the 2nd element in an array accessed based on pointer notation?
Data Structures

Quiz
•
Computers
•
KG
•
Hard
Monisha Chitharthana
Used 8+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
*a+2
*(a+2)
*(*a+2)
&(a+2)
Answer explanation
a[2] is equivalent to *(a + 2) in pointer notation.
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
From following which is not the operation of data structure?
Operations that manipulate data in some way
Operations that perform computation
Operations that check for syntax error
Operations that monitor an object for the occurrence of control
Answer explanation
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data structures can be used to implement queues?
Stack
Arrays
LinkedList
All of the above
Answer explanation
Stack, Arrays, and LinkedList can be used to implement Queues so all the options are correct.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data structures finds its use in recursion?
Stack
Array
LinkedList
Queues
Answer explanation
Stacks find their use in recursion
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following sorting algorithms provide the best time complexity in the worst-case scenario?
Merge Sort
Quick Sort
Bubble sort
Selection Sort
Answer explanation
Merge Sort will always have a time complexity of O(n * logn) which is the best in the worst case among these algorithms
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the maximum number of swaps that can be performed in the Selection Sort algorithm?
n-1
n
1
n-2
Answer explanation
n-1 swaps are performed at max to sort any array by Selection Sort
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following represents the Postorder Traversal of a Binary Tree?
Left->Right->Root
Left->Root->Right
Right->Left ->Root
Right->Root->Left
Create a free account and access millions of resources
Similar Resources on Quizizz
21 questions
BERPIKIR KOMPUTASIONAL

Quiz
•
9th Grade
20 questions
Ulangan 2

Quiz
•
10th Grade
21 questions
Data Structures

Quiz
•
9th - 12th Grade
20 questions
Informatika Bab 1 - 2

Quiz
•
10th Grade
15 questions
Data Structures Activity - 1

Quiz
•
University
20 questions
Data Structure

Quiz
•
Professional Development
15 questions
AS Computing: Data Structures

Quiz
•
10th Grade - University
20 questions
Data Structures & Types

Quiz
•
11th Grade
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