It is the most challenging homework I encountered this semester. I am asked to calculate the smallest element given a list of numbers using multi-processes. In other words, I will fork many processes in the beginning and merge the results from them step by step. The largest obstacle for me is finding a way to
Category: Sophomore (2012)
System Programming Homework 3
In this homework, I am asked to do two things: 1) finish the functionality of my main body code and 2) compare the performance between using `fork` and `vfork`. In turns out that vfrok runs slightly faster in my experiment on my computer. However, the experiment run on work station is not stable, which might
Operation System Homework 3
Students are given a small OS system called nachos, and are asked to do some changes to its OS instructions. This time, I implement the functionality of multithreading in this operation system. There are multiple tricky things I need to take care of: 1) how to deal with output to screen at the same time,
Operation System Homework 2
Students are given a small OS system called nachos, and are asked to do some changes to its OS instructions. For this homework, my teammate and I work on preserving the correct priority of threads, including replacement of readyList with SortedList. We also figure out two initial threads inside the thread queue: main thread and
Operation System Homework 1
Students are given a small OS system called nachos, and are asked to do some changes to its OS instructions. In this homework, I need to use SysPrint() to print out the calculation results from addition, subtraction, multiplication, and division operations.
Object Oriented Programming Homework 5
I am asked to create a GUI in Java to simulate three different tasks, each of which is about manipulate multiple cars on highway. This is my first time to build up a GUI, so I spent some time in reading documents. At the end, there are play/stop button and previous/next button for user to
Object Oriented Programming Homework 2
In this homework, I need to implement multiple Java objects, including Card, Checker, Computer, Player, and Casino, so that there is an interactive colorful interface in Terminal for a real player to play card games with computers. During the game, all money calculations are done automatically.
Information Retrieval Final Project
In this project, we want to improve the interface for Google image search, so that the similar results can be clustered in one category but not scatter all around. For example, if one searches “apple”, products from “Apple.com” should be differed from a real apple. We not only invent a clustering algorithm but also design
Information Retrieval Homework 2
I am asked to implement PageRank algorithm from scratch. On top of that, I also implement LexRank for comparison. Model results with different thresholds are attached in the report.
Information Retrieval Homework 1
In this homework, I need to rank a set of documents with highest similarity to given query. The first challenge I face is to find out a good XML parser to preprocess given XML files. Later, I tried many different TF-IDF combinations to further improve the matching results.
Recent Comments