====== CMPU-101 Labs ====== ===== Spring 2013 ===== ==== Lab 11 ==== /* ==Solutions available== */ * Tue, Apr. 30th and Fri, May 3rd. * To start, create a new subdirectory in your cs101/labs directory by typing the following commands at the linux prompt:\\ **cd cs101** \\ **cd labs** \\ **mkdir lab11** * {{courses:cs101-201301:labs:lab11.txt|Text version of starter file for lab 11}} Includes directions (open in a browser). * {{courses:cs101-201301:labs:lab11.rkt|Right-click here to download lab11.rkt starter file}} \\ Save the lab11.rkt file in your cs101/labs/lab11 directory and open it with DrRacket. //(the most recent versions of lab11.rkt and lab11.txt were posted on 5/1/13, at 8 am)//\\ * When you are finished, open a terminal window, navigate to your labs subdirectory and type **submit101 lab11 lab11**. Make sure you are checked off by a coach or your professor before logging off. ==== Lab 10 ==== /* ==Solutions available== */ * Tue, Apr. 23rd and Fri, Apr. 26th. * To start, create a new subdirectory in your cs101/labs directory by typing the following commands at the linux prompt:\\ **cd cs101** \\ **cd labs** \\ **mkdir lab10** * {{courses:cs101-201301:labs:lab10.txt|Text version of starter file for lab 10}} Includes directions (open in a browser). * {{courses:cs101-201301:labs:lab10.rkt|Right-click here to download lab10.rkt starter file}} \\ Save the lab10.rkt file in your cs101/labs/lab10 directory and open it with DrRacket. //(the most recent versions of lab10.rkt and lab10.txt were posted on 4/23/13, at 6:45 pm)//\\ * When you are finished, open a terminal window, navigate to your labs subdirectory and type **submit101 lab10 lab10**. Make sure you are checked off by a coach or your professor before logging off. ==== Lab 9 ==== /* ==Solutions available== */ * Tue, Apr. 16th and Fri, Apr. 19th. * To start, create a new subdirectory in your cs101/labs directory by typing the following commands at the linux prompt:\\ **cd cs101** \\ **cd labs** \\ **mkdir lab9** * {{courses:cs101-201301:labs:lab9.txt|Text version of starter file for lab 9}} Includes directions (open in a browser). * {{courses:cs101-201301:labs:lab9.rkt|Right-click here to download lab9.rkt starter file}} \\ Save the lab9.rkt file in your cs101/labs/lab9 directory and open it with DrRacket. //(the most recent versions of lab9.rkt and lab9.txt were posted on 4/16/13, at 2:50pm)//\\ * When you are finished, open a terminal window, navigate to your labs subdirectory and type **submit101 lab9 lab9**. Make sure you are checked off by a coach or your professor before logging off. ==== Lab 8 ==== /* ==Solutions available== */ * Tue, Apr. 9th and Fri, Apr. 12th. * To start, create a new subdirectory in your cs101/labs directory by typing the following commands at the linux prompt:\\ **cd cs101** \\ **cd labs** \\ **mkdir lab8** * {{courses:cs101-201301:labs:lab8.txt|Text version of starter file for lab 8}} Includes directions (open in a browser). * {{courses:cs101-201301:labs:lab8.rkt|Right-click here to download lab8.rkt starter file}} \\ Save the lab8.rkt file in your cs101/labs/lab8 directory and open it with DrRacket. //(the most recent versions of lab8.rkt and lab8.txt were posted on 4/8/13, at 8:39 pm)//\\ * When you are finished, open a terminal window, navigate to your labs subdirectory and type **submit101 lab8 lab8**. Make sure you are checked off by a coach or your professor before logging off. ==== Lab 7 ==== /* ==Solutions available== */ * Tue, Apr. 2nd and Fri, Apr. 5th. * To start, create a new subdirectory in your cs101/labs directory by typing the following commands at the linux prompt:\\ **cd cs101** \\ **cd labs** \\ **mkdir lab7** * {{courses:cs101-201301:labs:lab7.txt|Text version of starter file for lab 7}} Includes directions (open in a browser). * {{courses:cs101-201301:labs:lab7.rkt|Right-click here to download lab7.rkt starter file}} \\ Save the lab7.rkt file in your cs101/labs/lab7 directory and open it with DrRacket. \\ * When you are finished, open a terminal window, navigate to your labs subdirectory and type **submit101 lab7 lab7**. Make sure you are checked off by a coach or your professor before logging off. ==== Lab 6 ==== /* ==Solutions available== */ * Tue, Mar. 26th and Fri, Mar. 29th. * To start, create a new subdirectory in your cs101/labs directory by typing the following commands at the linux prompt:\\ **cd cs101** \\ **cd labs** \\ **mkdir lab6** * {{courses:cs101-201301:labs:lab6.txt|Text version of starter file for lab 6}} Includes directions (open in a browser). * {{courses:cs101-201301:labs:lab6.rkt|Right-click here to download lab6.rkt starter file}} \\ Save the lab6.rkt file in your cs101/labs/lab6 directory and open it with DrRacket. \\ * When you are finished, open a terminal window, navigate to your labs subdirectory and type **submit101 lab6 lab6**. Make sure you are checked off by a coach or your professor before logging off. ==== Lab 5 ==== /* ==Solutions available== */ * Fri, Mar. 1st and Tue, Mar. 5th. * To start, create a new subdirectory in your cs101/labs directory by typing the following commands at the linux prompt:\\ **cd cs101** \\ **cd labs** \\ **mkdir lab5** * {{courses:cs101-201301:labs:lab5inst.txt|Directions for lab 5}} (open in a browser). * {{courses:cs101-201301:labs:lab5.rkt|Right-click here to download lab5.rkt starter file}} \\ {{courses:cs101-201301:labs:lab5.txt|Click here to see the lab5.rkt starter file as a text file}} \\ Save the lab5.rkt file in your cs101/labs/lab5 directory and open it with DrRacket. \\ * When you are finished, open a terminal window, navigate to your labs subdirectory and type **submit101 lab5 lab5**. ==== Lab 4 ==== /* ==Solutions available== */ * Fri, Feb. 15th and Tue, Feb. 19th; Writing function that do recursion over numbers. * To start, create a new subdirectory in your cs101/labs directory by typing the following commands at the linux prompt:\\ **cd cs101** \\ **cd labs** \\ **mkdir lab4** * {{courses:cs101-201301:labs:lab4.rkt|Right-click here to download lab4.rkt}} \\ {{courses:cs101-201301:labs:lab4.txt|Click here to see the lab4.rkt file as a text file}} \\ Files ending in ".rkt" cannot be read with a text editor or opened in a browser. They must be opened from within DrRacket. So save the lab4.rkt file in your cs101/labs/lab4 directory and open it with DrRacket. \\ * When you are finished, open a terminal window, navigate to your labs subdirectory and type **submit101 lab4 lab4**. ==== Lab 3 ==== ==Solutions available== * Fri, Feb. 8th and Tue, Feb. 12th; Writing functions that make decisions. * To start, create a new subdirectory in your cs101/labs directory by typing the following commands at the linux prompt:\\ **cd cs101** \\ **cd labs** \\ **mkdir lab3** * {{courses:cs101-201301:labs:lab3.rkt|Right-click here to download lab3.rkt}} \\ {{courses:cs101-201301:labs:lab3.txt|Click here to see the lab3.rkt file as a text file}} \\ Files ending in ".rkt" cannot be read with a text editor or opened in a browser. They must be opened from within DrRacket. So save the lab3.rkt file in your cs101/labs/lab3 directory and open it with DrRacket. \\ * When you are finished, open a terminal window, navigate to your labs subdirectory and type **submit101 lab3 lab3**. * {{courses:cs101-201301:labs:lab3sol.rkt|lab 3 solutions (.rkt)}} \\ {{courses:cs101-201301:labs:lab3sol.txt|lab 3 solutions (.txt)}} ==== Lab 2 ==== ==Solutions available== * Thu, Jan. 31st and Fri, Feb. 1st; Writing functions as unnamed lambda expressions and with defined names. * To start, create a new subdirectory in your cs101/labs directory by typing the following commands at the linux prompt:\\ **cd cs101** \\ **cd labs** \\ **mkdir lab2** * {{courses:cs101-201301:labs:lab2.rkt|Right-click here to download lab2.rkt}} \\ {{courses:cs101-201301:labs:lab2.txt|Click here to see the lab2.rkt file as a text file}} \\ Files ending in ".rkt" cannot be read with a text editor or opened in a browser. They must be opened from within DrRacket. So save the lab2.rkt file in your cs101/labs/lab2 directory and open it with DrRacket. * {{courses:cs101-201301:labs:lab2sol.rkt|lab 2 solutions (.rkt)}} \\ {{courses:cs101-201301:labs:lab2sol.txt|lab 2 solutions (.txt)}} ==== Lab 1 ==== /* ==Solutions available== */ * Fri, Jan. 25th and Tue, Jan. 29th; Using DrRacket with your new CS Linux account. \\ {{courses:cs101-201301:labs:lab1inst.txt|Click here to view the pre-lab instructions (lab1inst.txt)}} \\ {{courses:cs101-201301:labs:lab1.rkt|Right-click here to download lab1.rkt}} \\ {{courses:cs101-201301:labs:lab1.txt|Click here to see the lab1.rkt file as a text file}} \\ Files ending in ".rkt" cannot be read with a text editor or opened in a browser. They must be opened from within DrRacket. So save the lab1.rkt file in your cs101/labs/lab1 directory and open it with DrRacket as described in the lab1inst.txt file. /* \\ {{courses:cs101-201203:labs:lab1sol.rkt|lab 1 solutions (.rkt)}}{{courses:cs101-201203:labs:lab1sol.txt|lab 1 solutions (.txt)}} *