Questions:

Q1 Can you explain how Python’s garbage collection works?

Q2 What is the purpose of the Python library Pandas in data science?

a) To create machine learning models

b) To visualize data

c) To perform numerical operations on data

d) To manipulate and analyze data

Q3 Which of the following is NOT a data type in Python?

a) Integer

b) Float

c) Complex

d) Decimal

e) All of the above are data types in Python

Q4 What is the value of the expression log(1000) - log(100) + log(10)?

a) 1

b) 2

c) 3

d) 4

Q5 What is the probability of rolling a sum of 7 with two fair six-sided dice?

a) 1/6

b) 1/12

c) 1/9

d) 1/36