Assignment Day           Thursday, January 04, 2018
Due Date Thurday January 11, 2018 (after movie part 1 completion).

 

Assignment 1: An Introduction - warm up 100 pts

    1. Send a message to piazza introducing yourself.
      https://piazza.com/uga/spring2018/csci46730

    2. Create a directory named either 4730 or 6730, under this directory create another directory named exactly: HW1 (2 upper case letters and one digit, the digit one). You will submit this directory as your first homework. The content of the directory should have 1 image file, and one text file.
          • 2a) Image 1: A picture of your self: It should be about (500x800 pixels is a good image size, and you the image should be an image where we can recognize you).
            The name of the image should be as follows.
            Lastname,FirstName.JPG (comma ',' between firstname and lastname, and please use capital letter for the first letter of Lastname, and first letter of FirstName, all other letters should be in lower case). The suffix should be JPG, where all letters are upper case.
            Example Name: Hybinette,Maria.JPG.
                 If you prefer that your image and name are not displayed on the web site, add a prefix of double Xs (and hyphen) as follows: XX-Hybinette,Maria.JPG.

            (we use scripts to parse your name and generate the web page, so it is is important that you follow the naming convention outlined above).

          • 2b) Image 2: A picture of your favorite application running on your phone, lap/desk top. Use a similar format to the above, except submit this under a the image format PNG (all letter should be upper case).

            Submit 2 c) and 2d) as a text or pdf file: called HW1.txt, or HW1.pdf

      • 2c) Q/A : Please answer these questions in in the text file.

        (i) Does a simple calculator require an operating system? If yes (argue why)? If no (argue why)? For this question you may use any outside resources (Internet, books, friends, ...) Be sure to cite your references. 250 word maximum.
        (ii) What are virtual machines? Explain the relationship between the Java programming language and the virtual machine concept. List at least 2 virtual machines that you are familiar with. (if you don't know please free to use the web for ideas, make sure to cite your resources). 500 word maximum.
        (iii) (Movie) What is the full quote about 'sugar water', who made the quote and what part of the quote made difference to the recepient?
        (iv) (Movie) Name three important technologies ("allegedly") shown to Steve Jobs and cohorts at Xerox PARC.

      • 2d) Write a C-program called: statistics.c

        statistics calculates the mean (average), mode and median from numbers read from standard input.
        ---- You may assume that numbers are entered one at a time,
              on a single line (i.e., there is at least one 'new line'
              between 2 consecutive numbers).
        ---- the number stream is terminated by a '0' (a sentinel) listed on a
              single line of input that is terminated by a newline.
        ---- the numbers are integers, negative or positive (32 bit)

        • HINT: http://en.wikipedia.org/wiki/Limits.h (MAX_INT)

        • Example input:
          4
          5
          -100
          -22
          -100
          0
        • Example run with input file/and reading from standard input:





        • Write a report on the performance of your program on nike.cs.uga.edu and how it contrasts (by using the UNIX time command and the provided input files) with the performance of a provided program binary (e.g., can you make your program run faster).
        • provided files a) via URL and b) directory path on nike
          a)http://www.cs.uga.edu/~maria/classes/x730-Spring-2018/1-assignment/DIRECTORY.html
          b)/home/profs/maria/public_html/classes/x730-Spring-2018/1-assignment
          You can run the provided "statistics" while logged into nike using the above path:
          ~maria/public_html/classes/x730-Spring-2018/1-assignment/statistics  

      To submit these files, you will need to use the submit program on nike.cs.uga.ede. Since files are under a common subdirectory called "HW1". Execute the below command line while directly under a 4730 (or 6730 directory that you have created (and just above the HW1 directory):

      submit HW1 csx730


    3. Complete this surveymonkey survey:
      https://www.surveymonkey.com/r/CSCIx730-hw1

      You will give your name, and set a secret name that we can use to report your scores on projects and assignments. This survey allows us to collect your name, and secret name directly into our grade book.
      (survey monkey is doing maintaintence January 5 between 5pm PT to January 6 5am, plan on doing the survey outside this period.)


Grade Criteria

Grade 100 points total:
10 points for message sent to class list (5 points for 2 sentence introduction, 10 points if it is more interesting).
05 points for submitting image on nike, correct image format (JPG format),
        and naming of file (including adding XX for an image to denotate a restriction of web usage).
05 points for favorite application image (PNG format, same naming convention) but a PNG.
20 points for answering the 4 questions (5 pts each question)
10 points for survey monkey survey
50 points for C program (10 pts) / and report (40 pts).