0% found this document useful (0 votes)
11 views2 pages

Spring 2025 - CS508 - 1 - BC200414184

The document discusses suitable programming languages for various application domains, recommending FORTRAN for scientific computing, COBOL for business software, Prolog for AI chatbots, and Ada for aircraft control systems. It also highlights the advantages of FORTRAN 90 over FORTRAN 77, emphasizing features like modular programming, dynamic memory allocation, and improved array operations. These features enhance code organization, flexibility, and reduce errors in mathematical calculations.

Uploaded by

sajidaruqaya760
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)
11 views2 pages

Spring 2025 - CS508 - 1 - BC200414184

The document discusses suitable programming languages for various application domains, recommending FORTRAN for scientific computing, COBOL for business software, Prolog for AI chatbots, and Ada for aircraft control systems. It also highlights the advantages of FORTRAN 90 over FORTRAN 77, emphasizing features like modular programming, dynamic memory allocation, and improved array operations. These features enhance code organization, flexibility, and reduce errors in mathematical calculations.

Uploaded by

sajidaruqaya760
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/ 2

BC200414184

Sajida Sadiq Ali Bhatti


CS508 Assignment#1

Question No. 1:

Application Domains and Suitable Languages

Recommended
Client/Project Application Requirement Reason
Language
Designed for
scientific
computing; excels at
Research Lab (Weather High-performance scientific handling large
FORTRAN
Simulation) computation, large FP operations numerical arrays
and floating-point
operations
efficiently.
COBOL is great for
making business
Bank (Financial Business reports, decimal arithmetic,
COBOL reports and doing
Software) character data handling
money-related
calculations.
Specializes in
symbolic reasoning
and logic
Natural language processing,
AI Chatbot Prolog programming, ideal
reasoning, logic-based responses
for understanding
and processing
human language.
Ada is made for
systems where
Real-time embedded system with
Aircraft Control System Ada safety and fast
concurrent processing
response are very
important.
Question No. 2:

A programmer working with FORTRAN 77 struggles with writing modular code and
using dynamic memory. Why would FORTRAN 90 be a better choice for this
programmer? Mention at least three specific features along with one reason for
each.

Answer:-

Feature in FORTRAN 90 Reason

Modular Programming It helps keep related parts of code together, making the
Program neat and easy to reuse.

Dynamic Memory Allocation It lets the program use memory as needed while
running,
Which makes the code more flexible.
Array Operations and DO Simplifies mathematical and scientific
FORALL calculations with
Whole-array operations, reducing errors.

You might also like