DATA STRUCTURES

DATA STRUCTURES

12th Grade

20 Qs

quiz-placeholder

Similar activities

CSP Unit 13 Practice Test

CSP Unit 13 Practice Test

9th - 12th Grade

15 Qs

tes tik

tes tik

12th Grade

20 Qs

Kiến thức về Thuật toán và Chương trình

Kiến thức về Thuật toán và Chương trình

8th Grade - University

20 Qs

Bài kiểm tra giữa kì 2

Bài kiểm tra giữa kì 2

9th - 12th Grade

20 Qs

Ôn tập học kỳ I

Ôn tập học kỳ I

9th - 12th Grade

20 Qs

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

1st - 12th Grade

20 Qs

XII EA Mikro FLIP-FLOP

XII EA Mikro FLIP-FLOP

12th Grade

20 Qs

CMD - Windows

CMD - Windows

12th Grade

17 Qs

DATA STRUCTURES

DATA STRUCTURES

Assessment

Quiz

Computers

12th Grade

Medium

Created by

J SEETHA

Used 10+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers