Simple Code Flashcards

(8 cards)

1
Q

What is an IDE and what would an example of one be?

A

An IDE is an integrated development environment. An IDE is a software that helps write other software. An example of this would be PyCharm.

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

How do you make a python file?

A

Go to FILE–> NEW–> (NAME IT IE MAIN)—> click PYTHON FILE

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

How do you change the font?

A

FILE–> SETTINGS—> EDITOR—>FONT (change font)

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

How do you run a Python script?

A

There are two ways to do this.
First: Click the play button in the right hand corner
OR
Second: Hit RUN on the left side list of tabs at the top of the screen.

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

What is the terminal window?

A

The terminal window is the output display of the code created.

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

What does PROCESS FINISHED WITH EXIT CODE ZERO mean?

A

PROCESS FINISHED WITH EXIT CODE ZERO means there are no errors in your code.

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

What are the steps to print a message in Python?

A

type PRINT(“I love pizza!”) output in the terminal window will be I LOVE PIZZA

Whatever is in the () and “ “ or ‘ ‘ will be printed as such.

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

How do you change the font, font color and font size in Python?

A

To change anything of the font FILE–>SETTINGS–>EDITOR

FILE–>SETTINGS–> EDITOR–> CONSOLE COLORS (COLOR) 2ND LINE CLICK AND SELECT COLOR

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