Please enable JavaScript to use CodeHS

Indiana Topics in Computer Science

Description

In this lesson, students will learn about and practice using tuples. A tuple is a heterogenous, immutable data type that stores an ordered sequence of things that can be accessed using indices.

Objective

Students will be able to:

  • create and store information in tuples
  • explain the characteristics of a tuple
Description

In this lesson, students will learn about their second data structure, lists. A list is a mutable, heterogeneous data type that stores an ordered sequence of things.

Objective

Students will be able to:

  • understand and explain the characteristics of a list
  • use lists to store and recall information
Description

In this lesson, students will learn how lists can be iterated over in a similar way to strings.

Objective

Students will be able to:

  • understand and explain the characteristics of a list
  • use for loops to go through items in a list
Description

Methods, in general, are like functions that can be called on objects. Students have seen previously how string methods are called on strings. In this lesson, students will learn about the various list methods that can be called on lists!

Objective

Students will be able to:

  • apply useful list methods to alter and access information about a list
Description

In this lesson, students will learn how 2d lists are stored and how to use indexing and slicing to extract specific items from a list of lists.

Objective

Students will be able to:

  • Use 2d lists to store information in rows and columns
Description

In this lesson, students will see how dictionaries differ from other data structures and why they are useful.

Objective

Students will be able to:

  • Use dictionaries to structure data