Search Header Logo

DSAA AY23~24 MST

Authored by Zheng Liu

Computers

12th Grade

Used 2+ times

DSAA AY23~24 MST
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A statement such as ‘Today is the first day of the month’ is best classified as an example of ____________.

Data

Information

Knowledge

Wisdom

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a data structure that would be more suitable to store a large set of data in a computer system that suffers from a fragmented memory?

Array

Stack

Deque

Linked List

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an algorithm that converts a small problem into multiple bigger problems?

Brute Force algorithm

Rucursive Algorithm

Divide and Conquer Algorithm

None of them

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Encapsulation in Object Oriented Programming refers to_______________

private data that is wrapped in private functions

private data that is wrapped in public functions

public data that is wrapped in private functions

public data that is wrapped in public functions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Big-O notation for the cost function: 𝑇(𝑛)=40𝑛**500 + 5000log𝑛 + 𝑛**3 is equivalent to the Big-O notation of _______________.

𝑇𝑇(𝑛𝑛)=𝑛**400+3000log𝑛+ 2**𝑛+ 𝑛**3

𝑇𝑇(𝑛)=n**500 + 3logn + n**3

T(n)=3000logn+4n**3

T(n) = 40n**500 + 5000logn + 2**n

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Stack is classified as an Abstract Data Type because___________.

it can only be implemented as an abstract class

it defines how it functions, as well as how it is implemented

it defines how it functions, but not how it is implemented

it has only 3 functions, push, pop and get

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the below code?

d = {1: 'a', 2: 'b', 3: 'c'}

print(tuple(d.values()).__str__())

['a', 'b', 'c']

[1, 2, 3]

('a', 'b', 'c')

(1, 2, 3)

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?