Friday, June 17, 2011

Last Day of School ... before exams

Today, I was quite tensed as I wasn’t able to download a software to convert to PDF. I was able to fix my error during first period when we had a science party. When we entered the classroom, we were given instructions to post everything on our website and the culminating activity directory. We received our yearbooks in the library and were signing each others’ yearbooks rapidly. We listened to all the speeches and some of them were well planned. I got a shock five minutes before the period was about to end. I wasn’t able to find my two classes filled with close to 900 lines of code. It just disappeared. I had no idea what to do. I saved everything on my hardware and I hoped to find it at home. I was unsuccessful so I used an older version and edited the required parts. Thanks to Mr.Arkin, I was a little more relieved for extra time to post my files. I appreciate Mr.Arkin’s help throughout the semester to me individually. I definitely learned a lot and all of this knowledge will be useful to me in the future or should I say near future for the exam on Tuesday. I was pleased to have him as my teacher once again.

Thursday, June 16, 2011

The Penultimate Day

Today, I sent my advertisement to Staples. I have completed my user manual and testing report, however I still have one error regarding my applet class. I needed some help with the error so I tried searching the Java API on the internet. I couldn’t really figure out my mistake. I was depending on Karl to help me as he was the only other person who worked with Applets, but I couldn't contact him. My flow chart was done manually and I scanned them as individual JPEG files. I am not sure how to combine them as one single PDF file. I hope to figure out a solution to this problem. I am excited for the webby award speeches as I have created one just now. I also can’t believe that tomorrow is the last day of school. We are getting yearbooks which is a great way of remembering memories.

Wednesday, June 15, 2011

3 days left to go

The project is almost coming to an end. I am continuing to write code for my Applet Class to show the graph of the parabola. It is quite long as the paint method draws everything line by line. I still need to complete the Javadoc for my Quadratic Solver class. I am in the process of completing my user manual, testing report and flow chart. I still need to send my laminated advertisement to Staples Print & Copy center. Not to mention that exams are less than a week away. I started studying for all my courses but I feel that I will have leisure time if I complete my culminating activity for Computer Science. My goal is to have everything ready by tomorrow.

Tuesday, June 14, 2011

Preparation for the Exam

Today, we were notified about a new account to upload our major projects. We were given our directories, the username and password. I also found out that I was classified under the Apps project as I was in the advanced crew. When we entered the class, scantron cards were distributed and we were asked to write our roll numbers at the top. I thought that we were going to have a test instead so I was a little tensed. We were given the format of the exam, a exam review list of topics, and our seat numbers. I was relieved to find out that the exam consisted of only java. No advanced topics will be on the exam. We were asked to indicate output statements clearly and a watch is definitely necessary. Only thing left to do is study!

Monday, June 13, 2011

Checklist for Major Project

I created a checklist for myself of all the things that I need to have completed to hand in such as the user manual, testing report, laminated document, code and the Declaration of Authorship. I continued working on my major project during class however running the main method takes a long time. I feel that this occurs due to an infinite loop in my code. I tried fixing my loop conditions but it doesn’t seem like the problem was fixed so I took a different approach to creating the code. Hopefully, I get it fixed soon because the deadline is nearing.

Friday, June 10, 2011

repaint() or update(Graphics g)

I went through the time consuming process of completing my paint method. I did not know how to call the paint method. I tried with no arguments but it required them. I tried to create an update method to just call the repaint method. It still did not work. I finally tried to call the QuadraticSolver method in the Applet class. It worked and now my applet combined with my other methods was working. However, I still have my other components to complete such as the Javadoc.

Thursday, June 9, 2011

paint(Graphics g)

Today, I created my paint method which involved extensive use of Graphics. I used drawString, fillRect, drawLine, Format font and many others. I had to draw lines for the x-axis, y-axis, the vertex and the actual curve itself. There were conditions to check in the paint method as well. I would say that this was hectic but I hope I will be able to finish tomorrow.