CMSC 104 1 Operating Systems I An Introduction to Operating System Concepts.
CMSC 104, Version 8/061L01Introduction.ppt Introduction CMSC 104 Problem Solving and Computer...
-
Upload
abner-barker -
Category
Documents
-
view
225 -
download
3
Transcript of CMSC 104, Version 8/061L01Introduction.ppt Introduction CMSC 104 Problem Solving and Computer...
CMSC 104, Version 8/06 1L01Introduction.ppt
Introduction
CMSC 104
Problem Solving and Computer Programming
CMSC 104, Version 8/06 2L01Introduction.ppt
Am I in the Right Class?
• CMSC 104o Assumes NO programming experienceo Does NOT count towards your CS majoro Prepares you for CMSC 201
• CMSC 201o Assumes some programming experienceo First CMSC course for CS and CE majorso Also required for IFSM majorso More challenging
CMSC 104, Version 8/06 3L01Introduction.ppt
What Will We Cover?
• General computer hardware and software concepts
• Basic computer use
• Problem solving
• Basic computer programming in the C programming language
CMSC 104, Version 8/06 4L01Introduction.ppt
General Hardware and Software Concepts
• Introduction to computer architecture• Data representation and memory usage• Introduction to the Linux operating system used in the CMSC104, CMSC201, and CSMC202.
CMSC 104, Version 8/06 5L01Introduction.ppt
Basic Computer Use
• Basic use of
• an operating system (Linux)• e-mail (pine and myUMBC)• a text editor (pico and xemacs)• the Internet (Mozilla, Netscape and/or Internet Explorer)
CMSC 104, Version 8/06 6L01Introduction.ppt
Problem Solving
• Problem solving and algorithm development
• general vs. specific solution to a problem • use of top-down design• use of pseudocode
CMSC 104, Version 8/06 7L01Introduction.ppt
Basic Computer Programming in the C Programming Language
• Compiling, linking, and executing a computer program
• Testing a computer program
• C programming language basics
CMSC 104, Version 8/06 8L01Introduction.ppt
Syllabus
• On the Web, you can get the syllabus in Blackboard.• Follow links to syllabus.• Refer to it throughout the semester.• More specific information, such as changes to due dates, etc are given on Blackboard.
CMSC 104, Version 8/06 9L01Introduction.ppt
Getting a GL Account at UMBC
• You MUST have a GL account (if you can receive email at UMBC, you have theaccount.)
• Go to room ECS 020 (in the basement) and ask at the desk, OR
• Using the Internet, go to:accounts.umbc.edu (NO www.)
• Your account can be used in approximately ½ hour.
CMSC 104, Version 8/06 10L01Introduction.ppt
Changing Your Linux Password
• Log in by entering your ID and password given on the sheet. This password is a random combination of letters and numbers that are not easy to remember.
• You need to select a new password!o It must be easy to remember!o It can not be a name!o It can not be in a dictionary!o It is recommended that you include digits, and
special characters.
CMSC 104, Version 8/06 11L01Introduction.ppt
Changing Your Linux Password (con’t)
• At the Linux prompt type:passwd
and press the Enter key.• You will be prompted for your new
password; type it in (you won’t be able to see it) and press the Enter key.
• You will be asked to type the new password again.
CMSC 104, Version 8/06 12L01Introduction.ppt
Changing Your Linux Password (con’t)
• You will be given a message that the password has been changed,
• OR you will be given a message that rejects your new password,
• Passwords should be at least 5 characters long and should be something you will remember.
• Your password will be rejected if it is a commonly used word or name.
CMSC 104, Version 8/06 13L01Introduction.ppt
Computer Science at UMBC
• CSEE Officeso ITE325
• CSEE Advisingo ITE202-206
• CSHC (Computer Science Help Center)o ECS 332 In the Mechanical Engineering Dept.
• Linux Users Group (LUG)o http://linux.umbc.edu
CMSC 104, Version 8/06 14L01Introduction.ppt
OIT Labs
• The Office of Information Technology is responsible for all lab computers.
• On Web at: www.umbc.edu/oit• Labs:
o ECS 021 -- PCs, MACs, SGI Workstationso ECS 104 -- PCso ECS 104A -- SGI Workstationso ECS 122/122A -- PCso ECS 333 -- PCso ECS 336 – MACs
• Labs may be on reserve so plan ahead!
CMSC 104, Version 8/06 15L01Introduction.ppt
Using The Printer
• Get your print-out at ECS 019. • 10 cents/page.• Best to print at home.
CMSC 104, Version 8/06 16L01Introduction.ppt
Consultants vs. Tutors
• OIT labs are staffed by consultants
• using software (pine, Netscape, etc.)• some text editors (xemacs, pico)• operating system commands (Linux)• cleaning floppy disks (viruses)• communicating with UMBC computers
CMSC 104, Version 8/06 17L01Introduction.ppt
Consultants vs. Tutors (con’t)
• CSHC is staffed by student tutors
• Help with homework and projects• xemacs and Linux questions• Go to their web site for more details. http://www.csee.umbc.edu/~cshc/
CMSC 104, Version 8/06 18L01Introduction.ppt
Hardware and Software Needs
• Do I need my own computer?o No, but it is more convenient for you.
• If I have my own computer, can I use it?o Sure, but you will use it mostly to log in to your GL
account or for word processing.
• Do I need a C Compiler?o No. Some students get one, but remember all
programs are graded using the GL account. If you get one, make sure you test it on your GL account before turning the assignment in.
CMSC 104, Version 8/06 19L01Introduction.ppt
Using Your Own Computer: ssh
• Connect to your Internet Service Provider (ISP)
• If using Windows 95/NT/98/2000/XP,o Click Starto Click Runo Type: ssh linux.gl.umbc.edu
• Consult OIT for help
CMSC 104, Version 8/06 20L01Introduction.ppt
Using Your Own Computer: ssh
• If using Linux, ssh is already available to you.o Log-in using:
ssh –X –l <id> linux.gl.umbc.eduo In place of <id>, use your own login ID.
CMSC 104, Version 8/06 21L01Introduction.ppt
ssh
• UMBC has disabled telnet as a way of communicating with our computers.
• Now you must use ssh instead.• If you don’t have it, get the UMBC CD from
ECS020 (or download it from http://www.umbc.edu/oit/software/pages/TermSSH.htm) and install Tera Term on your Windows based computer. (P.S. There is more free software for UMBC students to download, check it out.)