wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

24-2 IT104 P1

Total questions: 10

Worksheet time: 4mins

Name
Class
Date
1.

The data elements are organized in a sequential series in a (a)   data structure.

2.

In (a)   data structures all elements may or may not be of same type.

3.

In (a)   data structure data items are not in sequence.

4.

All that good algorithms do, with the exception of ...

a)

They are accurate

b)

They deliver an accurate output

c)

They never terminate

d)

They are unmistakable 

5.

Which of the following is NOT a feature of a good computer program?

a)

Be easy to read and understand

b)

Run efficiently and correctly

c)

Be complex and hard to debug

d)

Be easy to modify 

6.

In the analysis of time complexity, which of the following best describes a constant time statement?

a)

Takes varying time based on inputs

b)

Executes in the same amount of time regardless of input size

c)

Always takes more than one second to execute

d)

Depends on the operating system 

7.

Which of the following describes nested loops in the context of time complexity analysis?


a)

A loop within a loop that executes more than once

b)

A loop that never ends

c)

Statements that are not affected by input size

d)

A separate program from the main algorithm

8.

Which of the following correctly defines space complexity?

a)

The amount of time an algorithm takes to run

b)

The total amount of memory required by an algorithm

c)

The length of the code in a program

d)

The efficiency of a data structure

9.

What does the ‘n' typically represent in time complexity functions?

a)

The number of instructions

b)

The total number of algorithms

c)

The size of the input

d)

The depth of recursion

10.

Which goal of data structure design is emphasized as the primary focus?

a)

Effectivity

b)

Easy modification

c)

Correctness

d)

User-friendliness