Homework 1: Propositional LogicC/C++

Java Python Homework 1: Propositional Logic

Due date: Friday July 28th at 11:59 PM

If you work with others (and you should!), remember to follow the collaboration policy outlined in the syllabus.     In general, you are graded on both the clarity and accuracy of your work.  Your solution should be clear enough that someone in the class who had not seen the problem before would understand it.

We sometimes describe approximately how long our explanations are. These are intended to help you understand approximately how much detail we are expecting. You are allowed to have longer explanations, but explanations significantly longer than necessary may receive deductions.

1.   Translations! [16 points]

Translate the English statements into symbolic logic. You will need to clearly define the propositions you use. Make sure the propositions you introduce are atomic (not the combination of smaller propositions).

(a)  If you are not visiting during business hours, then it is necessary to bring your Husky ID in order to enter CSE2.

Hint: remember propositions need to unambiguously assert something. In all propositions, you need a subject and verbyou may need to infer those from context, but be sure to include it explicitly in your propositions.

(b) You should code exclusively in C++ only if you love total creative freedom and painful debugging sessions.

(c)  Define a set of at most five atomic propositions.  Then, use them to translate all of these sentences about ha

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值