Search Header Logo

Programowanie Obiektowe - 4T

Authored by Kacper Fryt

others

Used 2+ times

Programowanie Obiektowe - 4T
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

27 questions

Show all answers

1.

OPEN ENDED QUESTION

30 sec • Ungraded

Imię i nazwisko

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Jaka będzie wynikowa wiadomość po wykonaniu poniższego kodu? Animal myDog = new Dog(); myDog.makeSound();

"Animal sound"
"Bark"
Błąd kompilacji
"Animal sound Bark"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Jakie jest zastosowanie interfejsu Shape w tym kodzie?

Definiowanie klasy bazowej
Implementacja wielodziedziczenia
Implementacja abstrakcyjnej klasy
Wspólne dziedziczenie cech dla różnych klas

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Co jest charakterystyczne dla klasy abstrakcyjnej w tym przypadku?

Można tworzyć obiekty tej klasy
Musi implementować wszystkie metody abstrakcyjne
Może zawierać metody abstrakcyjne
Nie można dziedziczyć po niej

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Jak uzyskać dostęp do wartości x po utworzeniu obiektu klasy Example?

Example.x
Example.getX()
Example.getValue()
Example.x()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Jaki będzie wynikowy rezultat po uruchomieniu tego programu?

6
13
12
14

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Jaki będzie wynikowy rezultat po uruchomieniu tego programu?

1 2 3 4 5
5 4 3 2 1
0 1 2 3 4
0 1 2 3 4 5

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?