INT 1111 Lab 7

profileJa Ma

 Personal Information ProgramDevelop a program, in which you'll design a class that holds the following personal data: name, address, age, and phone number. As part of the program, you'll then create appropriate accessor and mutator methods. Also, set up three instances of the class. One instance should hold your information, and the other two should hold your friends’ or family members’ information.Input:

  • data for the following attributes of 3 instances of the  Personal Information Class:
  • name, address, age, and phone number

NOTE: The input data do not need to be real data; they need to be entered at the keyboard, when program is run.Processing:  Develop the following:

  • Personal Information Class
  • A program that creates three instances of the above class

Output:Set up a loop and display data within each object:

  • name, address, age, and phone number 

==================================================================================NOTE: A sample program run is attached below.  It illustrates user's interactions with the program: Extra-Credit Lab - Sample Program Run.pdf Extra-Credit Lab - Sample Program Run.pdf - Alternative Formats==================================================================================You need to set up a      Python solution that is      complete and      workable.  

For your solution to be      complete, you must

  • Prompt the user for the specific input data asked for within the problem statement
  • Does the appropriate processing on the entered input data
  • Provide the output data asked for within the problem statement to the user

For your solution to be      workable,

  • Your solution should be free of any type of errors (syntax, run-time, logic)
  • You may want to develop an algorithm first, using pseudocode or flowchart
  • You do NOT need to turn in any algorithm

========================================================================Grading rubric:

  • You'll receive full credit, if 
    • your program
      • compiles and runs with no problems 
      • produces the expected output
  • You'll receive partial credit, if 
    • your program
      • compiles and runs with no problems 
      • produces partial output (that is, incomplete output)
  • You'll receive 25% of the points, if your program will not compile
  • You'll receive 30% of the points, if your program compiles but has a run-time problem
  • You'll receive 40% of the points, if your program produces logic error(s)
  • You'll receive 50% of the points, if your program compiles and run, but no functions are used
  • 3 years ago
  • 10
Answer(1)

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    main.py
  • attachment
    Screenshot43.png
  • attachment
    main1.py