Test di Programmazione C#

Test di Programmazione C#

10th Grade

18 Qs

quiz-placeholder

Similar activities

FormazioneSicurezzaSpecifica_Mod. 3.1

FormazioneSicurezzaSpecifica_Mod. 3.1

9th - 12th Grade

17 Qs

Test Your Knowledge Part One

Test Your Knowledge Part One

1st - 12th Grade

15 Qs

8.12 C++ Test on Classes

8.12 C++ Test on Classes

9th - 12th Grade

15 Qs

Common Protocols

Common Protocols

10th - 12th Grade

15 Qs

ASD - Fondamenti e ordinamenti

ASD - Fondamenti e ordinamenti

1st - 10th Grade

15 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

POWERPOINT QUIZZ

POWERPOINT QUIZZ

10th - 12th Grade

20 Qs

ETİK BİLGİ VE SİBER SUÇLAR

ETİK BİLGİ VE SİBER SUÇLAR

1st - 12th Grade

16 Qs

Test di Programmazione C#

Test di Programmazione C#

Assessment

Quiz

Computers

10th Grade

Practice Problem

Hard

Created by

Roberta De Nisi

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers