Important Notice:

Sequence Data Types (Table of Contents)

Sequence Data Types (Table of Contents)

67 views 2 min read

Sequence Data Types (Chapter: 5)

 

5.1 Introduction to Sequence Data Types

  • 5.1.1 Meaning of Sequence Data Types
  • 5.1.2 Features of Sequence Data Types
  • 5.1.3 Types of Sequence Data Types

5.2 Lists

  • 5.2.1 Introduction to List
  • 5.2.2 Creating a List
  • 5.2.3 Accessing List Elements
  • 5.2.4 Indexing in List
  • 5.2.5 Negative Indexing
  • 5.2.6 Slicing in List
  • 5.2.7 Updating List Elements
  • 5.2.8 Adding Elements to a List
  • 5.2.9 Removing Elements from a List
  • 5.2.10 List Concatenation
  • 5.2.11 List Repetition
  • 5.2.12 Common List Operations
  • 5.2.13 Built-in Functions with Lists

5.3 Tuples

  • 5.3.1 Introduction to Tuple
  • 5.3.2 Creating a Tuple
  • 5.3.3 Accessing Tuple Elements
  • 5.3.4 Indexing in Tuple
  • 5.3.5 Negative Indexing
  • 5.3.6 Slicing in Tuple
  • 5.3.7 Tuple Concatenation
  • 5.3.8 Tuple Repetition
  • 5.3.9 Common Tuple Operations
  • 5.3.10 Built-in Functions with Tuples

5.4 Dictionary

  • 5.4.1 Introduction to Dictionary
  • 5.4.2 Creating a Dictionary
  • 5.4.3 Key-Value Pair
  • 5.4.4 Accessing Dictionary Elements
  • 5.4.5 Adding Dictionary Elements
  • 5.4.6 Updating Dictionary Elements
  • 5.4.7 Removing Dictionary Elements
  • 5.4.8 Dictionary Operations
  • 5.4.9 Dictionary Methods
  • 5.4.10 Iterating Through a Dictionary

5.5 Indexing and Slicing

  • 5.5.1 Positive Indexing
  • 5.5.2 Negative Indexing
  • 5.5.3 Index Table
  • 5.5.4 Basic Slicing
  • 5.5.5 Slicing with Start and Stop
  • 5.5.6 Slicing with Step
  • 5.5.7 Reverse Slicing

5.6 Sequence Operations

  • 5.6.1 Indexing
  • 5.6.2 Slicing
  • 5.6.3 Concatenation
  • 5.6.4 Repetition
  • 5.6.5 Membership Operators
  • 5.6.6 Length of Sequence
  • 5.6.7 Minimum and Maximum
  • 5.6.8 Sum of Elements
  • 5.6.9 Counting Elements

5.7 Concept of Mutability

  • 5.7.1 Meaning of Mutability
  • 5.7.2 Mutable Data Types
  • 5.7.3 Immutable Data Types
  • 5.7.4 Mutable vs Immutable
  • 5.7.5 List as a Mutable Data Type
  • 5.7.6 Tuple as an Immutable Data Type
  • 5.7.7 Dictionary as a Mutable Data Type

5.8 Finding Maximum, Minimum and Mean

  • 5.8.1 Finding Maximum Value
  • 5.8.2 Finding Minimum Value
  • 5.8.3 Finding Sum of Elements
  • 5.8.4 Finding Mean (Average)
  • 5.8.5 Maximum, Minimum and Mean Using List
  • 5.8.6 Maximum, Minimum and Mean Using Tuple

5.9 Linear Search

  • 5.9.1 Introduction to Linear Search
  • 5.9.2 Linear Search on List
  • 5.9.3 Linear Search on Tuple
  • 5.9.4 Linear Search Using for Loop
  • 5.9.5 Linear Search Program

5.10 Frequency of Elements

  • 5.10.1 Meaning of Frequency
  • 5.10.2 Counting Frequency in a List
  • 5.10.3 Using Dictionary for Frequency Counting
  • 5.10.4 Frequency of Numbers
  • 5.10.5 Frequency of Characters

5.11 Practice Programs

  • Program 1: Create and Display a List
  • Program 2: Access List Elements Using Indexing
  • Program 3: Perform Slicing on a List
  • Program 4: Concatenate Two Lists
  • Program 5: Find Maximum Element in a List
  • Program 6: Find Minimum Element in a List
  • Program 7: Find Mean of List Elements
  • Program 8: Create and Access a Tuple
  • Program 9: Perform Slicing on a Tuple
  • Program 10: Linear Search in a List
  • Program 11: Linear Search in a Tuple
  • Program 12: Count Frequency of Elements Using Dictionary
  • Program 13: Find Duplicate Elements in a List
  • Program 14: Count Frequency of Characters Using Dictionary

Related Notes