DSA Day 1

DSA Day 1

University

15 Qs

quiz-placeholder

Similar activities

Data Structures

Data Structures

University

20 Qs

Array Java

Array Java

University

15 Qs

Data Structures Quiz 1

Data Structures Quiz 1

12th Grade - University

18 Qs

Data Structure

Data Structure

University

14 Qs

Array

Array

University

11 Qs

C++ Array Quiz

C++ Array Quiz

University

10 Qs

Array of Structure

Array of Structure

University

13 Qs

Array

Array

University

12 Qs

DSA Day 1

DSA Day 1

Assessment

Quiz

Computers

University

Easy

Created by

Skill Chaze

Used 17+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1.       Which of the following is not a linear data structure?

Array

Stack

Tree

Linked list

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following is not an non primitive data?

 integer

graph

real

boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about arrays is true?

An array is a collection of variables of different data types.

An array can hold only one value at a time.

The first element of an array has an index of 1.

The size of an array can be changed after it is created.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array?

A collection of variables of different data types

A function that performs a specific task

A data structure that stores a collection of elements of the same data type

A loop that iterates through a series of instructions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the index of the first element in an array?

0

1

-1

It depends on the programming language

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you access an element in an array?

By using the name of the array

By using the position of the element in the array

By using the data type of the array

By using the length of the array

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of accessing elements of an array in sequence called?

 Traversing

Searching

 Sorting

Merging

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?