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,
Month: February 2021
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.
Digital Circuit Lab Experiment 3 (Final Project)
Our task is to implement a real calculator on FPGA. We not only need to consider the input and output schemes, but also implement all components in a real CPU, including ALU unit. This project is extremely challenging to us, since the required knowledge far exceeds what we have learned in class. It turns out
Continue Reading “Digital Circuit Lab Experiment 3 (Final Project)”
Digital Circuit Lab Experiment 2
Find out the port naming mapping. Implement several functionalities on FPGA and find out several ways to optimize its performance.
Recent Comments