Search Header Logo

Python7

Authored by Cosmin Florin

Other

3rd - 8th Grade

Used 2+ times

Python7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ce face funcția len() în Python?

Returnează suma elementelor dintr-un obiect iterabil.

Returnează numărul de elemente dintr-un obiect iterabil.

Creează o copie a unui obiect iterabil.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cum poți combina două liste în Python?

Folosind funcția combine().

Folosind operatorul +.

Folosind funcția append()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Care funcție din Python este folosită pentru a inversa ordinea elementelor într-o listă?

list.invert()

list.reverse()

reverse(list)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ce face funcția range() în Python?

Generează o secvență de numere întregi.

Sortează elementele unei liste.

Repetă un string de un număr specific de ori.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cum poți verifica dacă o cheie se află într-un dicționar în Python?

Folosind metoda check()

Folosind cuvântul cheie in

Folosind metoda exists()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Care dintre următoarele moduri de a defini o funcție în Python este corect?

function myFunc():

def myFunc()

create myFunc():

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ce tip de date returnează funcția input() în Python?

Integer

Lista

String

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?