Skip Top Navigation Bar

Creating Records and Record Objects

Creating a New Type with a Record and Create a Record Object

For each of the following record descriptions, create a new record type and create a new object of this type.

Plant Data

Plant data includes: name, species, growing zone. The name and species is a String and the growing zone is a value between 1 and 10.

An example object would be: "Southern Blueberry Plant" is the name, "Vaccinium myrtilloides" is the species, zone 6

Planet Data

Planet data includes: name, mass, length of day, distance from the sun, whether it has a global magnetic field or not, number of moons.

  • Example 1: Mercury has a mass of 0.330, length of day equal to 4222.6 hours, distance from the sun is 57.9, it has a global magnetic field, and does not have any moons.
  • Example 2: Mars has a mass of 0.642, length of day equal to 24.7 hours, distance from the sun is 228.0, it does not have a global magnetic field, and it has 2 moons.

Create the record and two objects for the examples.

Product Data

Product data includes the name, manufacturer, product size, number of calories.

Example 1: The name chicken noodle soup, made by the Sheldon Noodle Soup company, can size is 16oz, and the number of calories is 150.

Create the record and one object for the examples.