Practice More Questions From: Week 2 Summative Assessment

## Q:

### I have a list called ages containing the values 22, 15, 53, 6 and 36, in that order. How would I print out 36? Select all that are correct.

## Q:

### How can I print out the value stored in a variable called ‘age’ in Python 3? Select one or more options.

## Q:

### Which is the correct way to declare a list variable and store some values in it in Python?

## Q:

### Which code calculates the result of adding all the values in a list called ‘ages’ together?

## Q:

### Describe ready-made libraries like NumPy using the appropriate adjectives. Select all that apply.

## Q:

### Go and look at the NumPy library documentation here. Which of the following statistical calculations are available in the NumPy library? Choose all that apply.

## Q:

### Why is it desirable to have easy to read code? Select all options that look like good reasons.

## Q:

### When computing the standard deviation, why is there a step where we square the distances between the values and the mean?

## Q:

### In Python, which is the correct way to declare a variable and store a value in it?

## Q:

### In Python, which of the following are valid variable names? Select all that apply.

## Q:

### Consider the following statements and select which one best describes the difference between the population and the sample.

## Q:

### A researcher might use a sample rather than an entire population for their study. Why might this be?

## Q:

### A survey will be carried out on 150 students randomly selected from the freshmen class at Victoria High School. Identify the population and the sample.

## Q:

### The following is a sample of age data for individuals working from home by telecommuting. 18, 22, 23, 50, 34, 29 In order to compute the mean of the data, some of the following calculations are carried out. Select all that apply.

## Q:

### The sample weights (in kilograms) of 4 students are: 65, 90, 50, 75 In order to compute the variance and standard deviation of the weights, a number of calculations are carried out. Select all that apply.

Subscribe

0 Comments