This document describes the programming assignment for Programming Concepts.
The assignment is intended to provide you with the opportunity to put into practice what you have learned in the course by applying your knowledge and skills to implement a program that will manage a simple social network (using an array of structures). You are to write a program (using multiple C source files) that will keep a record of profile information. The personal profile information will be stored in a text file that will be read in when the program commences. Once the application has read the initial profile information, it should allow the user to interactively query and manipulate the profile information.
This assignment is an individual task that will require an individual submission. You will be required to submit your work via learn online before Monday 15 June (swot-vac week), 11.30pm. Students are not required to demonstrate their work in person.
This document is a kind of specification of the required end product that will be generated by implementing the assignment. Like many specifications, it is written in English and hence will contain some imperfectly specified parts. Please make sure you seek clarification if you are not clear on any aspect of this assignment.
By undertaking this assessment, you will progress in developing the qualities of a University of South Australia graduate. The Graduate qualities being assessed by this assignment are:
The ability to demonstrate and apply a body of knowledge (GQ1) gained from the lectures and text book
readings. This is demonstrated in your ability to apply programming theory to a practical situation.
The development of skills required for lifelong learning (GQ2), by searching for information and learning to use and understand the resources provided (supplied assignment files, C standard library, lecture notes, text book, practical exercises, etc), in order to complete a programming
The ability to effectively problem solve (GQ3) using the C programming language to complete the programming problem. Effective problem solving is demonstrated by the ability to understand what is required, utilise the relevant information from lectures, the text book and practical work, write C code, and evaluate the effectiveness of the code by testing
The ability to work autonomously (GQ4) in order to complete the
The ability to behave ethically (GQ5) by ensuring that you abide by the University’s policies and procedures relating to academic integrity as they apply to assessment. Your solutions must be your own
The use of communication skills (GQ6) by producing source code that has been properly formatted; and by writing adequate, concise and clear
The application of international standards (GQ7) by making sure your solution conforms to the standards presented in the programming practices lecture slides (available on the course website).
It is recommended that you develop this assignment in the suggested stages.
It is expected that your solution WILL include the use of the following:
Your program must be developed using multiple C source files, with the number and names of all the files strictly adhering to the specifications below.
Your program must be developed with two C source files and one header files. These files must be:
c - This file contains the main() function and contains code to implement the interactive mode, which uses the functions contained in profile.h. It allows the user to interactively query and manipulate the profile information. The array of structures for the profile information must be defined within the main() function in file assign.c.
h - Provided for you on the web. This file contains the function prototypes for functions to load, query, and manipulate the profile information (stored in the array of structures). This file must not be altered with the exception of completing the data structure declaration.
c - This file contains the implementations of the function prototypes listed in profile.h. It may also contain additional functions (to assist in your implementation of the functions listed in profile.h)
It is expected that your solution WILL also include the use of the following:
An array of structs that will store profile information (defined in the main() function).
A variable that records the number of profile records stored in the array (defined in the main() function).
The supplied h file which must not be altered with the exception of completing the data structure declaration.
Appropriate functions – 1 idea per
Use of #define for symbolic constants (i.e. #define MAX_PROFILES 50). No magic
Well constructed loops. Marks will be lost if you use break, quit(), exit() or return statements or similar in order to exit from loops.
Output that strictly adheres to the assignment If you are not sure about these details, you should check with the ‘Sample Output’ provided at the end of this document.
Good programming practice:
Consistent commenting, layout and You are to provide comments to describe: your details, program description, ALL variable definitions, all function prototypes and all function definitions, and every significant section of code.
Meaningful variable names. No single letter variable
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of