Documente Academic
Documente Profesional
Documente Cultură
WCM
1. 2. 3.
GJ-IMT
Life Work & Leadership
SYLLABUS
PUNJAB TECHNICAL UNIVERSITY
WORKSHOP ON COMPUTERS FOR MANAGEMENT (MB-107)
UNIT I
Introduction to Computers
Block structure of a computer
Introduction to
Software:
System s/w, Application s/w.
2
GJ-IMT
Life Work & Leadership
SYLLABUS
UNIT I . . .
Internet access:
GJ-IMT
Life Work & Leadership
MANAGEMENT
The portion from here upto Format For Record Of Lab Work was conducted in two sessions: L1 and L2 on 10 Aug 2011
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
10
GJ-IMT
Life Work & Leadership
11
GJ-IMT
Life Work & Leadership
12
GJ-IMT
Life Work & Leadership
A F O R
All this is Data
13
GJ-IMT
Life Work & Leadership
O R F R O F F O R
14
GJ-IMT
Life Work & Leadership
A FOR
15
GJ-IMT
Life Work & Leadership
A FOR
This is information
16
GJ-IMT
Life Work & Leadership
DATA
Data
1. In simple terms, whatever we receive through our sensory organs is data.
GJ-IMT
Life Work & Leadership
DATA
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
ABSTRACTION
Abstraction means visualising only relevant aspects pertaining to current perspective. For example: In an educational organisation, 1. Admission process and associated resources form one abstraction. 2. Examination process and associated resources form another abstraction. 3. Hostel is third abstraction.
GJ-IMT
Life Work & Leadership
21
GJ-IMT
Life Work & Leadership
AIM
(of this session)
22
GJ-IMT
Life Work & Leadership
OBJECTIVES
(of this session)
1. 2. 3. 4. 5. 6.
Important terms Energy within You My Role Mutual Responsibility Activities Lab Work
23
GJ-IMT
Life Work & Leadership
A F O R
All this is Data
24
GJ-IMT
Life Work & Leadership
A FOR
This is information
25
GJ-IMT
Life Work & Leadership
Share
Conduct business operations
26
GJ-IMT
Life Work & Leadership
What is Technology?
tools, fgdfgfdg techniques, crafts, systems or methods of organisation
27
GJ-IMT
Life Work & Leadership
INFORMATION TECHNOLOGY
28
Information technology (IT) is the acquisition, processing, storage and dissemination of vocal, pictorial, textual and numerical information by a microelectronics-based combination of computing and telecommunications.
30
GJ-IMT
Life Work & Leadership
MANAGEMENT
31
GJ-IMT
Life Work & Leadership
MANAGEMENT
Management in all business and organisational activities is the act of getting people together to accomplish desired goals and objectives using available resources efficiently and effectively. Management comprises planning, organising, staffing, leading or directing, and controlling an organisation (a group of one or more people or entities) or effort for the purpose of accomplishing a goal.
32
GJ-IMT
Life Work & Leadership
33
GJ-IMT
Life Work & Leadership
SEMESTER 1: MB-107
GJ-IMT
Life Work & Leadership
SEMESTER 2: MB-207
Application of IT:
Business, Educational, Decision Support System, Inventory, etc. Introduction to ERP, CRM, SAP, DBMS, SPSS.
Communication:
The Electronic Web; Network Applications: voice, Information Services, Internet chat, Group chat, Voice over Internet Protocol: voice conference, Video conferencing.
Working with a suitable Accounting Software package (Eg Tally or some other package)
35
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
GJ-IMT Remain
Life Work & Leadership
38
GJ-IMTorder In
Life Work & Leadership
39
GJ-IMT
Life Work & Leadership
40
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
If m = 1 micro gram then Equivalent Energy is calculated as under:e = m x c2 (m in kg, c in mtr/sec) e = 1 x 3x108 x 3x108 106 x 103 = 1 x 9x107 = 9x107 Joules
= the amount of energy needed to move 900 kg of mass by 100,000 meters (ie 100 km).
GJ-IMT
Life Work & Leadership
Energy of mind is a Never Ending Stream of Thoughts during our life time
Origin of this energy could be atomic/nuclear in nature
43
GJ-IMT
Life Work & Leadership
44
GJ-IMT
Life Work & Leadership
Brahm comes from a root bh which means "to swell, grow, enlarge"
45
GJ-IMT
Life Work & Leadership
46
GJ-IMT
Life Work & Leadership
BRAHM
That which is unexpressed by words,
but by which the word is expressed, know That to be the Brahm
and not this which people discuss through speech and worship.
worship.
48
GJ-IMT
Life Work & Leadership
BRAHM
That which can not be seen with the eye,
but by which the eye can see, know That to be the Brahm
and not this which is visible through eyes that people worship.
That which can not be heard with the ear, but by which the ear hears, know That to be the Brahm and not this which is known through ears that people worship.
49
GJ-IMT
Life Work & Leadership
BRAHM
That which breathes not with the breath,
but by which the life-breath is led forward in its paths, know That to be the Brahm
and not this which is visually active with the breath that people worship.
50
GJ-IMT
Life Work & Leadership
51
GJ-IMT
Life Work & Leadership
52
GJ-IMT
Life Work & Leadership
Aham Brahm Asmi: I am the Brahm Shivoaham: I am the Shiva Ana Al-Haqq: I am the Truth (I am Allah)
- Mansur Al-Hallaj
53
GJ-IMT
Life Work & Leadership
The Learning
How much from whom?
54
GJ-IMT
Life Work & Leadership
55
GJ-IMT
Life Work & Leadership
"Aum, That (Brahm) is complete (Full, Whole) and This (universe) too is complete . After giving complete (universe) out of complete (Brahm), what remains is complete.
57
GJ-IMT
Life Work & Leadership
Om Puurnnam adah Puurnnam idam Puurnnaat purnnam udacyate Puurnnasya Puurnnam aadaaya Puurnam ev aavashissyate ||
Meaning: That (Brahm) is Full (Infinite), This (Universe) also is Full (Infinite), From Fullness comes that Fullness, Taking Fullness (Universe) from Fullness (Brahm), Fullness indeed remains.
GJ-IMT
Life Work & Leadership
Prayer
for both The Teacher and
The Taught
59
GJ-IMT
Life Work & Leadership
THE PRAYER
Om Sah Nau
Avatu
(May He protected both of us together)
Sah Veeryam
Karavaa-vahai
(May we work conjointly with great energy)
Maa vidh-vishaa-vahai
(May we cherish no ill feeling towards each other! )
60
Saha Nau Bhunaktu Sah-veeryam Karavaa-vahai Tejasvinaa Adhitam Astu Maa vidh-vishaa-vahai
GJ-IMT
Life Work & Leadership
Jau Tau Prem Khelan Ka Chau, Sirr Dhar Talee Galee Meri Aao.
Eit Sirr Maarag Pair Dhareejae, Deejae Kaan Naa Keejae.
62
GJ-IMT
Life Work & Leadership
63
GJ-IMT
Life Work & Leadership
SYLLABUS
PUNJAB TECHNICAL UNIVERSITY
WORKSHOP ON COMPUTERS FOR MANAGEMENT (MB-107)
UNIT I
Introduction to Computers
Block structure of a computer
Introduction to
Software:
System s/w, Application s/w.
64
GJ-IMT
Life Work & Leadership
SYLLABUS
UNIT I . . .
Internet access:
65
GJ-IMT
Life Work & Leadership
UNIT II
WCM
Word processing:
1. 2. 3. 4. 5. 6. MS-Word, word basics, Creating a new word document, page-setup, Editing document, cut, copy, paste, paste special, paste as hyperlink. Different views of document, tool bar customization, formatting text and documents,
7.
8. 9.
GJ-IMT
Life Work & Leadership
WCM
UNIT II
GJ-IMT
Life Work & Leadership
WCM
1. 2.
Basics, working with texts and graphics in Power Point, adding animation, 3. sound, 4. pictures and 5. video. 6. Creating new slide, inserting new slide, 7. background setting, 8. auto layout, 9. apply design templates. 68 10. Inserting header and footer,
GJ-IMT
Life Work & Leadership
WCM
Slide from file, Clip art. Different view of slide, duplicates, delete slide, slide sorter, Master slide. Animation setting, slide transition, custom show.
69
GJ-IMT
Life Work & Leadership
WCM
UNIT IV MS EXCEL
1. 2. 3. 4. 5. 6. 7.
Spreadsheets and their uses in business, Excel basics, Creating a new worksheet, rearranging worksheets, excel formatting techniques, using functions and working with graphics in excel. Cut, Copy, Paste, Paste special,
8.
9.
Auto fill,
Delete Sheet,
10. Clear. 11. Page break preview, Custom View, 12. Header and footer. 13. Inserting Row, Column, Worksheet,
70
GJ-IMT
Life Work & Leadership
UNIT IV
MS EXCEL
14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25.
Function, Object, Hyperlink. Formatting row and column. Protection, goal seeks scenarios, Customize, option, sort, filter, form, and subtotal. Validation, table, consolidate, pivot table and chart, get external data.
71
GJ-IMT
Life Work & Leadership
Text Books:
Ser 1. 2. 3. 4.
Title
Publisher
Fundamentals of BPB Computers Curtin, Foley, Sen & Information Tata MCGraw Hill Martin Technology Leon & Leon Internet for Everyone Leon Tech World Ron Masfield MS-Office Tech Media Publication
72
GJ-IMT
Life Work & Leadership
WCM
73
GJ-IMT
Life Work & Leadership
WEIGHTAGE
PUNJAB TECHNICAL UNIVERSITY
GJ-IMT
Life Work & Leadership
AIM
On completion of one semester course on WCM, the students should be capable of analysing and matching
potential of computers and networks
with
business requirements effectively.
75
GJ-IMT
Life Work & Leadership
OBJECTIVES
To impart following skill set to the students:1. Understanding capabilities of
2. 3. Computers, Networks and Internet, Windows and Open Source Operating Systems, and Office suits available in both.
Analysing cost effect in installing computers and networks. Contribute effectively towards user requirements for software development for an organisation to enhance business operations.
76
GJ-IMT
Life Work & Leadership
ACTIVITIES
1. Quality vs cost oriented market survey of components of a computer system and preparing
a small report of the same using Word Processing software/Office suit and a presentation using Power Point/Open Office suit.
GJ-IMT
Life Work & Leadership
EVALUATION PARAMETERS
market survey of components of a computer system, report and booklet prepared using office suit power point presentation of the report. and
1.
2. 3.
4. 5.
Co-operation:
Guidance and assistance provided to fellow students.
Miscellaneous:
Dedication. Punctuality, attendance, discipline, dress code etc. Regularity of work. Written and verbal expression/communication skills.
78
GJ-IMT
Life Work & Leadership
EXPERIMENTS
79
GJ-IMT
Life Work & Leadership
EXPERIMENT #1
1. (a) List various components required for assembling a desktop PC. (b) Assemble a desktop PC with above components, switch it ON and explain its booting sequence.
GJ-IMT
Life Work & Leadership
EXPERIMENT #2
of a desktop PC and prepare a report explaining your preference for each. Give reasons in
GJ-IMT
Life Work & Leadership
EXPERIMENT #3
you using A4 size paper or any other size of your choice using a Word Processor. The design and quality of this booklet should be such that it can be marketed.
(b) Include Table of Contents and Index in your booklet. (c) Use suitable images wherever required.
GJ-IMT
Life Work & Leadership
EXPERIMENT #4
4. Perform the following tasks with Windows Operating System (OS):(a) Install Windows XP/Windows 7 on the given system. (b) Install Video, Sound and LAN Card drivers. Write down step by step procedure. (c) Configure the system for Internet connection and write down step by step procedure. (d) Install an Office Suite in Windows and explore the same. Write down step by step procedure. (e) Install CD/DVD burning software and use it. (f) Install a printer and write down step by step installation procedure.
83
GJ-IMT
Life Work & Leadership
EXPERIMENT #5
5. Perform the following tasks with Linux OS:(a) Install Linux OS (Ubuntu or Fedora or any other variant of your choice) on the given system.
84
GJ-IMT
Life Work & Leadership
EXPERIMENT #6
6. Explore Linux for the following:(a) What applications get installed automatically with the Linux OS as compared to Windows? (b) How do you install additional applications? (c) What CD/DVD burning software package is available in Linux? (d) What multimedia software package is available? (e) Do .exe files of windows run under Linux? Try on your system and explain. (f) Based on your lab work, compare Linux OS with Windows OS giving advantages and limitations of each.
85
GJ-IMT
Life Work & Leadership
EXPERIMENT #7
7. (a) Study and explain Open Source software. (b) List advantages of Open Source software. (c) What open source software applications are available for Windows?
86
GJ-IMT
Life Work & Leadership
EXPERIMENT #8
8. (a) Prepare a power point presentation of your market survey report. (b) It must include at least one audio clip and one video clip. (c) Use suitable and appropriate slide transition. (d) Include at least one animation.
87
GJ-IMT
Life Work & Leadership
EXPERIMENT #9
9. (a) Prepare a Work Sheet for entry of marks for all subjects of your class. (b) Protect the worksheet columns in such a manner that the marks for each subject should be editable only by respective teacher by giving his/her password. (c) Total marks and percentage should get calculated automatically. (d) Create a graph/chart showing subject wise comparison as under:(i) Pass Percentage of students in each subject.
(iii) Percentage of students getting 60% or more marks but less than 75% marks.
88
GJ-IMT
Life Work & Leadership
EXPERIMENT #10
email service providers, eg gmail.com and yahoo.com.
10. (a) Create two email accounts for yourself on two different
(b) Configure outlook express to work with your multiple email accounts created above.
89
GJ-IMT
Life Work & Leadership
EXPERIMENT #11
11. (a) Explain advantages of Internet. (b) What is a broadband connection? (c) Try and record techniques for using Web Search Engines effectively.
90
GJ-IMT
Life Work & Leadership
VIRUS PROTECTION
91
GJ-IMT
Life Work & Leadership
VIRUS PROTECTION
Virus Protection 1. Linux OS is immune to Windows viruses. 2. You can install Windows and Linux OSs on the same machine using different partitions. 3. Use your pen drive through Linux only.
92
GJ-IMT
Life Work & Leadership
93
GJ-IMT INSTRUCTIONS
Life Work & Leadership
TO THE STUDENTS
1. Record of your work in the lab is to be maintained in a file called Record of Lab Work. 2. Experiments may be done in any order. However, change of Experiment Number and its Contents is forbidden. 3. Record of lab work is required to be:(a) Prepared as per format attached. (b) Hand written. (c) Written in first person. Eg I installed , I did , I prepared ., and so on.
94
GJ-IMT INSTRUCTIONS
Life Work & Leadership
TO THE STUDENTS
4. When you enter the lab, you must be in possession of: (a) Record of Lab Work file.
(b) Set of Software CDs/DVDs as per requirement. (c) Blank CDs/DVDs (Preferably Re-Writable (RW))
(d) Pen Drive 5. Each page of the Record of Lab Work must be signed by you. 6. Finally, towards the end of semester, the Record of Lab Work must be bound neatly.
95
GJ-IMT INSTRUCTIONS
Life Work & Leadership
TO THE STUDENTS
7. Almost all software resources for your requirements are available on the local Linux Web Server at GJIMT. This server is accessible only in GJIMT. Its IP address is 192.168.1.12. You may access it by typing this IP address in any web browser such as Internet Explorer or Mozilla Firefox etc. 8. For software keys, motherboard drivers etc, contact your lab supervisor. 9. One PC is allocated to each student. Please ensure that your
PC is always functional.
96
GJ-IMT INSTRUCTIONS
Life Work & Leadership
TO THE STUDENTS
For all installations, you would student gjimt
10. Username and Password. use the following:(a) Username: (b) Password:
11. Know the particulars and contact number of students from other classes who use the same system as is yours. 12. Virus Free System/Pen Drive. (a) In Windows use Microsoft Security Essentials. This antivirus software can be downloaded free for a legal copy of Windows OS. (b) You can clean common viruses from your pen drives using Linux OS. It is very simple. Learn the procedure from your lab supervisor/faculty, share with others and keep your system virus free. This is in your own interest.
97
GJ-IMT INSTRUCTIONS
Life Work & Leadership
TO THE STUDENTS
13. Conduct in the Lab. (a) You have limited sessions in the lab. Be present and make full use of your resources, ie Lab and Time. (b) An activity that leads you towards your goal is correct, continue. An activity that leads you in a direction other than your goal is incorrect, stop it. (d) Share your knowledge and experience with your colleagues. There are no business secrets in a class.
98
GJ-IMT
Life Work & Leadership
99
GJ-IMT
Life Work & Leadership
EXPERIMENT #
1. 2. 3. 4. 5. 6. 7. 8. 9.
Experiment. Introduction/Importance of Experiment (Why am I doing this experiment?). Hardware Requirements (Minimum Essential Hardware Configuration). Network Requirements. Software Requirements. Procedure/Method. Activity. Observations/Results. What did I gain by doing this experiment?
10.
11. 12.
Difficulties Faced.
Suggested Remedial Measures. Certificate. Certified that I did this experiment personally and understood all aspects related to the experiment.
Date: Signatures: Roll Number: Name: Course and Semester:
100
GJ-IMT
Life Work & Leadership
Thanks
101
GJ-IMT
Life Work & Leadership
PROGRAMMABLE DEVICES
102
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
104
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
Instruction Run
Number of Instructions 1
Stop
Change speed
1
3 or 5 (or as per regulator)
107
GJ-IMT
Life Work & Leadership
Instruction
On Off
Number of Instructions
1 1
108
GJ-IMT
Life Work & Leadership
Instruction On Off
Code 1 0
109
GJ-IMT
Life Work & Leadership
Plug
Switch
110
GJ-IMT
Life Work & Leadership
AND GATE
The Bulb glows if A is ON AND B is ON Such a circuit is called AND Gate
A
111
GJ-IMT
Life Work & Leadership
OR GATE
The Bulb glows if A is ON OR B is ON OR Both are ON Such a circuit is called OR Gate
A
OR Gate Symbol
112
GJ-IMT
Life Work & Leadership
NOT/INVERTER GATE
+ 6V
113
GJ-IMT
Life Work & Leadership
DECODERS
2 to 4
3 to 8
74HC138
Electronic circuits may be designed to execute many instructions by multiple switching circuits
114
GJ-IMT
Life Work & Leadership
DIGITAL CIRCUITS
1.
2.
Circuits that are discrete (opposite of continuous) in nature, eg electric lamp or fan or motor, respond to switching.
They start if the electric power is present. stop if the electric power is absent.
3. 4. 5. 6.
Presence of electric power is considered as mathematical 1. Absence of electric power is considered as mathematical 0. All information has to be represented by combinations of ones and zeros (1s and 0s). Therefore, all mathematical calculations are done using binary mathematics.
115
GJ-IMT
Life Work & Leadership
DIGITAL CIRCUITS
1. Such circuits can be represented as black boxes with input, output and an instruction set. 2. A black box is a device, system or object which can be viewed solely in terms of its input, output and transfer characteristics without any knowledge of its internal workings.
Input
Blackbox
Output
116
GJ-IMT
Life Work & Leadership
PROGRAMMABLE DEVICE
Switching instructions Data movement instructions Arithmetic and Logical instructions Data Storage instructions etc. Jump instructions
1. An electronic circuit designed to carry out following instructions is called a programmable device:
2. Each instruction is a combination of high and low voltages at the input ie 1s and 0s. 3. All data is also held as combination of high and low voltages ie 1s and 0s.
Input
Blackbox
Output
117
GJ-IMT
Life Work & Leadership
PROGRAMMABLE DEVICE
Set of all the instructions is called Instruction Set. Such a programmable device is called microprocessor.
Input
Blackbox
Output
118
GJ-IMT
Life Work & Leadership
MICROPROCESSORS
119
GJ-IMT
Life Work & Leadership
CONTROLLING
M1
M2
M3
M4
Machines
120
GJ-IMT
Life Work & Leadership
Controlling.
To carry out one or more operations
on a system, comprising of
man, machine and/or data to check the errors and to take the corrective action.
Processing.
Modification of
input data
to obtain
desired result/output.
Process.
Steps for carrying out a task.
121
GJ-IMT
Life Work & Leadership
CONTROLLING
~ ~
122
GJ-IMT
Life Work & Leadership
CONTROLLING
~ ~
123
GJ-IMT
Life Work & Leadership
CONTROLLING
~ THREE LINES
GJ-IMT
Life Work & Leadership
125
GJ-IMT
Life Work & Leadership
AND GATE
+5V A INPUTS B OUTPUT
126
+5V
A INPUTS B
OUTPUT
127
GJ-IMT
Life Work & Leadership
128
GJ-IMT
Life Work & Leadership
+5V
INPUT
OUTPUT
129
GJ-IMT
Life Work & Leadership
INPUT
OUTPUT
GJ-IMT
Life Work & Leadership
131
GJ-IMT
Life Work & Leadership
GATES
NOT gate
The NOT gate is an electronic circuit that produces an inverted version of the input at its output. It is also known as an inverter. If the input variable is A, the inverted output is known as NOT A. This is also shown as A', or A with a bar over the top, as shown at 132 the outputs.
GJ-IMT
Life Work & Leadership
GATES
AND gate
The AND gate is an electronic circuit that gives a high output (1) only if: all its inputs are high. A dot (.) is used to show the AND operation i.e. A.B. Bear in mind that this dot is sometimes omitted i.e. AB
133
GJ-IMT
Life Work & Leadership
OR GATE
+5V A
INPUTS
B OUTPUT
134
GJ-IMT
Life Work & Leadership
GATES
OR Gate
The OR gate is an electronic circuit that gives a high output (1) if: one or more of its inputs are high.
A plus (+) is used to show the OR operation.
135
GJ-IMT
Life Work & Leadership
GATES
EXOR gate
The 'Exclusive-OR' gate is a circuit which will give a high output if either, but not both, of its two inputs are high.
GJ-IMT
Life Work & Leadership
137
GJ-IMT
Life Work & Leadership
DECODER
1
1 1
138
GJ-IMT
Life Work & Leadership
DECODER
1
0
139
GJ-IMT
Life Work & Leadership
DECODER
1
1 0
140
0 1 1
GJ-IMT
Life Work & Leadership
DECODER
0
1
0 0
1
1 1
1
2 3
141
1
0
1
B
1
GJ-IMT
Life Work & Leadership
CONTROL CIRCUIT
AC MAINS ~
+5V
MOTOR Input from Decoder 1 = +5V or 0 = 0V GATE
142
ELECTROMECHANICAL RELAY
GJ-IMT
Life Work & Leadership
DEDUCTIONS
Each Input to the decoder is an instruction. Each output of decoder can control one circuit. Each circuit may be designed to perform one action/task. A task may be: Mathematical Calculation.
Logical operation. Machine control etc.
143
GJ-IMT
Life Work & Leadership
DEDUCTIONS . . . Larger number of input lines implies:More tasks can be performed. Bigger instruction set and hence easy
for programmer.
144
GJ-IMT
Life Work & Leadership
INSTRUCTION SET
Each microprocessor has its own Instruction Set. Some operations available in most instruction sets include: 1. Data handling and Memory operations 2. Arithmetic and Logic 3. Control flow
145
GJ-IMT
Life Work & Leadership
INSTRUCTION SET. . .
Control flow
branch to another location in the program and execute instructions there. conditionally branch to another location if a certain condition holds. indirectly branch to another location, while saving the location of the 146 next instruction as a point to return to (a call).
GJ-IMT
Life Work & Leadership
Data Transfer Croup: The data transfer instructions move data between registers or between memory and registers. MOV MVI LDA STA LHLD SHLD Move Move Immediate Load Accumulator Directly from Memory Store Accumulator Directly in Memory Load H & L Registers Directly from Memory Store H & L Registers Directly in Memory
An 'X' in the name of a data transfer instruction implies that it deals with a register pair (16-bits);
LXI LDAX STAX XCHG XTHL Load Register Pair with Immediate data Load Accumulator from Address in Register Pair Store Accumulator in Address in Register Pair Exchange H & L with D & E Exchange Top of Stack with H & L
147
GJ-IMT
Life Work & Leadership
Arithmetic Group: The arithmetic instructions add, subtract, increment, or decrement data in registers or memory. ADD ADI ADC ACI SUB SUI SBB SBI INR DCR INX DCX DAD Add to Accumulator Add Immediate Data to Accumulator Add to Accumulator Using Carry Flag Add Immediate data to Accumulator Using Carry Subtract from Accumulator Subtract Immediate Data from Accumulator Subtract from Accumulator Using Borrow (Carry) Flag
Subtract Immediate from Accumulator Using Borrow (Carry) Flag
Increment Specified Byte by One Decrement Specified Byte by One Increment Register Pair by One Decrement Register Pair by One Double Register Add; Add Content of Register Pair to H & L Register Pair
148
GJ-IMT
Life Work & Leadership
Logical Group:
This group performs logical (Boolean) operations on data in registers and memory and on condition flags. The logical AND, OR, and Exclusive OR instructions enable you to set specific bits in the accumulator ON or OFF.
Logical AND with Accumulator Logical AND with Accumulator Using Immediate Data Logical OR with Accumulator Logical OR with Accumulator Using Immediate Data Exclusive Logical OR with Accumulator Exclusive OR Using Immediate Data
149
GJ-IMT
Life Work & Leadership
The Compare instructions compare the content of an 8-bit value with the contents of the accumulator; CMP Compare CPI Compare Using Immediate Data The rotate instructions shift the contents of the accumulator one bit position to the left or right: RLC Rotate Accumulator Left RRC Rotate Accumulator Right RAL Rotate Left Through Carry RAR Rotate Right Through Carry Complement and carry flag instructions: CMA Complement Accumulator CMC Complement Carry Flag STC Set Carry Flag 150
GJ-IMT
Life Work & Leadership
Branch Group: The branching instructions alter normal sequential program flow, either unconditionally or conditionally. The unconditional branching instructions are as follows:
JMP
RET
Jump
Return
151
CALL Call
GJ-IMT
Life Work & Leadership
Conditional branching instructions examine the status of one of four condition flags to determine whether the specified branch is to be executed. The conditions that may be specified are as follows:
NZ Z NC Not Zero (Z = 0) Zero (Z = 1) No Carry (C = 0)
C
PO PE P M
Carry (C = 1)
Parity Odd (P = 0) Parity Even (P = 1) Plus (S = 0) Minus (S = 1)
152
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
The Instruction Set as given above is for writing programs using Assembly Language. If equivalent machine codes are used, then they becomes Machine Code Instructions. Machine Codes are combinations of 1s and 0s. Assembly Language programs are to be converted into equivalent Machine Code Instructions by special programs known as Assemblers. Only Machine Codes can be executed by the Microprocessor.
154
GJ-IMT
Life Work & Leadership
WHAT IS WORKSHOP?
155
GJ-IMT
Life Work & Leadership
WORKSHOP
A meeting or session for: discussion,
study,
experiment, etc.
156
GJ-IMT
Life Work & Leadership
WORKSHOP
and
presented to students
lecturer or tutor.
by the
This is followed by: discussion and activities in which students work collaboratively to investigate, analyse and formulate a solution to the problem.
GJ-IMT
Life Work & Leadership
WORKSHOP
A brief: intensive interactive educational program,
It has objectives
may concentrate on
and
or
158
GJ-IMT
Life Work & Leadership
159
GJ-IMT
Life Work & Leadership
WHAT IS A COMPUTER?
160
GJ-IMT
Life Work & Leadership
WHAT IS A COMPUTER?
That accepts information Carries out processing Gives out result of processing
161
GJ-IMT
Life Work & Leadership
WHAT IS ...
162
GJ-IMT
Life Work & Leadership
WHAT IS INFORMATION?
See Hear Smell Taste Feel i.e. receive through senses is Data
Whatever we:-
Our mind carries out very quick analysis of above inputs. Result of this analysis is information.
163
GJ-IMT
Life Work & Leadership
Modification of information so that the results could be used gainfully, is called information processing.
For example:
Conversion of speech to text Formatting of text to produce Banners Preparation of results from Answer Books
164
GJ-IMT
Life Work & Leadership
According to Russell Ackoff, a systems theorist and professor of organizational change, the content of the human mind can be classified into five categories:
1. Data: symbols 2. Information: data that are processed to be useful; provides answers to "who", "what", "where", and "when" questions 3. Knowledge: application of data and information; answers "how" questions 4. Understanding: appreciation of "why
GJ-IMT
Life Work & Leadership
Data... data is raw. It simply exists and has no significance beyond its existence. It can exist in any form, usable or not. It does not have meaning of itself. In computer parlance, a spreadsheet generally starts out by holding data. Information... information is data that has been
GJ-IMT
Life Work & Leadership
167
GJ-IMT
Life Work & Leadership
Cognitive Ability.
The action or faculty of knowing including perceiving, conceiving etc as opposed to emotion (strong mental feeling) and volition (The
action of consciously willing or resolving something; The making of a definite choice or decision regarding a course of action);
Analytical Ability.
Employing analysis; Employing the methods of analysis.
168
GJ-IMT
Life Work & Leadership
Understanding...
understanding is an interpolative and probabilistic process. It is cognitive and analytical. It is the process by which I can take knowledge and synthesize new
GJ-IMT
Life Work & Leadership
Wisdom... wisdom is an extrapolative and non-deterministic, nonprobabilistic process. It calls upon all the previous levels of consciousness, and specifically upon special types of human programming (moral, ethical codes, etc.). It beckons to give us understanding about which there has previously been no understanding, and in doing so, goes far beyond understanding itself. It is the essence of philosophical probing. Unlike the previous four levels, it asks questions to which there is no (easily-achievable) answer, and in some cases, to which there can be no humanly-known answer period. Wisdom is therefore, the process by which we also discern, or judge,
between right and wrong, good and bad. I personally believe that computers
do not have, and will never have the ability to posses wisdom. Wisdom is a uniquely human state, or as I see it, wisdom requires one to have a soul, for it resides as much in the heart as in the mind. And a soul is something
machines will never possess (or perhaps I should reword that to say, a soul is
something that, in general, will never possess a machine).
170
GJ-IMT
Life Work & Leadership
WHAT IS MANAGEMENT
171
GJ-IMT
Life Work & Leadership
MANAGEMENT
Management in all business and organizational activities is the act of
getting people together to accomplish desired goals and
objectives
using available resources efficiently and effectively.
172
GJ-IMT
Life Work & Leadership
MANAGEMENT
Management comprises
planning, organizing, staffing, leading or directing, and controlling an organization (a group of one or more people or entities) or effort for the purpose of accomplishing a goal.
GJ-IMT
Life Work & Leadership
174
Identify management needs. Identify critical areas which are:1. 2. 3. 4. 5. 6. 7. 8. 9. Manpower intensive Computation Intensive Highly time consuming Require accuracy Require expertise Global in nature Require round the clock functioning Require networking and so on.
175
GJ-IMT
Life Work & Leadership
177
GJ-IMT
Life Work & Leadership
INTRODUCTION TO COMPUTERS
WHAT IS A COMPUTER?
178
GJ-IMT
Life Work & Leadership
COMPUTER
Any device capable of processing information to produce a desired result.
No matter how large or small they are, computers typically perform their work in three well-defined steps:(1)
(2)
accepting input,
processing the input according to predefined rules (programs), and producing output.
179
(3)
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
182
GJ-IMT
Life Work & Leadership
Input Devices
Microprocessor
GJ-IMT
Life Work & Leadership
Input Devices
Keyboard
Mouse
Micro Processor
Monitor
Barcode Scanner
Web Camera Secondary Memory (Hard Disk)
Printer
Projector
CPU
Mother Board
184
GJ-IMT
Life Work & Leadership
185
GJ-IMT
Life Work & Leadership
186
GJ-IMT
Life Work & Leadership
OF A PERSONAL COMPUTER?
187
1. CPU.
Mother Board Processor and Cooling Fan
Memory (RAM)
Hard Disk (HDD) CD/DVD Writer
Mouse
188
4. Output Devices.
Monitor Printer
GJ-IMT
Life Work & Leadership
TIME CONCEPT WHEN TO OPERATE? FOR WHAT DURATION TO OPERATE? HOW DO WE ACCOUNT FOR TIMINGS?
190
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
DEDUCTIONS
This information forms the basis for design of a Microprocessor. A team of Engineers would be required to design a Microprocessor based on above concepts.
192
GJ-IMT
Life Work & Leadership
PHYSICAL COMPONENTS
193
GJ-IMT
Life Work & Leadership
MOTHER BOARD
194
GJ-IMT
Life Work & Leadership
195
GJ-IMT
Life Work & Leadership
RAM
196
GJ-IMT
Life Work & Leadership
HARD DISK
197
GJ-IMT
Life Work & Leadership
CD/DVD WRITER
198
GJ-IMT
Life Work & Leadership
METHOD OF ASSEMBLING A PC
199
GJ-IMT
Life Work & Leadership
200
GJ-IMT
Life Work & Leadership
201
GJ-IMT
Life Work & Leadership
202
GJ-IMT
Life Work & Leadership
203
GJ-IMT
Life Work & Leadership
of a computer system.
Software is the data and the computer programs of a computer system.
204
GJ-IMT
Life Work & Leadership
205
GJ-IMT
Life Work & Leadership
CPU
The CPU comprises of Electronic Circuitry designed to perform basic functions corresponding to the instructions given at the input. An instruction is a combination of 1s and 0s i.e. 5 Volts or 0 Volt.
1. It does the fundamental computing within the system 2. It directly or indirectly controls all the other components
A particular computer will have a particular type of processor The CPU has a limited storage capacity. It relies on memory to hold data and programs and to save results. The CPU consists of:
1. 2. 3. The Arithmetic and Logic Unit (ALU). The Control Unit (CU). Registers.
The CPU components are connected by a group of electrical wires called the CPU bus.
206
GJ-IMT
Life Work & Leadership
CPU
The CPU is connected to memory and I/O devices by the System bus The System bus consists of: Address-, Control- and Data-buses.
PC: MAR: MDR: Program Counter Register Memory Address Register Memory Data Register
207
GJ-IMT
Life Work & Leadership
COMPUTER HARDWARE
208
GJ-IMT
Life Work & Leadership
COMPUTER MEMORY
The main function of computer memory is to store software. Computer memory is divided into primary memory and secondary memory. Primary Memory is divided into Random Access Memory (RAM) and ReadOnly Memory (ROM): RAM holds the programs and data that the processor is actively working with. ROM contains software that is used in Input/Output operations. It also contains software that loads the Operating System in Primary Memory. The Software in ROM is usually called firmware. The CPU can read and write to RAM but it can only read from ROM. RAM is volatile while ROM is not.
GJ-IMT
Life Work & Leadership
PRIMARY MEMORY
A bit (binary digit) is the smallest storage unit within a computer. It is a tiny electrical circuit that can be in one of two states:
1. A voltage high represented by the symbol 1 2. A voltage low represented by the symbol 0
Any system of symbols can be represented by bit patterns. Primary memory is divided into a number of memory cells or bytes.
Each byte has a unique integer address and it is usually 8 bits. 210
GJ-IMT
Life Work & Leadership
PRIMARY MEMORY
UNIT
SYMBOL
POWER OF 2
Number of bytes
Byte
2
KB
Kilobyte
2 2 2 2
10
1,024
Megabyte
MB
20
1,048,576
Gigabyte
GB
30
1,073,741,824
Terabyte
TB
40
1,099,511,627,776
211
GJ-IMT
Life Work & Leadership
Primary memory
212
GJ-IMT
Life Work & Leadership
Input devices are used to enter programs and data into a computer.
Examples: keyboard, mouse, scanner, and bar code reader.
An I/O device is directly connected to the System bus through a device controller.
213
GJ-IMT
Life Work & Leadership
214
GJ-IMT
Life Work & Leadership
SOFTWARE
Programs are lists of instructions for the processor Data can be any information that a program needs: character data, numerical data, image data, audio data, etc. Both programs and data are saved in computer memory in the same way.
System software manages computer resources and makes computers easier to use. An applications software enables a computer user to do a particular task.
215
GJ-IMT
Life Work & Leadership
SOFTWARE
System Programs Operating system. Networking system.
Spreadsheets
Data base systems Graphics programs
Web browsers
Data backup.
216
GJ-IMT
Life Work & Leadership
OPERATING SYSTEMS
The most important systems program is the operating system. 1. It is a group of programs that coordinates the
1. 1.
GJ-IMT
Life Work & Leadership
RAM
4 Store
3 Execute
Arithmetic/Logic Unit
219
GJ-IMT
Life Work & Leadership
220
GJ-IMT
Life Work & Leadership
221
GJ-IMT
Life Work & Leadership
Specified in a standard, IEEE 802.3, Ethernet was originally developed by Xerox from an earlier specification called Alohanet (for the Palo Alto Research Center Aloha network) and then developed further by Xerox, DEC, and Intel. An Ethernet LAN typically uses coaxial cable or special grades of twisted pair wires. Ethernet is also used in wireless LANs. The most commonly installed Ethernet systems are called 10BASE-T and provide transmission speeds up to 10 Mbps. Devices are connected to the cable and compete for access using a Carrier Sense Multiple 222 Access with Collision Detection (CSMA/CD ) protocol.
GJ-IMT
Life Work & Leadership
223
GJ-IMT
Life Work & Leadership
PROBLEM ANALYSIS
If you were asked to solve a mathematical problem and you are not familiar with the steps involved in solving the problem, you will not be able to solve it. Similarly, a programmer can not write the instructions for a computer to execute unless the programmer knows how to solve the problem manually. To produce an effective computer program it is necessary to write every instruction in the correct sequence.
226
GJ-IMT
Life Work & Leadership
ALGORITHM
227
GJ-IMT
Life Work & Leadership
ALGORITHM
Planning a program involves defining its logic ie the correct sequence of instructions needed to solve the problem at hand.
The term Algorithm refers to the logic of a program. It is a step-by-step description of how to arrive at a solution to a given problem.
GJ-IMT
Life Work & Leadership
ALGORITHM
In order to qualify as an algorithm, a sequence of instructions must posses the following characteristics:
1. 2. Each instruction should be precise and unambiguous. Each instruction should be executed in a finite time.
3.
4.
GJ-IMT
Life Work & Leadership
ALGORITHM: DEFINITION
A precise rule (or set of rules) specifying how to solve some problem.
230
GJ-IMT
Life Work & Leadership
ALGORITHM
GJ-IMT
Life Work & Leadership
REPRESENTATION OF ALGORITHM
232
There are various ways to represent an algorithm. The commonly used ones are:1. As programs
2.
3.
As flowcharts
As pseudo codes
An algorithm represented in the form of a programming language is a program. Hence any program is an algorithm, although the reverse is not true.
233
GJ-IMT
Life Work & Leadership
ALGORITHM: EXAMPLES
235
GJ-IMT
Life Work & Leadership
Bubble Sort Exchange two adjacent elements if they are out of order. Repeat until array is sorted. Selection Sort
Find the largest element in the array, and put it in the proper place.
Repeat until array is sorted.
Insertion Sort
Scan successive elements for out of order item, then insert the item in the proper place.
236
GJ-IMT
Life Work & Leadership
Quicksort
Partition array into two segments. The first segment all elements are less than or equal to the pivot value. The second segment all elements are greater or equal to the pivot value. Sort the two segments recursively. Start from two sorted runs of length 1, merge into a single run of twice the length. Repeat until a single sorted run is left.
Mergesort
237
GJ-IMT
Life Work & Leadership
FLOW CHART
238
GJ-IMT
Life Work & Leadership
PROGRAM STEPS
240
GJ-IMT
Life Work & Leadership
242
GJ-IMT
Life Work & Leadership
FLOW CHART
Flowcharts
A flowchart is a graphical way of illustrating the steps in a process. It uses symbols connected by flowlines to represent processes and the direction of flow within the program.
243
GJ-IMT
Life Work & Leadership
FLOW CHARTS
GJ-IMT
Life Work & Leadership
245
SYMBOLS
represent different
types of actions or steps in a process. Lines and arrows show the sequence of the steps, and the relationships among them.
246
Work & Leadership Diagram Shapes Life Audit Flow Flowcharts use special shapes to represent different types of actions or steps in a process. Lines and arrows show the sequence of the steps, and the relationships among them.
GJ-IMT
247
GJ-IMT
Life Work & Leadership
FLOW CHART
input/output
process
output
248
GJ-IMT
Life Work & Leadership
FLOW CHART
249
GJ-IMT
Life Work & Leadership
FLOW CHART
This paper provides a visual representation of basic flowchart symbols and their proposed usage in communicating the structure of a welldeveloped web site, as well as their correlation in developing on-line instructional projects. A typical flowchart from older Computer Science textbooks may have the following kinds of symbols:
Start and end symbols, represented as lozenges, ovals or rounded rectangles, usually containing the word "Start" or "End", or another phrase signalling the start or end of a process, such as "submit enquiry" or "receive product". Arrows, showing what's called "flow of control" in computer science. An arrow coming from one symbol and ending at another symbol represents that control passes to the symbol the arrow points to. Processing steps, represented as rectangles. Examples: "Add 1 to X"; 250 "replace identified part"; "save changes" or similar.
GJ-IMT
Life Work & Leadership
FLOW CHART
Input/Output, represented as a parallelogram. Examples: Get X from the user; display X. Conditional (or decision), represented as a diamond (rhombus). These typically contain a Yes/No question or True/False test. This symbol is unique in that it has two arrows coming out of it, usually from the bottom point and right point, one corresponding to Yes or True, and one corresponding to No or False. The arrows should always be labelled. More than two arrows can be used, but this is normally a clear indicator that a complex decision is being taken, in which case it may need to be broken-down further, or replaced with the "pre-defined
process" symbol.
251
GJ-IMT
Life Work & Leadership
FLOW CHART
A number of other symbols that have less universal currency, such as: A Document represented as a rectangle with a wavy base;
GJ-IMT
Life Work & Leadership
FLOW CHART
Flowcharts may contain other symbols, such as connectors, usually represented as circles, to represent converging paths in the flow chart. Circles will have more than one arrow coming into them but only one going out. Some flow charts may just have an arrow point to another arrow instead. These are useful to represent an iterative process (what in Computer Science is called a loop).
A loop may, for example, consist of a connector where control first enters, processing steps, a conditional with one arrow exiting the loop, and one going back to the connector.
Off-page connectors are often used to signify a connection to a (part of a) process held on another sheet or screen.
253
GJ-IMT
Life Work & Leadership
FLOW CHART
A flowchart is described as "cross-functional" when the page is divided into different "lanes" describing the control of different organizational chart units. A symbol appearing
SYMBOLS
represent different
types of actions or steps in a process. Lines and arrows show the sequence of the steps, and the relationships among them.
255
Work & Leadership Diagram Shapes Life Audit Flow Flowcharts use special shapes to represent different types of actions or steps in a process. Lines and arrows show the sequence of the steps, and the relationships among them.
GJ-IMT
256
GJ-IMT
Life Work & Leadership
PSEUDOCODE
257
GJ-IMT
Life Work & Leadership
PSEUDOCODE
programming code.
In many ways it is like an annotated outline that you might prepare for a report. It is much more precise than a written description of a process and much less precise than the actual code that follows. Each step in the program is described with almost the same level of detail that will be used in the final program. However, unlike the final code, pseudocode doesn't require exact syntax so the programmer is able to focus more on the bigger picture.
258
GJ-IMT
Life Work & Leadership
PSEUDOCODE
260
GJ-IMT
Life Work & Leadership
Sub CalcBonus
For I = 1 to NumOfEmployees
S = Emp(i).Sales E = Emp(i).Expenses
NetSales = S - E
If NetSales < 10000 then Emp(i).Bonus = 0
Else
Emp(i).Bonus = Netsales /20 End if
Next i
End CalcBonus
261
After all the analysis, design, and programming, the chances are
GJ-IMT
Life Work & Leadership
GJ-IMT
Life Work & Leadership
264
GJ-IMT
Life Work & Leadership
PROGRAMMING LANGUAGES
265
GJ-IMT
Life Work & Leadership
266
GJ-IMT
Life Work & Leadership
PROGRAMMING LANGUAGES
1. We are the masters and computers are our working hands. 2. We want the computers to do our job. 3. We must have some language to tell the machine what to do and how to do. 4. Computers understand only machine language which comprises of combinations of 1s and 0s. 5. Each combination is called an instruction. A series of instructions makes a computer program. 6. All such combinations used by the manufacturers are listed in their documents in the form of instruction sets.
GJ-IMT
Life Work & Leadership
PROGRAMMING LANGUAGES
1. Programming languages are required for human beings so that computers can be told to do our work. 2. Different languages are required because there is no single language so far which is capable of handling all types of requirements with equal efficiency. 3. Each language allows general functions but is capable of handling some particular requirement more efficiently.
268
GJ-IMT
PROGRAMMING LANGUAGES
1. Displaying instructions/information on the screen. 2. Receiving input from user. 3. Storing temporary user information in variables in primary memory. 4. Creating data structures for storing complex information in suitable form for convenient handling. 5. Doing computations. 6. Handling strings. 7. Storing permanent information on secondary storage. 8. Facility of printing information. 9. Communication between different modules of the program. 269
GJ-IMT
Life Work & Leadership
Require less time for programming. Require less effort for programming. Easier to learn. Suitable for writing large programs. Limitations Slow in handling machine level instructions. May not be suitable for real time applications. Comparatively less suitable for embedded system applications.
270
GJ-IMT
Life Work & Leadership
Characteristics
hardware.
Require more effort for programming. Difficult to learn. Unsuitable for writing large programs.
271
GJ-IMT
Life Work & Leadership
272
GJ-IMT
Life Work & Leadership
ASSEMBLY LANGUAGE
;This program generates square waves on ;Port 1 Pin 1 and ;Port 1 Pin 2 of Microcontroller ATMEL AT89S53 ORG LJMP 00 MainLoop
MainLoop:
P1.1 P1.2
P1.1 P1.2
MainLoop
273
LOC OBJ
LINE 1 2 3 4 5 MainLoop: 6 7 8 9 10 11 12 13 14 15
0000 0000 020003 0003 0003 D291 0005 D292 0007 00 0008 00 0009 C291 000B C292 000D 00 000E 00 000F 80F2
SOURCE ;This program generates square waves on ;Port 1 Pin 1 and Port 1 Pin 2 of ; Microcontroller ATMEL AT89S53 ORG 00 LJMP MainLoop
SetB P1.1 SetB P1.2 NOP NOP Clr P1.1 Clr P1.2 NOP NOP SJMP MainLoop end
274
GJ-IMT
Life Work & Leadership
ASSEMBLY LANGUAGE
; name hi-world ; this example prints out "hello world!" ; by writing directly to video memory. ; in vga memory: first byte is ascii character, ; byte that follows is character attribute. ; if you change the second byte, ; you can change the color of ; the character even after it is printed. ; character attribute is 8 bit value,
275
GJ-IMT
Life Work & Leadership
ASSEMBLY LANGUAGE
; character attribute is 8 bit value, ; high 4 bits set background color and low 4 bits set foreground color. ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; hex 0 1 2 3 4 5 6 7 8 9 a b c d e f bin 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 color ; black blue green cyan red magenta brown light gray dark gray light blue light green light cyan light red light magenta yellow white org 100h
276
GJ-IMT
Life Work & Leadership
; set video mode mov ax, 3 ; text mode 80x25, 16 colors, 8 pages (ah=0, al=3) int 10h ; do it! ; cancel blinking and enable all 16 colors: mov ax, 1003h mov bx, 0int 10h
277
; color all characters: mov cx, 12 ; number of characters. mov di, 03h ; start from byte after 'h' C: mov add loop mov int ret [di], 11101100b ; light red(1100) on yellow(1110) di, 2 ; skip over next ascii code in vga memory. C ; wait for any key press: ah, 0 16h
278
GJ-IMT
Life Work & Leadership
PERL
Nature: scripting language History: Perl (Practical Extracting and Report Language) was created by Larry Wall in 1987. Intended to replace the Unix shell, Sed, and Awk. Used in CGI scripts.
Hello World example print "Hello World\n"; format: free form
279
GJ-IMT
Life Work & Leadership
PASCAL PROGRAM
GJ-IMT
Life Work & Leadership
PASCAL PROGRAM
program MultiplyTwoNumbers(Input,Output); var FirstNumber: integer; SecondNumber: integer; Result:integer; begin write( 'Enter First Number : '); readln(FirstNumber); write( 'Enter Second Number : '); readln(SecondNumber); Result := FirstNumber*SecondNumber; writeln; writeln('Hello World:'); writeln( FirstNumber, ' x ', SecondNumber, ' = ', Result); readln;
281
GJ-IMT
Life Work & Leadership
C PROGRAM
#include <stdio.h>
main() { printf("Hello World\n"); }
GJ-IMT
Life Work & Leadership
C++
#include <iostream.h>
int main(int argc, char *argv[]) { cout << "Hello World" << endl; return 0; }
format: free form
283
GJ-IMT
Life Work & Leadership
ADA
with Ada.Text_IO; use Ada.Text_IO; procedure HelloWorld is begin Ada.Text_IO.Put_Line("Hello World"); end HelloWorld;
format: free form; block structured
284
GJ-IMT
Life Work & Leadership
ALGOL
285
GJ-IMT
Life Work & Leadership
COBOL
IDENTIFICATION DIVISION. PROGRAM-ID. HelloWorld. AUTHOR. Milo. ENVIRONMENT DIVISION. CONFIGURATION SECTION. INPUT-OUTPUT SECTION. DATA DIVISION. FILE SECTION. WORKING-STORAGE SECTION. LINKAGE SECTION. PROCEDURE DIVISION. DISPLAY "Hello World". STOP RUN.
format: columns
286
GJ-IMT
Life Work & Leadership
COBOL
GJ-IMT
Life Work & Leadership
FORTRAN
END
288
GJ-IMT
Life Work & Leadership
JAVA
GJ-IMT
Life Work & Leadership
JAVA APPLET
290
GJ-IMT
Life Work & Leadership
SOFTWARE
291
GJ-IMT
Life Work & Leadership
SOFTWARE
Programs are lists of instructions for the processor Data can be any information that a program needs: character data, numerical data, image data, audio data, etc. Both programs and data are saved in computer memory in the same way.
System software manages computer resources and makes computers easier to use. An applications software enables a computer user to do a particular task.
292
GJ-IMT
Life Work & Leadership
SOFTWARE
System Programs Operating system. Networking system.
Spreadsheets
Data base systems Graphics programs
Web browsers
Data backup.
293
GJ-IMT
Life Work & Leadership
OPERATING SYSTEMS
2.
Examples of operating systems are: Unix, Windows 98, Windows NT, Windows XP, MS-DOS, Linux, Solaris, VMS, OS/2 and System 7. 294
GJ-IMT
Life Work & Leadership
SYSTEM SOFTWARE
295
GJ-IMT
Life Work & Leadership
SYSTEM SOFTWARE
System Software
Refers to the operating system and all utility programs that manage computer resources at a low level. Software is generally divided into
systems software and
applications software.
word processors,
database systems, and spreadsheet programs.
GJ-IMT
Life Work & Leadership
SYSTEM SOFTWARE
System Software
Refers to the operating system and all utility programs that manage computer resources at a low level. Software is generally divided into
systems software and applications software.
GJ-IMT
Life Work & Leadership
OPERATING SYSTEM
The 1960s definition of an operating system is the software that controls the hardware.
However, today, due to microcode we need a better definition.
We see an operating system as the programs that make the hardware useable.
In brief, an operating system is the set of programs that controls a computer. Some examples of operating systems are UNIX, Mach, MS-DOS, MS-Windows, Windows/NT, Chicago, OS/2, MacOS, VMS, MVS, and VM.
298
GJ-IMT
Life Work & Leadership
OPERATING SYSTEM
Controlling the computer involves software at several levels. We will differentiate kernel services, library services, and application-level services, all of which are part of the operating system. Processes run Applications, which are linked together with libraries that perform standard services. The kernel: supports the processes by providing a path to the peripheral devices.
The kernel responds to: service calls from the processes and interrupts from the devices.
299
GJ-IMT
Life Work & Leadership
OPERATING SYSTEM
The core of the operating system is: the kernel (The nucleus, core, or centre of something), a control program that functions in privileged state (an execution context that allows all hardware instructions to be executed), reacting to interrupts from external devices and to service requests and traps from processes.
Generally,
the kernel is a permanent resident of the computer.
It creates
and terminates processes
GJ-IMT
Life Work & Leadership
OPERATING SYSTEM
Operating Systems are resource managers. The main resource is computer hardware in the form of processors, storage, input/output devices, communication devices, and data. Some of the operating system functions are:
implementing the user interface, sharing hardware among users, allowing users to share data among themselves, preventing users from interfering with one another, scheduling resources among users, facilitating input/output, recovering from errors, accounting for resource usage, facilitating parallel operations, organizing data for secure and rapid access, and handling network communications.
301
GJ-IMT
Life Work & Leadership
OPERATING SYSTEM
GJ-IMT
Life Work & Leadership
OPERATING SYSTEM
GJ-IMT
Life Work & Leadership
OPERATING SYSTEM
GJ-IMT
Life Work & Leadership
OPERATING SYSTEM
To allocate resources to processes (Manage resources) An operating system controls how processes (the active agents) may access resources (passive entities). Provide a pleasant and effective user interface The user interacts with the operating systems through the user interface and usually interested in the look and feel of the operating system. The most important components of the user interface are the command interpreter, the file system, on-line help, and application integration. The recent trend has been toward increasingly integrated graphical user interfaces that encompass the activities of multiple processes on networks of computers.
305
GJ-IMT
Life Work & Leadership
INTERNET ACCESS
306
GJ-IMT
Life Work & Leadership
INTERNET ACCESS
Introduction to www, Internet and intranet Creation of E-mail address Send & receive messages
GJ-IMT
Life Work & Leadership
INTRODUCTION TO INTERNET
308
GJ-IMT
Life Work & Leadership
INTRODUCTION TO INTERNET
The Internet is a global system of interconnected computer networks that use the standard Internet Protocol Suite (TCP/IP) to serve billions of users worldwide. It is a network of networks that consists of millions of private, public, academic, business, and government networks, of local to global scope, that are linked by a broad array of electronic, wireless and optical networking technologies. The Internet carries a vast range of information resources and services, such as the inter-linked hypertext documents of the World Wide Web (WWW) and the infrastructure to support electronic mail.
309
GJ-IMT
Life Work & Leadership
INTRODUCTION TO INTERNET
telephone,
music, film, and
television
are reshaped or redefined by the Internet, giving birth to new services such as Voice over Internet Protocol (VoIP) and IPTV. Newspaper, book and other print publishing are adapting to Web site technology, or are reshaped into blogging and web feeds.
A web feed (or news feed) is a data format used for providing users with frequently updated content.
310
GJ-IMT
Life Work & Leadership
INTRODUCTION TO INTERNET
The Internet has enabled or accelerated new forms of human interactions through instant messaging, Internet forums, and social networking. Online shopping has boomed both for major retail outlets and
311
GJ-IMT
Life Work & Leadership
INTRODUCTION TO WWW
312
GJ-IMT
Life Work & Leadership
INTRODUCTION TO WWW
The World Wide Web, abbreviated as WWW or W3 and commonly known as the Web, is a system of interlinked hypertext documents accessed via the Internet.
images,
videos, and other multimedia
GJ-IMT
Life Work & Leadership
INTRODUCTION TO WWW
Using concepts from earlier hypertext systems, British engineer and computer scientist Sir Tim Berners-Lee, now the Director of the World Wide Web Consortium ( W3C is the main international standards organization for the World Wide Web), wrote a proposal in March 1989 for what would eventually become the World Wide Web. At CERN (Conseil Europeen pour la Recherche Nucleaire: European
Organization for Nuclear Research)
GJ-IMT
Life Work & Leadership
INTRODUCTION TO WWW
The term WWW refers to the World Wide Web or simply the Web. The World Wide Web consists of all the public Web sites connected to the Internet worldwide, including the client devices (such as computers and cell phones) that access Web content. The WWW is just one of many applications of the Internet and computer networks. The World Wide Web is based on these technologies: HTTP - Hypertext Transfer Protocol HTML - Hypertext Markup Language
GJ-IMT
Life Work & Leadership
INTRODUCTION TO INTERNET
HTTP
Short for HyperText Transfer Protocol, the underlying protocol used by the World Wide Web. HTTP defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands.
For example,
when you enter a URL in your browser, this actually sends an HTTP command to the Web server
GJ-IMT
Life Work & Leadership
INTRODUCTION TO INTERNET
HTML
The other main standard that controls how the World Wide Web works is HTML, which covers how Web pages are formatted and displayed.
GJ-IMT
Life Work & Leadership
INTRODUCTION TO INTERNET
FTP
FTP is an acronym for File Transfer Protocol. As the name suggests, FTP is used to transfer files between computers on a network.
You can use FTP to exchange files between computer accounts, transfer files between an account and a desktop computer, or access online software archives.
Keep in mind, however, that many FTP sites are heavily used and require several attempts before connecting.
318
GJ-IMT
Life Work & Leadership
INTRODUCTION TO WWW
Researcher Tim Berners-Lee led the development of the original World Wide Web in the late 1980s and early 1990s. He helped build prototypes of the above Web technologies and coined the term WWW. Web sites and Web browsing exploded in popularity
319
GJ-IMT
Life Work & Leadership
320
GJ-IMT
Life Work & Leadership
An intranet is a
GJ-IMT
Life Work & Leadership
Any of the well known Internet protocols may be found in an intranet, such as HTTP (web services), SMTP (e-mail), and FTP (file transfer protocol). Internet technologies are often deployed to provide modern interfaces to legacy information systems hosting corporate data. An intranet can be understood as a private analog of the Internet, or as a private extension of the Internet confined to an organization. The first intranet websites and home pages began to appear in organizations in 1996-1997. Although not officially noted, the term intranet first became common-place among early adopters, such as universities and technology corporations, in 1992.
322
GJ-IMT
Life Work & Leadership
Intranets have also contrasted with extranets. While intranets are generally restricted to employees of
the organization,
extranets may also be accessed by customers, suppliers, or other approved parties.
(AAA protocol).
323
GJ-IMT
Life Work & Leadership
Intranets may provide a gateway to the Internet by means of a network gateway with a firewall, shielding the intranet from unauthorized external access. The gateway often also implements
user authentication, encryption of messages, and often virtual private network (VPN) connectivity for off-site employees to access company information, computing resources and internal communication.
324
GJ-IMT
Life Work & Leadership
325
GJ-IMT
Life Work & Leadership
- Lab work.
326
GJ-IMT
Life Work & Leadership
327
GJ-IMT
Life Work & Leadership
- Lab work.
328
GJ-IMT
Life Work & Leadership
329
GJ-IMT
Life Work & Leadership
A web search engine is designed to search for information on the World Wide Web and FTP servers. The search results are generally presented in a list of
images,
information and
330
GJ-IMT
Life Work & Leadership
Some search engines also mine data available in databases or open directories. (A directory service is software which stores and organizes information about a computer network's users and network resources
331
GJ-IMT
Life Work & Leadership
A search engine operates, in the following order 1. Web crawling 2. Indexing 3. Searching.
Web search engines work by storing information about many web pages, which they retrieve from the html itself.
These pages are retrieved by a Web crawler (sometimes also known as a spider) an automated Web browser which follows every link on the site. Exclusions can be made by the use of robots.txt. Robots.txt is a text (not html) file you put on your site to tell search robots which pages you would like them not to visit. Robots.txt is by no means mandatory for search engines but generally search engines obey what they are asked not to do. 332
GJ-IMT
Life Work & Leadership
The contents of each page are then analyzed to determine how it should be indexed (for example, words are extracted from the titles, headings, or special fields called
meta tags).
Data about web pages are stored in an index database for use in later queries. A query can be a single word. The purpose of an index is to allow information to be found as quickly as possible.
333
GJ-IMT
Life Work & Leadership
Some search engines, such as Google, store all or part of the source page (referred to as a cache) as well as information about the web pages, whereas others, such as
334
GJ-IMT
Life Work & Leadership
This problem might be considered to be a mild form of linkrot, and Google's handling of it increases usability by satisfying user expectations that the search terms will be on the returned webpage.
Link rot (or linkrot) is an informal term for the process by which, either on individual websites or the Internet in general,
GJ-IMT
Life Work & Leadership
This satisfies the principle of least astonishment since the user normally expects the search terms to be on the returned pages.
The Principle of Least Astonishment states that the result of performing some operation should be obvious, consistent, and predictable, based upon the name of the
GJ-IMT
Life Work & Leadership
Search engines are very different from subject directories. While humans organize and catalog subject directories, search engines rely on computer programs called spiders or robots to crawl the Web and log the words on each page.
GJ-IMT
Life Work & Leadership
To use search engines effectively, it is essential to apply techniques that narrow results and push the most relevant pages to the top of the results list.
338
GJ-IMT
Life Work & Leadership
Identify KEYWORDS
When conducting a search, break down the topic into key concepts. For example, to find information on what the FCC has said about the wireless communications
339
GJ-IMT
Life Work & Leadership
Boolean AND Connecting search terms with AND tells the search engine to retrieve web pages containing ALL the keywords. FCC and wireless and communication The search engine will not return pages with just the word FCC. Neither will it return pages with the word FCC and the word wireless.
The search engine will only return pages where the words FCC,
wireless, and communication all appear somewhere on the page.
GJ-IMT
Life Work & Leadership
Boolean OR
Linking search terms with OR tells the search engine to retrieve web pages containing ANY and ALL keywords.
(FCC or wireless or communication) When OR is used, the search engine returns pages with a single keyword, several keywords, and all keywords. Thus, OR expands your search results. Use OR when you have common synonyms for a keyword. Surround OR statements with parentheses for best results. To narrow results as much as possible, combine OR statements with AND statements. For example, the following search statement locates information on purchasing a used car: (car or automobile or vehicle) and (buy or purchase) and used
341
GJ-IMT
Life Work & Leadership
Boolean AND NOT AND NOT tells the search engine to retrieve web pages containing one keyword but not the other. dolphins and not Miami
The above example instructs the search engine to return web pages about dolphins but not web pages about the "Miami Dolphins" football team.
Use AND NOT when you have a keyword that has multiple meanings. The need for AND NOT often becomes apparent after you perform an initial search. If your search results contain irrelevant results (e.g., Saturn the car rather than Saturn the planet), consider using AND NOT to filter out the undesired websites.
342
GJ-IMT
Life Work & Leadership
Implied Boolean: PLUS & MINUS In many search engines, the plus and minus symbols can be used as alternatives to full Boolean AND and AND NOT. The plus sign (+) is the equivalent of AND, and the minus sign (-) is the equivalent of AND NOT. There is no space between the plus or minus sign and the keyword. NOTE: AltaVista's Simple Search requires the use of plus and minus rather than AND, OR, and AND NOT.
+welding +process
+Saturn -car couch sofa IMPORTANT: Use AltaVista's Simple Search for implied Boolean (+/-) searches, and use AltaVista's Advanced Search for full Boolean (AND, OR, AND NOT) searches. 343
GJ-IMT
Life Work & Leadership
Surrounding a group of words with double quotes tells the search engine to only retrieve documents in which those words appear sideby-side. Phrase searching is a powerful search technique for significantly narrowing your search results, and it should be used as often as possible. "John F. Kennedy" "Walt Disney World" "global warming" For best results, combine phrase searching with implied Boolean (+/) or full Boolean (AND, OR, and AND NOT) logic. +"heart disease" +cause "heart disease" and cause The above example tells the search engine to retrieve pages where the words heart disease appear side-by-side and the word cause appears somewhere else on the page.
344
GJ-IMT
Life Work & Leadership
NOTE ON IMPLIED BOOLEAN LOGIC (+/-): When a phrase search is combined with additional keywords using implied Boolean logic (+/-), you must put a plus or
345
GJ-IMT
Life Work & Leadership
PLURAL FORMS, CAPITAL LETTERS, AND ALTERNATE SPELLINGS Most search engines interpret lower case letters as either upper or lower case.
Thus, if you want both upper and lower case occurrences returned, type your keywords in all lower case letters.
However, if you want to limit your results to initial capital letters (e.g., "George Washington") or all upper case letters, type your keywords that way. Like capitalization, most search engines interpret singular keywords as singular or plural. If you want plural forms only, make your keywords plural.
346
GJ-IMT
Life Work & Leadership
PLURAL FORMS, CAPITAL LETTERS, AND ALTERNATE SPELLINGS A few search engines support truncation or wildcard
GJ-IMT
Life Work & Leadership
TITLE Search Field searching is one of the most effective techniques for narrowing results and getting the most relevant websites listed at the top of the results page.
A web page is composed of a number of fields, such as title, domain, host, URL, and link.
Searching effectiveness increases as you combine field searches with phrase searches and Boolean logic. For example, if you wanted to find information about George Washington and his wife Martha, you could try the following search:
GJ-IMT
Life Work & Leadership
TITLE Search
The above TITLE SEARCH example instructs the search engine to return web pages where the phrase George
349
GJ-IMT
Life Work & Leadership
Domain Search
In addition to the title search, other helpful field searching strategies include the domain search, the host search, the link search, and the URL search. The DOMAIN SEARCH allows you to limit results to certain domains such as websites from the United Kingdom (.uk), educational institutions (.edu), or government sites (.gov). +domain:uk +title:"Queen Elizabeth"
GJ-IMT
Life Work & Leadership
Domain Search
The current U.S. domains are the following: .com = a commercial business
.edu
.gov .org
= an educational institution
= a governmental institution = a non-profit organization
.mil
.net
= a military site
= a network site
GJ-IMT
Life Work & Leadership
Host Search
The HOST SEARCH comes in handy when you need to find something located at a large site that does not have an internal search engine. With this search technique, you can search all the pages at a website (contained in the engine's database) for keywords or phrases of interest.
NOTE: Because the major search engines do not always log an entire
website, use an internal search engine, if the website has one, for best results. +host:www.disney.com +"special offer" host:www.disney.com and "special offer"
352
GJ-IMT
Life Work & Leadership
URL Search
The URL SEARCH limits search results to web pages where the keyword appears in the URL or website
address.
A URL search can narrow very broad results to web pages devoted to the keyword topic. +url:halloween +title:stories url:halloween and title:stories
353
GJ-IMT
Life Work & Leadership
link Search
Use the LINK SEARCH when you want to know what websites are linked to a particular site of interest. For example, if you have a home page and you are wondering if anyone has put a link to your page on their website, use the Link search. Researchers use link searches for conducting backward citations. link:www.pepsi.com link:www.ipl.org/ref/
354
GJ-IMT
Life Work & Leadership
INTRODUCTION TO WWW
355
GJ-IMT
Life Work & Leadership
- Lab work
356
GJ-IMT
Life Work & Leadership
357
GJ-IMT
Life Work & Leadership
Thanks!
358
GJ-IMT
Life Work & Leadership
Let us Start
359
GJ-IMT
Life Work & Leadership
Isha-vasyopanishad
361
GJ-IMT
Life Work & Leadership
2.
3.
come from?
362
GJ-IMT
Life Work & Leadership
363
GJ-IMT
Life Work & Leadership
INTRODUCTION TO
364
GJ-IMT
Life Work & Leadership
INTRODUCTION TO
WORKSHOP ON COMPUTERS FOR MANAGEMENT 1. Concept of a programmable device 2. Introduction to Microprocessor as a programmable
device.
3. Concept of: Instruction Instruction Set of a microprocessor and Computer Program.
365
GJ-IMT
Life Work & Leadership
SYLLABUS
PUNJAB TECHNICAL UNIVERSITY
WORKSHOP ON COMPUTERS FOR MANAGEMENT (MB-107)
UNIT I
Introduction to Computers
Block structure of a computer
Introduction to
Software:
System s/w, Application s/w.
366
GJ-IMT
Life Work & Leadership