Categories
Weekly Assignments

Code It Like It’s Hot #REMIX

Assignment

This week in ds106 we are supposed to use something we have already created for the course and use it in a mashup or remix. I chose to remix my Code It Like It’s Hot assignment. When I remixed the Make A Simple Program assignment, this is what I got. Summary: Create a simple program, 10-20 lines, where your code can solve a simple problem. Feel free to use an online compiler to write and test your code. Remix: Use the worst, over the top design elements in an assignment. Use Arial or Papyrus fonts, green and pink colors, sappy music to make an assignment be the epitome of badness (not the good kind of bad).


Behind the Work

As many of you already know I am a double major in Computer Science and Mathematics. I LOVE CODING! I would talk in code or even write everyday stuff in code if I could… It really is apart of who I am. I recently attended CAPWIC.

CAPWIC is the ACM Capital Region Celebration of Women in Computing and provides a low-cost, regionally tailored, small conference for women in computing. The participants include female students, faculty, and professionals, as well as male supporters of women in computing.

CAPWIC 2021 Website

This was my first time attending CAPWIC and my first time attending a conference. I had a great time and was able to sit in on some great presentations. My two favorite sections I attended were the NASA Modern Figures Panel and #ilooklikeanengineer. I learned so much about diversity in computer science and was able to learn from the multitude of keynote speakers.

I also was recently asked to be the president of DiverCS. DiverCS is a club that promotes and encourages diversity within the computer science field at the University of Mary Washington. I was very surprised that I was asked to be president, but I accepted the role and am very excited to see what I can bring to the table. As I continue my journey through college, I am growing impatient and cannot wait to start my career. I am hoping to become a full-stack developer!


During the Work

I went to my original post and made a reusable block. This helped me not have to copy and paste what I coded; when using a reusable block on WordPress you can make a copy of that block in any post you wish. After adding the reusable block to this post I selected random words and did random things: change the color, make bold/italic, and make superscript/subscript. The only line I used strike through on was for my version; this shows I re-did the code at a new date.

Original Code:

import java.util.Scanner;
/**
  * This program greets the user based on the time of day.
  *
  * @author Ariel Arison
  * @version 2/3/21
  */
public class SayHi {
      public static void main(String[] args) {
            Scanner input = new Scanner(System.in);
            System.out.println("Please enter your name: ");
            String name = input.next();
            System.out.println("Enter if it is day or night: )?");
            String time = input.next();
            if (time.toLowerCase().equals("day")) {
                  System.out.println("Good day " + name + " !");
            }
            else (time.toLowerCase().equals("night")) {
                  System.out.println("Good night " + name + " !");
            } 
      }
}

Remixed Code:

import java.util.Scanner;
/**
  * This program greets the user based on the time of day.
  *
  * @author Ariel Arison
  * @version 2/3/21 @version 4/16/21
  */
public class SayHi {
      public static void main(String[] args) {
            Scanner input = new Scanner(System.in);
            System.out.println("Please enter your name: ");
            String name = input.next();
            System.out.println("Enter if it is day or night: )?");
            String time = input.next();
            if (time.toLowerCase().equals("day")) {
                  System.out.println("Good day " + name + " !");
            }
            else (time.toLowerCase().equals("night")) {
                  System.out.println("Good night " + name + " !");
            } 
      }
}

WARNING

PLEASE DO NOT TRY THIS CODE AT HOME: IT WILL CRASH

This re-mix assignment was very simple. I chose this assignment to re-mix not because I necessarily thought it would be a super in-depth re-work, but because I wanted to update you guys on my story! Getting to talk about coding/show coding makes me really happy.

One reply on “Code It Like It’s Hot #REMIX”

Cool that you have such a love for coding! I have taken several classes and couldnt bring myself to do it anymore, impressive!

Leave a Reply

Your email address will not be published. Required fields are marked *