Section 4 class of program language Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

High level language

A

Have a syntax and structure similar to English so it can be easily understood by most humans

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

Name some High level language

A

Python, C#, Visual Basic

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

What does it mean when these High-level languages are what we call hardware independent?

A

Meaning they can work on any system. Programmer can therefore focus on own task without haveing to concern themselves with architecture of the computer.

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

High level code must be co…. or interp… before it can run

A

compiled or interpreted

it goes from:

source code(high level language) —-> compiler——-> Machine code(object code)

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

interpret in cs meaning

A

In computer science, an interpreter is a computer program that directly executes instructions written in a programming or scripting language, without requiring them previously to have been compiled into a machine language program.

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

compiled in cs meaning

A

Compiling a C Program. Compiling is the transformation from Source Code (human readable) into machine code (computer executable). A compiler is a program.

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

Assembly Language

A

low level language used to control specific hardware components.
commands execute quickly
efficient and occupies less memory than that produce by translating the equivalent high-level instructions
software is written in this language as machine code is produced by assembler fast

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

Processors

A

These guys execute the machine code, binary instruction which the computer can respond to directly perform a task. Each type= specific machine code instruction set so machine code for one type wont work on another

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

The 3 Translators:

A

Compiler
Translates high-level code
Translates high level into machine code
compiled program executes faster as it is in machine code already
produces executable file so it original does not need to be compiled again
no need for the compiler to be present when the object code is run

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

The 3 Translators: Interpreter

A

Translates and executed a line of high-level language code at a time.
longer to execute as it needs to translate each line
Will have to be translated every time original code is run
interpreter must be installed to run the program

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

The 3 Translators:Assembler

A

converts assembly language into machine code
simple conversion
every assembly language instruction is translated into a single machine code

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