Python Quiz

Python Quiz

Assessment

Quiz

Created by

Teymur Haziyev

Computers

University

2 plays

Hard

Student preview

quiz-placeholder

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Aşağıdakı kodun nəticəsi nə olacaq?

A) "Hello,Python!"

B) " Hello, Python! "

C) "Hello, Python!"

D) "Hello,Python"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdakılardan hansı Python funksiyası deyil?

a) print()

b) len()

c) map()

d) html()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdakılardan hansı Python-da looplarla bağlı deyil?

a) for

b) while

c) continue

d) switch

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python-da sonsuz döngü yaratmaq üçün hansı şərt yazılmalıdır?

a) while True:

b) for in range()

c) while 1 == 0:

d) if True:

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python-da iterable nədir?

A) Yalnız bir dəfə istifadə edilə bilən obyekt

B) Üzərində döngü (loop) ilə keçilə bilən obyekt

C) Yalnızca list və tuple verilənlər tipidir

D) Yalnız generator funksiyası ilə yaradılan obyekt

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdakılardan hansı iterable obyektlərə aiddir?

A) string, range, list

B) int, float, bool

C) list, dict, set, tuple

D) bool, NoneType, range

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

str.split() funksiyası nəyi qaytarır?

A) Bir string obyektini hərflərə ayırır

B) String-i sətrə çevirir

C) String-də tapılan xüsusi bir xarakteri silir

D) Bir string-i boşluqlarla ayıraraq bir siyahı (list) qaytarır

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?