Skip to content

DavisPL-Teaching/261-hw3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECS 261 Homework 3: Verification in Dafny

Due date: Friday, May 16

Getting started

For this homework, you will need to have a machine with VSCode and the Dafny VSCode extension installed. You should have installed these as part of HW0.

This is a programming assignment, similar to HW1. There are a few parts:

  • Part 1 is a series of mini exercises.
  • Part 2 is about classes and class invariants.
  • Part 3 is about writing verified code with loop invariants.

As with HW1-HW2, the assignment will be submitted through Gradescope.

To continue, open and edit the files part1.dfy, part2.dfy, and part3.dfy.

Getting help

If you get stuck, selected hints for some problems are in the file hints.md.

I have always found the Dafny tutorial and Dafny cheatsheet to be super helpful.

Beyond these: please continue to ask questions on Piazza and drop by office hours!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages