Final Quiz. OOP & Data Structure

Final Quiz. OOP & Data Structure

University

30 Qs

quiz-placeholder

Similar activities

СС модуль 2

СС модуль 2

University

25 Qs

Компьютерные технологии_5

Компьютерные технологии_5

University

25 Qs

Подготовка 2

Подготовка 2

University

28 Qs

Цифровые кафедры в СВФУ

Цифровые кафедры в СВФУ

University

26 Qs

Python-предметная олимпиада по программированию

Python-предметная олимпиада по программированию

University

30 Qs

R. 12. Корисні хитрощі

R. 12. Корисні хитрощі

University

31 Qs

Мәдениеттану

Мәдениеттану

University

25 Qs

Саволҳои рамзнависӣ

Саволҳои рамзнависӣ

University

25 Qs

Final Quiz. OOP & Data Structure

Final Quiz. OOP & Data Structure

Assessment

Quiz

Computers

University

Medium

Created by

Tetiana Zakharchenko

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Що виведе наступний код?

D, A

D, B

D,C

D, D

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Що виведе наступний код?

22

42

82

84

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Для реалізації двох стеків використовується один масив A[1..MAXSIZE].

Обидва стеки зростають з протилежних кінців масиву.

Змінні top1 і top2 (top1< top 2) вказують на розташування

верхнього елемента у кожному зі стеків.

Для ефективного використання простору, умовою заповнення стеку є

(top1 = MAXSIZE/2) and (top2 = MAXSIZE/2+1)

top1 + top2 = MAXSIZE

(top1= MAXSIZE/2) or (top2 = MAXSIZE)

top1= top2 -1

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Порядок передування (від старшого до молодшого): ^ (степінь), x, +, -.

Постфіксний вираз, що відповідає інфіксному виразу

a + b × c - d ^ e має вигляд

abc × + de ^ –

ab + c × d – e ^

– + a × bc ^ de

abcde+x-^

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Що виведе наступний код?

A's getInfo is called

A's getInfo is called

A's getInfo is called

B's getInfo is called

B's getInfo is called

A's getInfo is called

B's getInfo is called

B's getInfo is called

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Що з наведеного нижче можна використати для виклику методу init в B з A, де A є підкласом B?

super().__init__()

super().__init__(self)

B.__init__()

B.__init__(self)

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

The init method of only class B gets invoked.

The init method of class A gets invoked and it displays “i from A is 0”.

The init method of class A gets invoked and it displays “i from A is 60”.

The init method of class A gets invoked and it displays “i from A is 90”.

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?