Date post: | 22-Dec-2015 |
Category: |
Documents |
View: | 215 times |
Download: | 2 times |
Information Technology SystemsEN230-1
Justin Champion
C208 – 3273www.staffs.ac.uk/personel/engineering_and_technology/jjc1
IT Systems
ContentsIntroduction to the courseDiscussion of what is expectedDiscussion of the assessmentIntroduction to LogicSummary
IT Systems The course
Looking at all parts of IT systems• Allows us to understand what is happening within a computer• Look at how a computer takes 1’s and 0’s and produces this
IT Systems Structure of the course
1 lecture a week• Material will be put onto my website
1 Tutorial a week in D10• Tutorial material will be provided• Straight forward assembler will be looked at
• We are using the 68HC11 Motorola boards• AS11 Assembler
Your time• You are expected to carry out some study in your time• These lectures will give you a understanding of the subject area• Self-study allows YOU to focus on a particular interest area
IT Systems Assessment in 2 parts
In class test carried out in this lecture slot in week 12• Multiple choice test, with no negative marking• Based on the material used in lectures and tutorials
Practical assessment• A small program written in assembler to show ability to use the
68HC11 processor• This will be given out about week 6 to be handed in on week 12
• You will be expected to use the tutorial times and your own time to complete this assignment.
IT Systems - Logic
George Boole 1815 to 1864
Boole approached logic in a new way reducing it to a simple algebra, incorporating logic into mathematics. He also worked on differential equations, the calculus of finite differences and general methods in probability.
IT Systems - Logic Boolean Logic
Something is either• True or False• 1 or 0• Correct or Wrong
Computers use this to make decisions We use this kind of logic every single day
IT Systems
You can only get into the club if you have a colour suit
TrueGet into Club
FalseRefused Entry to Club
IT Systems Logic
As seen you use this all the time• If (suit coloured) then
• Entry to club
• Else• Refused Entry
You can also put multiple conditions together Conditional Logic
• If (Suit Coloured and fish on head) then• Entry to club
• Else• Refused Entry
IT Systems You can only get into the club if you have a coloured suit
and a Fish on the head!
FalseRefused
TrueAccepted
FalseRefused
FalseRefused
IT Systems Logic Conditions Available
AND OR NOT
Logic Symbols used in Logic diagrams AND . OR + NOT
IT Systems Use of The Logic Symbols
If person wearing a shirt and a tie then enter Entry = Shirt.Tie
If person wearing a shirt which is not white and a tie then enter
Entry = (shirt.white).tie
IT Systems Example Truth Tables
A B A.B A+B A A+B
0 0 0 0 1 1
0 1 0 1 1 0
1 1 1 1 0 0
1 0 0 1 0 0
IT Systems Try a truth table yourself
Create a truth table for• If man has long hair and not a member entry refused
IT Systems Answer
Create a truth table for• If person has long hair and not a member entry refused
Long Hair Member Not Member Long Hair.Member
0 1 0 Accepted
0 0 1 Accepted
1 1 0 Accepted
1 0 1 Refused
IT Systems What this logic looks like in electrical circuits
First the truth table
A B X
0 0 0
0 1 0
1 0 0
1 1 1
IT Systems What this logic looks like in electrical circuits
X = A.B A = 0, B = 0, X=0 Light is off
IT Systems What this logic looks like in electrical circuits
X = A.B A = 1, B = 1, X=1 Light is on
IT Systems The logic used can also be drawn out on a diagram
IT Systems
And Gate - X = A.B
IT Systems
Alarm System A = Alarm Set B = Door Sensor Opened X = Alarm Sounding
X A B0 0 01 0 11 1 01 1 1
IT Systems OR Example
X = A + B
IT Systems Why we learn this
• Boolean logic is used in electronics and computers to carry out actions
IT Systems Summary of what we have discussed
Intro to the course Assessment Boolean Logic