Python Fundamentals Quiz Welcome to the Data Fundamentals Quiz!You're about to test your knowledge of essential data concepts, including data types, storage, analysis techniques, and more. Answer each question carefully and within the given time limit.Good luck! Let's begin! Time's up!Thanks for participating in the Data Fundamentals Quiz. Whether you got all the answers right or found some challenging, remember that every step you take deepens your understanding of data. Keep learning and exploring! Python Fundamentals Quiz This quiz is designed to test your foundational knowledge of Python. Each question targets a key concept or topic, ensuring you have a firm grasp on Python basics. Complete the quiz to evaluate your understanding of Python programming and key techniques like environment setup, control flow, file handling, and more. 1 / 15 What is the data type of the variable x after this code runs: x = 5.0? str int bool float 2 / 15 Which command is used to install a Python package from PyPI? package install import pip install install 3 / 15 What command is used to check the installed version of Python on your machine? python --version version python pyversion checkpython 4 / 15 Which mode is used to write data to a file in Python? r a w rw 5 / 15 What is the term for the function that initializes a class in Python? __init__ __class__ __start__ __create__ 6 / 15 What is the output of this code: my_dict = {'a': 1, 'b': 2}; print(my_dict['b'])? None Error 1 2 7 / 15 What will be the result of print("Hello".upper())? hello Hello Error HELLO 8 / 15 Which of the following is immutable in Python? List Dictionary Set Tuple 9 / 15 What is the result of the expression 3 * (2 + 4) // 2 ? 10 9 12 8 10 / 15 Which command is used to create a new virtual environment in Python? python --venv create python -m venv venv new virtualenv --create 11 / 15 What keyword is used to handle exceptions in Python? try except catch handle 12 / 15 Which of the following keywords is used to exit a loop in Python? stop continue break exit 13 / 15 Which Python library is commonly used to send HTTP requests to APIs? json http urllib requests 14 / 15 Which of the following is a popular Python package for numerical computation? NumPy Matplotlib Flask Pandas 15 / 15 What keyword is used to define a function in Python? func lambda define def Your score isThe average score is 40% 0% Restart quiz