Upload
arline-burke
View
217
Download
3
Embed Size (px)
Citation preview
ENEE150: Discussion 1Section 0104
Please Sit Down at a Computer and Login!
TA Information
John ShiComp E MajorEmail: [email protected] include a subject with ENEE150 in it
Office Hours: TBD and by appointment
Java?
Attendance
First 5 minutes of class:
Submit a word that I write on the board in a text file or .c file for attendance
4 Unannounced Quizzes…
Getting Started
1. Run PuTTY2. Type in under Host Name: linux.glue.umd.edu3. Click “Open”4. Any prompt about a registry hit “yes”5. Login with student username / Password
Mac Users: 6. Open Terminal7. Type “ssh –X [email protected]”
Unix Commands
• Home Directory (~)• Backuppwdcd .cd ..cd ~/ENEE150cd ~lsls -l
Unix Commands Cont.
• mkdir name• mv filename Location• cp filename Location• rm name • rm –r name• rm –f name• man name
Hello World!
• emacs filename• gcc filename• submit 2015 spring enee 150 0104 # filename
*always a good idea to submit many times *
Info about this Class• Course Website will have grades
• People will be assigned a random # and grades will be posted online
• How Grading Works• 10% Compiles • 10% Style• 80% Testing
- Correctness- Has to match- Midnight time stamp
Make my life easier
Info about this Class Cont.
• Success in this class:• Starting Early on Projects!!!!• Ask Questions• Don’t Panic• Effort may not equal grade• Debugging• Submit Multiple Times• Hand worked examples
Style
• Good Design of Code (use methods)• Commenting• Good indentation• Good variable names (i,j,k)• Separate Lines• Closing braces on separate line
++x vs. x++