10
ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!

ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!

Embed Size (px)

Citation preview

Page 1: ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!

ENEE150: Discussion 1Section 0104

Please Sit Down at a Computer and Login!

Page 2: ENEE150: Discussion 1 Section 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?

Page 3: ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!

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…

Page 4: ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!

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]

Page 5: ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!

Unix Commands

• Home Directory (~)• Backuppwdcd .cd ..cd ~/ENEE150cd ~lsls -l

Page 6: ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!

Unix Commands Cont.

• mkdir name• mv filename Location• cp filename Location• rm name • rm –r name• rm –f name• man name

Page 7: ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!

Hello World!

• emacs filename• gcc filename• submit 2015 spring enee 150 0104 # filename

*always a good idea to submit many times *

Page 8: ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!

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

Page 9: ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!

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

Page 10: ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!

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++