Lecture 2
Lecture 2
CONTENTS:
1.0 Introduction
2.0 Objectives
3.0 Main Content
3.1 Application Domain
3.1.1 Scientific application
3.1.2 Data process application
3.1.3 Text processing application
3.1.4 Artificial intelligence applications
3.1.5 Systems programming application
3.1.6 Web software
4.0 Conclusion
5.0 Summary
6.0 Quiz
Introduction
Computers have been applied to a countless
of different areas, from controlling nuclear
power plants to providing video games in
mobile phones.
Because of this great diversity in computer
use, programming languages with very
different goals have been developed. This
discuss areas of computer applications and
their associated languages.
OBJECTIVES
At the end of this unit, you should be able to:
► Highlight
associated languages that is applicable to
each domain
Compiler: C, C++, C#
Interpreter: Python, Perl, JavaScript,
Ruby
6. Web based software
The World Wide Web is supported by a collection of languages, ranging from markup
languages, such as HTML, which is not a programming language, to general-purpose
programming languages, such as Java. Because of the pervasive need for dynamic
Web content, some computation capability is often included in the technology of
content presentation. This functionality can be provided by embedding programming
code in an HTML document in form of scripting language, such as JavaScript or PHP.
There are also some markup-like languages that have been extended to include
constructs that control document processing, collection of languages includes: Markup
(e.g. XHTML) - Scripting for dynamic content under which there are: Client side, using
scripts embedded in the XHTML documents e.g. JavaScript, PHP Server side, using
the common Gateway interface e.g. JSP, ASP, PHP General- purpose, executed on the
web server through e.g. Java, C++
Conclusion
► Writability: Writability refers to the ease with which code can be written in a
particular language. A language with good writability has a concise syntax, easy-
to-remember keywords and constructs, and powerful abstractions that make it
easy to express complex ideas. It should also have good support for debugging
and testing to ensure that code is written correctly.
One of the most important criterion for programming language is how easy it can be
read and understood, which is called readability. There are also writability, reliability
and cost criteria, were discussed. From the above table, readability is affected by
Simplicity, Orthogonality, Data Types and Syntax Design and this article is going to talk
about each one of them in detail.
Conclusion