MD1 Get to know Python Flashcards

1
Q

How programming works

A

Programming is a process that can be used to create a specific set of instructions for a computer to execute tasks. Computer programs exist everywhere. Computers, cell phones, and many other electronic devices are all given instructions by computer programs.

There are multiple programming languages used to create computer programs. Python is one of these. Programming languages are converted to binary numbers, which are a series of 0s and 1s that represent the operations that the computer’s central processing unit (CPU) should perform. Each instruction corresponds to a specific operation, such as adding two numbers or loading a value from memory.

It would be very time-consuming for humans to communicate this way. Programming languages like Python make it easier to write code because you can use less syntax when instructing computers to perform complex processes.

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

Using Python to program

A

Python is a general purpose programming language that can be used to solve a variety of problems. For example, it can be used to build websites, perform data analysis, and automate tasks.

Python code must be converted through an interpreter before the computer can process it. An interpreter is a computer program that translates Python code into runnable instructions line by line.

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

Python versions

A

here are multiple versions of Python. In this course, you are using Python 3. While using Python, it’s important to keep track of the version you’re using. There are differences in the syntax of each version. Syntax refers to the rules that determine what is correctly structured in a computing language.

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

Python in cybersecurity

A

In cybersecurity, Python is used especially for automation. Automation is the use of technology to reduce human and manual effort to perform common and repetitive tasks. These are some specific areas of cybersecurity in which Python might be used to automate specific tasks:

Log analysis

Malware analysis

Access control list management

Intrusion detection

Compliance checks

Network scanning

Key takeaways

Python is a programming language, or in other words, a language used to create instructions for a computer to complete tasks. Programming languages are converted to binary numbers that a machine can understand. It’s important to be aware that there are multiple versions of Python, and they have differences in syntax. Python is especially useful in cybersecurity for automating repetitive tasks.

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