top of page

Python For Data Science

Note- The underlined text in the exercises indicates weblinks. Don't miss those.

  1. Is Python an interpreted language or a compiled language? Why?

  2. What are scalar objects? What are the main types of scalar objects in Python?

  3. Find the data type of the following:

    1. 3.14

    2. 17

    3. 25%4

    4. 16//5

    5. 16/5

    6. ‘Apple pie’

  4. What is operator overloading? Write code in Python to illustrate that.

Math & Statistics for Data Science

  1. A school contains students in grades 1, 2, 3, 4, 5, 6 and 7. Grades 2, 3, 4, 5, and 6 all contain the same number of students, but there are twice this number in grade 2. If a student is selected at random from a list of all the students in the school, what is the probability that she will be grade 4?

bottom of page