click below
click below
Normal Size Small Size show me how
DA- K6 Fund Data
Fundamentals of Data structures
| Question | Answer |
|---|---|
| What is a Tuple? | • an immutable, ordered collection of elements. • It is similar to a list, but unlike lists, be modified |
| What are the characteristics of Dictionaries? | • to store data in key-value pairs. • similar to a real-life dictionary where you look up a word (key) to get its meaning (value) • Each key must be unique and immutable (e.g., string, number, or tuple). • Values can be of any data type and don’t need to be unique. • Very efficient for looking up data by key. |
| What are the features of Stacks? | • a linear data structure follows the Last In, First Out (LIFO) principle • elements are added (pushed) and removed (popped) from the same end • Think of it like a stack of plates: you add or remove plates from the top only. |
| Can you outline what a Database is? | A database is an organized collection of data A database allows users to store, retrieve, manage, and manipulate information efficiently. |
| Can you describe what a Relational Database is? | A Relational Database System (RDBS) is a type of database that organizes data into tables with rows and columns, following a structured schema. |