DATA STRUCTURES

Quiz
•
Computers
•
12th Grade
•
Medium
J SEETHA
Used 8+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Array data can be accessed using _____
A. Operator
B. Variable
C. index
D. Pointer
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an incorrect array declaration?
A. int [] arr = new int[5]
B. int arr[] = new int[5]
C. int arr[] = new int[5]
D. int arr[] = int [5] new
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to declare, construct, and initialize an array?
A. int arr [] [] = {1, 2, 3, 4};
B. int [] arr = (1, 2, 3);
C. int [] arr = {};
D. int arr [] = {1, 2, 3};
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In java, array elements are stored in ________ memory locations
A. Random
B. Sequential
C. Sequential & Random
D. Binary search
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the program?
class Main
{
public static void main(String args[]) {
int arr[] = {10, 20, 30, 40, 50};
for(int i=0; i < arr.length; i++)
{
System.out.print(" " + arr[i]);
}
}
}
A. 10 20 30 40 50
B. Compiler Error
C. 10 20 30 40
D. None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Minimum number of fields in each node of a doubly linked list is ____
A. 2
B. 3
C. 4
D. 5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A vertex of in-degree zero in a directed graph is called _______
A. Root vertex
B. Source vertex
C. Sink vertex
D. Articulation point
Create a free account and access millions of resources
Similar Resources on Wayground
21 questions
Ôn tập cuối kì Đông. Python

Quiz
•
10th Grade - University
20 questions
Understanding Arrays in C++

Quiz
•
12th Grade
21 questions
Java Programming Quiz unit 3

Quiz
•
12th Grade
20 questions
Java Casting & Booleans

Quiz
•
10th - 12th Grade
15 questions
G8 Practice PC

Quiz
•
12th Grade
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
20 questions
AP CS A Unit 3

Quiz
•
9th - 12th Grade
20 questions
CHAPTER: 11 AND 12

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade