Assignment 1.docx - PRG102 Assignment 1 Chapter 1 1...

This preview shows page 1 - 2 out of 10 pages.

####### 03/12/2016 PRG102 Assignment 1 Chapter 1 1. Computer system equipment – Hardware, Another word for programs – software, Language rules – syntax, Order of instructions – logic, Language translator – compiler. 2. You need to understand the problem or request, define the logic, write the code, test the program, then deploy the program. 3. a. The data would be sufficient for printing a list of psychology majors because there are two students that fall into that category. b. The data would not be sufficient to test for this program because there will be no result for Art majors. c. The data set is not sufficient to fill this requirement because no student on this list has a GPA below 2.0. d. The list is insufficient information because the dean’s list requirements are not specified. e. The list does not meet the requirement because hometown information is not included. f. The list does not specify female student and making an assumption by name will cause logic errors.
7. A good set of data would be the following: Last name, First name, Premium per month, Premium start date, Number of tickets within last three years, and date(s) of ticket(s) received. 8. The list per grocery item could be the following: Date item received, Expiration date, Items per pack, Number of packs, Aisle Location, Comments. An example for Doritos

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture