Quiz  Python

Quiz Python

2nd Grade

10 Qs

quiz-placeholder

Similar activities

Daniela

Daniela

2nd Grade

13 Qs

Test Tic

Test Tic

2nd Grade

10 Qs

Il Computer

Il Computer

2nd - 6th Grade

10 Qs

1 test a risposta multipla Falcone TIC 1 A

1 test a risposta multipla Falcone TIC 1 A

1st - 2nd Grade

10 Qs

INFORMATICA TEST DI INGRESSO

INFORMATICA TEST DI INGRESSO

2nd Grade

10 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

Microsoft Word Tools

Microsoft Word Tools

2nd - 4th Grade

11 Qs

Le parti del computer

Le parti del computer

1st - 5th Grade

10 Qs

Quiz  Python

Quiz Python

Assessment

Quiz

Computers

2nd Grade

Medium

Created by

vincenzo cicco

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quale metodo restituisce l’indice della prima occorrenza di un carattere in una stringa e -1 se non esiste?

count()

index()

find()

replace()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

s = "12345"; print(s.isdigit()) restituisce:

True

False

12345

Errore

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Date le due variabili x=11 e y=3 quanto vale x dopo l'istruzione x-=y?

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Qual è l’output di print("ciao"[1:3])?

ci

cia

ia

ao

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Quale valore è stampato come risultato di queste istruzioni? x=5 y=2 print(x//y)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

s = [1, 2, 3]; s.append(4) produce:

[1, 2, 3, 4]

[1, 2, 3]

[1, 4, 3, 2]

[4, 3, 2, 1]

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Cosa stampa l'istruzione print(stringa.index('be77o')) con stringa="Il python è bello" ?

Value Error

12

la prima posizione posizione della b

Stringa vuota

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?