Want to create interactive content? It’s easy in Genially!
Programming main concepts
Heidy
Created on August 5, 2024
Start designing with a free template
Discover more than 1500 professional designs like these:
Transcript
Programming vocabulary
Python
Concepts
1. Algorithm
7. Statement
8. Arithmetic operators
2. Variable
9. Assignment operators
3. Function
10. Coding languages
4. Conditionals
11. Syntaxis
5. Loop (bucles)
6. Iteration
12. Data types
Algorithm
- Set of instructions to accomplish a task.
- Usually the algorithm is organized.
- It's a computer's thought process.
Variable
- Watch a video
- A variable is a container that holds a single number, word, or other information that you can use throughout a program
Types of variables
- string: words and phrases
- char: short for “character”, a single letter or symbol you can type
- int: short for “integer;” for whole numbers
- float or double: for decimal numbers
- bool: short for “boolean;” for true or false values
Function
- A function is a block of code that can be referenced by name to run the code it contains.
- It also might be a "chunk" of code you can use repeatedly.
Conditional statement
- Conditionals, conditional statements, and conditional expressions are features of programming language, which help the code make a choice and result in either TRUE or FALSE.
Watch the video
LOOP (bucle)
- A loop is a sequence of instructions that repeats the same process over and over until a condition is met and it receives the order to stop.
- . Loops are considered one of the most basic and powerful concepts in programming.
- watch the video
Statement
- A statement is a single line of code that performs a specific task.
- They are called assigment statement
Arithmetic operators
- Arithmetic operators are essential in almost every application, especially in games.
Assignment operators
- Assignment operators (+=, -=, *=, /=) are operators that combine variable assignments (=) with arithmetic operators.
- Watch the following video
The most common coding languages: - JavaScript (69.9% )is used to manage the behavior of web pages. - HTML (62.4%) stands for HyperText Markup Language. Website development. HTML is one of the most accessible stepping stones into the world of programming. - Python (41.6%) is a general-purpose programming language that empowers developers to use several different programming styles (i.e., functional, object-oriented, reflective, etc.) when creating programs. - Java (38.4%) is general use and object-oriented programming language. E-commerce, finance, app development.
Coding languages
Sytanxis
Is the set of rules that define the combinations of symbols that are considered to be correctly structured programs in that language. Check the following web page
Data type by your teacher
A data type is the classification of a particular type of data. We as humans can understand the difference between a name and a number, but the computer cannot. The computer uses special internal codes to distinguish between different types of data it receives and processes. The most common data types include integer type which are numbers, a floating-point number data type which are decimal based numbers, Boolean values which are TRUE or FALSE and character data type which is alphabets.
¡Gracias!