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
Perché usiamo i cicli nella programmazione?
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 Wayground
20 questions
Algoritmi Java

Quiz
•
11th Grade
28 questions
Compito di recupero secondo anno

Quiz
•
9th Grade
20 questions
Nozioni fondamentali dell'Informatica

Quiz
•
8th Grade - University
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
20 questions
Il processore 8086

Quiz
•
11th - 12th Grade
30 questions
Programmazione OOP

Quiz
•
12th Grade
20 questions
Fundamentos de programación

Quiz
•
10th - 12th Grade
25 questions
Ripasso Informazioni e Dati

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade