Download presentation
Presentation is loading. Please wait.
1
LOW vs. HIGH Level Languages
Skill Area 311 Part C Materials prepared by Dhimas Ruswanto, BMm
2
Lecture Overview Definition Low & High Level Language
Contrast Low & High Level Language Differences Low & High Level Language : Understandable Ease of writing Running speed Writing format
3
LOW vs. HIGH Level language
4
Definition Low level languages: High Level Languages:
Computer language consisting of mnemonics that directly correspond to machine language instructions High Level Languages: Basically symbolic languages that use English words and/or mathematical symbols rather than mnemonic codes.
5
Contrast Low Level Languages High Level Languages
Very close to machine language Concentrate on machine architecture High Level Languages Machine-independent programming language Concentrate of the logic of problem
6
Examples Low Level Language High Level Language Machine language
Assembly language High Level Language C C++ BASIC Java
7
LOW vs. HIGH Level Languages
Differences in terms of: Understandable Ease of writing Running speed Writing format
8
Understandable Low Level Language: High Level Language:
Mnemonic, binary, hexadecimal High Level Language: Simple English and mathematics symbols
9
Adds two numbers and stores the result
Low Level Language: .model small, C .586 .data mov eax,5 mov ebx,10 add eax,ebx end
10
Adds two numbers and stores the result
High Level Language: int main() { //assign to the variable result the value of int result = ; return 0; )
11
Ease of Writing Low Level Language: High Level Language:
Designed for the ease of the computer running the language. Difficult for human to read and write High Level Language: Designed for the ease of the person writing the language. Using language that human can understand, English
12
Running Speed Low Level Language: High Level Language: Faster
No need to compile More efficient High Level Language: Need compiler or interpreter Translate into machine code Lower speed execution
13
Running Speed (Example)
Low Level Language: High Level Language: 4 = 2+2
14
Writing Format Low Level Language: High Level Language:
Set of instructions for processor High Level Language: Grammar rules
15
Hello World! Low Level Language .MODEL small .STACK 100h .DATA
HelloMessage DB ‘Hello, world’, 13,10,’$’ .CODE mov mov ds,ax mov ah,9 mov dx,OFFSET HelloMessage int 21h mov ah, 4ch END
16
Hello World! High Level Language #include <stdio.h>
int main(void) { printf("Hello World!"); return 0; }
17
Summary Low level languages:
Computer language consisting of mnemonics that directly correspond to machine language instructions High Level Languages: Basically symbolic languages that use English words and/or mathematical symbols rather than mnemonic codes. Differences in terms of: Understandable Ease of writing Running speed Writing format
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.