Quiz  Python

Quiz Python

2nd Grade

10 Qs

quiz-placeholder

Similar activities

Python Pages 10 to 26

Python Pages 10 to 26

1st - 5th Grade

15 Qs

Python Quiz-1

Python Quiz-1

1st - 3rd Grade

10 Qs

Paint Menu

Paint Menu

2nd Grade

10 Qs

Python

Python

2nd - 3rd Grade

10 Qs

Python Basics

Python Basics

1st Grade - University

9 Qs

quiz tic 05/04/23 Gruppo 1

quiz tic 05/04/23 Gruppo 1

2nd Grade

8 Qs

How Computers Work

How Computers Work

2nd - 8th Grade

6 Qs

A3 Quiz sul Linguaggio di Programmazione C++

A3 Quiz sul Linguaggio di Programmazione C++

2nd 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?