Java ad oggetti e UML

Quiz
•
Computers
•
10th Grade
•
Hard
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
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
Similar Resources on Wayground
42 questions
Repaso Examen UT3 Montaje

Quiz
•
KG - University
50 questions
Tema 4 - Software y SO (TIC1)

Quiz
•
9th - 12th Grade
50 questions
Recuperación DIGITALIZACIÓN 2025

Quiz
•
10th Grade
51 questions
Arduino

Quiz
•
10th Grade
44 questions
Robòtica 4t ESO

Quiz
•
9th - 12th Grade
50 questions
Primer Parcial 5to. Bachillerato en Informática

Quiz
•
10th Grade
48 questions
1º FIN WORD

Quiz
•
9th - 12th Grade
46 questions
Testun 1: Caledwedd (TGAU Cyfrifiadureg Uned 1)

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade