1) who created python? a) Mark Zuckerberg b) Sundar Pichai c) Jeff Bezos d) Guido van Rossum 2) What is Python? a) Python is used to create 3d model b) Python is High-level programming language c) Python is an interpreted high-level general-purpose programming language. 3) What is the main use of Python? a) Python is commonly used for developing websites and software, task automation, data analysis, and data visualization. b) Multi-paradigm: object-oriented, procedural (imperative), functional, structured, reflective 4) Is Python used for games? a) Python is an excellent choice for rapid prototyping of games. b) no, python is not for games 5) Do you know where is Python used in Google? a) Programmers at Google also use Python for Google build system, many system administration tools (reports generation, log analysis, ...), Google internal packaging format, binary data pusher, code review tool, A/Q and testing, and lots of Google App Engines apps. b) no, google does not use python 6) What is while loop in python? a) While loop is used to execute python files. b) While loop is used to execute questions. c) While Loops is used to execute a block of statements. 7) Which of these is not a core data type? a) Lists b) Dictionary c) Class 8) what is the use of else in python? a) whether an expression is true or false. b) execute a block of statements. 9) what is the use of elif in python a) whether an expression is yes or no b) It allows us to check for multiple expressions. c) execute a statements. 10) What is the code to print "Hello World" in Python? a) print(Hello World) b) print "Hello World" c) print("Hello World") d) print ('Hello World') e) print 'Hello World' f) print (Hello World) 11) What is the type of " inf " ? a) Boolean b) Integer c) Float d) Complex 12) Is Python case sensitive when dealing with identifiers? a) Yes b) no c) Machine Dependent d) None of the above 13) What will be the output of : print type(type(int)) a) type 'int' b) type 'type' c) type "int" d) Error 14) What does ~4 evaluate to? a) -5 b) -8 c) -85 d) 5 e) -9 f) -35 15) Which f the following is invalid? a) __str__ = 1 b) _a = 1 c) __a = 1 d) None of the above

Leaderboard

Estilo ng visual

Mga pagpipilian

Magpalit ng template

Ibalik ng awtomatikong pag-save: ?