admin@amrithaa.com
(+91) 9841426825
  • Home
  • Blog
  • Career
AMRITHAA
  • Home
  • Web Development
    • Website Design
    • Ecommerce Website
    • CMS website
    • Responsive Website
  • Web Apps
    • web app development
    • web Portal development
    • Maintenance & upgrade
  • Mobile Apps
  • Digital Marketing
  • Our Works
  • Support
  • Get A Quote
AMRITHAA
  • Home
  • Web Development
    • Website Design
    • Ecommerce Website
    • CMS website
    • Responsive Website
  • Web Apps
    • web app development
    • web Portal development
    • Maintenance & upgrade
  • Mobile Apps
  • Digital Marketing
  • Our Works
  • Support
  • Get A Quote
AMRITHAA
Home Tech Talk

tuple

admin by admin
September 5, 2020
tuple
Share on FacebookShare on Twitter

A tuple (pronounced “tuh-pull”) is a data structure that stores a specific number of elements. These elements may include integers, characters, strings, or other data types.

Mathematics
The term “tuple” originates from math, rather than computer science. A math tuple may be defined as an “n-tuple,” where “n” is the number of values the tuple contains. In mathematical expressions, tuples are represented by comma-delimited lists within parentheses. The following example is a “4-tuple,” which has four values.

(3, 7, 13, 17)

Tuples serve a variety of purposes in mathematics. They are commonly used to represent a set of related values, such as prime numbers or mathematical sequences. A tuple can also display a range of input or output values for a function.

Computer Science
In computer programming, tuples provide an efficient way to store multiple values. Since they are static and cannot be modified, tuples generally require less memory than arrays. They are also flexible since they can store multiple data types. The following example is a “5-tuple,” or a tuple that contains five values.

(11, 2020.07, “techterms”, “C”, -1000)

The “pentuple” above contains a positive integer (11), floating point number (2020.07), string (techterms), character (C), and a negative integer (-1000).

Tuples are an effective way to store data in computer programs, but not all programming languages support them. For example, Python and Java support tuples, but PHP and Ruby do not. If a language does not support tuples, an immutable array — one that cannot be modified — is the closest alternative.

Previous Post

full postion

Next Post

Quote of the Day(09/09/2020)

Related Posts

Keeper
Tech Talk

Keeper

by admin
September 22, 2020
Apple
Tech Talk

Apple

by admin
September 22, 2020
Technical Debt
Tech Talk

Technical Debt

by admin
September 12, 2020
LTE
Tech Talk

LTE

by admin
September 9, 2020

Categories

  • Acquisition
  • Amrithaa Official
  • Android
  • Artificial Intelligence
  • Augmented Reality
  • Big Data
  • Business
  • Cloud Computing
  • Digital Marketing
  • e-commerce
  • Finance
  • Google
  • Infographic
  • ios
  • IOT
  • Quotes
  • Robotic
  • Tech Talk
  • Trends
  • Virtual Reality

contact us

  • Amudhalashxmi Systems Private Limited,
    # No 9/6 Mahadevan Street,
    West Mambalam, Chennai – 600 033.
  • admin@amrithaa.com
  • +91 – 9841426825 , +91 – 9841426826

Web Development

  • Web Design
  • Ecommerce Website
  • CMS Website
  • Responsive Websites

Web Apps

  • Web App Development
  • Web Portal Development
  • Maintenance & upgrade

Useful Links

  • Career
  • About Us
  • Contact Us
  • Terms & Conditions
  • Privacy Policy

© Copyright All Rights Reserved Amudhalakshmi Systems Private Limited.

No Result
View All Result
  • Home
  • Web Development
    • Website Design
    • Ecommerce Website
    • CMS website
    • Responsive Website
  • Web Apps
    • web app development
    • web Portal development
    • Maintenance & upgrade
  • Mobile Apps
  • Digital Marketing
  • Our Works
  • Support
  • Get A Quote

© Copyright All Rights Reserved Amudhalakshmi Systems Private Limited.

Login to your account below

Forgotten Password?

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
  • HOME
  • ENQUIRY
  • CALL US
  • CAREER