Perché usiamo i cicli nella programmazione?
C++ cilci

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Alessandro Pollio
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Per ripetere un blocco di codice più volte.
Per selezionare casualmente un blocco di codice.
Per saltare un blocco di codice.
Per eseguire il codice solo una volta.
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Quanti cicli ci sono in C++
2
3
4
1
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Qual è la sintassi corretta del ciclo for?
for(inizializzazione;condizione; incremento/decremento)
for(incremento/decremento; inizializzazione; condizione)
for(inizializzazione, condizione, incremento/decremento
Nessuna di queste
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
L'istruzione i++; è equivalente a
i = i + i;
i = i + 1;
i = i - 1;
i --;
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cosa c'è che non va? for (int k = 2, k <=12, k++)
l'incremento dovrebbe sempre essere ++k
la variabile deve sempre essere la lettera i quando si utilizza un ciclo for
deve esserci un punto e virgola alla fine dell'istruzione
le virgole dovrebbero essere punti e virgola
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Se vuoi che un utente inserisca esattamente 20 valori, quale ciclo sarebbe il migliore da usare?
while
switch
do-while
for
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Quale delle seguenti NON è un operatore di confronto nel linguaggio C++?
>
<=
=
==
Create a free account and access millions of resources
Similar Resources on Quizizz
22 questions
Hardware e software

Quiz
•
9th - 12th Grade
20 questions
Unit 3 Python TEST

Quiz
•
11th - 12th Grade
20 questions
beginning c programing

Quiz
•
10th - 12th Grade
20 questions
Java

Quiz
•
11th Grade
20 questions
8 klasa C++

Quiz
•
7th - 10th Grade
20 questions
Fundamentos de programación

Quiz
•
10th - 12th Grade
26 questions
HDLC E PPP

Quiz
•
11th Grade
20 questions
I sottoprogrammi in C

Quiz
•
10th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University