8 Pages

Cardio III - Heart Failure

Course: NURS 130, Spring 2008
School: Lady of the Lake
Rating:
 
 
 
 
 

Word Count: 2241

Document Preview

III CARDIOVASCULAR HEART FAILURE Heart failure = the heart cannot pump an adequate supply of blood to meet the demands of the body. Cardiac output falls, leading to decreased tissue perfusion. - the kidneys shut down, decreased perfusion to the brain (decrease LOC, confusion, tired) - heart failure itself is not a disease, it is secondary to other diseases (i.e., CAD, hypertension) - important labs to monitor for...

Register Now

Unformatted Document Excerpt

Coursehero >> Louisiana >> Lady of the Lake >> NURS 130

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
III CARDIOVASCULAR HEART FAILURE Heart failure = the heart cannot pump an adequate supply of blood to meet the demands of the body. Cardiac output falls, leading to decreased tissue perfusion. - the kidneys shut down, decreased perfusion to the brain (decrease LOC, confusion, tired) - heart failure itself is not a disease, it is secondary to other diseases (i.e., CAD, hypertension) - important labs to monitor for heart failure BNP, creatinine .Atherosclerosis (blockage, decreased tissue perfusion) and hypertension (increased after load, vasoconstriction, increased muscle size hypertrophy) are the most common causes of heart failure. PHYSIOLOGY AND REVIEW 1. Cardiac output the amount of blood ejected from the left ventricle each minute. (5 L/min) - cardiac output= stroke volume x heart rate - any changes in cardiac output lead to decreased ventricular function and resultant manifestations of heart failure 2. 3. stroke volumethe amount of blood ejected with each heartbeat. (70 mL) Preloadvolume of blood in the ventricle at the end of diastole. (Frank-Starling law which states that the force of the ventricle is related to the stretch in the muscle fibers.) - the heart can't pump what it doesn't get - increased preload = increased stretch 4. 5. After loadforce that the ventricle must exert to eject blood into circulation - vasoconstriction hypertension Contractilityability of the muscle fibers to shorten during systole. Contractility is necessary to overcome after load and eject blood during systole. Poor contractility affects CO. Ejection Fraction percentage of the end-diastolic volume in the ventricle an indication of the amount of blood that was ejected and also tells the contractile ability of the ventricle. - how strong or weak the heart is - an echocardiogram can give a preliminary ejection fraction (not accurate; can't base diagnosis on this number) - less than 18% ejection fraction candidate for heart transplant 6. Common Causes of Heart Failure: 1) Hypertension 2) Coronary artery disease (atherosclerosis) 3) Cardiomyopathy(CM) heart muscle disease that can affect structural and functional ability of myocardium a. Dilated CM enlargement of the heart's chambers i. Inflammation causes rapid degeneration of myocardial fibers that cause ventricular dilation and decreased contractile function (alcohol-induced, genetic, hypertension) b. Hypertrophic CM thickening of heart muscle and ineffective pump (hypertension, genetic) c. Restrictive CM least common; impairs diastolic filling and stretch (idiopathic, neoplastic tumors, ventricular thrombosis 4) Substance abuse 5) Valvular disease 6) Congenital defects 7) Cardiac infections and inflammations (myocarditis) increased oxygen and metabolic demand 1 ****Considerations for older adults: The use of certain drugs can also lead to heart failure (HF), especially in older adults. Long-term use of NSAIDS such as Motrin cause sodium and water retention. PATHOPHYSIOLOGY Types of Heart Failure: 1) Left-sided heart failure: - Because the 2 ventricles of the heart represent 2 separate pumping systems, it is possible for one to fail by itself for a short period. - inability of LV to fill or pump sufficient blood to meet tissues need for oxygen and nutrients - RV has to compensate for LV failure, causing pooling of blood into the pulmonary system - Causes: Long term uncontrolled hypertension, coronary artery disease, valvular disease involving the mitral or aortic valve. May be acute or chronic; and can be further divided into systolic heart failure and diastolic heart failure. Chest x rays can show caridomegaly (enlarged heart) Key features of Left sided heart failure: (pulmonary congestion) Fatigue earliest symptom -orthopnea -frothy, pink sputum Weakness -tachypnea -S3 and S4 (gallop) Angina -pallor -Pulsus alternus Confusion, restlessness -dry, hacking cough Dizziness -dyspnea Tachycardia, palpitations -oliguria during day a) Systolic Heart Failure: (forward failure) a. Results when the heart is unable to contract forcefully enough during systole to eject adequate amounts of blood into the circulation. b. Ejection Fraction: drops below 40%. As the EF decreased, tissue perfusion diminishes and blood accumulates in the pulmonary vessels. c. Clinical signs will include symptoms of inadequate tissue perfusion or pulmonary and systemic congestion. d. Caused by MI, increased afterload, hypertension b) Diastolic Heart Failure: (backward failure) a. Occurs when the left ventricle is unable to relax adequately during diastole b. Symptoms are similar to that of Systolic heart failure c. Impaired filling of the ventricle causes blood to back into the atria d. Causes of diastolic heart failure: usually caused by chronic hypertension or aortic stenosis c) Mixed Systolic-Diastolic Failure: a. Usually seen with dilated cardiomegaly 2) Right-sided heart failure: a. May be caused by left ventricular failure, right ventricular MI, or pulmonary hypertension. b. Pressure increases, organs get bigger (edema) 2 Key features of Right-sided heart failure: - JVD (backup of fluid from right side of heart) - Enlarged liver and spleen - Anorexia and nausea - Dependent edema (legs and sacrum) - Distended abdomen - Swollen hands and fingers - Polyuria at night - Weight gain - Need protein in meals - Small frequent meals - Assess for fluid retention of bedridden patients in the sacrum area; in the feet and legs for ambulatory patients CHF classification system: between activity level and symptoms Class I/II less severe Class III/IV indicate severe limitations - classifications are helpful for case management and discharge planning Compensatory mechanisms--when cardiac output is insufficient to meet the demands of the body compensatory mechanisms operate to improve cardiac output. These mechanisms may initially increase cardiac output, they eventually have a damaging effect on pump function. Compensatory mechanisms include: 1. SNS: tissue hypoxia causes increased release of cathecholamines. This causes an increase in heart rate and blood pressure from vasoconstriction. Initially there is a compensatory rise in CO (cardiac output) but this does not last. If the HR is too fast, diastolic filling time is limited and CO may start to decline. An increase in HR also increases O2 demand. 2. Renin- Angiotensin System Activation: Sodium and water retention. This increases preload and afterload. 3. Myocardial hypertrophy: The walls of the heart thicken to provide more muscle mass, which results in more forceful contractions. These mechanisms help to improve CO for awhile but then cardiac decompensation occurs, resulting in: Increased HR shortens diastolic filling time Decreased coronary artery perfusion Ischemia occurs and compromises CO Ventricular dilation and hypertrophy fail d/t continued stretching Renin-angiotensin mechanism results in increased preload and afterload This weakens the heart even more Assessment: 1) History Obtain medical history: a) Left sided heart failure: (may present as pulmonary edema pink, frothy sputum, cyanosis, agitation) i. assess activity tolerance: can the patient climb stairs w/out SOB or fatigue (earliest symptom of heart failure) ii. assess chest pain, palpitations iii. cough early sign of HF (is the patient on Ace-Inhibitors?) iv. assess orthopnea (how many pillows do they sleep on at night) v. assess for paroxysmal nocturnal dyspnea awakening after about 2 to 5 hours of sleep with a feeling of breathlessness. Fluid that accumulated in the dependent extremities during the day begins 3 to be reabsorbed into the circulating blood volume when the person lies down. Because the impaired left ventricle eject cannot the increased circulating volume, the pressure in the pulmonary circulation increases, causing further shifting of fluid into the alveoli. The fluid filled alveoli cannot exchange oxygen and CO2. vi. weight gain? vii. do they awaken SOB? b) Right-sided heart failure: i. Assess for edema to the lower legs, thighs, abdominal wall. Patient may state noticing that shoes feel tighter or that shoes and socks leave indentations on their swollen feet. Ask about weight gain. An adult may retain 4 to 7 liters of fluid before pitting edema occurs. ii. The patient may complain of nausea and anorexia. iii. Ask about polyuria: fluid in the peripheral tissue is mobilized and excreted, causes frequent awakening at night to urinate. iv. nutritional history: salt intake v. teach early signs and symptoms vi. teach the importance of weighing daily and reporting weight gain of more than 3 pounds in one day or 5 or more pounds in 1 week vii. obtain their nutritional history 3) Physical Assessment Left-sided heart failure: a) assess for target organ damage: urine output/labs b) vital signs and respiratory rate c) orientation d) crackles and wheezes e) S3 and S4 f) Strict I and O's g) Daily weights Right-sided heart failure: a) JVD b) Ascites c) Dependent edema: ambulatory patient- ankles and legs. Bedridden: sacral edema. 4) Perform a psychosocial assessment (fatigue, depression, anxiety, feel like they are drowning?) 5) Laboratory Assessment a) Electolytes: diuretics can cause imbalances. (K+, Na+,creatinine) b) Assess renal function (BUN and creatinine) c) Urinalysis: proteinuria and high specific gravity. d) H & H: determine heart failure that may result from anemia. e) BNP: B-type natriuretic peptide. Secreted in response to increased stretch of the muscle. Normal is less than 100 pg/ml (determines degree of heart failure); after diuresis, level should go down f) Liver function tests (hepatomegaly) look at AST and ALT 6) Radiographic Assessment and other a) CXR (shows size of heart, presence of pleural effusion or pulmonary edema) b) EKG c) Echocardiograph preliminary ejection fraction; heart catheter performed to diagnose heart failure Common Nursing Diagnoses: 1) Impaired gas exchange 4 2) 3) 4) 5) 6) Decreased Cardiac Ouptut (decreased oxygen supply, increased demand) Activity Intolerance (SOB, dyspnea, fatigue) Excess Fluid Volume Acute confusion Anxiety Interventions for patients with CHF: 1) Ventilation assistance: a. With respiratory difficulty, place patient in high Fowler's position with feet dangling (to decrease venous return by pooling blood in extremity to decrease preload) with pillows under each arm to maximize lung expansion. b. Assess for SOB, activity intolerance c. Rule out MI d. Airway is first priority check pulse ox do they need oxygen? e. Doctor will order chest x ray and echo 2) Diet therapy: aimed at reducing total body sodium and water retention. a. Omit table salt reduce sodium intake to about 2-3 g daily. i. Watch hidden sodium sources- laxatives, cough syrups, salt substitutes (may contain excessive potassium). Consult MD before taking OTC meds. b. Fluid intake may be limited to 2 liters per day. c. WEIGH PATIENT DAILY: SAME SCALE, SAME TIME, BEFORE BREAKFAST PREFERABLY. d. Encourage to eat small, frequent meals e. check BNP f. input and output 3) Activity intolerance: allow frequent periods of rest. 4) Assess respiratory status at least every 4 hours. 5) Assess for edema: 6) Assess mental status (confusion, hypnatremia) PHARMACOLOGY 1) Diurectics: Examples: Lasix, Bumex, thiazides, and potassium sparing. Metabolized in kidney or liver. a. Work to reduce preload by promoting the excretion of sodium and water by the kidneys. b. Nursing considerations: watch potassium levels, monitor urine output, assess lung sounds, JVD, monitor uric acid levels, teach about photosensitivity c. Side effects of diuretics: hypotension, fatigue, hyperkalemia (potassium sparing), hypokalemia (all other diuretics), decreased Na+ d. Decrease workload of heart ACE inhibitors: ("prils") Monitor for hypotension, hypovolemia, hyponatremia, and alterations in renal function. Watch for side effect of dry, hacking cough can confuse CHF. a. Usually 1st choice for treatment of heart failure b. Watch for hyperkalemia c. Side effect: dry, hacking cough d. Increases contractility by decreasing workload ACE II Receptor Blockers: (-sartans) Cozaar for example. Decrease the blood pressure and lower the resistance. Side effects similar to ACE inhibitors: increased potassium, dec BP, and renal dysfunction. a. Decreases afterload b. Other side effects; abdominal pain, headache, dizziness 2) 3) 5 4) Beta Blockers: (-olol's) Side effects: dizziness, dec BP, Dec HR. a. Causes worsened asthma, strenuous activity intolerance, increases blood sugar (teach diabetics to check sugar more often) helps prevent addt'l muscle damage b. Coreg Digoxin: Lanoxin. Increases the force of contraction and slows conduction through the AV node. Improves contractility, increasing left ventricular output. (does not prolong survivability) a. Monitor levels: normal is between 0.5 2.0 ng/ml. b. Look at CHART 30-3. c. Be careful with elderly and with those with renal impairment (toxicity can occur at low or even normal levels) d. Take apical pulse for 1 minute before administration of dig e. Notify MD if pulse is less than 60 f. Give antacids 6 hours before or after med, don't change brands, don't skip dose, don't take extra dose if missed, hypokalmeia can cause dig toxicity (fatigue, nausea, vomiting, yellow or green halo around objects g. Digibind is given to reverse dig toxicity levels will be elevated post treatment, therefore unreliable; serum dig levels will be inaccurate for several days after digibind 5) 6) Inotropic agents: (usually given at infusion clinics for end stage HF) a. Dobutamine: increases cardiac contractility (reaction: watch for redness at site, can cause skin to slough off; stop med immediately) b. Primacor: decreases preload and afterload, reducing the workload of the heart. Watch blood pressure with this drug!! Other side effects include GI dysfunction, increased ventricular dysrhythmias, and decreased platelet count. i. Doesn't increase oxygen demand; decreases risk of dysrhythmias c. Natrecor: improves stroke volume and decreases preload and afterload. Side effect: dose related hypotension. i. Given for long standing heart failure ii. Can increase risk of ventricular dysrhythmias Calcium Channel Blockers a. Treats increased BP with Heart failure (procardia, norvasc) b. Causes relaxation c. Intereferes with calcium's role in contraction of heart and blood vessels, causing relaxation d. Side effects: headache, flushing, hypotension e. Grapefruit juice increases effects 7) OTHER DEVICES USED TO HELP HEART FAILURE: 1) Heart Transplantation 2) LVAD Left ventricular assistive devices 3) Heart reduction surgery Complications of Heart Failure: 1) Development of Pulmonary Edema: a. An acute event that results from HF. It can occur acutely (MI) or as an exacerbation of HF. Blood backs up into the pulmonary circulation. b. Clinical Manifestations: pink frothy sputum, restlessness, skin turns gray, weak pulse, distended neck veins, c. Medical Management: O2, MSO4, Diuretics, Dobutamine, Milrinone, Natrecor. 6 d. Nursing Management: position patient upright (high fowler's) with the legs dangling. This decreases venous return, lowering the output of the right ventricle, and decreasing lung congestion; psychological support. 2) Cardiogenic Shock: heart cannot pump enough blood to supply the amount of oxygen needed by the tissues. ; Arrhythmias 7
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Lady of the Lake - NURS - 120
Surgical Asepsis Sterile techniques to eliminate all microorganisms, including pathogens and spores Used during procedure that require intentional perforation of the client's skin When the client's kin integrity is broken from surgical incision or
Lady of the Lake - NURS - 230
ANTEPARTUM-CONCEPTION Union of egg (ovum) and sperm Ovum burst from follicle at ovulation - Ovulation is 14 Days before the next period would begin. - The Egg bursts through weak spots of the follicle. Collapsed Follicle is transformed to corpus
Lady of the Lake - NURS - 230
Fetal AssessmentIntroduction Fetal monitoring is the term used to describe the assessment of uterine activity and fetal response. Uterine contractions (UC) are stressful to the fetus because they intermittently decrease the oxygen supply from the
Lady of the Lake - NURS - 220
PEDIATRIC Child Health Nursing Hematology/Oncology Iron Deficiency Anemia Most common type of anemia easy to treat Causes: blood loss (like heavy periods), malabsorption, poor nutritional intake, increased metabolic demand Highest incidence of a
Arkansas - WCOB - 1033
a. What is the research design and what are the Independent and Dependent variables? b. Use your decision tree to determine which test you would run on the each. (assuming you were given the data necessary to complete the problem). c. Complete steps
Arkansas - WCOB - 4223
ERP II Exam One Review Spring 08 Unit 3 FI and CO Know the difference between FI and CO with regard to goals and objectives and target audience. o Goals and objectives Fi-Financial accounting is designed to collect all of the data needed to support
Arkansas - SOCI - 2013
Tuesday, May 02, 2006 Sociology Test 5 review1. Gender Role is the set of behaviors associated with widely shared expectations about how males and females are supposed to act. PAGE 260 2. Which school of thought sees gender differences as a reflec
Arkansas - ECON - 2023
MY COURSES > PRINCIPLES OF MICROECONOMICS > ASSIGNMENTS > REVIEW ASSESSMENT: HOMEWORK #4Review Assessment: Homework #4Name: Status: Score:Homework #4 Completed 16 out of 30 point(s)Time Elapsed: 33 minutes and 27 seconds out of 1 hours allowe
Arkansas - WCOB - 4223
SAP ScreensNotes: Use /n and then enter the screen (transaction code) A pattern for some transactions is 01 for create, 02 for change, and 03 for display. If creating or changing, don't forget to save before leaving the screen. OKEON View Cost Cente
Arkansas - WCOB - 2033
Chap 18 slide 24will definitely be on testInternal vs. external equity Pay secrecy bad Labor market competition places a lower boundary on how much you can pay an employee. Efficiency wage theory Job ranking system Benchmarking with regards to
Arkansas - ECON - 2023
MY COURSES > PRINCIPLES OF MICROECONOMICS > ASSIGNMENTS > REVIEW ASSESSMENT: HOMEWORK #4Review Assessment: Homework #4Name: Status: Score:Homework #4 Completed 22 out of 30 point(s)Time Elapsed: 26 minutes and 37 seconds out of 1 hours allowe
Arkansas - ECON - 2023
MY COURSES > PRINCIPLES OF MICROECONOMICS > ASSIGNMENTS > REVIEW ASSESSMENT: HOMEWORK #4Review Assessment: Homework #4Name: Status: Score:Homework #4 Completed 22 out of 30 point(s)Time Elapsed: 41 minutes and 24 seconds out of 1 hours allowe
Arkansas - GEOL - 1131L
Mineral/Rock Graphite ML Galena ML Chalcopyrite ML Pyrrhotite ML Hematite ML Magnetite ML Pyrite ML Talc Kaolinite Limonite Hematite Gypsum Chlorite Muscovite Halite Biotite Dolomite Calcite Azurite/Malachite Fluorite Augite Hornblende Potassium Feld
Arkansas - WCOB - 1033
14.11Smokers 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 2 1 1 1 1 1 1 2 1 1 1 1 1 1 2 1 2 1 1 1 1 1 1 1 1 1 1 1NoSmokers 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 11)Are there a greater
Delaware - HIST - 101
Western Civilization I Terms Ancient Greece and Rome Polis Athens oligarchy Solon (fl. 594) tyranny democracy Macedonia Philip II (d. 336) phalanx Alexander the Great (d. 323) Battle of the Granicus, 334 Darius III (d. 330) Siege of Tyre,
Delaware - HIST - 101
Western Civilization I Terms Islam and the Early Middle Ages (500-1000) Bedouins Mecca / Medina Ka'ba Mohammed (d. 632) Abu Baker (d. 634) Allah Hijra Islam / Muslim Jihad Koran Ramadan Hajj Hadith Sharia Theocracy Caliph Gib al Tarik
Delaware - HIST - 101
Western Civilization I Terms Late Middle Ages (1300-1500) Black Death (1346-50) Boccaccio's Decameron Anti-Judaism Jacquerie, 1358 Peasant's Revolt, 1381 Gascony Edward III (d. 1377) Philip VI Valois (d. 1350) Hundred Year's War (1137-1453)
Delaware - HIST - 101
Western Civilization I Terms Early-Modern Europe (1500-1648) Aragon Castille Granada Ferdinand of Aragon (d. 1516) Isabella of Castille (d. 1504) Christopher Columbus (d. 1506) Spanish Inquisition (1478-1600s) Auto de fe Ottoman Empire Henry
Delaware - HIST - 101
Western Civilization I Terms High Middle Ages (10001300) William the Conqueror (d. 1087) Harold Godwinson (d. 1066) Battle of Hastings, 1066 Domesday Book Cluny Gregory VII (d. 1085) Lay Investiture Henry IV (d. 1106) Innocent III (d. 1216)
Rutgers - CHEM - 115
GENERAL CHEMISTRY 115 FIRST EXAMNAME _1 inch = 2.54 cm; 1 mile = 1.609 km; 1L = 1.056 qt. Multiple choice = 4 points each Circle the best answer 1. Below is a list of common prefixes used in the SI and metric systems. Included with each is an abb
Rutgers - CHEM - 115
Form A1NAME: _ General Chemistry 115 Exam 1 Avagodro's number 6.022 x 1023 1 kg = 2.20 lb 1 lb = 454 gSECTION:_1. When you perform the following operation, how many significant figures should your answer have? Assume these are measured quanti
Rutgers - CHEM - 115
master1NAME: _ General Chemistry 115 Exam 2 h = 6.63 x 10-34 J . s RH = 2.18 x 10-18 R = 0.0821 L . atm/ K . mol 1 L . atm = 101.3 J April 5, 2004SECTION:_1 nm = 1 x 10 -9 m s of H2O = 4.184 J/g C = 8.314 J/ K . mol 1 atm = 760 torrc = 3.00
Rutgers - CHEM - 115
1NAME: _ General Chemistry 115 FINAL h = 6.63 x 10-34 J . s RH = 2.18 x 10-18 J R = 0.0821 L . atm/ K . mol 1 L . atm = 101.3 J E=h c= PV = nRT M = dRT/P M1V1 = M2V2 1. How many grams in 3.90 mole iron (III) carbonate? 1.14 x 103 g 215 g 591 g 78.4
Rutgers - CHEM - 115
Form B1NAME: _ General Chemistry 115 Exam 2 h = 6.63 x 10-34 J . s RH = 2.18 x 10-18 R = 0.0821 L . atm/ K . mol 1 L . atm = 101.3 J April 5, 2004SECTION:_1 nm = 1 x 10 -9 m s of H2O = 4.184 J/g C = 8.314 J/ K . mol 1 atm = 760 torrc = 3.00
Towson - EMF - 461
EMF 461 "Video Activist Handbook" Response "The Video Activist Handbook", by Thomas Harding read like a long set of instructions for the entry level video activist. I thought that Harding spent too many pages writing about equipment and techniques th
Towson - EMF - 377
Video Fade In Outdoor golf course setting, a young male makes final touches before an apparent golf game. Male climbs into golf cart we see him drive off at high rate of speed. Golf cart now traveling uncharacteristically fast and leaps off a stuntma
Towson - EMF - 461
EMF 461 The arguments that Mander present seem way before their time. I found myself looking for the copyright date after reading the introduction. It is a little shocking that a book written thirty years ago can still be this relevant today. While t
Towson - EMF - 100
EMF 100 Prof Lackey "Focus Q. 1 pg 66" In the essay "By Means of the Visible", Mitchell Stephens examines the claim that the electronic image has affected our nation's consciousness and caused us to think less effectively. There are four main histori
Towson - EMF - 377
Video Fade In Titles Sequence of shots showing CU's of a newborn age baby. Baby fingers wrapped around the much larger finger of an adult; Babies in cribs in the maternity ward of a hospital; Freshly born baby being wrapped in a hospital blanket by a
Towson - EMF - 430
Producing for Film/Video Fauntleroy I have never given much thought to a particular film producer that I consider to be influential to me. My interest lies more with the power of the medium itself, than with the work of a select individual. As I begi
Towson - EMF - 377
Treatment "Final Notice"Adapted from a short story By Laura LippmanFinal Notice 11/26/07 Treatment Concept: Final Notice is the dark drama about a local contractor who preys upon his clients. He chooses jobswhere he is the sole contractor and t
UIllinois - CS - 241
CS241 Systems ProgrammingFiles, IO, devices (part 3)Yoann PadioleauTable of contentsInterface (user side)Implementation (kernel and hardware side)Files, File Descriptors Special Files, Device Files, Terminal Files as a form of
UIllinois - CS - 241
CS241 Systems ProgrammingFiles, IO, devices (part 2)Yoann PadioleauReminder: context of this lectureshell (P2) foo.exe (P1) kernel0 (stdin) (stdout)What happens next ?What happens here ?0xFFFFIf asked today to 1 2 (stderrt) write a 3 4
UIllinois - CS - 440
CS 440 / ECE 448 Introduction to Artificial Intelligence Spring 2008Instructor: Eyal AmirWhere we are in this classSo far: propositional logic, matrix algebra Propositional logic: propositions, formulas, truth assignments, formula evaluation, ent
UIllinois - CS - 241
CS 241 Spring 2008 System ProgrammingTCP Programming and the TCP/IP ProtocolLearning ObjectivesAPI calls required to establish and use a TCP connection stream; server & client versions Common mistakes / misconceptions TCP/IP Protocol foundation
UIllinois - CS - 440
Introduction to Artificial Intelligence Lecture #3: Matrix Algebra & ProbabilityUIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2008Last Time Propositional Logic Propositional symbols / variables Formulas Connectives: a b a b a a b
UIllinois - CS - 440
Introduction to Artificial Intelligence Lecture #2: Propositional LogicUIUC CS 440 / ECE 448 Professor: Eyal Amir Fall Semester 2008Today Representation in Propositional Logic Semantics & Deduction Axioms and Facts Boolean AlgebrasRepresenti
UIllinois - CS - 241
Memory: Hardware SupportIntroducing Demand PagingLawrence Angrave1Today's Learning ObjectivesMultilevel Page Table Inverted Page Table Sharing and Protection Bits When is the resident bit set?Introduction to Demand Paging2Addressing on
UIllinois - CS - 241
DeadlockLearning ObjectivesPrevention (Havender's algorithms) Avoidance Detection & RecoveryCopyright : Nahrstedt, Angrave, AbdelzaherCopyright : Nahrstedt, Angrave, AbdelzaherStrategiesStrategies for dealing with Deadlocksprevention
UIllinois - CS - 241
Queuing Framework for Process Management EvaluationPrinciplesfor Reasoning about Process Management/Scheduling Queuing Theory1Useful Facts From Queuing TheoryWq= mean time a customer spends in the queue = arrival rate Lq = Wq number of custo
UIllinois - CS - 440
CS 440 / ECE 448 Introduction to Artificial Intelligence Spring 2008Instructor: Eyal AmirTAs: Li-Lun Wang, Mark RichardsToday Artificial Intelligence Motivation the dream Long-term goals Short-term applications What you will learn Tools,
UIllinois - CS - 241
DeadlockLearning ObjectivesDeadlock and starvation definitions Examples of deadlock Conditions Resource Allocation GraphsCopyright : Nahrstedt, Angrave, AbdelzaherCopyright : Nahrstedt, Angrave, AbdelzaherDeadlock & Starvation Definitions
UIllinois - CS - 241
CS241 Systems ProgrammingFiles, IO, devicesYoann Padioleau1Course statusPast lectures: C, OS overview, syscalls, basic files & IO How to use the CPU: process, threads, synchronisations (mutex, semaphore), timers How to use devices, disks
UIllinois - CS - 241
CS 241 Spring 2008 System ProgrammingMemory Replacement PoliciesStallings 8.1,8.2 Lawrence Angrave (Ch22)1Demand Paging ExampleVM faultrefLoad MPage tableFree frame2Concepts this LectureTerminology Demand Paging Replacement Issues
UIllinois - CS - 241
MemoryCopyright : Nahrstedt, Angrave, Abdelzaher1Copyright : Nahrstedt, Angrave, AbdelzaherMemory Learning ObjectivesOverlays & Fixed PartitionsInternal Fragmentation Why separate queues are inefficientVirtual Addresses: Relocation using
UIllinois - CS - 241
MemoryCopyright : Nahrstedt, Angrave, Abdelzaher1Copyright : Nahrstedt, Angrave, AbdelzaherMemory II Learning ObjectivesSwapping - swapping out entire process to disk PagingPhysical ram = cache Benefits (pre-emptive, > address space, secure
UIllinois - CS - 241
CS241 Systems ProgrammingFilesystem (part 2)Yoann PadioleauAnnouncementsEndianess does not affect bitwise operations, including bit shifting, so I was wrong, no need different macros such as S_ISDIR(m) for diferent architecture. See newsgro
UIllinois - CS - 241
CS 241 Spring 2008 System ProgrammingTCP/IP Protocol & ToolsLearning ObjectivesPackets and PDUs Useful tools: telnet,nc ,curl,wget, curl, ping,tracert, ifconfig,netstat,tcpdump.Lawrence Angrave1TCP/IPTCP FunctionsReliability no packets a
UIllinois - CS - 241
CS 241 Spring 2008 System ProgrammingTCP Programming II TCP/IP ProtocolLearning Objectives& UDP Trivial Example TCP Code TCP/IP Packets and PDUs Host name resolutionLawrence Angrave1TCPSocket TriviaIn Most code examples: int s = socket(AF
UIllinois - CS - 241
CS 241 Spring 2008 System ProgrammingProtocols & TCP ApplicationsLawrence Angrave1CS 241 Spring 2008 System ProgrammingCase Study #1 Active FTPhttp:/slacksite.com/other/ftp.html2CS 241 Spring 2008 System ProgrammingPassive FTP3
UIllinois - CS - 241
CS241 Systems ProgrammingFilesystemYoann Padioleau1What is a filesystem (file system)?Wikipedia definition: a method for storing and organizing computer files and the data they contain to make it easy to find and access them Why need a
UIllinois - CS - 241
CS 241 Spring 2008 System ProgrammingSocket ProgrammingsocketbindUDP exampleLawrence Angrave1Connection-oriented Communication ProtocolServer monitors a passive end-point whose address is known to clientsListening (passive) endpoints hav
UIllinois - CS - 241
CS 241 Spring 2008 System ProgrammingNetworking: Core ConceptsCommunicationMotivation Network Categories and ApplicationsClient-Server ModelCommunication Channels Naming of Client/Server Types of Communication and Protocols Connection-oriented
UIllinois - CS - 241
CS 241 Spring 2008 System ProgrammingThrashing & The Working SetPaging basic process implementation Frame allocation for multiple processes Thrashing Working Set (Memory-Mapped Files) Lawrence Angrave1Contents2Basic Paging Process Implement
UIllinois - CS - 440
Artificial Intelligence Lec. 21-22: First-Order InferenceUIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2008Now Until now: First-order logic basics Propositional Resolution Now: Resolution refutation for FOLResolution Theorem Pr
UIllinois - CS - 440
Artificial Intelligence Lecture #21: Resolution Theorem ProvingUIUC CS 440 / ECE 448 Professor: Eyal Amir Spring Semester 2008SAT via Generate and Test If we have a truth table of KB, then we can check that KB satisfiable by looking at it. Probl
UIllinois - CS - 440
Machine Learning: Decision TreesChapter 18.1-18.3Some material adopted from notes by Chuck Dyer1What is learning? "Learning denotes changes in a system that . enable a system to do the same task more efficiently the next time." Herbert Simon "
UIllinois - CS - 440
First Order LogicRussell and Norvig: Chapters 8 and 9CMSC421 Fall 2005Propositional logic is a weak languageHard to identify "individuals." E.g., Mary, 3 Can't directly talk about properties of individuals or relations between individuals. E.g.
UIllinois - CS - 440
CS 440 / ECE 448 Introduction to Artificial Intelligence Spring 2008Instructor: Eyal AmirTAs: Li-Lun Wang, Mark RichardsCS440 / ECE 448 Spring 2008 Lecture #6Edge detection Convert a 2D image into a set of curves Extracts salient features of
UIllinois - CS - 440
CS 440 / ECE 448 Introduction to Artificial Intelligence Spring 2008Instructor: Eyal AmirCS440 / ECE 448 Spring 2008 Lecture #5Today: Computer Vision Vision tasks Given an image or a set of images formed by a camera or another sensor (e.g., l
UIllinois - CS - 241
Classic Synchronization ProblemsProducer Consumer Reader-Writer Dining Philosophers 4 Formal Requirements for deadlockCopyright : Nahrstedt, Angrave, Campbell1Copyright : Nahrstedt, Angrave, CampbellReview - Producer Consumer using Semaphores