

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information about assignment 7 for the cs686 course at the university of virginia, focusing on dependable computing. Students are required to complete individual reading assignments and activities, including summarizing readings and determining loop invariants. Group projects involve designing test harnesses and discussing system software dependencies.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Page 1
Department of Computer Science University of Virginia
Please type the Reading and Individual Activity parts of the assignment single spaced, 12pt type with 1” margins, and indented paragraphs with no space between paragraphs. Be sure to include a face page with course number and course name, assignment number, date, and your name. For the project part, follow the project document guidelines.
Complete the readings from assignment 6. In the e-mail I sent out, I deferred several items from the list, so the list for this assignment should be: (i) Barnes chapter 2. Please work with the rest of your group to schedule the use of your group’s copy of the book. (ii) Storey chapter 12. (iii) Paper 23 on the class Web site. Prepare a half-page summary. Turn in your summary.
As with the reading, two questions were deferred from assignment 6.
i, max : integer; values : array[1..100] of integer; i := 2; max := values[1]; while i <= 100 loop if max < values[i] then max := values[i]; i := i + 1; end loop Determine the loop invariant. State the invariant as a SPARK assertion.
Page 2
Department of Computer Science University of Virginia
As I mentioned in class, the project concept that I had is probably a bit too elaborate for our pur- poses. The goal, of course, is to maximize learning and minimize pain. With that in mind, I con- clude that there is not a lot to be learned from a firedrill approach to completing an implementation. In this and the next assignment, we will work on topics more likely to yield edu- cational value.