intro to cs aco 101 lab rat. academic integrity what does that mean in programming? log into...

38
Intro to CS ACO 101 Lab Rat

Upload: stuart-rogers

Post on 13-Dec-2015

218 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Intro to CS ACO 101

Lab Rat

Page 2: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Academic Integrity

• What does that mean in programming?• Log into Blackboard and take the test titled

“Applied Computing Course Verification” in Lesson 7

Page 3: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Scenario 1: is this a violation?

• I'm having problems getting started on the assignment. Can I just look at your code?

Page 4: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Scenario 1: Yes it is a violation

• Visual sharing of code is a violation of academic integrity.

Page 5: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Scenario 2: Is this a violation?

• [after class, not during class] I'm having problems understanding the last in class exercise. Can you help me?

Page 6: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Scenario 2: No it is not a violation

• In class exercises are designed for learning! Students should help each other understand these exercises in their entirety

• Working together in the lab on the in class exercises after class is fine.

Page 7: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Scenario 3: is this a violation?

• I'm having problems understanding a method in the Java API. Can you help me?

Page 8: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Scenario 3: Not a violation

• The Java API should be investigated by all students, and students should help each other understand a method using the examples given in the Java API or an in class exercise

• don't use the individual assignment to explain it. [this would be a violation]

Page 9: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Scenario 4: is this a violation?

• I'm having problems compiling my code for the assignment. Can I email the code to you so that you can help me with the compilation errors?

Page 10: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Scenario 4: Yes it is

• Electronic sharing of code for any reason is a violation of the academic integrity policy.

Page 11: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Scenario 5: is this a violation?

• I'm done with the assignment. Are you? Let's compare answers.

Page 12: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Scenario 5: Yes

• The learning objectives of an assignment include testing the correctness of the code. Therefore, comparing answers is considered a violation of the academic integrity policy.

• In addition, answer agreement (even with the published solution) does not mean that the code is correct.

• Logic will always be examined for correctness.

Page 13: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Now we code

• Inside Wiley Plus is an assignment called code completion 1

• Log in and launch it

Page 14: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

This is what you will see

Page 15: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

We will do “name in a box” as an in class exercise; Face Printer is homework.

Page 16: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Is it a violation of Academic Integrity?

• To help each other with “name in a box” after class?

• To help each other with “face printer” after class?

Page 17: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

At school [and only at school]

• Before you run Lab Rat you have to run a .bat file– The port for Lab Rat is in conflict with the port for

the printers– Running this file fixes that conflict– You have to run it every time.

Page 18: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Download the zip from the class portal

Page 19: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

.bat file instructions

1. Save the zip file2. Extract it [do not open it]3. Locate it on your machine4. Double click on the file to run it

Page 20: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Click on launch lab rat

Page 21: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Ho humm….

Page 22: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Click run

Page 23: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Click search JDK manually

Page 24: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Browse and pick the directory

Page 25: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

It will appear in the list

Page 26: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Next…

Page 27: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Next…

Page 28: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

You have a choice; I will download

Page 29: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Pick a spot to download the files; keep track of where you put them

Page 30: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

No existing files!!! What?!

Page 31: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Click on open folder and you will have an explore window to put your new file in

Page 32: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

This is what happens if you don’t have the file in the correct place

Page 33: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Create the file

Page 34: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Open in notepad and add the class

Page 35: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Add the main method

Page 36: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Write the code – just like when we did the “hello world”

Page 37: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Click next when you are done and it will compile and run your code for you.

Page 38: Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course

Homework

• Finish code completion 1 in Wiley plus