9
1. x86 Assembly
2. ARM Assembly
Comparison
Feature Compiler Interpreter Assembler
Execution Entire program Entire program
Line-by-line
Method at once at once
Error Before During Before
Reporting execution execution execution
Standalone No standalone
Output Machine code
executable output
Fast (compiled
Speed Slow Fast
code)
Portability Low High Low
Applications
1. Compiler: Used in software development for applications requiring high
performance, such as games and operating systems.
2. Interpreter: Common in scripting, web development, and educational
environments.
3. Assembler: Essential for firmware, embedded systems, and
performance-critical tasks.
Compilers, interpreters, and assemblers each play a critical role in
programming, enabling the execution of code across different levels of
abstraction.
problem solving concept: algorithm, introduction, definition, characteristics,
limitation, condition and pseudo code, loops in pseudo code.
Problem-Solving Concepts: Algorithms, Pseudo Code, and Loops
1. Introduction to Problem-Solving in Programming
Problem-solving in programming involves a structured approach to breaking
down a complex problem into smaller, manageable tasks and creating a
sequence of steps to solve it. This process is central to developing efficient
and effective software solutions.
Steps in Problem-Solving
1. Understand the Problem: Clearly define the problem, including its
inputs, outputs, and constraints.
2. Plan the Solution: Devise a step-by-step strategy or algorithm to solve
the problem.