NEW
Font size
S
M
L
XL
WorksheetsPython bo'yicha test
Total questions: 7
Worksheet time: 4mins
Name
Class
Date
1.
Python dastirda chiqarish operatori nima
a)
int
b)print
c)
set
d)
list
2.
Python dasturida o'zgaruvchilarni e'lon qilish uchun qanday kalit so'z ishlatiladi?
a)
var
b)
def
c)
let
d)
global
3.
Python dasturida ro'yxatni qanday yaratish mumkin?
a)
list()
b)
array()
c)
set()
d)
dict()
4.
Python dasturida funksiya qanday e'lon qilinadi?
a)
function name()
b)
def name()
c)
declare name()
d)
func name()
5.
Python dasturida qaysi operator yordamida shartli ifodalar bajariladi?
a)
if
b)
while
c)
switch
d)
for
6.
Python dasturida qaysi kalit so'z yordamida klasslar yaratiladi?
a)
object
b)
class
c)
def
d)
struct
7.
Python dasturida qaysi funksiya yordamida fayl ochiladi?
a)
close()
b)
open()
c)
read()
d)
write()
Reset
