Monday, December 21, 2015

Paging & Segmentation

This is probably the easiest lesson among the ones taught to us by sir Justin. I find it interesting that it's alsmot just like doing matching type and fill in the blanks simultaneously. It's a fresh experience and probably something I'd rather do since it's very easy to answer. It's even to the point that Kenneth sorta gets how it works and isn't having as much a hard time as like the other lessons.

Memory Management MFT MVT

It was interesting to learn about memory management and I agree that Process Scheduling was needed to be learnt before this one. It's very similar to process scheduling and because we learned it first, this lesson was that much easier to understand and execute once the lesson was taught. Worst fit is still a big hassle to do though since it's like you're deliberately making things worse for yourself.

MVT without compaction is also hard to do but most of the time, worst fit is still more of a hassle to do for me. Given a choice, I'd rather do MVT without compaction over worst fit.

Process Scheduling Round Robin HRRN

The topic I'm talking about this time is what I think is the hardest algorithm for process scheduling and the most time-consuming algorithm which are Highest Response Ratio Next(HRRN) and Round Robin(RR)
I  say HRRN is the hardest and probably the most hassle algorithm to do because it's the only one where you actually have to compute something to determine what process executes. All the other algorithms doesn't require any calculation at all, Round Robin is the most time consuming because of all the ticks that you need to do and on top of that keeping track of the ready queue and the burst time of all the processes. It's especially much more time consuming when the time per tick in Round Robin is low. Making a careless mistake in Round Robin can change what should be a correct answer into a wrong one so sometimes it's best to be careful and keep proper track than regret it afterwards.

Process Scheduling First Come First Served & Shortest Job First

So, late posts and hopefully this and all the posts afterwards will still count towards my grade in OPESYS1 since I've obviously overshot the deadline for it but yeah, if not, I'll just post it anyway.

One of the topics we discussed in OPESYS1 this term is process scheduling following different algorithms. First algorithms we discussed and were taught were First Come First Served(FCFS) which, you can garner from its name is pretty straightforward, and Shortest Job First. Shortest Job First(SJF) is actually pretty interesting if you think about it and it's further divided into non-preemptive and preemptive. I say SJF is pretty interesting in that it's actually impossible to implement realistically since as was told multiple times to us by sir Justin, it's a theoretical algorithm and is impossible to happen from a realistic point-of-view since you wouldn't know how long you plan to use a specific process from the start. From what I observed from my classmates and my group-mates, the preemptive version of the SJF is one of the harder algorithms to get the gist of and understand. I think the name is pretty self explanatory though and that sir Justin did a good job of explaining and teaching it. I guess it's just that each person has different learning curves for different things.

If I recall correctly, Davvid was absent for the SJF preemptive lesson so when group-work came, aside from working on our group's paper, I was teaching and explaining bit by bit while working to both him and Kenneth. Well, due to that though I got decent practice for multi-tasking and solving these types of problems as fast and as efficient as I possibly can. I don't blame Kenneth since I understand that there are really just times where you have a hard time understanding a particular subject, as for Davvid, he does what he can and him asking questions and asking to be taught is a good way to better the knowledge that I already know by teaching it to someone else.

Friday, October 23, 2015

After Quiz

Well, that sucks. A few points shy from passing the quiz before midterms for OPESYS1. I thought I would do better but that day when I came in late due to not checking if there was a post in fb the day before in the groups. I find it kinda ironic that me being not as active in fb and checking it and stuff is actually harming my grade in a subject. I particularly remember asking sir about the topic that they talked about when I was late after class but I guess him teaching me then didn't stick as much as when he discusses in class. I remember 2 or 3 questions in the 3 point per number part which had it and I only got 1 correct and it may have been what could've given me a passing grade in that quiz.
I guess I should count myself lucky at least that I was only a few point shy away from passing instead of flunking the quiz but I always think that there are 3 times when a student gets disappointed in a test which are a low grade, an almost passing grade, and an almost perfect grade. I was pleasantly surprised that sir let us keep the questionnaires as reviewers for later on though, most professors neglect simple things like those which can immensely help students. It's a bit disappointing that we didn't get a chance to do the exercise using the command-prompt like thing yet but I guess at least that's something to look forward to. Anyway, aside from all those and me being envious that sir will actually go to japan for 2 weeks, I'm doing quite fine and hopefully it will keep that way up until this term ends.

Sunday, October 4, 2015

Better remember to double/triple/quadruple check next time

Well, so far, first two weeks of class on OPESYS1 under sir Pineda was okay. It was interesting to learn from his assigned group assignment the difference between multitasking, multiprogramming and multiprocessing.

I regret a bit not listening attentively when he announced regarding the make-up class though. Lapse of judgment since I thought I already knew the time since I checked it two nights before and since there was still my next class to go to. That's why when my second class for the day was over and I thought I had a 2 hour break in between the class and the make-up class I took my sweet time eating my lunch and relaxing.

I began to become uneasy around 30 minutes to 3:30 since at that time, I particularly remembered that the last time I checked, there was only the schedule and there wasn't a room written where the make-up class would take place and I didn't notice if the room was said when sir Pineda was talking about it. So with that dilemma, I started to try to access facebook in the school computers to check the group knowing that the school most probably has blocked it but still hoping it would go through by a fluke or something since I particularly remember one time facebook actually loaded when I tried on one of the school's computers. I tried that until a few minutes before the "class" was happening and I decided it would be a waste of time trying to load facebook if it's blocked and since i'm already out of time, it would be better to just try to find where the class is by trying to check if I can either find my classmates or sir Pineda in a room. I tried that for around 30 minutes going through each floor up to the 8th floor at least once by walking around and looking at the windows. I actually saw some of my classmates but it turns out that they were in another class and I remembered that when we were scheduling the advanced classes they most likely had classes during that time so I didn't bother thinking something was wrong and just went out and closed the door when I saw that the prof they had was different.

It being around 4 o' clock already and still having no luck, I decided to try my luck one last time and try to find a way to access fb in school so I can find the room assignment. That being the case, I already knew that school computers would be blocked and so I went back to use the computers to see if I could find an alternate way to access fb that would work. I found one that had like 9 ways to access fb with a different method but all of those failed so I stopped a moment to think. It was already around 4:10 to 4:20  by that time and I thought, since the school computers can't access fb, It popped in my head like a flash of inspiration, I should try my devices to access fb through wi-fi. So I went to the library to connect my devices to the wi-fi to check the groups and I finally managed to find the room assignment for the make-up class. I went there to check it quick and found that it wasn't the class and didn't think about it anymore and went to our family business in makati. While I was there, I had a thought and checked logged in my facebook and checked the post again and took a decent look at the post. It turns out, that I mistook 13:30 as 3:30 and 15:30 as 5:30 since I already had in my mind that our advanced classes are going to take place on tuesdays at that time. In my defense though, the post being in facebook and all, I don't and didn't expect people to post or chat to me there using army time and it's been a long while since I used army time since even though in benilde the classes schedules and in the enrollment form it's written in army time, when I'm talking to people or with my friends we don't use it and refer to it normally. Also, I thought of this because of this incident, in school it seems it's high priority to have a laptop or a tablet if you want to get access to fb or it would be nice if professors who have fb groups use the moodle like as a backup or something. probably post announcements or stuff in a notepad or document file and for schedules like make-up classes and advanced classes and stuff like those, use the moodle calendar. I'm not sure how to use that but I think it would be more convenient to access in school since accessing the moodle in school is a lot easier than the other alternatives. Next time though, just like my post title says, I need to remember that for important stuff like make-up classes and advanced classes and time related stuff, I need to check it more than once and make sure that the info that I have is right.