Lecture_1
Lecture_1
A li ti off Computers
C tr
i Chemistry
in Ch i t
UG Semester 5
Lecture 1
Syllabus
(Credits:Theory-04, Practicals-02) Theory: 60 Lectures
Computer
p Programming
g g Basics (FORTRAN):
( ) [[Lectures: 20]]
Elements of ForTran Language; ForTran Keywords and commands; Logical and Relational
Operators; Iteration; Array variables; Matrix addition and multiplication; Function and
Subroutine.
I Operating
Hardware n Systems
B (i) Unix
Hardware Abstract
Layer (HAL)* u (ii) DOS
i (iii) Windows, etc.
System Software l
t
Application Application
Downloaded
Software oriented
User The
instructor!
Model Numerical
N i l
Mathematical Analysis Programable
Physical
Problem Problem
Problem
(complex) (simplified)
Flowchart/
Algorithm
High Level
Language
Compiler
Result/ Program
Analysis COMPUTER
What is a Problem?
Lexical meaning:
o A matter difficult of settlement or solution(Chambers)
o A question or puzzle propounded for solutions (Chambers)
o Doubtful or difficult question (Oxford)
o Proposition in which something has to be done (Oxford)
( )
o A quest
question
o raised
a sed for
fo inquiry,
qu y, consideration,
co s de at o , or
o solution
so ut o
(Webster’s)
o An
A iintricate
t i t unsettled ti (Webster’s)
ttl d question (W b t ’ )
A question that we would like to be answered or solved
solved.
Terminologies
1)) Fl h t
Flowchart:
A flowchart is a
diagramatic representation
of a workflow or process
process.
Flow-line, indicating
Point where
the order of process
S l i
Selection
is made
Inconvenient use of
continuous
i fl
flow-line
li
Point of
Multi-way
Selection JJoining
inin off
flow-lines
Term…..
2) Algorithm:
An algorithm
A l i h isi a sequence off steps that
h will
ill
solve part or all of a problem.
The steps that comprise an algorithm must be organized in a logical and
clear manner
manner.
Basic methods of Control
Low‐level High‐level
Machine language
Command based
Exp. C
Basic Object‐oriented
Exp ForTran
Exp. Exp. Java
C++ Python
Term…..
4)) Compiler:
l
A compiler is a program that reads source code
and converts it to a form usable by the computer.
Source code in
Compiler Code in
high-level Machine
language Language
S
Steps off Compilation:
C l
a) Check: source code for syntax errors
Ch t i ti off pseudocode
Characteristics d d:
a) Use of computer symbols for arithmetic operations
Pi
Primary S d
Secondary
(Accessed directly by CPU) (Back-ups for long-time storage)
[[Internal Memory]y] [[External Memory] y]
Non‐volatile
Non volatile
Permanent Store
ROM Chip (cells)
Can’t be extended
by user
Not erased
Puzzle of the month!
Dec. 25 = Oct. 31
T be
To b continued…..
ti d