From 101e9865350c09e1c91174434cc4c656fea7cd0d Mon Sep 17 00:00:00 2001 From: JennJustJenn Date: Fri, 19 Jan 2024 22:25:27 -0800 Subject: [PATCH 1/3] Completed JAVA Lab 001 --- .idea/misc.xml | 2 +- README.md | 10 ++++++++++ src/HelloXwing.java | 12 +++++++++++- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 7464918..172df7b 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/README.md b/README.md index 5c6885c..53a11ed 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,13 @@ * Modify the HelloXwing.java file to print out to the **console** the xwing() method. * Run your program, verify an ascii-art X-Wing prints to the console, and save your changes. * Commit your changes back to your GitHub account and follow the video on doing a Pull request to the instructor account. + +### English Vs. Computer Science (Fight!) +1. In computer jargon, what's the difference between a statement and a comment? +* A statement specifies one part of an algorithm where a comment just contains information about the program, but does not effect it when it runs +2. What does it mean to say that a program is portable? +* It means that a program can be ran on more than one type of computer +3. In common English, what does the word compile mean? + * it means to take a program from a highlevel language to a low level language so it can be executed +4. What is an executable? Why is that word used as a noun? +* An executable is a name for object coe that is ready to run on specific hardware. It is used as a noun because it is being used as a name and not an action. \ No newline at end of file diff --git a/src/HelloXwing.java b/src/HelloXwing.java index 2b2f3bb..fb89658 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -1,3 +1,13 @@ +/** + * + * @author Trevor Hartman + * @author Jennifer Gibson + * Date 1-19-2024 + * + * @since Version 1.0 + * + */ + public class HelloXwing { /** * Returns a String containing a X-Wing ASCII-Art @@ -28,6 +38,6 @@ static String xwing() { } public static void main(String[] args) { - // Comment + System.out.println(HelloXwing.xwing()); } } From 2692a12aa65c34051e2be432336c44ab3bf22c74 Mon Sep 17 00:00:00 2001 From: JennJustJenn Date: Fri, 19 Jan 2024 22:30:12 -0800 Subject: [PATCH 2/3] Completed JAVA Lab 002 --- src/HelloXwing.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HelloXwing.java b/src/HelloXwing.java index fb89658..51a567e 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -4,6 +4,7 @@ * @author Jennifer Gibson * Date 1-19-2024 * + * * @since Version 1.0 * */ From 87615eff48d460566e0644e8d6aa57e1380723bf Mon Sep 17 00:00:00 2001 From: JennJustJenn Date: Fri, 19 Jan 2024 22:30:45 -0800 Subject: [PATCH 3/3] Completed JAVA Lab 001 --- src/HelloXwing.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/HelloXwing.java b/src/HelloXwing.java index 51a567e..fb89658 100644 --- a/src/HelloXwing.java +++ b/src/HelloXwing.java @@ -4,7 +4,6 @@ * @author Jennifer Gibson * Date 1-19-2024 * - * * @since Version 1.0 * */