Finals - L1 - Data Handling Flashcards

1
Q

What is the term being described?

  • Provide a means to store data values that are not stored in files.
  • Support the computation of values through their use in formulas in assignment statements (Represent locations in a computer’s
    memory).
  • are assigned a unique name for reference when writing computer code

Handling Data

A

Variables

Handling Data

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

What is the term being described?

It represents locations in a computer’s
memory

Handling Data

A

Assignment statements

Handling Data

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

What is the term being described?

  • This is associated with locations in random
    access memory.
  • Each memory location is assigned a unique blank that is used to reference the location when you write a program

Handling Data

A

Variable name

Handling Data

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

What is the term being described?

  • Values are stored to blank locations
  • The blank values can vary over time.

Handling Data

A
  • Memory
  • Stored

Handling Data

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

What is the term being described?

This is a scheme of using bits to represent values

Handling Data

A

DATA TYPE

Handling Data

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

What is the term being described?

Types of Data

blank provides numerous data types to allow programmers to optimize the use of computer memory. Each data type is described below:

  1. Data type name.
  2. Description of data stored.
  3. Memory storage requirement in bytes.

Handling Data

A

Python

Handling Data

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

What is the type of data being described?

int: Represents integers, e.g., 42, -7.
float: Represents floating-point numbers (decimal numbers), e.g., 3.14, -0.01.
complex: Represents complex numbers with real and imaginary parts, e.g., 3 + 5j.

Handling Data

A

Numeric Types (of data)

Handling Data

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

What is the type of data being described?

str: Represents strings (text), e.g., "hello", "Python".
list: Represents an ordered, mutable collection, e.g., [1, 2, 3], ["apple", "banana"].

Handling Data

A

Sequence Types (of data)

Handling Data

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

What is the type of data being described?

Selection depends on how large the quantity in inventory will
be, but the quantity is usually a whole number.

Handling Data

A

Quantity in Inventory – Integer (of data)

Handling Data

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

Fill in the blanks

Naming Rules for Variables and
Constants:

1. You as the blank decide what to name
variables and constants – there are technical rules you must follow when creating variable and constant names.
2. Names can include letters, digits, and the
underscore, but blank begin with a letter.
Names cannot contain blank or blank. /-&$

Handling Data

A
  • Programmer
  • must
  • spaces or periods

Handling Data

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

Fill in the blanks

**Naming Rules for Variables and
Constants: **
* You as the blank decide what to name
variables and constants – there are technical rules
you must follow when creating variable and
constant names.
* Names can include letters, digits, and the
underscore, but blank begin with a letter.
* Names cannot contain blank or blank. */-&$

  • Names cannot be blank such as print, def, import, for, etc.
  • Names are not blank. This means that TotalInteger,
    TOTALINTEGER, and totalinteger are all equivalent names.

Handling Data

A
  • Programmer
  • must
  • spaces or periods
  • python reserved words
  • case sensitive

Handling Data

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