Google Cybersecurity Certificate: Python Concepts from Module 1

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/14

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering core Python functions, comment syntax, conditional statements, and iterative statements from Module 1 of the Google Cybersecurity Certificate.

15 Terms

1
New cards

Comment

A note programmers make about the intention behind their code.

2
New cards

#

Starts a line that contains a Python comment.

3
New cards

print()

Outputs a specified object to the screen.

4
New cards

type()

Returns the data type of its input.

5
New cards

range()

Generates a sequence of numbers.

6
New cards

if

Starts a conditional statement.

7
New cards

elif

Precedes a condition that is only evaluated when previous conditions evaluate to False; previous conditions include the condition in the if statement, and when applicable, conditions in other elif statements.

8
New cards

else

Precedes a code section that only evaluates when all conditions that precede it within the conditional statement evaluate to False; this includes the condition in the if statement, and when applicable, conditions in elif statements.

9
New cards

and

Requires both conditions on either side of the operator to evaluate to True.

10
New cards

or

Requires only one of the conditions on either side of the operator to evaluate to True.

11
New cards

not

Negates a given condition so that it evaluates to False if the condition is True and to True if it is False.

12
New cards

for

Signals the beginning of a for loop; used to iterate through a specified sequence.

13
New cards

while

Signals the beginning of a while loop; used to iterate based on a condition.

14
New cards

break

Used to break out of a loop.

15
New cards

continue

Used to skip a loop iteration and continue with the next one.