Problem Solving and Computer Programming

Slides:



Advertisements
Similar presentations
CMSC 104, Section 301, Fall Lecture 01, 8/28/02 CMSC 104 Course Information Instructor: Dr. Li-Chuan Chen Emai: Work Phone:
Advertisements

Jump to first page Unix Commands Monica Stoica Jump to first page Introduction to Unix n Unix was born in 1969 at Bell Laboratories, a research subdivision.
1 Class motto: What’s this button for?. 2 CMSC104 Problem Solving and Computer Programming Fall 2011 Section 4 Richard Chang.
Need your MyMathLab card with your access code Need a Valid Address Need to know Purdue’s zip code is and your course ID for your Class You.
Programming Introduction November 9 Unit 7. What is Programming? Besides being a huge industry? Programming is the process used to write computer programs.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
CS 497C – Introduction to UNIX Lecture 1: Getting Started Chin-Chih Chang
CPSC 203 Introduction to Computers Lab 21, 22 by Jie (Jeff) Gao Location: ES650.
CHAPTER 1: INTORDUCTION TO C LANGUAGE
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
Introduction to Programming Prof. Rommel Anthony Palomino Department of Computer Science and Information Technology Spring 2011.
COMP1070/2002/lec3/H.Melikian COMP1070 Lecture #3 v Operating Systems v Describe briefly operating systems service v To describe character and graphical.
PLEASE GRAB A SEAT ANYWHERE FOR NOW. Welcome to the CMSC 201 Class!!! Mr. Lupoli ITE 207.
Logging onto the Computer for the first time And Signing the Acceptable Use Policy (AUP) for Using the Internet.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX Lecture 4.
1 Class motto: What’s this button for?. 2 CMSC104 Problem Solving and Computer Programming Section 4, Spring 2012 Prof. Richard Chang.
CS161 Topic #21 CS161 Introduction to Computer Science Topic #2.
Computing Fundamenatls CMSC 201 Computer Science I Penny Rheingans University of Maryland Baltimore County (with inspiration from previous 201 instructors.
CMSC 104, Lecture 011 Introduction CMSC 104 Problem Solving and Computer Programming Section 301, M-W 7:10-8:25 pm Fred Kuss Office: ITE.
CS 444 Introduction to Operating Systems
COP3502: Introduction to Computer Science Yashas Shankar.
CMSC 104, Lecture 011 Introduction CMSC 104 Problem Solving and Computer Programming Section 401, Thurs. 7:00-9:30 pm, ACIV-305 Fred Kuss
CMSC 1041 Introduction CMSC 104 Fall 2000 Problem Solving and Computer Programming.
Introduction to C Programming Lecture 2. C Tutor Schedule / 3rd Floor Lab b The lab and tutor schedule is available at the following URL:
CMSC 104, Version 8/061L01Introduction.ppt Introduction CMSC 104 Problem Solving and Computer Programming.
CMSC104 Problem Solving and Computer Programming Spring 2011 Section 04 John Park.
CMSC 104, Lecture 011 Course Introduction CMSC 104 Problem Solving and Computer Programming Spring 2002 Section 0801, Wed 7:00-9:30pm Dr. Thomas Gaeng.
Aug Introduction CMSC 104 section 301 Problem Solving and Computer Programming Fall 05.
Security CS Introduction to Operating Systems.
CMSC104 Problem Solving and Computer Programming Spring 2009 Sections 0201 & 0301 Ms. Dawn Block.
Creating Programs on UNIX This term you can create programs on UNIX or you can create programs using a C++ compiler on your PC. This set of slides steps.
CMSC 1041 Introduction CMSC 104 Problem Solving and Computer Programming Fall 2000 Section 0101 MW 11:00-12:15.
1 Day 2 Logging in, Passwords, Man, talk, write. 2 Logging in Unix is a multi user system –Many people can be using it at the same time. –Connections.
CMSC 104, Version 1/021 Introduction CMSC 104 Problem Solving and Computer Programming Summer 2004 Section 6080 Ms. Dawn Block.
1 CMSC104 Problem Solving and Computer Programming Fall 2008 Section 0101 John Y. Park.
CMSC 104, Version 9/011 Introduction CMSC 104 Problem Solving and Computer Programming Fall 2001.
INFORMATION TECHNOLOGY NEW USER ORIENTATION
CMSC104 Problem Solving and Computer Programming Spring 2008
Creating an Account on Wikieducator
CMSC201 Computer Science I for Majors Lecture 13 – Midterm Review
Student Monmouth College
CMSC104 Problem Solving and Computer Programming Fall 2010 Section 01
INTRODUCTION TO NETWORKS AND COMMUNICATIONS
Introduction to Programming the WWW I
Gatsby Movie Poster Visual Representation Project
Creating Programs on UNIX
IT Services for Students Community College of Rhode Island
CS 240 – Lecture 11 Pseudocode.
Introduction CMSC 104 Problem Solving and Computer Programming
Computer Science I CSC 135.
CMSC 104 Problem Solving and Computer Programming Fall 2010
Michael Vick Manager of Campus Computing Services
SAPC Hardware Pentium CPU (or 486) 4M usable memory
CMSC104 Problem Solving and Computer Programming Fall 2010
CMSC104 Problem Solving and Computer Programming Spring 2010
INFORMATION TECHNOLOGY NEW USER ORIENTATION
Introduction CMSC 104 Problem Solving and Computer Programming
CMSC104 Problem Solving and Computer Programming Fall 2009 Section 2
Problem Solving and Computer Programming
Using CourseCompass Features
Problem Solving and Computer Programming
Tonga Institute of Higher Education IT 141: Information Systems
Introduction CMSC 104 Problem Solving and Computer Programming
Tonga Institute of Higher Education IT 141: Information Systems
Welcome to the CMSC 104 Class!!!
CMSC104 Problem Solving and Computer Programming Spring 2010
CSCE 206 Lab Structured Programming in C
Introduction CMSC 104 Problem Solving and Computer Programming
Introduction CMSC 104 Problem Solving and Computer Programming
CSCI 203: Introduction to Computer Science I
Presentation transcript:

Problem Solving and Computer Programming Introduction CMSC 104 Spring 1999 Problem Solving and Computer Programming The critical words on this slide are "Problem Solving." As you start off in computer science, there are two things you ought to know right away: it isn't about computers and it isn't a science. The discipline we call "computer science" is really the study of algorithms --- of how to do things. An algorithm is a procedure to perform a specific task. In computer science, we're interested in discovering how algorithms work, how they can be measured, which ones are better than others, and how to build and use the best algorithms for any task. This isn't a "science" because it's "active," we aren't just observing things, but trying to make them better. It isn't really about computers because we are most interested in the algorithms themselves. Computers are just one means of actually executing them.

What is Computer Science? Computer science is the study of algorithms --- specific recipes to accomplish a specific task. Not “science” because because goal is to develop algorithms “Computers” are just one means of executing the steps.

Am I in the right class? CMSC 104 CMSC 201 Assumes NO programming experience Does NOT count towards your CS major Prepares you for CMSC 201 CMSC 201 Assumes some programming experience First CMSC course for CS majors More challenging If you can write a program in C, compile it on a Unix system, run it, and debug it if it doesn't work, then you don't belong in this class.

Why Study Computer Science? The purpose of computing is insight, not numbers. R.W. Hamming When you can measure what you are speaking about and express it in numbers, you know something about it, and when you cannot measure it in numbers, your knowledge is of a meager and unsatisfactory kind. -- Kelvin

Getting a “GL” account at UMBC You MUST have a GL account Go to room ECS 005 (in the basement) Sign-on to one of the PCs there Login ID = register No Password Follow the instructions Primary account for homework and projects. You can log in from labs on Campus or from home over the internet or a telephone line.

Changing your Unix password Login by entering your id and password given on the sheet At the Unix prompt type: passwd <Return> You will be prompted for your new password; type it in and press <Return> You will be asked to type the new password again

Changing your Unix password (cont’d) 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, should be something you will remember. Your password will be rejected if it is a commonly used word or name You must change your password. This should be a simple task, but it can be maddening. The purpose of a password is to keep other people from using the computer while masquerading as you. The operating system assumes that anyone who is entitled to use your account will know your password and that anyone who knows your password is entitled to use your account. Now, since computers first had users, it has been a constant game for some users to masquerade as others. Some people do it purely for the thrill of pulling it off. Some people do it so they can use someone else's time or disk space. And some people do it so that they can raise havoc while someone else gets the blame. In any case, you'll be much better off of no one has your password except you. The secret is to have a password that's too hard to guess, but so easy for you to remember that you don't have to write it down (because someday you'll lose the paper and someone else will find it). This isn't as easy as it looks. Crackers don't sit around and guess passwords themselves, they write programs that try every word --- and pair or triple of words --- in the dictionary. So "habadashery banana" isn't good enough. The trick is to blend in some numbers or punctuation in a way that you'll remember but won't be easy to figure out. So we get "haba-ery b&&a" or "^field&mccoy". One more thing: it took me a frustrating half hour before I realized that the password must be at least 7 characters long.

Computer Science at UMBC CSEE Administrative Offices ECS 210 CSEE Student Services Office ECS 201 CSCM (Sea Scum) Computer Science Council of Majors CSHC (Computer Science Help Center) ECS 332 In the Mechanical Engr Dept.

Some Example Passwords Possible Candidates (but find your own) t0mc@ tomcat g0lf3r golfer $aL3b0@ saleboat (sailboat) Known Loser Str@4d Stratford (too short?) “Second” passwords seem to be easier.

UCS Labs University Computing Services are responsible or all the computers 24 hour labs ECS 021 -- IBMs, MACs Open Labs ECS 005 -- SGI Workstations ECS 104 -- IBMs (but not 104A) ECS 122A -- IBMs Print Dispatch -- ECS 019 ($$)

UCS Labs (Cont'd) Open, but sometimes reserved Hours of Operations ECS 333 -- IBMs ECS 336 - MACs Hours of Operations Monday - Thursday 7 AM - 3 AM Friday 7 AM - Midnight Saturday 8 AM - Midnight Sunday Noon - 3 AM

Consultants vs Tutors UCS Labs are staffed by consultants using software (pine, xrn, netscape, etc.) some text editors (emacs, pico) operating system commands (Unix) cleaning floppy disks communicating with UMBC computers CSHC is staffed by tutors Help with homework and projects emacs and Unix questions ECS 332 -- Hours to be announced

Logging on from Home 2400 baud lines 744 - 8000 high speed lines 744 - 8622 14.4 or 28.8 Settings for both lines No parity, 8 data bits, 1 stop bit On your computer, you must have Communications software (e.g.. Procomm Plus) A modem

telnet Connect to your Internet Service Provider (ISP) Windows 95/NT/98 Start Run telnet gl.umbc.edu

Hardware & Software Needs Do I need my own computer? No, but it is more convenient for you If I have my own computer, can I use it? Sure, but you will using it mostly to login to your GL account or for word processing Do I need a C Compiler? No, and if you buy one, you’ll be wasting your $$$. All programming should be done in your GL account.

Course Overview Introduction to Computer Organization and Architecture Data Representation and Memory Usage Introduction to Operating Systems Problem Solving and Algorithm Development Introduction to Software Engineering Using Top-Down Design Compiling, Linking and Execution C Programming Reuse Based on Algorithm Selection and Design Techniques