Programming Languages Fundamentals Notes | Basic Computer Engineering | RGPV BTech First Year


Programming Languages Fundamentals

Programming Language एक Formal Language होती है जिसका उपयोग Computer को Instructions देने के लिए किया जाता है। Computer केवल Machine Language को समझता है, इसलिए Programming Languages का उपयोग Human Readable Instructions को Computer Executable Form में बदलने के लिए किया जाता है।


Introduction

Computer Programming आधुनिक Software Development का आधार है। किसी भी Software, Mobile Application, Website, Operating System या Artificial Intelligence System को विकसित करने के लिए Programming Languages का उपयोग किया जाता है।

Programming Language Programmer तथा Computer के बीच Communication Medium का कार्य करती है।


Definition

Programming Language नियमों, Keywords तथा Syntax का ऐसा समूह है जिसके माध्यम से Computer Programs लिखे जाते हैं।

Programming Language = Instructions + Syntax + Logic


Characteristics of Programming Languages

  • Simple Syntax
  • Machine Independence
  • Portability
  • Reliability
  • Efficiency
  • Reusability

Types of Programming Languages

  1. Machine Language
  2. Assembly Language
  3. High Level Language
  4. Fourth Generation Language
  5. Fifth Generation Language

1. Machine Language

Machine Language Computer की Native Language होती है जो Binary Digits (0 और 1) में लिखी जाती है।

  • Fast Execution
  • Machine Dependent
  • Difficult to Understand

2. Assembly Language

Assembly Language Machine Language का Symbolic Representation होती है।

Examples: MOV, ADD, SUB, JMP


3. High Level Languages

High Level Languages Human Readable होती हैं तथा Program Development को आसान बनाती हैं।

Examples:

  • C
  • C++
  • Java
  • Python
  • JavaScript

Language Translators

Translator Function
Compiler Converts Entire Program
Interpreter Converts Line by Line
Assembler Converts Assembly Language

Generations of Programming Languages

Generation Language Type
1GL Machine Language
2GL Assembly Language
3GL High Level Language
4GL Database Oriented Language
5GL AI Oriented Language

Programming Process

  1. Problem Analysis
  2. Algorithm Design
  3. Flowchart Creation
  4. Coding
  5. Compilation
  6. Testing
  7. Execution
  8. Maintenance

Advantages of Programming Languages

  • Easy Program Development
  • Fast Software Creation
  • Code Reusability
  • Portability
  • Maintainability
  • Improved Productivity

Applications

  • Software Development
  • Web Development
  • Mobile Applications
  • Artificial Intelligence
  • Data Science
  • Cloud Computing
  • Game Development
  • Embedded Systems

Programming Languages Comparison

Language Use Case
C System Programming
Java Enterprise Applications
Python AI and Data Science
JavaScript Web Development

Viva Questions

  1. What is a Programming Language?
  2. What is Machine Language?
  3. What is Assembly Language?
  4. What is a Compiler?
  5. What is an Interpreter?
  6. What is High Level Language?
  7. What is 3GL?
  8. What is Python?
  9. Difference between Compiler and Interpreter?
  10. What is Programming?

Exam Oriented Important Questions

  1. Define Programming Language.
  2. Explain Types of Programming Languages.
  3. Differentiate between Machine and High Level Language.
  4. Explain Compiler and Interpreter.
  5. Discuss Generations of Programming Languages.
  6. Describe Programming Process.
  7. Write Applications of Programming Languages.

Conclusion

Programming Languages Computer Science का मूल आधार हैं। इनके माध्यम से Software, Applications तथा Modern Computing Systems विकसित किए जाते हैं। प्रत्येक Computer Engineering Student के लिए Programming Languages की समझ अत्यंत आवश्यक है।