First: Welcome
First: Your programs format
Your programs format:
1. Make sure you have a header: Author’s name, date and description (assignment)
2. Type the code from the class website.
3. Name your file as YI_HelloWorld (YI means your initials)
4. As comments enter your input.
5. Run it.
6. As comments enter your output.
7. Copy and paste your program here.
8. Attached the “.java” file.
Errors
- Compile-time errors
- Run-time errors
- Logical errors
Q + A
Homework:
Web Exercise 1-4
First: drawing in a piece of paper – Privacy violations
Classwork:
Visit edmodo.com
Create and account or join with the code for your period.
Find the code on the home page.
Please use your full name as your screen name.
Find a partner. You will need paper and pencil/pen.
Activity 1:
Your teacher will hand you a drawing in a piece of paper.
- Don’t let your partner see the drawing.
- Your partner will draw the same shape on his/her paper by following your “set of instructions”.
- Write down the instructions as you give them.
- You can not use direct words that describes the image.
- Once finished, both look at the drawings and compare them.
- If the drawings don’t match, go back to your instructions and change them until you are satisfied.
- You and your partner reverse roles.
- Do the instructions need to be revised?
Homework:
Read the following articles linked bellow and answer questions on edmodo.com
Privacy violations – the dark side of social media
Digital Explosion: Why Is It Happening, and What Is at Stake?
First: repl.it
A great web-based java (and more) IDE!
First: A Java IDE – BlueJ
Running a java program in terminal (mac):
Running a java program in command prompt (pc):
Install BlueJ in your computer at home. Here is the link to https://bluej.org/
First: Java Program Syntax
First Programs – Creating your first program …
1st. Create a folder “Java2019_PX” in your Documents folder.
2nd. Create a folder “Unit1” in your “Java2019_PX” folder.
3rd. Create a google doc “JavaIntroNotes_YI” in your drive and share it with gracielaelia@pps.princetonk12.org.
4th. Back up your work to the drive of your choice or use edmodo.com Backpack feature.
First Programs – Ex 1- 5 Basic Java Programs
First: Connecting Related Objects Proof of Concept
This is a 2- or 3-student group assignment. Include everyone’s names. Each of you have to submit the work.
Connecting words that are not easily related is a monumental task. Research on this topic has been going on for decades and there are many approaches or “philosophies”.
Your assignment is as follows:
- Find online sources of information about projects and/or research done in institutions . Do not limit yourself to only one. Find at least two of them and compare their approach.
-
Describe both graph generators you found online. Pick one and describe the approach about manipulating “words” as data to be connected in some way so you can use it to draw a “connected words graph” yourself by hand.
-
“Create” your own approach and write a short paragraph describing your strategy to accomplish the task. Generate a graph with your own model.
To be more specific on part 2, you want to search for understanding on how the words on the animation below are selected. You have to be able to understand it well enough to use that algorithm to generate your own graph when given a random word. You will be allowed to use a “dictionary”, “thesaurus” and any other “word-analysis” available but you cannot use a “graph” generator. You should test your “algorithm” with a word of your choice. Use scrap paper from the paper bin by the student station (the cart between the 2 windows in the back).
The assignments is completed when you turn in 2 connected objects graphs and 3 descriptions.
NOTE: the animation is not of interest in this research. https://visuwords.com/soccer
Notes from your teacher: This assignments is about research, replication and creation.
a) In research you learn how the graph generators work. You understand it well enough so you can talk about it clearly.
b) Since you know the process you can replicate the outcome by generating your graph by hand.
c) Once you learn what you research and replicate it the outcome by hand, you should have a deep understanding of how graph generators work. At this point you be able to create your own. It might be simpler, more complex or totally different. However, your graph must be true to the algorithm/description you define.
CS Tools: Practice-it!
Practice-It is a web application to help you practice solving Java programming problems online.
To use Practice-It, first create an account, then choose a problem from our list. Type a solution and submit it to our server. The system will test it and tell you whether your solution is correct.
Marty Stepp, of Stanford University Computer Science, is the primary developer of Practice-It, although Practice-It is an independent tool not directly affiliated with Stanford University nor any other university. Marty runs a similar site, CodeStepByStep.com, that offers a different selection of coding problems for Java, C++ and Python.
Current contributors to Practice-It also include:
- Melissa Galloway, University of Washington
- Ryan Rowe, University of Washington
- Whitaker Brand, University of Washington
Some notable past contributors to the development and administration of Practice-It are:
- Katlyn Edwards
- Zack Cava
- Jessica Miller
Some former students and TAs who have authored or ported a significant number of problems into Practice-It include:
- Roy McElmurry
- Robert Baxter
- Leslie Ferguson
Also thanks to:
- Zorah Fung for drawing the Practice-It logo image and mascot
- Glen Herrmannsfeldt from Caltech for contacting us with many bug fixes and suggestions for improvement to the quality of the system
- Countless other teaching assistants and colleagues who added problems
Practice-It is inspired by similar tools such as CodingBat, JavaBall, and CodeWrite.
First: Connecting Related Objects
1. Form a group of students and create your own graph with related objects. Include your initials on the line connecting the objects.
2. For each item make a list of all the objects that are directly connected to it.
3. Submit to edmodo.com the following items:
a. The name of your team mates.
b. A picture of your graph.
c. The list you created in part 2.