Labs
1
.
Work with a partner to collaborate using GitHub. Both students should create GitHub accounts, which are free. Student A creates a repository and adds Student B as a collaborator. B pulls the repo, makes changes, and pushes them. A pulls B’s changes, makes some additional changes, and pushes them. B pulls again and sees A’s changes reflected.
2
.
Set up a Git server and client. Install and configure the Git server on your computer; you may need to consult Internet resources. Then, use the command line
git
client tool to create a repository, add some files to it, and push the files. Confirm that you can pull the repo and view your changes from a different computer or in a different directory.
3
.
Write two versions of a program that takes as input a 2-D array of integers and increment each element by 1. The first version accesses the array row-wise. The second version accesses the array column-wise. Which version is faster? Why?
4
.
Experiment with the QEMU emulator to emulate the latest Intel processor and run a toy kernel using one of the following: