Search Header Logo

Вопросы по структурам данных

Authored by mmmmmmmaaaaa rrrrrrrriiiiiiiiii

Physics

University

Used 2+ times

Вопросы по структурам данных
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

30 sec • 1 pt

What is a stack in data structures?

A data structure that allows arbitrary access

A data structure that follows the LIFO (last in, first out) principle

A data structure that allows traversal from both ends

A data structure that requires sorting before access

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какая операция добавляет элемент на верх стека?

Извлечение

Просмотр

Добавление

Вставка

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что происходит, когда вы извлекаете элемент из пустого стека?

Стек становится неопределённым

Стек становится нулевым

Происходит ошибка

Ничего не происходит

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какова временная сложность операции добавления в стек, реализованном с помощью массива с достаточной ёмкостью?

O(1)

O(log n)

O(n)

O(n log n)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какая операция удаляет и возвращает верхний элемент стека?

Добавление

Извлечение

Просмотр

Удаление

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какова временная сложность операции извлечения в стеке, реализованном с помощью связного списка?

O(1)

O(log n)

O(n)

O(n log n)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation returns the top element of the stack without removing it?

Addition

Extraction

Viewing

Top

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?