Crash Course on Python Flashcards

1
Q

Computer Program

A

is a recipe of instructions that tells your computer what to do.
- When you write a program, you create a step-by-step recipe of what needs to be done to complete a task and when your computer executes the program it reads what you wrote and follows your instructions to the letter.

  • The Recipe is written in a code called programming languages.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Syntax

A

The Rules for how a sentence is constructed.

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

Semantics

A

The actual meaning of statements.( the meaning the instructions can have).

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

Script

A

A Program that is short, simple and can be written very quickly.

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

What is automation?

A

The Process of replacing a Manual step with one that happens automatically.

  • Automating tasks allows you to focus on projects that are a better use of your time, letting computers do the boring stull for you.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Programming code

A

Programming code is set of written computer instructions, guided by rules, using a computer programming language.

  • It Might help to think of computer instructions as a detailed, step-by- step recipe for performing tasks.
  • The Instructions tell computers and machines how to perform an action.

-Programming code may be referred to as source code or scripts.

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

Programming languages

A
  • Programming languages are similar to human spoken languages in that they are both use syntax and semantics.
  • Programming languages are used to write computer programs. Some common programming languages include Python, Java, C C++ and R.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Syntax

A

Syntax is a set of rules for how statements are constructed in both humans and computer languages.

-Programming syntax includes rules for the order of elements in programming instructions, as well as the use of special characters and their placements in statements.

  • The concept is similar to the syntax rules for grammar and punctuation in human language.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Semantics

A

Semantics refers to the intended meaning or effect of the statements, or collection of words, in both human and computer languages.

  • Semantic errors are also referred to as logical errors.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Computer Program

A
  • A computer program is a step-by-step list of instructions that a computer follows to reach an intended goal.
  • It is important to be clear and precise about the actions a computer program is supposed to perform because computers will do exactly what they are instructed to do.
  • Computer programs can be long, complex, and accomplish a variety of tasks.
  • Computer programs may involve a structured development cycle.
  • The completed format of a program is often a single executable file.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Computer Program

A
  • A computer program is a step-by-step list of instructions that a computer follows to reach an intended goal.
  • It is important to be clear and precise about the actions a computer program is supposed to perform because computers will do exactly what they are instructed to do.
  • Computer programs can be long, complex, and accomplish a variety of tasks.
  • Computer programs may involve a structured development cycle.
  • The completed format of a program is often a single executable file.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Script

A
  • Scripts are usually shorter and less complex than computer programs.
  • However, they can be used for complex tasks if needed.
  • Scripts are often written by IT professionals, but anyone can learn to write scripts.
  • Scripts can be written in a variety of programming languages, like Python, Javascript, Ruby, Bash, and more.
  • Some scripting languages are interpreted languages and are only compatible with certain platforms.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Automation

A

Automation is used to replace a repetitive manual step with one that happens automatically.

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

Output

A

Output is the end result of a task performed by a function or a computer program.

  • Output can include a single value, a report, entries into a database and more.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Input

A

Input is information that is provided to a program by the end user. Input can be text, voice, images, biometrics and more.

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

Functions

A

Functions is a reusable block of code that performs a specific task.

17
Q

Variables

A

Variables are used to temporality store changeable values in a programing code.

18
Q

Python interpreter

A

The Program that reads what’s in the recipe and translates it into instructions for your computer to follow.

19
Q

Key Terms

A
20
Q

Platform-specific/ OS specific scripting language

A

Platform-specific scripting languages. like PowerShell ( for windows) and Bash ( for Linux) are used by system administrators on those platforms.

21
Q

Client-side-scripting language

A

Client-side scripting languages, like JavaScript, are used mostly used for web programming.

-The scripts are transferred from a web server to end-user’s internet browser, then executed in the browser.

22
Q

Machine Language

A

Machine Language is the lowest-level computer language.

  • It communicates directly with computing machines in the binary code ( ones and zero).
  • In binary code, one equals a pulse of electricity and zero equals no electric pulse.
  • Machine Language instructions are made from translating languages like python into complex patterns of ones and zeros.
23
Q

Cross-platform programming language

A

Programming language that is compatible with one or more platforms/ operating systems ( e.g. Window. Linux, Max, iOS, Android).

24
Q

Object-oriented programming language

A

In Object-oriented programming language, most coding elements are considered to be objects with Configurable properties.

  • e.g. a form field is an object that can be configured to accept only dates as input in the month day and year, and can be configured to read and write to a specific database.
25
Q

Python Interpreter

A

An Interpreter is the program that reads and executes Python code by translating python code into computer instructions.

26
Q

Functions

A

Pieces of code that perform a unit of work.

27
Q

Keywords

A

Reserved words that are used to construct instructions.

28
Q

Data Types

A

-String known as data type

29
Q

Variables

A

Are the names we give to the certain values to our program.