The following questions are
for me to get to know each of you a bit better,
and understand the class's background.
What is your preferred name (first and last)?
Which row,column are you sitting in?
(We'll count off together.)
Which of the following classes have you taken (at RU or elsewhere)?:
ITEC320 / Procedural Programming
ITEC335 / Software Testing
ITEC345 / Security
ITEC350 / Networking I
T / F : Are you aware that there are already three posts on this class's D2L discussion-board,
and that you can get notifications of new posts by email or text?
Name a class of things you like (or, dislike):
e.g. cars, bands, books, countries, etc..
Now, name a favorite (or, least-favorite) instance of that class:
Let
f(n) = 2n+1, and
g(n) = n².
For example, f(7) = 2·7+1 = 15,
and g(7) = 7² = 49.
What is f(3)?
What is f(3)+1?
What is f(3+1)?
What is f(3)+f(1)?
What is g(2)?
What is f(g(2))?
What is g(f(2))?
What is f(g(2)+1)?
A unit test for a function
must include both
the function's result
for an input, as well as
the function's .
When writing unit tests for a function with integer arguments,
be sure to consider trivial inputs,
such as
and
.