
Test di Programmazione C#
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Hard
Roberta De Nisi
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale struttura di controllo viene utilizzata per gestire più condizioni in C#?
for loop
while loop
if-else
switch-case
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale tra i seguenti è un esempio di ciclo for in C#?
for(int i = 0; i < 10; i--) { Console.WriteLine(i); }
for(int i = 0; i < 10; i++) { Console.WriteLine(i); }
for(int i = 10; i > 0; i++) { Console.WriteLine(i); }
for(int i = 0; i < 10; i += 2) { Console.WriteLine(i); }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cosa fa l'istruzione 'return' all'interno di un metodo?
Interrompe il programma completamente.
Ritorna al metodo chiamante senza valore.
Aggiunge un valore alla fine del metodo.
Termina l'esecuzione del metodo e restituisce un valore al chiamante.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale operatore logico rappresenta l'AND in C#?
&&
||
&
!
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale tra i seguenti è un esempio di ciclo do-while?
while (condizione) { // codice }
if (condizione) { // codice }
do { // codice } while (condizione);
for (int i = 0; i < n; i++) { // codice }
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cosa restituisce la funzione Math.Sqrt() in C#?
La somma di due numeri.
La potenza di un numero elevato a due.
Il valore assoluto di un numero.
La radice quadrata di un numero.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale istruzione viene utilizzata per controllare una condizione in C#?
while
switch
if
for
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
14 questions
Основы HTML
Quiz
•
1st - 11th Grade
20 questions
Documente Web. Formatul HTML
Quiz
•
9th Grade - University
15 questions
PTS Algoritma dan Pemrograman
Quiz
•
9th - 12th Grade
20 questions
Network topologies
Quiz
•
8th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
15 questions
effect of ict
Quiz
•
9th - 12th Grade
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
17 questions
PHP MySQL
Quiz
•
7th Grade - Professio...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
