Fundamentals Flashcards

1
Q

Expression

A

A unit of code that can be evaluated into one value

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

Statement

A

A unit of code that is used to execute a change

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

Variable

A

A name that is a reference to a specific place in memory, and the value stored there. Variables can be assigned and reassigned values.

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

Literal

A

A value that is the value itself.

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

Integer

A

Represents an integer! A whole number that is positive, negative or zero.

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

Float

A

Represents a number that isn’t whole; it is fractional, or has a decimal place.

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

String

A

Represents text, specifically with an ordered sequence of characters.

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

Boolean

A

Represents True or False

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

None

A

Represents the concept of no value, or the absence of a value.

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

List

A

An ordered list of values. Items in the list are sometimes called elements. Lists start at index 0. Can get the value of an item by using square brackets and the index of the item.

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

Dictionary

A

An unordered collection of key-value pairs. Can access values in the dictionary by using square brackets and the name of the key.

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

Range

A

A sequence of numbers between a start, stop, and incrementing by a step.

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

Tuple

A

An ordered, unchangeable collection of items.

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

Set, frozenset

A

An unordered collection. Cannot access values with index or key; must use a loop.

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

bytes, bytearray

A

A collection of binary digits (bits).

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

Conditional Expression

A

An expression that evaluates to either truthy or falsy, typically used in order to determine if a conditional requirement is met. Usually used with if statements.

17
Q

Truthy

A

A value that is considered True inside a conditional expression, even if it is not literally True.

18
Q

Falsy

A

A value that is considered False, even if it is not literally False.

19
Q

Function

A

Lines of code (1 or more) that are related, grouped together, and named. Once defined, these lines of code are reusable and can be called over and over again.

20
Q

Invoking a function

A

“Invoking a function” means “make the lines of code inside a function definition happen now.” We can invoke a function any number of times (even infinitely!).

21
Q

Function definition

A

How a function gets defined before it gets invoked

22
Q

Function Signature

A

A piece of syntax. A part of the function definition that determines function name and the parameter list

23
Q

Parameter

A

The name of an expected argument for this function. This parameter name is the name of the local variable that will hold an argument value. Parameters and arguments at the time of function call are mapped positionally.

24
Q

Documentation

A

Any written text, illustrations or video that describe a software or program to its users.

25
Q

Source code

A

The original code that creates a program, usually the human-readable version. Code that builds software and is readable to a human.

26
Q

API

A

A set of rules and tools that allows software to communicate with other software. Specifically designed to allow access to a wide audience

27
Q

Software

A

A collection of instructions for a computer to execute

28
Q

Application

A

Software designed for an end-user

29
Q

Open Source

A

Source code that is available to view and use

30
Q

Local Machine

A

Your very own computer in front of you

31
Q

Code of Conduct

A

A written set of norms for a community, typically outlining rules, responsibilities and accountability.