Java ad oggetti e UML

Java ad oggetti e UML

10th Grade

47 Qs

quiz-placeholder

Similar activities

Ripasso Informatica Classi Seconde

Ripasso Informatica Classi Seconde

10th Grade

50 Qs

Verifica Formativa 1ASocioSanitario

Verifica Formativa 1ASocioSanitario

6th - 11th Grade

50 Qs

Software

Software

10th Grade

49 Qs

CPU e ciclo macchina

CPU e ciclo macchina

10th Grade

45 Qs

Verifica Sistemi e reti 4C INF - Novembre 2020

Verifica Sistemi e reti 4C INF - Novembre 2020

10th Grade

42 Qs

Internet e il Web

Internet e il Web

6th - 12th Grade

45 Qs

Programmazione

Programmazione

9th - 12th Grade

50 Qs

Tecnologia Informatica - Surface, Deep, Dark Web, A.I., IOT

Tecnologia Informatica - Surface, Deep, Dark Web, A.I., IOT

9th - 12th Grade

50 Qs

Java ad oggetti e UML

Java ad oggetti e UML

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Michele Minno

Used 22+ times

FREE Resource

47 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cosa permette di fare un costruttore?

Costruire una classe

Costruire un oggetto

Costruire un programma

Costruire un metodo

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cosa NON posso fare se nella classe Student ho il seguente campo:


private int age;

Accedere al campo age di un oggetto di tipo Student nel Main

Accedere al campo age in un metodo della classe Student

Accedere al campo age nel costruttore della classe Student

Modificare il valore di age in un metodo della classe Student

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cosa posso fare se nella classe Student ho il seguente campo:


protected int age;

Accedere al campo age dall'interno di una classe figlia di Student

Accedere al campo age dall'interno di una classe padre di Student

Accedere al campo age dall'interno di una classe 'sorella' di Student (cioè che condivide  con Student la stessa classe padre)

Nessuna delle altre tre risposte

4.

OPEN ENDED QUESTION

2 mins • 1 pt

Perché è meglio che i campi di un oggetto siano privati?

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

2 mins • 1 pt

Che differenza c'è tra una composizione ed un'aggregazione in un diagramma UML?

Evaluate responses using AI:

OFF

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quanti costruttori devo definire esplicitamente in una classe?

Al massimo uno

Obbligatoriamente uno ed uno soltanto

Minimo uno

Posso anche non definirne nessuno

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Quale delle seguenti affermazioni è vera riguardo a questo diagramma (clicca per ingrandire)?

Ogni A è associato ad un B

Ogni A è associato a più B

Ogni A è associato ad al massimo un B

Ogni A è associato ad uno o più B

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?