Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

lesson 4: variables and data flow think about the computational thinkin…

Question

lesson 4: variables and data flow
think about the computational thinking skills you used today to plan an event.
vocabulary
word definition example/image/connection
variable a _____________ that stores _____________ in memory.
data type the _____________ that can be stored in a _____________.
snake_case a naming style where:

  • all letters are _______________
  • words are _____________ by _____________.

int a data type, short for _____________, that stores _____________.
str a data type, short for _____________, that stores _____________.
bool a data type, short for _____________, that stores _____________.

Explanation:

Brief Explanations
  • Variable: A container that stores data in memory.
  • Data type: The kind of data that can be stored in a variable.
  • snake_case: A naming style where all letters are lowercase and words are separated by underscores.
  • int: Short for integer, it stores whole numbers.
  • str: Short for string, it stores sequences of characters.
  • bool: Short for boolean, it stores true - or - false values.

Answer:

Variable: A container; data
Data type: Kind of data; variable
snake_case: lowercase; separated; underscores
int: integer; whole numbers
str: string; sequences of characters
bool: boolean; true - or - false values