
If_while_quiz
Authored by G L
Computers, Science
9th - 10th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cosa stampa il seguente codice?
11
15
n
il codice da errore
2.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
Qual è il valore di n alla fine di questo codice?
(a)
3.
FILL IN THE BLANKS QUESTION
2 mins • 1 pt
Qual è il valore di i alla fine di questo codice?
(a)
4.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Quali delle seguenti intestazioni per il while è sintatticamente corretta?
while n=2:
while n!=2
while n>=-3 and n<2:
while True:
5.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Se n=2 quali delle seguenti espressioni hanno valore True?
n==2
n=2
n>1 or n<-1
not (n!=2)
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Cosa stampa il seguente codice?
Min
Max
Mid
il codice da errore
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Considera il seguente algoritmo, che cosa sta stampando?
Il massimo tra a e b
Il minimo tra a e b
la media tra a e b
la differenza di a e b
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?