LLP109 Coursework – PythonDevelop your own electronic ‘bibliographic information data management system’ inPython.Assignment: Write a complete, well-structured Python program that begins by asking theuser to…

LLP109 Coursework – PythonDevelop your own electronic ‘bibliographic information data management system’ inPython.Assignment: Write a complete, well-structured Python program that begins by asking theuser to enter bibliographic information of library items, such as books, CDs, photographs.The program will produce a database with the input values and display the stored ones tousers. You must use: Data Structures, Loop, Conditionals, user defined Functions, andData (keyboard) Input/ (screen) Output. Therefore, you should ask yourself how you canincorporate the topics you learnt in the module into this specific project. Be sure to write yourstudent number in the upper right-hand corner of the code. Use comments to explainintended meaning, reason, and functions of each part in the program. This will be veryhelpful for readers to understand your codes.Directions: Above all, think of the general architecture of the code. Think of a DataStructure that includes bibliographic data sets as its elements, such as a title, author, year,identification number, page number. Your code should be able to display all the data sets ona screen after entering the input data. The code should have an input and output (display)functions that defined by you.Hint: A sequence of instructions may loop endlessly in the code, unless the user choosesterminating condition. Or, you can give the finite appropriate number for the loop. Declareand define ‘Insert’ and ‘Display (Show)’ functions. Define a data structure, e.g. list, havingmultiple elements of lists. Instead of a list, alternatively class can also be used. Think of anidea to append a data structure element to the main data structure. Note, a small datastructure can be an element of a bigger main data structure, e.g. nested list (Refer to thelecture notes). Remember how to access each data at different levels (dimensions), which isexplained in the lecture notes. The total number of the nested data structures corresponds tothe number of bibliographic items, e.g. books. A few items can be all right in order todemonstrate the functionality of your code.A user should be asked to choose an operation out of multiple options, such as (1) Datainput, (2) Display the data sets, (3) Finish and exit. When (1) is chosen, the code calls the‘input’ function and the user put bibliographic information for each library item. After enteringall the data of a book, the user can make a choice out of the three (or more than three)options again. Therefore, a loop and conditionals are required in the main algorithm. Forexample, a user can see the data sets stored in the data structure so far when (2) has beenchosen, finish the job and exit the entire program when (3) has been chosen, or carry onwith the data input job with the option (1). It is necessary to write a code preventing(unintended, overflow, memory, wrong input data type) errors. i.e., exception/errorroutine, when a user tries to make wrong attempts, e.g. to try putting more data than thestorage size of an array.Start earlyProgramming is not an activity that can be reliably scheduled to take a predeterminedamount of time. The best thing you can do for yourself is to ‘get started right away’. Refer torecommended on/offline literature on coding, especially sections about Loop, Data Structure(List, Tuple), Input/ Output, Conditionals, and User-defined Function.

Let’s block ads! (Why?)

Do you need any assistance with this question?
Send us your paper details now
We’ll find the best professional writer for you!

 



error: Content is protected !!