CS 1103 Learning Journal Unit 6 PDF

Title CS 1103 Learning Journal Unit 6
Course Programming 2
Institution University of the People
Pages 2
File Size 43.4 KB
File Type PDF
Total Downloads 44
Total Views 136

Summary

This week in unit 6, we learned many concepts and classes from given assignments such as reding assignment, programming assignment, and discussion assignment.to understand the concepts the video in the learning guide helped a lot. However, there were some areas I still need to push my self to practi...


Description

This week in unit 6, we learned many concepts and classes from given assignments such as reding assignment, programming assignment, and discussion assignment.to understand the concepts the video in the learning guide helped a lot. However, there were some areas I still need to push my self to practice and understand them better. Each time I got stuck with my assignments I googled the concept and got many answers to simplify them to my-self.

Using sophisticated classes without knowing what they actually do or how to use them is extremely hard. GUI programming gets complicated instantly when you do not know the keywords and their meaning. From this week's reading material, such as Section 11.2 Files, Section 11.4: Networking, Section 13.1: Images and Resources, Section 13.2: Fancier Graphics, and Section 13.3: Actions and Buttons. I learn about Files and Networking. I understand the files like reading and writing. Moreover, I learn basic networking. Furthermore, it's a very interesting topic about the transparency resource into the image text to the GUI Programming likes action, buttons, and aliasing. The Files is a data stored in a storage device is like a computer hard disk of it. Moreover reading and writing a file is call two classes in the java,io.package. Likes Output is a create an object belongs to the class FileWriter, and type is printwriter. Nevertheless, the Input is the File Reader in the Scanner, and the wrapper class is called TextReader.Moreover the closing of a file is called close() method. Meaning you tell the operating system that you finish it or done using it. Or close the file. The Files. Furthermore, the Files and directories meaning it just specify in the both name of the file and the name of the directory it contains it likes File. list,File.delete, File.exists, and file.isDirectory. Moreover the File Dialog Boxes has a window that the program could open. When the user can select into a file for the output and input.J file chooser package_javax.swing.There's an open file dialog to specify into the existing file to be open to the reading in the program. Moreover, the save file dialog to specify the file it might not already exist. The Networking, the World Wide Web, or www is called the network communication into the Web Browser.

Furthermore, another network connection likes resources on the web. The Universal Resources Locator or URL connection. The TCP means Transmission Control Protocol and IP is Internet Protocol. The TCP /IP that socket is connected to the communication it takes to place it using into the input and output streams of it. The server socketis defined as a listening socket to wait for the connection request for the clients. The socket is an endpoint of the actual network connection moreover it can be a client socket it sends to a connection request into the server. The java.awt.Image is defined as an Image, it represents to theimage is to read the program likes a file on the computer hard disk either network connection. Furthermore, the Image was created into a program that likes an off-screen canvas. The canvas represents the BufferedImage meaning in java package java.awt.Image, either g.drawImage()method. The pixel is the BufferedImage is allowed to get into the color of the individual pixel of it. Likes, image.getRGB(x.y), image.getWidth(), image.getHeight() and image.getRGB(x,y,rgb). The resources are ordinarily stored in the file at the same location as the compile of it. The data is referred to as resources. The data type is likes sounds, images, and text. The cursor is a position into the mouse represents the computer screen into a small image. Moreover identifies the likes cursor.CROSSHAIR_cursor and cursor.DEFAULT-CURSOR.

The icon is a simply small image. The Image File I/O – They have three standard image formats likes JPEG, PNG, and GIF. The Transparency of the three indication color R-G-B alpha component is associates with the transparency and the value of the alpha component is the transparent color. The anti-aliasing is the minimize the distortion artifacts either is representing the high–resolution signal at the lower resolution.Graphic2D is a class that is a larger and richer graphical in java. Furthermore, the FontMetrics Class meaning can provide how big the Image of the string will be about the size likes in java, javaawt.FontMetrics, Line height, ascent, leading, baseline, and descent. I learn many things in Unit 6. I learn how to work in the IDE and other Java environments (net beans), I learn how to run codes avoiding both syntax and semantics error and debugging above all. Moreover, I learn the fundamentals and things I should expect as a programmer while running my codes. This was what guided me while doing my programming assignment, first I created a file then created a class, and made my inputs.

The whole process was surprising but alongside challenging, I had issues in my programming assignment while doing my code. I notice it. It’s difficult to understand the Unit 6. I try my best to fix the code because is not working if run to it. I ask some of my classmates to assist me with the assignment so that I can understand clearly. The good thing is my classmate assisted me in the assignment. You need to be more patient in this kind of situation and ask for help if needed. Everyone in this course was very helpful to each other. I learn lots of things about this Unit 6 very interesting topic. I learn many things in Programming assignment Unit 6 such as I can change the color in different kinds of colors, you can save the file. Moreover, you can change as well as the color background and save it. Furthermore, you can remove and clear the text from the screen and change the font color. The interesting is you can click the mouse many times on the screen is like it copying by itself. Or duplicate the words by itself.

From the course syllabus and the structure set in the class, I can say I’m gaining and I learn many things, new things in each unit. The programming world is very mysterious and interesting you need to solve every code it’s a problem-solving. It applies as well in personal life the same as a code or program. Each code they have a different character or ability. I need to learn more about these things so that I will be able to read the code easily and practice more of it. In this whole Unit, 6 very challenging moreover it was fantastic and very interesting.

Reference Eck, D. J. (2019). Introduction to programming using Java, version 8.1. Retrieved from http://math.hws.edu/javanotes....


Similar Free PDFs