1) which of the following is mode of interacting with python a) hybrid b) interactive c) script d) none of the above 2) what will be data type of following: A='101' a) integer b) string c) float d) none of the above 3) python supports dynamic typing: a) true b) false 4) write the output: print(range(0,8,2) a) 0,2,4,5 b) range(0,8,2) c) error d) none of above 5) which of following is not correct: a) python is open source language b) python is based on ABC language c) python works in interactive mode d) NOA 6) smallest identifier of python coding is: a) token b) keyword c) identifier d) delmitter 7) writing comments is mandatory in python a) true b) false 8) which keyword is used to define function in python: a) def b) define c) new d) none of above 9) which of the following is invalid: a) sum1 b) num_1 c) num 1 d) N1 10) identify invalid identifier a) keyword b) token c) Operation d) And 11) which keyword is used in python programming: a) f6 b) f5 c) f+n d) ctrl+r 12) identifier name can be of how many max. characters: a) 63 b) 65 c) 57 d) none of above 13) which is invalid: a) _ b) _1st c) 1st number d) while 14) which of following will return the error: a) a=b=c= 89 b) a=b b=8 c) a,b,c = 1,2,3 d) none of the above 15) __________escape sequence is used for horizontal tab. a) \n b) \N c) \t d) \T

Papan Peringkat

Gaya visual

Pilihan

Berganti templat

Pulihkan simpan otomatis: ?