V4_L2: Python Data Structure Flashcards

(22 cards)

1
Q

Aliasing

A

Aliasing refers to giving another name to a function or a variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Ampersand

A

A character typically “&” standing for the word “and.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Compound elements

A

Compound statements contain (groups of) other statements; they affect or control the execution of those other statements in some way.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Delimiter

A

A delimiter in Python is a character or sequence of characters used to separate or mark the boundaries between elements or fields within a larger data structure, such as a string or a file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Dictionaries

A

A dictionary in Python is a data structure that stores a collection of key-value pairs, where each key is unique and associated with a specific value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Function

A

A function is a block of code, defining a set procedure, which is executed only when it is called.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Immutable

A

Immutable Objects are of in-built datatypes like int, float, bool, string, Unicode, and tuple. In simple words, an immutable object can’t be changed after it is created.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Intersection

A

The intersection of two sets is a new set containing only the elements that are present in both sets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Keys

A

The keys () method in Python Dictionary, returns a view object that displays a list of all the keys in the dictionary in order of insertion using Python.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Lists

A

A list is any list of data items, separated by commas, inside square brackets.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Logic operations

A

In Python, logic operations refer to the use of logical operators such as “and,” “or,” and “not” to perform logical operations on Boolean values (True or False).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Mutable

A

Mutable objects in Python are objects whose values can be changed after they are created. These objects allow modifications such as adding, removing, or altering elements without creating a new object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Nesting

A

A nested function is simply a function within another function and is sometimes called an “inner function”.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Ratings in python

A

Ratings in Python typically refer to a numerical or qualitative measure assigned to something to indicate its quality, performance, or value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Set operations

A

Set operations in Python refer to mathematical operations performed on sets, which are unordered collections of unique elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Sets in python

A

A set is an unordered collection of unique elements.

17
Q

Syntax

A

The rules that define the structure of the language for python is called its syntax.

18
Q

Tuples

A

These are used store multiple items in a single variable.

19
Q

Type casting

A

In python, this is converting one data type to another.

20
Q

Variables

A

In python, a variable is a symbolic name or identifier used to store and manipulate data. Variables serve as containers for values, and these values can be of various data types, including numbers, strings, lists, and more.

21
Q

Venn diagram

A

A Venn diagram is a graphical representation that uses overlapping circles to illustrate the relationships and commonalities between sets or groups of items.

22
Q

Versatile data

A

Versatile data, in a general context, refers to data that can be used in multiple ways, is adaptable to different applications or purposes, and is not restricted to a specific use case.