Chapter 9 Tuples

Description

AS - Level Computer Science (CS 1101 Python) Flashcards on Chapter 9 Tuples, created by Troy Bowlin on 20/05/2016.
Troy Bowlin
Flashcards by Troy Bowlin, updated more than 1 year ago
Troy Bowlin
Created by Troy Bowlin over 8 years ago
2
0

Resource summary

Question Answer
Data Structure An organization of data for the purpose of making it easier to use.
Immutable Data Value A data value which cannot be modified. Assignments to elements or sliced (sub-parts) of immutable values cause a run time error.
Mutable Data Value A data value which can be modified. The types of all mutable values are compound types. Lists and dictionaries are mutable; string and tuples are not.
Tuple An immutable data value that contains related elements. Tuples are used to group together related data, such as a person's name, their age, and their gender.
Tuple Assignment An assignment to all of the elements in a tuple using a single assignment statement. Tuple assignment occurs simultaneously rather than in sequence, making it useful for swapping values.
Show full summary Hide full summary

Similar

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Intake7 BIM L1
Stanley Chia
Data Types
Jacob Sedore
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr