Search Header Logo

CIE-1_DSA:Unit1&Unit2

Authored by Mahesh Wagh

Other

University

Used 1+ times

CIE-1_DSA:Unit1&Unit2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a data structure?

A way of organizing and storing data

A programming language

A type of algorithm

A hardware component

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a characteristic of an algorithm?

It must be ambiguous

It must take zero or more inputs.

It must terminate after a finite number of steps.

It must produce one or more outputs.

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the difference between primitive and non-primitive data structures?

Primitive are basic types, non-primitive are derived

Primitive are complex, non-primitive are simple

Primitive use more memory, non-primitive use less

There is no difference

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A data structure that has a fixed size determined at compile-time is known as

Transient data structure

Dynamic data structure

Static data structure

Persistent data structure

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does 'Time Complexity' of an algorithm measure?

The number of lines of code in the algorithm.

The amount of time taken by the algorithm to run as a function of the input size.

The amount of memory required to run the algorithm.

The time it takes for a human to write the algorithm.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is a 'Sparse Matrix'?

A matrix that can be used only for matrix multiplication

A matrix where most of the elements are zero.

A matrix where all elements are non-zero.

A matrix with a very large number of rows and columns.

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A data structure is called 'dynamic' if:

It is created at compile time.

It can be accessed using a single index.

Its elements are stored in contiguous memory locations.

Its size can change during runtime.

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?