UPSC Exam  >  UPSC Notes  >  Famous Books for UPSC Exam (Summary & Tests)  >  Programming Languages of Computer - Computer Software, Computer Awareness

Programming Languages of Computer - Computer Software, Computer Awareness | Famous Books for UPSC Exam (Summary & Tests) PDF Download

Programming Languages of Computer

What is programming language?

Coded language used by programmers to write instructions that a computer can understand to do what the programmer or the computer user wants.

High level language

High level languages are designed to be used by the the programmer. Their programming style and context is easier to learn and implement, and the entire code generally focuses on the specific program to be created.

High-level language doesn’t require addressing hardware constraints to a greater extent when developing a program. However, every single program written in a high level language must be interpreted into machine language before being executed by the computer. The main advantage of high-level languages over low-level languages is that they are easier to read, write, and maintain.

BASIC, C/C++ and Java are popular examples of high-level languages.

Advantage of high-level language:

  • Easier to learn and understand.
  • Less time to write program.
  • Easier to maintain.

Disadvantage of high-level language

  • It takes more time to execute the program.
  • Difficult in debugging if proper code is not available.
  • Inability to perform all operations because cannot manipulate bits and registers.

Machine Level Language

Machine level language is a machine language that a computer can understand directly without any difficulty. It is made up of series of 1’s and 0’s. The order of the bits serves as a code specifying what the computer should do.

Advantages

  • Computer directly understands the code written in this language therefore execution speed is fast and  use of primary memory.

Disadvantages

  • Difficult to learn and program.
  • The program becomes very lengthy and difficult to locate the errors.
  • difficult to debug.

Programs written in machine language in one machine cannot be easily transferred to other machines.

Assembly Language 

Assembly language is the language that permits the use of mnemonics for each instructing that the machine can do. The program written in assembly language must be transmitted to machine understandable form, which is done by assembler because computer cannot understand mnemonics codes(alphabetic codes) such as ADD for addition, SUB for subtraction etc. The program written by the programmer in assembly language is called a source program. The program, which is obtained after being converted into machine language, is called object program. It is also machine-oriented language ie. Designed for specific make and model of  a computer.

Advantages

  • Simple to understand and use when compared to machine level language.
  • Less time is required  to write the program
  • Program debugging is easier .

Disadvantages

  • It is machine dependent i.e. each design of machine has a different assembly language.
  • Assembly level language is too difficult to understand than the high level language.
  • Coding in this language is time-consuming.
The document Programming Languages of Computer - Computer Software, Computer Awareness | Famous Books for UPSC Exam (Summary & Tests) is a part of the UPSC Course Famous Books for UPSC Exam (Summary & Tests).
All you need of UPSC at this link: UPSC
545 videos|966 docs|373 tests

Top Courses for UPSC

FAQs on Programming Languages of Computer - Computer Software, Computer Awareness - Famous Books for UPSC Exam (Summary & Tests)

1. What are the different programming languages used in computer software development?
Ans. There are several programming languages used in computer software development, including but not limited to: - Java: A versatile and widely-used language known for its platform independence and object-oriented programming capabilities. - Python: A popular language known for its simplicity and readability, often used in web development, data analysis, and artificial intelligence. - C++: A powerful language used in system programming, game development, and high-performance applications. - JavaScript: A scripting language primarily used for web development to add interactivity and dynamic elements to websites. - C#: A language developed by Microsoft for building Windows applications and .NET framework.
2. What factors should be considered when choosing a programming language for computer software development?
Ans. When choosing a programming language for computer software development, several factors should be considered, such as: - Purpose and requirements of the software: Different languages are better suited for specific tasks, such as web development, mobile app development, or data analysis. - Learning curve: Consider the complexity and ease of learning the language, especially if you are starting as a beginner. - Community and support: Check if the language has an active community and sufficient online resources for troubleshooting and getting help. - Performance requirements: Some languages are more efficient and offer better performance for specific tasks, so consider the performance requirements of your software. - Integration capabilities: If your software needs to interact with other systems or APIs, ensure that the language supports seamless integration.
3. Can a programmer use multiple programming languages in a single software project?
Ans. Yes, it is possible to use multiple programming languages in a single software project. This approach is known as "polyglot programming." It allows programmers to leverage the strengths of different languages and frameworks for specific parts of the project. For example, a web application may use HTML, CSS, and JavaScript for the front-end, while using Python or Ruby for the back-end logic. However, it is important to consider the complexity and maintainability of the codebase when using multiple languages.
4. Are there any programming languages specifically designed for artificial intelligence and machine learning?
Ans. Yes, there are programming languages specifically designed for artificial intelligence (AI) and machine learning (ML), such as: - Python: Python has become the de facto language for AI and ML due to its extensive libraries and frameworks like TensorFlow, PyTorch, and scikit-learn. - R: R is widely used in statistical computing and data analysis, making it a popular choice for ML tasks that involve statistical modeling and visualization. - Julia: Julia is a relatively new language designed specifically for numerical and scientific computing, with a focus on high performance and ease of use for ML tasks. - Lisp: Lisp is a language known for its flexibility and expressiveness, often used in AI research and development of expert systems.
5. How long does it take to learn a programming language for computer software development?
Ans. The time it takes to learn a programming language for computer software development can vary depending on several factors, including: - Background knowledge: If you have prior experience in programming or a related field, it may be easier to grasp new concepts and syntax. - Complexity of the language: Some languages are easier to learn than others. For example, Python is often considered beginner-friendly due to its simplicity. - Learning resources and approach: The availability of quality learning resources, such as tutorials, books, and online courses, can significantly impact the learning speed. - Dedication and practice: Regular practice and hands-on coding experience are essential for mastering any programming language. The more time and effort you invest, the faster you can learn. On average, it may take several weeks to several months to gain proficiency in a programming language, but becoming truly proficient and experienced can take years of continuous learning and practice.
545 videos|966 docs|373 tests
Download as PDF
Explore Courses for UPSC exam

Top Courses for UPSC

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

past year papers

,

Sample Paper

,

Objective type Questions

,

Programming Languages of Computer - Computer Software

,

Extra Questions

,

study material

,

Exam

,

Semester Notes

,

shortcuts and tricks

,

Computer Awareness | Famous Books for UPSC Exam (Summary & Tests)

,

ppt

,

Programming Languages of Computer - Computer Software

,

Programming Languages of Computer - Computer Software

,

Computer Awareness | Famous Books for UPSC Exam (Summary & Tests)

,

mock tests for examination

,

Viva Questions

,

video lectures

,

practice quizzes

,

pdf

,

Important questions

,

Summary

,

Free

,

MCQs

,

Previous Year Questions with Solutions

,

Computer Awareness | Famous Books for UPSC Exam (Summary & Tests)

;