0 of 30 Questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 30 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Q1. In which year Python was developed?
Q2. What is the purpose of the input() function in Python?
Q3. Which function is used to display output to the user in Python?
Q4. Which data type in Python is used to represent an ordered, immutable sequence of elements?
Q5. Which of the following data types is used to represent a mapping of keys to values?
Q6. Which data type in Python is used to represent a sequence of characters?
Q7. Which data type in Python can hold multiple values, including values of different data types?
Q8. Which of the following is not a valid Python identifier?
Q9. Which of the following is not a Python operator?
Q10. Which of the following operators is used for exponentiation in Python?
Q11. Which of the following operators is used to perform integer division in Python?
Q12. Which of the following operators is used to perform modulo division in Python?
Q13. Which of the following operators is used to compare two values for equality in Python?
Q14. Which of the following operators is used to concatenate two strings in Python?
Q15. Which of the following operators is used to access an element from a list or tuple in Python?
Q16. Which of the following operators is used to perform logical AND in Python?
Q17. Which of the following operators is used to perform logical OR in Python
Q18. What happens if there is no else block in an if-else statement?
Q19. What is the maximum level of nesting allowed in Python?
Q20. What is the purpose of the break statement in Python?
Q21. What is the purpose of the continue statement in Python?
Q22. What is the purpose of the if-elif statement in Python?
Q23. What is the syntax for a for loop in Python?
Q24. What is the syntax for a while loop in Python?
Q25. What is the function used to generate a random integer in Python?
Q26. What is the purpose of the random.choice() function?
Q27. What is the function used to calculate the absolute value of a number in Python?
Q28.. What is the function used to calculate the exponent of a number in Python?
Q29. What is the function used to calculate the base-10 logarithm of a number in Python?
Q30. What is the function used to calculate the square root of a number in Python?