
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
16 questions
Internet Services
Quiz
•
6th - 12th Grade
15 questions
LATIHAN SOAL SIMDIG SEMESTER 2
Quiz
•
10th Grade
22 questions
одномерные массивы
Quiz
•
10th Grade
20 questions
Artificial Intelligence and SketchUp
Quiz
•
8th - 10th Grade
20 questions
Tin học 11 chương I
Quiz
•
1st - 12th Grade
15 questions
App Inventor
Quiz
•
10th Grade
17 questions
Project Stem Python Unit 1 Test Review
Quiz
•
9th - 12th Grade
15 questions
СОР_8 класс_раздел 1
Quiz
•
10th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
