It's monday morning, and we chilling, okey not really. you know when you wake up and sit by the bed and just have a blank stare into oblivion. I've been awake for almost an hour and that blank stare is very much still present. I originaly planned to be in school at 8, but i got to bed too late yesterday, so i changed the plan slightly. I will still study from early, but from home, i decided yesterday how to set up my studies, but forgot it now that i woke up...
yesterday was a pretty chill day, did some studying (will revise what I did after this paragraph), worked out and then went home to AM. She had made dinner and I went through what happened at the housewarming party. *NERD ALERT* i worked on the second lab of the computer hardware science course. the first thing i was supposed to do was write a function that could determine whether or not an integer is a prime number or not. so if the integer is smaller than 2 its not a prime, if its larger than two and devisable in with any number it is not a prime (used for loop then an if loop with the condition "n%i == 0"). the second assignment i were supposed to find prime number but using an ancient algorithm called sieve of erotosthones. it checks whether or not a number is a prime by taking the first integer in a series and mark all its multiples as non prime, and then goes to the next unmarked integer. this was implemented by making a boolean array, setting every element to true, and then multiplying and marking the primes with this nestled loop:
and then just printing every indexed number thats true. (i found the solution online hehe)
Today I have two classes, one going through exam questions and one math lecture. no one cooked dinner at home yesterday, so i'm not sure what i'll eat... i want to buy thai food, but the time it takes + cost makes me reluctant...
oh i will also do mma in the evening hehe.
Comments
Displaying 1 of 1 comments ( View all | Add Comment )
ratlover<3
did the blank stare into the wall dissipate as the day went on? what would you rate the day 1-10?
Report Comment
the blank stare disappeared at around 10 id say. the day overall was a strong 7
by Mali; ; Report