0% 1 Get ready, set, go Time ended Python Quiz - 1 This is a comprehensive MCQ quiz on Python fundamentals, operators, keywords, variables, lists, tuples, strings, list functions, and dictionaries with theoretical and practical questions 1 / 10 1. Which of the following is NOT a valid variable name in Python? A) _Var B) 123Var C) Var123 D) myVar 2 / 10 2. What is the data type of the variable 'x' in the following code? x = (1, 2, 3) A) string B) list C) dictionary D) tuple 3 / 10 3. What is the result of the expression "Hello" + " World"? A) Error B) HelloWorld C) Hello World D) Hello+World 4 / 10 4. Which symbol is used for single-line comments in Python? A) # B) None of these C) // D) /* 5 / 10 5. Which of the following is NOT a Python feature? A) Easy-to-read syntax B) Dynamic Typing C) Automatic Memory Management D) Static Typing 6 / 10 6. What is the output of the following code? x = 10 y = 20 print(x > 5 and y < 30) A) Error B) False C) True D) None of these 7 / 10 7. What is Python? A) A high-level programming language B) An operating system C) A low-level programming language D) A hardware component 8 / 10 8. Which operator is used for exponentiation in Python? A) % B) // C) ** D) ^ 9 / 10 9. How do you display the type of a variable in Python? A) variable.type() B) typeof(variable) C) VariableType(variable) D) type(variable) 10 / 10 10. Which keyword is used to create a function in Python? A) function B) def C) func D) define Your score is The average score is 90%Share this quiz with your friends, LinkedIn Facebook Twitter 0% Restart quiz Rate the quiz Send feedback Post navigation Quiz on Python Dictionary