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
20 questions
Data Structure

Quiz
•
University
20 questions
Data Structures & Types

Quiz
•
11th Grade
21 questions
BERPIKIR KOMPUTASIONAL

Quiz
•
9th Grade
20 questions
Ulangan 2

Quiz
•
10th Grade
21 questions
Data Structures

Quiz
•
9th - 12th Grade
20 questions
Abstract Data Types

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

Quiz
•
10th Grade
15 questions
AS Computing: Data Structures

Quiz
•
10th Grade - 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
Discover more resources for Computers
10 questions
Identifying equations

Quiz
•
KG - University
15 questions
Music 2016

Quiz
•
KG - 12th Grade
44 questions
logos

Quiz
•
KG - University
20 questions
Disney Characters

Quiz
•
KG
20 questions
Kids shows

Quiz
•
KG
20 questions
Guess that Disney

Quiz
•
KG - 5th Grade
20 questions
Cartoon Characters!

Quiz
•
KG - 5th Grade