Introduction CMSC 104 Problem Solving and Computer Programming Fall 2004

advertisement
Introduction
CMSC 104
Problem Solving and Computer Programming
Fall 2004
Section 0201
Ms. Dawn Block
CMSC 104, Version 1/02
1
Am I in the Right Class?
• CMSC 104
o Assumes NO programming experience
o Does NOT count towards your CS major
o Prepares you for CMSC 201
• CMSC 201
o Assumes some programming experience
o First CMSC course for CS majors
o Also required for IFSM majors
o MUCH more challenging
CMSC 104, Version 1/02
2
What Will We Cover?
1. General computer hardware and
software concepts
2. Basic computer use
3. Problem solving
4. Basic computer programming in
the C programming language
CMSC 104, Version 1/02
3
1. General Hardware and Software Concepts
• Introduction to computer architecture
• Data representation and memory
usage
• Introduction to operating systems
• Linux
CMSC 104, Version 1/02
4
2. Basic Computer Use
• Basic use of
• an operating system (Linux)
• e-mail (pine)
• a text editor (emacs)
• the Internet (Internet Explorer)
CMSC 104, Version 1/02
5
3. 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 1/02
6
4. Basic Computer Programming in
the C Programming Language
• Compiling, linking, and executing a
computer program
• Testing and debugging a computer
program
• C programming language basics
CMSC 104, Version 1/02
7
Course Information
• On the Web:
www.csee.umbc.edu/courses/undergraduate/104
• Follow links to Section 6080
• Refer to the site throughout the
semester (e.g., Annoucements on main
page)
CMSC 104, Version 1/02
8
Getting a GL Account at UMBC
• You MUST have a GL account (same
username and password as myUMBC
account)
• Go to room ENG 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 1/02
9
Changing Your Linux Password
• Log in by entering your id and password given on
the sheet.
• At the Linux prompt, type:
passwd
and press the Enter key.
• You will be prompted for your new password.
Type it in and press the Enter key.
• You will be asked to type the new password
again.
CMSC 104, Version 1/02
10
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 your new
password has been rejected.
• Passwords should be at least 5 characters long
and should be something you will remember,
but not something someone else can figure out.
• Your password will be rejected if it is a
commonly used word or name.
• DO NOT GIVE YOUR PASSWORD TO
ANYONE!
CMSC 104, Version 1/02
11
Computer Science at UMBC
• CSEE Administrative Offices
o
ITE 325
• CSEE Student Services Office (Advising)
o
ITE 203 - 206
• CSHC (Computer Science Help Center)
o
ITE 201E
• Linux Users Group (LUG)
o
http://lug.umbc.edu
CMSC 104, Version 1/02
12
OIT Labs
• The Office of Information Technology is
responsible for all lab computers.
• On Web at: www.umbc.edu/oit
• Labs with PCs:
o
ECS 021, ECS104, ECS122, ECS122A, ECS333
• Labs may be on reserve, so plan ahead!
• Print Dispatch -- ECS 019 (? cents/page)
• Hours of Operations
– OIT will post outside of labs
CMSC 104, Version 1/02
13
Consultants vs. Tutors
• OIT labs are staffed by consultants
• using software (pine, Netscape, etc.)
• some text editors (emacs)
• operating system commands (Linux)
• cleaning floppy disks (viruses)
• communicating with UMBC computers
(TeraTerm)
CMSC 104, Version 1/02
14
Consultants vs. Tutors (con’t)
• CSHC is staffed by student tutors
• Help with homework and projects
• emacs and Linux questions
• ITE 201E – Not open during the
summer!!
CMSC 104, Version 1/02
15
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, and you probably shouldn’t buy one. All
programming should be done in your GL account.
CMSC 104, Version 1/02
16
Using Your Own Computer: SSH
• TeraTerm is a software communications
program
• Must have an Internet Service Provider
(ISP)
• Two sources for TeraTerm software:
OIT CD
o Web: http://www.umbc.edu/oit/
Click on the link for software downloads
• Consult OIT for help
o
CMSC 104, Version 1/02
17
Download