Questions Flashcards
Differences between Python 2 and 3?
Python 3 is more in-demand and includes a typing system. Python 2 is outdated and uses an older syntax for the print function
definition and example of a decorator
new functionality to an existing object without modifying its structure.
operations such as being passed as an argument.
definition of a tuple
Tuples are used to store multiple items in a single variable.
Tuple is one of 4 built-in data types in Python used to store collections of data,: List, Set, and Dictionary.
A tuple is a collection which is ordered and unchangeable.
Tuples are written with round brackets.
CRUD functions in SQL
CRUD is an acronym that stands for Create, Read, Update, and Delete
Normalization (sql)
eliminates repetitive data
Closures (js)
enable data privacy
what is mutable
objects can change their values
immutable
no change is possible over time in python.
definition of module
A file containing Python code example.py
definition of react
front-end JavaScript library for building user interfaces or UI components
definition of hoisting
a function or a variable can be used before declaration
What does = mean?
assigning values to a variable
What does == mean?
comparison between two variables regardless of the datatype of variable
What does === mean?
check for a strict comparison type between two variables, check datatype and compare two values.
what is recursion?
a process by which a function calls itself directly or indirectly