2.5 Translators and Facilities of Languages Flashcards

1
Q

High Level Languages (HLLs)

A

Programming languages that are easier to write and understand, closer to human language. Examples include Python, Java, and C++.

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

Advantages of High Level Languages

A

HLLs are easier to program, can be written faster, have easier debugging, and are portable across platforms.

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

Disadvantages of High Level Languages

A

HLLs require more memory, translation takes longer, and they offer less control over hardware.

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

Low Level Languages (LLLs)

A

Programming languages closer to machine code and hardware, such as Assembly language and machine code.

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

Advantages of Low Level Languages

A

LLLs use less memory and allow more control over the hardware.

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

Disadvantages of Low Level Languages

A

LLLs are difficult to understand, take longer to write, and are not portable.

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

Translators

A

Programs that convert high-level code into machine code that can be executed by a computer.

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

Compiler

A

A type of translator that converts all the code from a high-level language into machine code in one go, producing an executable file.

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

Interpreter

A

A type of translator that translates the code one line at a time and executes it immediately.

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

Compiler vs Interpreter

A

A compiler translates all code at once, while an interpreter processes and executes code line by line.

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

Integrated Development Environment (IDE)

A

A software program that provides various tools to help programmers write, test, and debug their code.

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

Code Editors

A

A feature of IDEs that allows programmers to write and edit program code, often with syntax highlighting.

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

Debugging

A

The process of finding and fixing errors in a program, often using an IDE that highlights syntax and runtime errors.

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

Run-Time Environment

A

A feature of IDEs that allows programmers to run their code as they write it, checking for errors during execution.

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

Translators in IDEs

A

Translators are built into IDEs to convert high-level code into machine code so that it can be executed by a computer.

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

IDE Features

A

IDEs offer features such as code editing, debugging, running the program, and built-in translators for easier program development.

17
Q

Examples of High-Level Languages

A

Examples of HLLs include Python, Java, and C++, which are easier to write and understand compared to low-level languages.

18
Q

Examples of Low-Level Languages

A

Examples of LLLs include Assembly language and machine code, which provide more control over hardware.

19
Q

Integrated Development Environment (IDE) Features

A

An IDE includes features like code editors, debugging tools, and run-time environments to facilitate program development.

20
Q

Debugging in IDEs

A

IDEs help programmers diagnose and fix errors in their code by highlighting syntax and runtime errors and suggesting solutions.

21
Q

Run-Time Environment in IDEs

A

A run-time environment in an IDE allows programs to be executed immediately after writing, checking for errors during the program’s execution.