Intro to CS ACO 101

advertisement
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 Verification” in
Lesson 7
Scenario 1: is this a violation?
• I'm having problems getting started on the
assignment. Can I just look at your code?
Scenario 1: Yes it is a violation
• Visual sharing of code is a violation of
academic integrity.
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?
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.
Scenario 3: is this a violation?
• I'm having problems understanding a method
in the Java API. Can you help me?
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]
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?
Scenario 4: Yes it is
• Electronic sharing of code for any reason is a
violation of the academic integrity policy.
Scenario 5: is this a violation?
• I'm done with the assignment. Are you? Let's
compare answers.
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.
Now we code
• Inside Wiley Plus is an assignment called code
completion 1
• Log in and launch it
This is what you will see
We will do “name in a box” as an in class
exercise; Face Printer is homework.
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?
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.
Download the zip from the class portal
.bat file instructions
1.
2.
3.
4.
Save the zip file
Extract it [do not open it]
Locate it on your machine
Double click on the file to run it
Click on launch lab rat
Ho humm….
Click run
Click search JDK manually
Browse and pick the directory
It will appear in the list
Next…
Next…
You have a choice; I will download
Pick a spot to download the files; keep
track of where you put them
No existing files!!! What?!
Click on open folder and you will have an
explore window to put your new file in
This is what happens if you don’t have
the file in the correct place
Create the file
Open in notepad and add the class
Add the main method
Write the code – just like when we did
the “hello world”
Click next when you are done and it will
compile and run your code for you.
Homework
• Finish code completion 1 in Wiley plus
Download