Unit 7 - Module 1 - Python Programming Flashcards

1
Q

What is the use of technology to reduce human manual effort persom common and repetitive tasks?

A

Automation

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

Why is Python used in cybersecurity?

q

A

User friendly
Rembles Human language
Less code
Easy to read
Standard Guidelines
Online Support
Built-in Code

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

What is a process that can be used to create a specific set of instructions for a computer to execute tasks?

A

Programming

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

What do you call a computer program that translates Python code into runnable instructions line by line?

A

Interpreter

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

What refers to the rules that determine what is correctly structured in a computer language?

A

Syntax

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

What do you call a note programmers make about the intention behind their code?

A

Comment

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

In Python, What code outputs a specified object to the screen?

A

print ()

Example - print(“Hello Python”)

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

What is something that is an online interface for writing, storing and running code?

A

Notebook

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

What is a software application for writing code that proivides editing assistance and error correction tools?

A

Integrated Devleopment Enviroment (IDE)

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

What is a category for a particular type of dta item?

A

Data type

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

What is data consisting of an ordered sequence of characters?

A

String Data

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

What is data consisting of a number with decimal point?

A

Float Data

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

What is data consisiting of a number that does not include a decimal point?

A

Integer Data

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

What is data that can only be one of two values: True or False

A

Boolean Data

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

What do you call data structure that consists of a collection of data in sequential form?

A

List Data

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

What data is structured consisting of a collection of data that cannot be changed?

A

Tuple Data

17
Q

What data consitis of one more key-value paris?

A

Dictionary Data

18
Q

What is data that consitis of an unordred collection of unique values?

A

Set Data

19
Q

What is a container that stores data?

A

Variable

20
Q

What function returns that data type of its input?

A

type()

21
Q

What is a statement that evaluates code to determine if it meets a specified set of conditions?

A

Conditional Statement

22
Q

What starts a conditional statement?

A

if

23
Q

What evaluates whether two ojects are different?

A

!=

24
Q

What precedes a code section that only evaluates when all conditions that precede it within the conditional statement evaluate to False ?

A

else

25
Q

What is code that repeatedly executes a set of insructions?

A

Iterative statement

26
Q

What are the 2 loops?

A

for loops
while loops

27
Q

What command signals the beginning of a for loop?

A

for

28
Q

Whats the difference between while and for loops?

A

While loops stop the repeated actions when a guideline isn’t met, while for loops keep going.

29
Q
A