Search Header Logo

DSA Day 1

Authored by Skill Chaze

Computers

University

Used 21+ times

DSA Day 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers