I was confused a little about the def q0, q1, q2, q3 sets.
Here is my attempt to define "not all", "any", "all" and "not any":
1. q0: Not all: Not all the elements belong in the set.
But does that not translate into at least one element belongs in the set?
2. q1: Any: If there exists at least one element in the set.
3. q2: All: If every element belongs in the set.
4. q3: Not any: All the elements do not belong in the set.
Any insight?
Update:
Probably should not reword "not all".
On one of the lecture slides, the difference between q0 and q1 were matched with the statements "Some female employee earns over 42 000" and "Some male employee does not earn over 42 000" respectively.
For future reference: Notice which statement means 'not'.
Sunday, September 28, 2014
Wednesday, September 17, 2014
First sLOG: Week 1 & 2
It is the middle of the second week of classes and I just had my first quiz in university ever, and it took place in the CSC165 tutorial.
In the beginning, I was slightly confused by what we would learn in the Mathematical expression and Reasoning course. We were presented a question and asked not to solve, but rather to think about how we can go about solving it. Now that I've read the name of the course a couple of times, I'm not sure why I was confused. It's pretty self-explanatory, but I suppose it's just because I've never taken a course like this before.
I had never actually taken a computer science course before, so in the beginning, I was slightly lost. Especially the part about sets and telling the program to return any/not any, all/not all values of x in one set that do/do not belong to the other set. However, after a few CSC108 classes, I began to recognize the format of python and it was easier for me to follow along.
The best thing is that I understand a lot more of what the professor is saying in class now.
I was also pretty nervous for my quiz today, but it didn't seem so bad after all. Hopefully, my instincts were correct and I did pretty well.
I guess I'll know when I get my quiz back.
In the beginning, I was slightly confused by what we would learn in the Mathematical expression and Reasoning course. We were presented a question and asked not to solve, but rather to think about how we can go about solving it. Now that I've read the name of the course a couple of times, I'm not sure why I was confused. It's pretty self-explanatory, but I suppose it's just because I've never taken a course like this before.
I had never actually taken a computer science course before, so in the beginning, I was slightly lost. Especially the part about sets and telling the program to return any/not any, all/not all values of x in one set that do/do not belong to the other set. However, after a few CSC108 classes, I began to recognize the format of python and it was easier for me to follow along.
The best thing is that I understand a lot more of what the professor is saying in class now.
I was also pretty nervous for my quiz today, but it didn't seem so bad after all. Hopefully, my instincts were correct and I did pretty well.
I guess I'll know when I get my quiz back.
Subscribe to:
Posts (Atom)