
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
29 questions
тарих 10 нұсқа

Quiz
•
University
25 questions
Большие Данные

Quiz
•
University
31 questions
Java/ Фінальний тест

Quiz
•
9th Grade - Professio...
28 questions
2 Тестирование программного обеспечения

Quiz
•
10th Grade - University
33 questions
Комп'ютерна миша

Quiz
•
University
25 questions
Инноватика в IT_5

Quiz
•
University
25 questions
Методы машинного обучения

Quiz
•
University
32 questions
Тарих 2

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University