GE8151 PYTHON UNIT 1 January 8, 2021 admin Leave a comment Welcome to your GE8151 PYTHON UNIT1 IMPORTANT MCQ QUESTION Your Name Your Email Your Class Is Python case sensitive when dealing with identifiers?yesNomachine dependentnone of the above What is the maximum possible length of an identifier?31 characters63 characters79 charactersnone of the mentioned Which of the following is an invalid variable?my_string_11st_stringfoo_ What is answer of this expression, 22 % 3 is?7105 Why are local variable names beginning with an underscore discouraged?they are used to indicate a private variables of a classthey confuse the interpreterthey are used to indicate global variablesthey slow down execution Which of the following is not a keyword?evalassertnonlocalpass All keywords in Python are in?lower caseUPPER CASECapitalizedNone of the above Which of the following is true for variable names in Python?unlimited lengthall private members must have leading and trailing underscoresunderscore and ampersand are the only two special characters allowednone of the mentioned Which of the following is an invalid statement?abc = 1,000,000a b c = 1000 2000 3000a,b,c = 1000, 2000, 3000a,b,c = 1000, 2000, 3000 Which of the following cannot be a variable?__init__initon Which one of these is floor division?// /%None of the mentioned What is the order of precedence in python? i) Parentheses ii) Exponential iii) Multiplication iv) Division v) Addition vi) Subtractioni,ii,iii,iv,v,viii,i,iii,iv,v,viii,i,iv,iii,v,vii,ii,iii,iv,vi,v Mathematical operations can be performed on a stringTrueFalse Operators with the same precedence are evaluated in which manner?Left to RightRight to LeftCan’t sayNone of the mentioned What is the output of this expression, 3*1**3?27931 Which one of the following has the same precedence level?Addition and SubtractionMultiplication, Division and AdditionMultiplication, Division, Addition and SubtractionAddition and Multiplication Which one of the following has the highest precedence in the expression?ExponentialAdditionMultiplicationParentheses what is meant by algorithm?Algorithm is a step by step processAlgorithm is a overall processAlgorithm is a mathematical processAlgorithm is a program What is the use of variable?var is a programvar is used to store a valuevar is a functionvar is a pointer what is meant by flowchart?it is a graphical representation of algorithmit is a mathematical representation of algorithmit is a computer representation of algorithmit is a programmatic representation of algorithm what is meant by pseudo code?is a formal way of programming descriptionis a legal way of programming descriptionis an informal way of programming descriptionis an graphical way of programming description The process of drawing a flowchart for an algorithm is called?PerformanceEvaluationAlgorithmic RepresentationFlowcharting Actual instructions in flowcharting are represented in?CirclesBoxesArrowsLines A detailed flowchart is called?StackMacroMicromnemonics howmany keywords are there in python?31323334 Time is Up!