0% 328 Created on March 31, 2024 By mpsc-infoTechnology Python-Advance २० प्रश्न प्रत्येकी ०१ गुणासाठीवेळ १० मिनिटे 1 / 20 Which of the following functions is a built-in function in python? sqrt() print() seed() factorial() 2 / 20 What does pip stand for python? All of the mentioned Preferred Installer Program Pip Installs Python Pip Installs Packages 3 / 20 What will be the output of the following Python code?i = 1while True: if i%3 == 0: break print(i) i + = 1 1 2 error none of the mentioned 1 2 3 4 / 20 Which of the following statements is used to create an empty set in Python? set() {} [] () 5 / 20 Which of the following is true for variable names in Python? underscore and ampersand are the only two special characters allowed none of the mentioned all private members must have leading and trailing underscores unlimited length 6 / 20 Which of these is the definition for packages in Python? A number of files containing Python definitions and statements A set of programs making use of Python modules A folder of python modules A set of main modules 7 / 20 Which type of Programming does Python support? functional programming structured programming all of the mentioned object-oriented programming 8 / 20 What will be the output of the following Python function?len(["hello",2, 4, 6]) Error 4 3 6 9 / 20 What is the maximum possible length of an identifier in Python? 63 characters 31 characters 79 characters none of the mentioned 10 / 20 Is Python code compiled or interpreted? Python code is neither compiled nor interpreted Python code is only interpreted Python code is only compiled Python code is both compiled and interpreted 11 / 20 Which of the following is used to define a block of code in Python language? Brackets All of the mentioned Indentation Key 12 / 20 Is Python case sensitive when dealing with identifiers? none of the mentioned machine dependent no yes 13 / 20 Which of the following is the correct extension of the Python file? .pl .python .py .p 14 / 20 Which one of the following is the use of function in python? you can’t also create your own functions Functions are reusable pieces of programs All of the mentioned Functions don’t provide better modularity for your application 15 / 20 What are the two main types of functions in Python? Custom function Built-in function & User defined function System function User function 16 / 20 Which arithmetic operators cannot be used with strings in Python? - + All of the mentioned * 17 / 20 Which one of the following is not a keyword in Python language? pass eval assert nonlocal 18 / 20 To add a new element to a list we use which Python command? list1.add(5) list1.addEnd(5) list1.append(5) list1.addLast(5) 19 / 20 Which of the following is not a core data type in Python programming? Class Tuples Lists Dictionary 20 / 20 All keywords in Python are in _________ lower case Capitalized UPPER CASE None of the mentioned Your score is LinkedIn Facebook Twitter 0% Restart quiz Post navigation Tsunami : त्सुनामी-भू-अंतर्गत हालचाली Surya : सूर्य