
Quiz sulle Eccezioni in Java

Quiz
•
Computers
•
12th Grade
•
Hard
Samuele Tascone
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale tipo di errore si verifica quando si tenta di accedere a un oggetto nullo durante l'esecuzione di un programma?
Eccezione di runtime
Errore di compilazione
Errore di sintassi
Errore logico
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cosa rappresenta il blocco 'try' in una struttura try/catch/finally?
Codice eseguito sempre
Codice a rischio
Gestione dell'eccezione
Codice di chiusura
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale delle seguenti affermazioni è vera riguardo al blocco 'finally'?
Viene eseguito solo se ci sono errori
Viene eseguito sempre
Viene eseguito solo se non ci sono errori
Non è necessario
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale tipo di eccezione obbliga a usare try/catch o throws?
Eccezioni controllate
Eccezioni non controllate
Eccezioni di compilazione
Eccezioni di runtime
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cosa fa l'istruzione 'throw' in Java?
Lancia manualmente un'eccezione
Gestisce un'eccezione
Dichiara un'eccezione
Crea un'eccezione personalizzata
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale delle seguenti è una buona pratica nella gestione delle eccezioni?
Usare catch generici
Fornire messaggi chiari
Evitare eccezioni personalizzate
Ignorare le eccezioni
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cosa deve fare un metodo che può lanciare un'eccezione controllata?
Lanciare un'eccezione non controllata
Dichiarare 'throws'
Gestire l'eccezione internamente
Non fare nulla
Create a free account and access millions of resources
Similar Resources on Wayground
14 questions
Transistor 2°livello

Quiz
•
10th Grade - University
20 questions
Domande sulla Sicurezza Online

Quiz
•
9th Grade - University
15 questions
NETIQUETTE

Quiz
•
9th - 12th Grade
20 questions
Quiz sulla Digitalizzazione Documentale in Italia

Quiz
•
12th Grade
11 questions
AMP OP

Quiz
•
9th Grade - University
15 questions
Quiz sull'Intelligenza Artificiale e l'AI Act

Quiz
•
12th Grade
10 questions
Evoluzione dei sistemi distribuiti

Quiz
•
12th Grade
18 questions
Hardware

Quiz
•
8th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade