Language Systems One Flashcards

(16 cards)

0
Q

What is assembly language

A

Symbolic coded instructions

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

What is machine language

A

Binary coded instructions

Also called object code or machine code

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

What a high-level programming languages

A

Structured English like procedural statements with some mathematical notation

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

What Are script and markup languages

A

Influenced by the Web

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

What are language systems used for

A

Raise the level of which a developer works

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

What tools are used in language systems

A

Assemblers (for assembly language)
Compilers (high-level programming languages)
Interpreters (used for both high-level programming languages and script languages)

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

What is an assembler

A

This converts an assembly language program into a machine code equivalent

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

What is a compiler

A

I compiler is a program that changes high-level language source code to object code that can be executed by the CPU

Compilers check syntax check semantics and generate code

Example C c+

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

What is an interpreter

A

An interpreter executes source code instructions written in a high-level programming language but does not produce an executable file

The checks the syntax of a program

Takes one instruction at the time converted into machine language which is executed before moving onto the next instruction

Examples PHP JavaScript

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

Compiler versus interpreter

A

20 years ago languages were either compiled or interpreted

Recently hybrid languages have emerged such as Java and C sharp

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

What are the benefits of compiled languages

A

Produce executable files that are efficient and faster

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

What are the drawbacks of interpreted languages

A

Slower

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

What are the benefits of interpreted languages

A

Tell you where the error is

Simpler to develop in

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

What is Java

A

A software interpreter that takes byte code and executes it

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

What is C++ used for

A

Low level & system programming

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

What are executables

A

Result From complied lauguages

Standalone programs that contain all necessary library’s

Java puts files into jar files