Programming languages, translators and IDEs
Introducido
8:28
Hardware y Software
Aquí hay una computadora completamente nueva. Cada parte física funciona — el procesador, la memoria, la pantalla, el teclado. Enciéndela y no pasa nada. No hay escritorio…
Narración en inglés · subtítulos en inglés y 中文 que puedes cambiar
En esta lección
| English | Significado |
|---|---|
| translator/trænˈsleɪtə/ | traductor |
| programs/ˈprəʊɡræmz/ | A set of instructions specifying operations for a computer to carry out. |
| programming language/ˈprəʊɡræmɪŋ ˈlæŋɡwɪdʒ/ | lenguaje de programación |
| CPU/ˌsiː piː ˈjuː/ | |
| machine code/məˈʃiːn kəʊd/ | código máquina |
| high-level language/haɪ ˈlevl ˈlæŋɡwɪdʒ/ | lenguaje de alto nivel |
| portable/ˈpɔːtəbl/ | |
| low-level language/ləʊ ˈlevl ˈlæŋɡwɪdʒ/ | lenguaje de bajo nivel |
| hardware/ˈhɑːdweə/ | |
| binary/ˈbaɪnəri/ | A number system using base two, with the digits zero and one. |
| assembly language/əˈsemblɪ ˈlæŋɡwɪdʒ/ | lenguaje de ensamblaje |
| mnemonics/nɪˈmɒnɪks/ | |
| compiler/kəmˈpaɪlə/ | compilador |
| interpreter/ɪnˈtɜːprɪtə/ | intérprete |
| Errors | |
| integrated development environment/ˈɪntɪɡreɪtɪd dɪˈveləpmənt enˈvaɪrənmənt/ | entorno de desarrollo integrado |
| code editor/kəʊd ˈedɪtə/ | A tool for writing and modifying source code, often with features that help identify its structure or mistakes. |
| run-time environment | |
| error diagnostics/ˈerə ˌdaɪəɡˈnɒstɪks/ | |
| auto-completion/correction | |
| prettyprinting/ˈpretɪprɪntɪŋ/ | |
| executable file | |
| source code/sɔːs kəʊd/ |
Lenguajes y traductores
- Las personas escriben programas en un lenguaje de programación; la CPU ejecuta el código máquina.
- Los lenguajes son de alto nivel o de bajo nivel.
- Un traductor convierte un programa a código máquina, y un IDE te ayuda a escribirlo.
Laboratorio de conceptos informáticos
Classify concrete examples by the computing idea they demonstrate.
Alto nivel vs bajo nivel
- Un lenguaje de alto nivel (p. ej., Python) se lee como inglés — es fácil de escribir/corregir y portátil (se ejecuta en diferentes computadoras).
- Un lenguaje de bajo nivel está cercano al hardware: código máquina (binario, ejecutado directamente por la CPU) y lenguaje ensamblador (mnemotécnicos para el código máquina).
- El código de bajo nivel es específico de la CPU — se usa cuando se necesita control total del hardware o código muy rápido y pequeño.

Los lenguajes de alto nivel están cercanos al lenguaje humano y son portátiles; los lenguajes de bajo nivel (ensamblador y código máquina) están cercanos al hardware y vinculados a una única CPU.

Un compilador traduce todo el programa una vez en código máquina; un intérprete traduce y ejecuta línea por línea.
A high-level language (like Python):
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
High-level languages are easy to read/write and portable; low-level languages are CPU-specific.
Compilador vs intérprete
| Compilador | Intérprete | |
|---|---|---|
| Traduce | todo el programa de una vez | línea por línea |
| Errores | todos se reportan al final | se detiene en el primer error |
| Programa terminado | corre rápido, no necesita traductor | más lento, necesita el intérprete |
- Usa un compilador para compartir un programa terminado rápido; un intérprete mientras escribes y pruebas.

Un sistema operativo es software — los programas que le dicen al hardware qué hacer.

Match each term to what it is.
Dificultad 2/5 · 140 monedas + un pequeño bono en el primer intento de hoy
High-level → readable; machine code → binary; a compiler translates once, an interpreter goes line by line.
A compiler:
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
A compiler translates everything once into a fast stand-alone program; an interpreter goes line by line.
An interpreter translates the whole program once, so it runs fast without the interpreter; a compiler translates line by line.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
False. They are swapped: a compiler translates the whole program once and the result runs without it, while an interpreter translates and runs line by line, stopping at the first error.
Entorno de desarrollo integrado (IDE)
- Un IDE agrupa las herramientas para escribir programas en un solo lugar:
- un editor de código, un entorno de ejecución, un traductor, diagnóstico de errores, autocompletado/corrección automática y formato bonito (colores + sangría ordenada).

El hardware son las partes físicas; el software son los programas.

Which is a feature of an IDE?
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
An IDE bundles an editor, translator, run-time, diagnostics, auto-complete and prettyprinting.
Esta tarjeta es nueva, por eso aparece en inglés hasta que su traducción esté lista.
Worked example: choosing a translator
A team is writing a game. While they are developing it they test small changes often; at the end they will sell it to customers. Which translator suits each stage?
- During development: an interpreter. It runs the code line by line straight away and stops at the first error, showing where it is, so each small change can be tested quickly.
- For sale: a compiler. It translates the whole program once into an executable file 可执行文件. Customers run it without needing the translator, it runs fast, and the source code 源代码 stays hidden.
Which translator converts assembly language into machine code?
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
Each assembly mnemonic maps to one machine-code instruction, which an assembler translates.
A compiler reports all the errors it finds after translating the whole program.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
An interpreter stops at the first error; a compiler gives an error report for the whole program.
Ya lo tienes
- Alto nivel = similar al inglés, portátil; Bajo nivel = código máquina (binario) / ensamblador, específico de la CPU.
- Un traductor convierte código a código máquina; compilador (todo el programa de una vez) vs intérprete (línea por línea).
- Compilador → programa terminado rápido; Intérprete → fácil de probar.
- Un IDE agrupa editor, traductor, diagnóstico, autocompletado y formato bonito.
¿Qué salió mal? Solo el equipo del sitio ve esta información.