% Week 10 Notes for CST8207 - Winter 2012 % Ian! D. Allen - idallen@idallen.ca - www.idallen.com % Winter 2012 - January to April 2012 Tests and Exams =============== * The Final Exam date is posted on the [Course Home Page]. * Tests are short answer and multiple choice. * For full mark credit, read the [Test Instructions] for important directions on how to enter your answers on the mark-sense forms. * Each test covers material on the preceding assignments and Weekly Notes, with emphasis on material in the assignments. The Final Exam includes some material from the Midterm tests. * Basic calculators are permitted for all tests and exams but will not be needed. (No phones or PDA devices.) * Final Exam: Monday April 23 11h30 (11:30am to 2pm) - CA105(A,B,C). A practice question set will be available in Week 14. Midterm #2 Review ----------------- * See the [most difficult questions (PDF)](midterm2.pdf) ### Midterm #2 Test Scores (unadjusted) ### 97.6 92.9 90.5 85.7 83.3 83.3 81 81 78.6 76.2 73.8 73.8 73.8 73.1 71.4 71.4 69 68.6 66.7 66.3 63.6 61.9 59.5 59.5 59.5 58.9 57.1 57.1 56 52.4 52.4 50.8 50 50 50 49.1 48 47.6 47.6 47.6 46.7 45.7 42.9 42.9 42.9 41.6 41.1 40.5 40.5 40.5 38.1 38.1 37.3 35.7 35.7 34.3 34.3 33.3 31.3 31 30.6 28.6 28.3 28.3 28 27.7 26.2 25.9 25.7 25.4 23.8 22.9 21.4 21.4 20.6 16.7 16.7 16.7 16.5 11.7 ### Midterm #2 Test Scores (adjusted) ### * Marked out of 32 instead of out of 42 - ten bonus questions. 100 100 100 100 100 100 100 100 100 100 96.9 96.9 96.9 95.9 93.8 93.8 90.6 90 87.5 87 83.5 81.2 78.1 78.1 78.1 77.3 75 75 73.5 68.8 68.8 66.7 65.6 65.6 65.6 64.5 63 62.5 62.5 62.5 61.2 60 56.2 56.2 56.2 54.6 54 53.1 53.1 53.1 50 50 49 46.9 46.9 45 45 43.8 41.1 40.6 40.2 37.5 37.1 37.1 36.8 36.4 34.4 34 33.7 33.3 31.2 30 28.1 28.1 27 21.9 21.9 21.9 21.7 15.3 * Read All The Words in the [Test Instructions](000_test_instructions.html) * Number of people who ran over-time: 11 out of 80 * Number of people who didn't spell their own name correctly: 9 * Number of people who didn't enter a correct test version on this test: 27 * Number of people who didn't enter a correct test version on both tests: 12 ### What isn't working? ### * Quiz 1 item: I ran out of time on the test. 1. Yes. 2. No. * Quiz 2 item: I actually do know the material, but: 1. this test didn't test me on the things I knew well 2. I don't do well on any tests 3. I didn't expect these kinds of questions 4. The questions were tricky. 5. I didn't study enough. * Quiz 3 item: I had seen most of these questions on the practice test. 1. Yes. 2. No. ![Studying](data/studying.jpg "Studying")\ Lecture Notes for This Week =========================== From the Class Notes link on the Course Home Page ------------------------------------------------- * [Test Instructions](000_test_instructions.html) - Important directions on how to enter your answers on the mark-sense forms. * This is [Your Brain on the Internet](005_this_is_your_brain.txt) * [Frequently Asked Questions](007_freqently_asked_questions.html) * [How to report Problems](008_how_to_report_problems.txt) * [Installing VMware Tools](010_vmware_tools.html) * [Why Learn the Unix Shells?](100_why_shell.txt) * [Command Line vs. GUI: Power Users need more than GUI](110_command_line_vs_gui.txt) * [The Unix/Linux Shell](120_shell_basics.html) * [Searching for items in the Unix manual pages (RTFM)](130_man_page_RTFM.txt) * [Options and Arguments on Unix Command Lines](140_arguments_and_options.txt) * [Unix/Linux Pathnames (absolute, relative, dot, dot dot)](150_pathnames.txt) * [Hard links and Unix file system nodes (inodes)](200_links_and_inodes.html) * [Unix/Linux File System - (correct explanation)](210_file_system.txt) * [Directories: ROOT, /root, HOME, /home, and current](220_home_and_HOME.txt) * [Searching for and finding files by name, size, etc.](250_finding_files.txt) * [GLOB patterns (wildcard pathname matching)](260_glob_patterns.txt) * [Unix Shell I/O Redirection (including Pipes)](270_redirection.txt) * [Unix/Linux Shell Command Line Quoting Mechanisms](280_quotes.txt) * [The VI (VIM) Text Editor](300_vi_text_editor.html) * [Unix Modes and Permissions](400_permissions.txt) * [Umask and Permissions](410_umask.txt) * [Symbolic Links - Soft Links - Symlinks](420_symbolic_links.txt) * [Shell Variables - Basics (non-scripting)](430_shell_variables.txt) * [Shell search PATH - finding and running commands](450_search_path.txt) * [Setting up Startup Files: .bash_profile and .bashrc](470_startup_files.txt) * [Create a New VMware Virtual Hard Disk](510_create_vmware_disk.pdf) * [Unix/Linux Command List (cumulative)](900_unix_command_list.txt) ### Assignments and Labs ### * See your [Blackboard] ToDo list for all assignment due dates * Do [Lab #07] - Linux User and Group Management * To get your Lab marks, complete your Self-Mark surveys on Blackboard. From the Classroom Whiteboard/Chalkboard ---------------------------------------- ![Ubuntu-Saurus ALLEN](data/ubuntu_saurus_allen.jpg "Read All The Words")\ * Your in-class notes go here. - If you're not actively taking notes in class, why are you here? - Assignments must be [Right the First Time](week01notes.html#right-the-first-time) * Send me video from the Rap. My wife wants to see me. - Hey! I've **still** not received any video. Anyone out there? * Dates for tests: - Final Exam on Monday April 23. Do the practice tests first. The Final Exam includes all material. * Entitlement: * See Blackboard for your [Course Evaluation Survey](https://coursefeedback.algonquincollege.com/etw/ets/et.asp?nxappid=WCQ&nxmid=start) * [Midterm Review](week10notes.html#midterm-2-review) ### Linux in the World ### * [File System "Porn"](http://xkcd.com/981/) * Unix-based operating systems [serve 63.6 percent of web services](http://www.wired.com/wiredenterprise/2012/03/mark-shuttleworth-ubuntu/) * [Linux servers keep growing, Windows & Unix keep shrinking](http://www.zdnet.com/blog/open-source/linux-servers-keep-growing-windows-unix-keep-shrinking/10616) * [Amazon EC2 cloud is made up of almost half-a-million Linux servers](http://www.zdnet.com/blog/open-source/amazon-ec2-cloud-is-made-up-of-almost-half-a-million-linux-servers/10620) * [Big Business, Big Linux](http://www.zdnet.com/blog/open-source/big-business-big-linux/10181) * [Microsoft reluctantly bows to Linux users](http://www.zdnet.com/blog/open-source/microsoft-reluctantly-bows-to-linux-users/10074) - "Running Linux on Azure has been a surprisingly big business-customer request." [...] The Cloud Market analysis of operating systems on the Amazon Elastic Compute Cloud (EC2) found that there were 6,556 Linux instance running compared to 1,120 Windows instances. By almost six to one, cloud users preferred Linux over Windows. [...] Microsoft's business customers are speaking, and they want Linux. If Microsoft doesn't deliver the goods, Amazon, Red Hat, and VMware, to name three of its cloud rivals, are already happy to fully support Linux users on the cloud. ### Data Mining - Examples of Pipes ### * See 3.3 Examples of simple pipes in [Unix Shell I/O Redirection (including Pipes)](270_redirection.txt) - Display practice test and weekly file dates from the Course Notes - Display the dates of the Midterm tests from the Home Page - Display current Ottawa weather temperature and forecast - Display Ottawa tomorrow weather forecast - Display the first top story from the BBC - Display the current BBC weather for Vancouver - Display the current Space Weather forecast for Canada - Display the current phase of the Moon * shell scripts - save your common command pipelines ### Topics: VIM, Symbolic Links, Accounts and Groups ### * [Edit File Recovery in VIM](http://vimdoc.sourceforge.net/htmldoc/usr_11.html) * [Symbolic Links - Soft Links - Symlinks](420_symbolic_links.txt) * Accounts and Groups - the passwd, shadow, group, and gshadow files - [Lab07 - Linux User and Group Management](cst8207_12w_lab07.pdf) * Useful command: file - tell what kind of thing it is * Disks, Partitions, and File Systems - fdisk, mkfs, mount, umount, mkswap, swapon - `/etc/fstab` [Test Instructions]: 000_test_instructions.html [000_README.txt]: 000_README.txt [000_Licensing.txt]: 000_Licensing.txt [005_this_is_your_brain.txt]: 005_this_is_your_brain.txt [007_freqently_asked_questions.html]: 007_freqently_asked_questions.html -- | Ian! D. Allen - idallen@idallen.ca - Ottawa, Ontario, Canada | Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/ | College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/ | Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/ [Plain Text] - plain text version of this page in [Pandoc Markdown](http://johnmacfarlane.net/pandoc/) format