Variables, Expressions and statements Flashcards

1
Q

What is a constant

A

A naming convention to assign values. The way we use the naming convention for a constant is by using lower case and upper case letter. you can also use underscores to separate letters.

example: x = my_value_i_assign
n = 2

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

What are variables

A

A symbolic name or identifier that can be used to store and manipulate data within a program. Variables are an essential concept in programming and are used to store values like numbers, text, and objects, which can be used, modified, and referenced

A name or identifier that we can use to store and manipulate data within a program. Variables are used to store values like numbers, text, and objects. They can be later changed or modified.

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