Presentation is loading. Please wait.

Presentation is loading. Please wait.

CMSC 104, Section 301, Fall 20021 Lecture 06, 9/18/02 Algorithms, Part 3 of 3 Topics Disk Quota Exceeded. Email Using Pine. More Algorithms Reading Read.

Similar presentations


Presentation on theme: "CMSC 104, Section 301, Fall 20021 Lecture 06, 9/18/02 Algorithms, Part 3 of 3 Topics Disk Quota Exceeded. Email Using Pine. More Algorithms Reading Read."— Presentation transcript:

1 CMSC 104, Section 301, Fall 20021 Lecture 06, 9/18/02 Algorithms, Part 3 of 3 Topics Disk Quota Exceeded. Email Using Pine. More Algorithms Reading Read Pine Tutorial - http://www.washington.edu/pine/tutorial.4/index.html http://www.washington.edu/pine/tutorial.4/index.html

2 CMSC 104, Section 301, Fall 20022 Lecture 06, 9/18/02 Exceed Disk Quota Check our class Website frequently. CMSC 104 Section 0301 Homepage. http://www.cs.umbc.edu/courses/undergraduate/104/fall02/chen/ Exceed Disk Quota Problem:  Type "oitcleaner" to cleanup cache files from previous Web browser usage. Then type quota –v to view current disk space usage.

3 CMSC 104, Section 301, Fall 20023 Lecture 06, 9/18/02 Emai Using Pine We will walk through a set of commands used to say “Hi” to your TA, and sign with your full name in the Message Text field, Using Pine, CMSC 104 Section 301 in the Subject field, and send it to kevina1@umbc.edu, CC to lichen@mitre.org, and yourself. kevina1@umbc.edulichen@mitre.org  “CC” means “Carbon copy”, used to copy a message to an interested party. See pine tutorial for details and help.  Pine Tutorial Website - http://www.washington.edu/pine/tutorial.4/index.html http://www.washington.edu/pine/tutorial.4/index.html

4 CMSC 104, Section 301, Fall 20024 Lecture 06, 9/18/02 Emai Using Pine Type “pine” at the Linux prompt. The Main Menu list Pine’s main options (see Figure on the next slide).  The bottom screen displays a menu of command options.

5 CMSC 104, Section 301, Fall 20025 Lecture 06, 9/18/02 Emai Using Pine

6 CMSC 104, Section 301, Fall 20026 Lecture 06, 9/18/02 Emai Using Pine  Type “c” to compose an email.  Note that the bottom screen displays a different menu of command options from before.  ^ means Control key.  Use arrow keys to move around the fields or command options. Different commands are available when the cursor is in different fields.  Type “Kevina1@umbc.edu” in the To: field and hit Enter Key.Kevina1@umbc.edu  Use arrow keys to go up and down of the fields and left or right to position your cursor. Use Backspace key to delete a character.  Type “Lichen@mitre.org” and your email address in the CC: field and hit Enter Key.Lichen@mitre.org  Type “Using Pine, CMSC 104 Section 301” in the Subject field.  Type “Hi Kevin.” and sign your name in the Message Text field.

7 CMSC 104, Section 301, Fall 20027 Lecture 06, 9/18/02 Emai Using Pine Menu with options of commands and help at the bottom.

8 CMSC 104, Section 301, Fall 20028 Lecture 06, 9/18/02 Emai Using Pine  Use “Ctrl X” to send email and type “y” to confirm. Done!  To view emails – –Type L to view Folder Lists. –Position cursor to Inbox and hit Enter key. –The email you just mailed should be displayed. N 1 Date Your Name … Using Pine ….. –Position cursor to the email and hit Enter key. –Now you can read the email that you just sent.  To quit pine – –Type “q” to quit pine and type “y” to confirm.

9 CMSC 104, Section 301, Fall 20029 Lecture 06, 9/18/02 Emai Using Pine Menu with options of commands and help at the bottom.

10 CMSC 104, Section 301, Fall 200210 Lecture 06, 9/18/02 Writing Algorithms from Scratch Given a problem statement, we are going to write the corresponding generic algorithm for the solution in terms of input and output. We will use the following procedure:  Get input from the user.  Perform tasks or calculations in order to get the correct solution.  Output results to the user.

11 CMSC 104, Section 301, Fall 200211 Lecture 06, 9/18/02 The Box Problem: Write an interactive program to compute and display the volume and surface area of a 3-dimensional rectangular box. The program must also display the box dimensions. Error checking should be done to be sure that all box dimensions are greater than zero. Input: width, length, and height of a box.

12 CMSC 104, Section 301, Fall 200212 Lecture 06, 9/18/02 Drawing a Rectangle Problem: Write an interactive program that will draw a solid rectangle of asterisks (*) in terms of width and length. The program must also display the dimensions of the rectangle. Error checking must be done to be sure that the dimensions are greater than zero.

13 CMSC 104, Section 301, Fall 200213 Lecture 06, 9/18/02 Assignment and Next Write an email say “Hi” to your TA and sign with your full name in the Message Text field, “ Using Pine, CMSC 104 Section 301” in the Subject field and send it to yourself, lichen@mitre.org, kevina1@umbc.edu. See pine tutorial for help. http://www.washington.edu/pine/tutorial.4/index.html. Send your email before Monday, September 23, 2:00 PM.lichen@mitre.org kevina1@umbc.edu http://www.washington.edu/pine/tutorial.4/index.html Exam 1 on Monday, Sept. 30. Next: More problem solving and algorithms.


Download ppt "CMSC 104, Section 301, Fall 20021 Lecture 06, 9/18/02 Algorithms, Part 3 of 3 Topics Disk Quota Exceeded. Email Using Pine. More Algorithms Reading Read."

Similar presentations


Ads by Google