DSA Day 1

DSA Day 1

University

15 Qs

quiz-placeholder

Similar activities

ReactJS Quiz

ReactJS Quiz

University

15 Qs

OPC MCQ's

OPC MCQ's

12th Grade - University

20 Qs

Weekly Contest #3 - TechXNinjas

Weekly Contest #3 - TechXNinjas

University

10 Qs

U26 Q5 The Matrix!

U26 Q5 The Matrix!

KG - University

14 Qs

Array

Array

University

10 Qs

NumPy

NumPy

University

20 Qs

Data Structure & Algorithm

Data Structure & Algorithm

University

10 Qs

OCS752_CP_WEEKLY_TEST3 (20.08.2020)

OCS752_CP_WEEKLY_TEST3 (20.08.2020)

University

20 Qs

DSA Day 1

DSA Day 1

Assessment

Quiz

Computers

University

Easy

Created by

Skill Chaze

Used 19+ 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?