Lição 5/13 · 18 palavras · 0 aprendidas
Programming fundamentals
Fundamentos de programação
algoritmo
a set of step-by-step rules that a computer follows to solve a problem or complete a task
The new algorithm finds the shortest delivery route in seconds.
O novo algoritmo encontra a rota de entrega mais curta em segundos.
Social media platforms use algorithms to decide which posts users see.
SinônimosprocedureformulaprocessmethodroutineAntônimosrandomnesschanceguessworkcódigo-fonte
the original instructions of a program, written by programmers in a form people can read
Only senior developers can change the source code of the core system.
Somente desenvolvedores seniores podem alterar o código-fonte do sistema principal.
The client asked for a copy of the source code when the project ended.
Sinônimoscodeprogram codeAntônimosexecutablebinary codelinguagem de programação
a formal language with its own words and rules, such as Python or Java, used to write computer programs
Python is the main programming language used by our data team.
Python é a principal linguagem de programação usada pela nossa equipe de dados.
The job requires experience in at least one object-oriented programming language.
sintaxe
the rules for how words, symbols and punctuation must be written in a programming language
The program will not run because there is a syntax error on line 42.
O programa não executa porque há um erro de sintaxe na linha 42.
Python syntax is simple, which makes it good for beginners.
variável
a named place in a program that stores a value which can change while the program runs
Give each variable a clear name so others understand your code.
Dê a cada variável um nome claro para que outras pessoas entendam seu código.
The bug happened because the variable was never set to zero.
tipo de dado, tipo de dados
the kind of value a variable can hold, such as a number, text or true/false
The error appeared because the function expected a number but received a text data type.
O erro apareceu porque a função esperava um número, mas recebeu um tipo de dado texto.
Choose the right data type for each column in the table.
laço, loop, laço de repetição
a part of a program that repeats the same instructions until a condition is met
The script uses a loop to send an email to each customer on the list.
O script usa um laço para enviar um e-mail a cada cliente da lista.
The app froze because of an infinite loop in the code.
instrução condicional, estrutura condicional
a programming instruction, such as if/else, that runs different code depending on whether a condition is true
A conditional statement checks whether the user is logged in before showing the page.
Uma instrução condicional verifica se o usuário está conectado antes de exibir a página.
Too many nested conditional statements make the code hard to test.
script
a short program that automates a task, often written in a language such as Python or Bash
We wrote a script that backs up the database every night.
Escrevemos um script que faz o backup do banco de dados toda noite.
The deployment script failed because a file path was wrong.
biblioteca
a collection of ready-made code that programmers can reuse in their own programs
We used an open-source library to generate PDF reports.
Usamos uma biblioteca de código aberto para gerar relatórios em PDF.
Check the licence before adding a third-party library to the project.
programação orientada a objetos, POO
a style of programming that organizes code into objects that contain both data and functions
Java and C# are popular languages for object-oriented programming.
Java e C# são linguagens populares para programação orientada a objetos.
The interview included questions on object-oriented programming concepts like classes and inheritance.
IDE, ambiente de desenvolvimento integrado
integrated development environment: a software application with tools for writing, testing and debugging code
Most of our developers use Visual Studio Code as their IDE.
A maioria dos nossos desenvolvedores usa o Visual Studio Code como IDE.
A good IDE highlights errors while you type.
