Name: Stu Dent
CDF login name: c3dentst
Computer Science courses
This term I am taking the following computer science courses:
1. CSC148 Introduction to Computer Science taught by Danny Heap.
2. CSC165 Mathematical Expression and Reasoning for Computer Sc
CSC165, Summer 2014
Assignment 5
Solutions
The goal of this assignment is for you to keep practicing writing proofs. Our goal this semester is for
you to learn to write proofs by the end of the course, and the only way to learn to write proofs is through
Fall 2013
Term Test 2 / L5101 Solutions
Question 1.
CSC 165 H1
[8 marks]
Part (a) [2 marks]
the positive integer c is a prime number c N+
c = 1 n N, [(n|c) (n = 1) (n = c)]
Part (b) [2 marks]
(123.2)4 = 1 (4)2 + 2 (4)1 + 3 (4)0 + 2 (4)1
27.5
= 16 + 8 + 3
CSC 165 H1F
Homework Exercise # 2 Sample Solutions
Fall 2013
Topic: A start at using logical notation.
1. Recall that to:
(a) to show that a universal claim is true, you need to show that there is no counter-example
(b) to show that a universal claim is f
Fall 2013
CSC 165 H1
Term Test 2 / L5101
Duration: 60 minutes (7:15pm 8:15pm)
Aids Allowed: none
Student Number:
Family Name(s):
PY
Given Name(s):
CO
Do not turn this page until you have received the signal to start.
In the meantime, please ll out the ide
Fall 2013
CSC 165 H1
Term Test 2 / L0101
Duration: 60 minutes (7:15pm 8:15pm)
Aids Allowed: none
Student Number:
Family Name(s):
PY
Given Name(s):
CO
Do not turn this page until you have received the signal to start.
In the meantime, please ll out the ide