0% found this document useful (0 votes)
5 views6 pages

My Notes

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views6 pages

My Notes

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Types of Programming Languages based on Execution Model:

Compiled Languages: In compiled languages, the source code is converted into machine
code beforehand, creating an executable file. This process involves:
1. Writing source code
2. Compiling (translation into machine code)
3. Executable file generation
4. Execution (directly by the computer)

Characteristics:
1. Faster execution
2. More efficient memory usage
3. Better performance
4. Platform-dependent (e.g., Windows, Linux)

Examples of compiled languages:


1. C
2. C++
3. Java (partially compiled)
4. Fortran
5. Assembly languages
Interpreted Languages: In interpreted languages, the source code is translated
into machine code line-by-line during execution, without creating an
executable file.
1. Writing source code
2. Interpretation (translation into machine code at runtime)
3. Execution (by the interpreter)

Characteristics:
1. Slower execution
2. Easier development and testing
3. Platform-independent (e.g., Python, JavaScript)
4. Dynamic typing

Examples of interpreted languages:


1. Python
2. JavaScript (in web browsers)
3. Ruby
4. PHP
5. Perl
Interpreted Languages: Some languages blend compilation and interpretation:
1. Just-In-Time (JIT) compilation: Compiles code into machine code at runtime
(e.g., Java, .NET).
2. Bytecode compilation: Compiles code into platform-independent bytecode,
then interprets or compiles to machine code (e.g., Java).

Examples of hybrid languages:


1. Java
2. .NET languages (C#, F#)
3. ActionScript
Scripting Languages:
Scripting languages are programming languages designed for rapid development, execution, and
automation of tasks. They are typically:

Characteristics:
1. Interpreted, not compiled

2. Dynamic typing

3. Loose syntax

4. Often used for scripting, automation, and integration

Examples of Scripting Languages:


1. Python

2. PHP

3. Perl

4. JavaScript (in web browsers)

Client side scripting language: Client-side scripting languages are programming languages
executed on the client's web browser, handling:

Key Characteristics:
1. Executed on client's web browser

2. Dynamic web page interactions

3. User interface manipulation

4. Real-time updates

5. No direct server access

Examples of Client-side Scripting Languages:


1. JavaScript (most popular)

2. TypeScript

Popular Client-side Scripting Frameworks and Libraries:


1. jQuery

2. React

3. Angular

4. Vue.js
Server side scripting language: Server-side scripting languages are programming languages
executed on the server, handling:

Key Characteristics:
1. Executed on the server

2. Dynamic content generation

3. Database interactions

4. Server-side logic and calculations

5. Security and authentication

Examples of Server-side Scripting Languages:


1. PHP

2. Python (e.g., Django, Flask)

3. Ruby (e.g., Ruby on Rails)

4. Java (e.g., Servlets, JSP)

5. C# (e.g., (link unavailable))

6. Node.js (JavaScript)

7. Perl

Popular Server-side Scripting Frameworks and Libraries:


1. Django (Python)

2. Ruby on Rails (Ruby)

3. Laravel (PHP)

4. Express.js (Node.js)

5. Spring (Java)
Open Source Softwares:
Open source software (OSS) is software that:

1. Is freely available

2. Has source code accessible

3. Allows modification and distribution

4. Is developed collaboratively

Following are the open-source programming languages :

1. Python
2. Php
3. Java
4. C
5. C++
6. HTML/CSS
7. JavaScript

Platform Independence means:


"A program or language can run on multiple operating systems, hardware architectures, and devices
without modification."

Key characteristics:
- Compile-once, run-anywhere

- No platform-specific code

- Abstracted hardware and OS interactions

Examples of platform-independent languages:


- Java

- Python

- C#

- JavaScript

- Ruby

You might also like