LESSON 2 - SOFTWARE PDF

Document Details

DynamicLimerick3200

Uploaded by DynamicLimerick3200

PUP - Sta. Mesa

Tags

software programming languages operating systems computer science

Summary

This document provides a basic overview of software concepts, including assembly and machine languages, compilers, interpreters, and assemblers. It also touches on operating systems.

Full Transcript

SOFTWARE ASSEMBLY AND MACHINE LANGUAGE Feature Machine Language Assembly Language Readability Binary, difficult for humans Mnemonics, easier to read Needs to be assembled into Ex...

SOFTWARE ASSEMBLY AND MACHINE LANGUAGE Feature Machine Language Assembly Language Readability Binary, difficult for humans Mnemonics, easier to read Needs to be assembled into Execution Directly executed by the CPU machine code Hardware Dependency Specific to CPU architecture Specific to CPU architecture Easier to code and debug than Ease of Use Very hard to code and debug binary Requires an assembler to convert to Translation No translation needed machine code COMPILERS AND TRANSLATORS Feature Compiler Interpreter Assembler Converts entire program to Converts and executes code Converts assembly code to Function machine code line by line machine code Fast execution after Slower execution, as each line Speed Fast execution after assembly compilation is interpreted in real-time Catches errors before Catches errors during Catches errors in assembly Error Detection execution execution language syntax No separate executable, Output Produces an executable file Produces machine code directly executes directly Example Languages C, C++, Java Python, JavaScript Assembly Language PROGRAMMING LANGUAGES 1. 1. OPERATING SYSTEMS 1. 1.

Use Quizgecko on...
Browser
Browser