Test di Programmazione C#

Test di Programmazione C#

10th Grade

18 Qs

quiz-placeholder

Similar activities

TLE-CCS 10 Q2 Lessons 6,8-9 GRAMMAR

TLE-CCS 10 Q2 Lessons 6,8-9 GRAMMAR

10th Grade

15 Qs

DIAGNOSTICO DECIMO

DIAGNOSTICO DECIMO

10th Grade

20 Qs

terstruktur

terstruktur

10th Grade

20 Qs

CPA MS-Office Hotkeys Quiz

CPA MS-Office Hotkeys Quiz

8th Grade - Professional Development

21 Qs

Начала программирования на языке Паскаль

Начала программирования на языке Паскаль

8th - 11th Grade

15 Qs

Python Year 9 Quiz

Python Year 9 Quiz

8th - 10th Grade

19 Qs

1.1 Data and information

1.1 Data and information

10th - 12th Grade

14 Qs

Features & Uses of the Cloud

Features & Uses of the Cloud

10th - 11th Grade

20 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?