
Final Quiz. OOP & Data Structure

Quiz
•
Computers
•
University
•
Medium
Tetiana Zakharchenko
Used 4+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Що виведе наступний код?
D, A
D, B
D,C
D, D
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Що виведе наступний код?
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
Що виведе наступний код?
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
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
Similar Resources on Wayground
27 questions
R. 8. Імовірність

Quiz
•
University
30 questions
Архітектура комп'ютера

Quiz
•
University
28 questions
Современные технологии и их применение

Quiz
•
11th Grade - University
30 questions
PHP-предметная олимпиада по программированию

Quiz
•
University
35 questions
Носії інформації. Довговічність носіїв інформації.

Quiz
•
University
35 questions
HTML 1

Quiz
•
University
35 questions
Програмне забезпечення. Основні функції ОС. Файлова система.

Quiz
•
University
25 questions
CTK_

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University