Informatica - Scuola secondaria di secondo gradoInfo Training Info Training / Volume Linguaggio Python per il secondo biennio

Object-oriented programming (OOP)

5 esercizi
SVOLGI
INFO

Informatica

Define a class

How to define a class?

A:

Listing only its attributes.

B:

Listing only its methods.

C:

Listing both methods and attributes.

D:

Writing some samples of objects.

Scelta multipla
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

Graphical representation of a class

Which of these is the graphical representation of a class?

A:

Object diagram

B:

Class diagram

C:

Class graph

D:

Class model

Scelta multipla
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

Information hiding

Which of these statements, related to information hiding, are true and which are false?

A:

It is implemented by the object interface.

B:

It is implemented by the private section of an object.

C:

It is a synonym of encapsulation.

D:

It hides the object structure.

E:

It hides the object making it unusable.

Vero o falso
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

Objects

Which of these statements is false?

A:

The properties of an object describe its state.

B:

The methods of an object describe its properties.

C:

A method defines the behaviour of an object.

D:

An object can be graphically represented as an object diagram.

Scelta multipla
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

Object-oriented programming (OOP)

Which of these statements are true and which are false?

A:

An object is an instance of a class.

B:

A class can create more objects.

C:

Each class has an inherited object.

D:

An object can create other objects.

Vero o falso
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza