Coventry University Logo
4061CEM - Programming and Algorithms 1
  • Data Types
    1

Data Types

Before you attempt this activity, it is best that you review lecture video two from week two. You can find the video and slides on the module page.

For this activity you will be using the integrated development environment recommended by the module leader. If you need to set up your development environment, it is recommended that you check out the instructions from activity four of week one.

Are You Struggling?

If you have trouble with any of the tasks or want to check your answers are correct, then please make yourself known to a member of staff.

Task 1 - Declaring Variables

Now that you know how to declare a variable and assign it a value. Using the table below, you are to implement a solution in Python declaring the variables with the names and an appropriate value for the data type provided.

Variable Name Data Type
a None
b Integer
c Float
d Complex
e String
f Boolean
g Bytes