CSC165H1 Lecture Notes - Venn Diagram

55 views2 pages
cherryberry1035 and 38883 others unlocked
CSC165H1 Full Course Notes
3
CSC165H1 Full Course Notes
Verified Note
3 documents

Document Summary

You are given seven di erent programs a, c, e, g, i, k, m , each meant to carry out the same task, where programs. C, g, k, m are written in python and programs a, e, i are written in java: suppose that programs c, a, e, i, m are correct and programs g, k are incorrect. For each statement below, say whether the statement is true or false, and give the smallest number of programs that must be tested to verify your claim. Justify each answer. (a) all python programs are correct. (b) some correct program is written in java. (c) every java program is correct. (d) only programs written in python are incorrect. Fall 2011: let p represent the set of all programs (our universe or domain ), j represent the set of all java programs, and t represent the set of all correct programs. Dept. of computer science, university of toronto, st. george campus.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions