Programming Intro

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

6 Terms

1
New cards

Identifier: a name a programmer gives a piece of data to make the data easier to refer to

a name a programmer gives a piece of data to make the data easier to refer to

2
New cards

Variables

data is subject to change

3
New cards

Constants

data can never change after it is set

4
New cards

If statements (if, if else)

Only prints if condition is true, and provides no output otherwise

5
New cards

If statement example

if(age > 18):
print(“Enjoy your movie”)

6
New cards

if else statement example

if(age > 18):
print(“Enjoy your movie”) #only happen if the condition is true

else:

print(“You are too young for this movie”) #if the condition is false