English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

What is a Pair? Give an example. - Computer Science

Advertisements
Advertisements

Question

What is a Pair? Give an example.

Short Note

Solution

  • Pair is a compound structure that is made up of a list of Tuple
  • The way of bundling two values together into one can be considered as a Pair.
  • Example: Pr = [10,20]
    a,b :=Pr
    In the above example ‘a’ becomes 10,’ b’ becomes 20.
shaalaa.com
Introduction to Data Abstraction
  Is there an error in this question or solution?
Chapter 2: Data Abstraction - Evaluation [Page 19]

APPEARS IN

Samacheer Kalvi Computer Science [English] Class 12 TN Board
Chapter 2 Data Abstraction
Evaluation | Q 3. | Page 19
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×