Applications Programming --- Lab 1

Objective:

References:

Tasks:

If you are using lab computer (which runs Windows):

If you are using your own computer with MacOS, some of the tasks would be performed differently:

The rest of the tasks for which ever type of OS:

  1. Learn to tell the difference between a text file and a binary file
    Text files can be opened and edited by a text edit, on any computer system. And binary files usually need special software to handle them.
  2. Learn to read the meta data about a file
    On Windoes: Find the file, right click on the file and click on the "Properties" in the drop down menu.
    On MacOS: Find the file, control-click on the file and click on the "get info" item in the drop down menu.
  3. Learn the connection between file extention names (types) and the applications to open the files
    In both Windows and MacOS file's meta information, there is an item called "Open(s) with", which associate an application with opening the files with the same extention name as this file.
  4. Get familiar with a csv file. Download an example csv file that shows rent data of an appartment for the past 10 years.
  5. Open the downloaded csv file with your Excel
    yes, both csv file and Excel file can be opened by MS Excel
  6. Format Excel cells so that the data looks as shown in the following table:
    YearInflation RateMonthly Rent Yearly Rent
    120103.2%$700.00$8400.00
    220112.3%$736.40$8836.80
    320124.3%$768.07$9216.78
    420133.8%$816.45$9797.44
    520142.2%$863.81$10365.69
    620152.5%$900.09$10801.05
    720162.9%$940.59$11287.10
    820173.7%$986.68$11840.17
    920184.0%$1042.92$12515.05
    1020192.5%$1105.50$13265.96
    Select the cells you want to format, right-click (on Windows) or control-click (on MacOS) on these selected cells, and then choose "Format Cells" item from the drop down menu.
    In the opened "Format Cells" window, you can choose Category of data, Number format, Alignment, etc.
  7. The following paragraphs show a sample of the information about an organization's members. Extract the data from the information, design and store your data with proper types in an Excel file:
    A volunteer organization has the following members in year 2021:
    Oliver is 38 years old and joined the organization at September 9th, 2015. His occupation is elementary teacher. He is given an ID of 1379 with the organization.

    Marsha joined the organization at June 12th, 2018 when she was 33 years old. Her current occupation is medical doctor. She is given an ID of 2933.

    Robert is 42 years old and works as a constructor. He joined the organization at March 15th, 2012. His organizatin ID is 2733.

    Jane has the organization ID of 3282. She is 25 years old and joined the organization at May 5th, 2019. She worked as a theatre technician.

    You can expect more descriptions containing similar information about the organization's other members.

There is a weekly assignment 1 following this lab.