Crash Course on Python Flashcards
Computer Program
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.
Syntax
The Rules for how a sentence is constructed.
Semantics
The actual meaning of statements.( the meaning the instructions can have).
Script
A Program that is short, simple and can be written very quickly.
What is automation?
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.
Programming code
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.
Programming languages
- 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.
Syntax
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.
Semantics
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.
Computer Program
- 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.
Computer Program
- 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.
Script
- 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.
Automation
Automation is used to replace a repetitive manual step with one that happens automatically.
Output
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.
Input
Input is information that is provided to a program by the end user. Input can be text, voice, images, biometrics and more.