ARE - 510 - 6 - Programming and Languages
ARE - 510 - 6 - Programming and Languages
Architectural Engineering
ARE 510
Dpt. of Architectural Engineering
College of Environmental Design
KFUPM
D. Ouis
1st semester 2022
Presented By:
Khalid Abdullah Khan
Programming and Languages
Programs and Programming
What exactly is programming?
Many people think of it as simply typing words into a
computer.
What Is a Program?
A program is a list of instructions for the computer to follow
to accomplish the task of processing data into information.
Programming
High-level languages
High-level programming languages use syntax that is similar to the English
language. These languages are considered ‘higher’ because they are closer to
human language and therefore easier to understand by programmers. Some of
the most well-known high-level languages include C, C++, Java, and Python.
These languages are used to develop web, desktop, and mobile applications.
Low-level languages
Low-level programming languages are used to write programs that relate
specifically to the architecture and hardware of a computer. These
languages can be broken down into two categories: machine language
and assembly language.
Programming Languages
It’s hard to provide a definitive answer to this question, so we’ve put together
these resources and their respective coding language lists. The lists vary
significantly in size, demonstrating now only how many programming languages
are in existence, but more importantly, how many of them are relevant
Programming Languages
Programming Languages
Programming
1. Program specification:
Determine the program’s
objectives, outputs, inputs,
and processing requirements. are determined.
Programming
5 items:
(1) the program’s objectives, (2) the desired output, (3) the
input data required, (4) the processing requirements, and (5)
the documentation.
Step 1: Program Specification
ACTIVITY
Create a set of instructions that
will tell us:
RESULT RESULT
Mr. John arrives in a great Mr. John arrives in not too
mood ready to teach great a mood since he’s
soaking wet
Step 2: Program Design
Elements of a Program
RESULT RESULT
Mr. John arrives in a great Mr. John arrives in not too
mood ready to teach great a mood since he’s
soaking wet
Step 3: Program Code
Load
Let’s Define a Simple Engineering Problem
Problem Definition
• Power Balance between Demand and Generation
• Lines Losses
• Voltage Regulations
Output
• Uninterruptible power supply
• Security & reliability
Let’s Define a Simple Engineering Problem
G1
L1
G9 Load
Ln Time varying
Source: https://xiongpengnus.github.io/rsome/example_ucp
Thank you for listening....