Note On Systems Programming
Note On Systems Programming
1. Python
2. JavaScript
3. Ruby
4. Perl
5. PHP
6. Lisp
7. Tcl
8. BASIC
9. Shell scripting languages like Bash
10. R
11. MATLAB
12. Lua
Compiler:
1. C
2. C++
3. Java (compiled to bytecode, then executed by the Java Virtual Machine)
4. Go (Golang)
5. Swift
6. Rust
7. Ada
8. Fortran
9. Pascal
10. COBOL
Execution Converts entire source code to Executes source code line by line
1
Feature Compiler Interpreter
machine code
2
8. Error Detection and Handling: OS detects errors, faults, and exceptions, and
handles them appropriately to prevent system crashes and data loss.
9. Resource Allocation: Operating systems manage and allocate system
resources such as CPU time, memory space, and peripheral devices efficiently
among different processes and users.
10. System Monitoring and Performance Tuning: They monitor system activities,
collect performance metrics, and provide tools for system optimization and
performance tuning.
1. Operating System (OS): The primary system program that manages computer
hardware resources and provides services to application software. Examples
include Windows, macOS, Linux, and Unix.
2. Device Drivers: These programs facilitate communication between the
operating system and hardware devices such as printers, graphics cards, and
storage devices.
3. Utilities: These are additional programs provided by the operating system to
perform various tasks such as file management, disk maintenance, system
monitoring, and security functions.
4. Language Processors: Compilers, interpreters, and assemblers fall into this
category. They translate high-level programming languages into machine code
or intermediate code that can be executed by the computer.
5. File System Managers: These programs manage the organization and storage
of files on disk drives, ensuring efficient access and retrieval of data.
6. System Libraries: Collections of functions and routines that provide common
functionalities to application programs, such as mathematical operations,
input/output handling, and networking.
7. Security Software: Including antivirus programs, firewalls, and intrusion
detection systems, these programs help protect the system from malicious
software and unauthorized access.
Program Translator:
A program translator is a software tool used to convert source code written in one
programming language into another form, typically into machine code or an
intermediate representation that can be executed by a computer. There are several
types of program translators:
3
1. Compiler: A compiler translates the entire source code of a program into
machine code or an intermediate language before execution. It checks for errors
and produces an executable file.
2. Interpreter: An interpreter translates source code into machine code or
intermediate code line by line, executing each line immediately after translation.
It stops execution when an error is encountered.
3. Assembler: An assembler translates assembly language code into machine
code. It converts mnemonic instructions into binary machine code instructions
that the computer's processor can understand.