1) Is it the correct way to install pip in python a) No b) Yes 2) What is the use of Package flask  a) Creating web applications b) Playing Games c) Programming 3) Which is the special literal in python a) None b) Yes 4) What is typecasting? a) Convert a value from one data type to another data b) Cast into another device c) Typical Typing 5) What is a dictionary  a) An unordered collection of data that stores data in key-value pairs. b) A book to find meanings 6) List operators which have right-to-left associativity in Python. a) Exponent (**)operator. b) Boolean NOT operator c) Boolean Left operator 7) Which function can be used to add one more element at the end of the list? a) Append() b) Add-(x+0) c) x mod o 8) Which data types of Python handle Numbers ? a) Integers,Boolean, Floating-point numbers, Complex numbers b) Negative numbers, Positive numbers, c) Whole numbers,Natural numbers d) Odd numbers,Even numbers 9) How many types of sequences are supported in Python? a) 3 b) 2 c) 1 d) 18 10) Is Python object-oriented? a) Yes b) No 11) You can create games, websites, apps a) Yes b) No 12) What is the recent version of Python a) Python 3.11 b) Python 3.7 c) Python 3.10 13) What are the three types of programming errors that occur a) Syntax, Logical, Runtime b) Logical, Spelling, number c) Syntax, Runtime,String 14)  What do you use kivy use for a) Gaming b) Development of Touch UI 15) What is padding? a) Cushioned material sometimes added to clothes b) Bits or characters that fill up unused portions of a data structure 16) How to use conditional statements a) If "P" then "Q" b) ON("P mod "Q") c) OFF**PR<90>* 17) Who developed python? a) Monty Python  b) Guido Van Rossum c) Daisy Anderson 18) In which year was it released? a) February 1991 b) October 2017 c) November 2007 19) What are the two types of execution mode? a) Script mode, Interactive mode b) Logical mode, Execution Mode c) Offline mode, Online Mode 20) Write a query to create a string from the ASCII values 70,65,67,69. a) Select STRING(70,65,67,69); b) Select LENGTH (70,65,67,69); c) Select CHAR(70,65,67,69); d) N\A 21) Write a query to create a string from the ASCII values 70,65,67,69. a) Select STRING(70,65,67,69); b) Select LENGTH (70,65,67,69); c) Select CHAR(70,65,67,69); d) None of the above 22) the ____function returns the remainder of given numbers in MySQL. a) REMAINDER() b) RMDR9) c) MOD() d) REM() 23) This function returns the length of a given string. a) CHAR() b) LE() c) LENGTH() d) STRING() 24) A person who finds and exploits the weakness in computer systems and/or networks to gain access. a) Spoiler b) Predator c) Griefer d) Hacker 25) Mention any one uses of Python a) Object-oriented  b) Easy to learn and use c) Too much Coding 26) Can you debug in Python  a) No b) Yes c) N\A 27) What is the maximum length of a Python identifier? ... a) 79 Character b) 88 Character c) 100 Character d) 12 Character e) 0 Character 28) How is a code block indicated in Python? ... a) Indention b) Syntax error c) Logical error d) Runtime error 29) The top-level component contains all other components in the program is - a) User Interface b) Screen c) Projects d) Emulator e) Interpretor 30) What will be the output of the following code snippet? a) 15 b) 0 c) 20 d) N\A 31) Find the invalid variable among the following: a) 1st_string b) my_string_1 c) _ d) foo 32) Is this code valid in Python? a) No, many values will unpack b) Yes, (6,7,8,9) will be printed c) Yes, 6 will be printed d) Yes, [6,7,8,9] will be printed 33) What is the value of this expression? "2**2**3**1" a) 12 b) 64 c) 128 d) 256 e) This code will raise an exception 34) Select the option for the following code − a) Syntax Error b) Type Error c) Runtime Error d) Both b & c 35) Is Python Compiled or Interpreted  a) Compiled b) Interpreted c) Both  Compiled and Interpreted 36) What is Turtle Graphics a) The graphics added to a turtle in Python b) The graphics of the UI(User Interface) c) The decoration added to a snail 37) How to Concatenate to values in Python  a) Using"+" oprerator b) Using "=value" operator c) Using "**" operator

Көшбасшылар тақтасы

Визуалды стиль

Опциялар

Үлгіні ауыстыру

Өңдеуді жалғастыру: ?