Skip to content

Codes for my college programming.

License

Notifications You must be signed in to change notification settings

soobinrho/college-programming

Repository files navigation


Coursework Examples



Operating Systems, Spring 2023 [Example: Virtual Memory Simulator]

Elements of operating systems. In this class, we referenced two textbooks: Operating Systems and Middleware: Supporting Controlled Interaction by Max Hailperin (https://gustavus.edu/mcs/max/os-book/) and The Linux Command Line by William Shotts. (https://linuxcommand.org/tlcl.php)

For one of my class lab sessions, I had to write a virtual memory simulator in C, with support for such functions as int physAddr = MMU(virtAddr); which stands for Memory Management Unit. (MMU)


Also, I did a small research on Which Infrastructure / OS for Our Next Startup?



Intro to Geographic Information Systems (GIS), Spring 2023 [Example: GIS Porfolio]

"A GIS is a computer-based system to aid in the collection, maintenance, storage, analysis, output, and distribution of spatial data and information." (Professor Sarah Olimb, 2023) We used ArcGIS in this class.


C++ Programming, Fall 2022 [Final Project Example]

Foundations of C++ programming. In my final project, I wrote an STL-like container that can read or write images in either binary or ASCII data formats, both conforming to the PGM specifications as dictated by the Netpbm open-source graphics library.


Calculus II, Summer 2022 [Writeup Example]

A course on differentiation, integration, linear systems, infinite integrals, and infinite series.


Computer Science II, Summer 2022 [Java Example]

A course on basic programming with Java.


Computer Science I, Summer 2022 [Python Jupyter Notebook Example]

A course on basic programming with Python.

# When I was writing a paper for my Calculus II class,
# I happened to be in a situation where
# I had to draw a right-angle triangle
# to demonstrate how trigonometric substitution
# for integration works. Using Matplotlib and seaborn,
# I was finally able to draw a right-angle triangle,
# but it took me around five hours to do that.

# That's why I chose to write this
# `Graph_Right_Angle_Triangle` class. I wanted
# to write a wrapper for Matplotlib and seaborn
# such that I can draw a right-angle triangle
# easily and quickly, and that's what I did.

# Making an instance and calling .show() to graph the triangle.
triangle_1 = Graph_Right_Angle_Trinalge(len_adjacent=12, len_opposite=12)
triangle_1.show()

# Graphing another instance.
triangle_2 = Graph_Right_Angle_Trinalge(len_adjacent=12, len_opposite=7)
triangle_2.show()

output-3-1 output-3-2