Shop management system using python, Thesis of Information Systems

shop management system using python programming

Typology: Thesis

2018/2019
On special offer
30 Points
Discount

Limited-time offer


Uploaded on 12/21/2019

saugat12
saugat12 🇳🇵

1

(1)

2 documents

1 / 8

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Islington College
Information System
CC4002NA
Coursework 1
Submitted By: Submitted To:
Saugat Poudel Mr. Sukrit Shakya
NP01CP4A170093 Module Leader
Group: L1C6 Information System
Date: 2017/12/29
pf3
pf4
pf5
pf8
Discount

On special offer

Partial preview of the text

Download Shop management system using python and more Thesis Information Systems in PDF only on Docsity!

Islington College

Information System CC4002NA

Coursework 1

Submitted By: Submitted To:

Saugat Poudel Mr. Sukrit Shakya

NP01CP4A170093 Module Leader

Group: L1C6 Information System

Date: 2017/12/

Contents

  • Bubble Sort algorithm (brief explanation):
  • Step by Step algorithm of Bubble Sort:-
  • Flow chart:-
  • Data Structures:-
  • Reason to choose multidimensional list:................................................................................
  • Reflection:
  • Bibliography:
  • Figure 1: Flowchart of Bubble Sort Algorithm. Table of Figure:

2

Flow chart:-

Start

Input list Sorted=false

While Sorted==false

numberOfSwaps=

For i=1 to i=list.count-

If List [i-1]> list[i], then swap the value numberOfSwaps +=

If numberOfSwaps=o

Sorted=True

false

true

Output=list

End

Sorted=False

Counter =counter+

Figure 1: Flowchart of Bubble Sort Algorithm.

3

Data Structures:-

“Data structure are the structure which can hold some data together. In other words, they are used to store a collection of related data. There are four built-in data structures in python- list, tuples, dictionary and set.” (Anon., n.d.) Brief description of them are shown below:

  1. List: "A list is a data structure that holds an ordered collection of items i.e. you can store a sequence of items is a list". (python.swaroopch.com, n.d.) In python, list is initialized by big brackets "[]" and items are kept inside those brackets separated by comma. In list, Indexing is started from 0. We can also apply 2 dimensional list so we can store data in matrix form. Examples of list are: Foods = ["Rice", "maize", "beans"], a= [1, "hello", 2.5].
  2. Tuples: “Tuples are used to hold together multiple objects. Think of them as Similar to list, but without the extensive Functionality that the list can give you. (Anon., n.d.) One more features of tuples are they are immutable like strings I e. you cannot modify tuples. Tuples are defined by specifying items separated by commas with in an optional pair of parentheses. For example: integers= (1, 2, 3, 4, 5). If a=5, b=10, then to swap the values we can use the tuples, (a, b) = (b, a), print (b) gives output 10 and 5 respectively.
  3. Dictionary: “A dictionary is like an address book where you can find the address or a contact details of a person by knowing only his/her name. The key must be unique because you cannot find the correct information of a person if you have two persons with the exact same name.” (Anon., n.d.) Note: that you can use only use immutable object like (Strings) for the key of the dictionary but you can use either immutable or mutable objects for the values of the dictionary. Every unique key has its own value assigned to it. For example: result = {'Ram': 40,'Sham': 90,'Raju': 80}, here result is variable where a dictionary is implemented. "Ram","Sham","Raja" are the unique keys and 40, 90, 80 are the respective values.
  4. Sets: Sets are unordered collections of simple objects. These are used when the existence of an object in a collection is more important than order on how many times it occurs. In python diff operations can be done for example:

5

I got logic and tricks from this module about creating and solving different problems which now I am able to implement in other similar programs too.

At the beginning of the module I was not able to solve different lab problems and class works because that time didn’t have any idea about the format and technique and have not have taken any of the programming classes and this was totally new to me. Then I started asking about the questions and solutions to our module teacher and also got ideas from different library source and online sites.

After getting the idea format I started practicing it very much in home and even I encourage my friends in some of the challenging problems. Actually this module was very much fun in learning and researching about the problems and its solutions. After leaning the technique I find this module very interesting and started giving more time to this module. Now, I have developed the habit of tackling the difficulties myself and some time with the help of my friends. there is no any offence that more complex type of problems will I have to face in future but now I am ready to overcome with that problems and move ahead because I already pinned my interest in this topic and being a passionate person I will never go backward. While reading this module I also got a team while researching and solving the problems together. They are also very much passionate about this module and we also discussed the problems between each other and our module teacher also helped us very much in the learning phage. We used to collect the questions from different books and websites and discuss in between our groups and finalize it with the help of our module teacher. Actually the module was not only hard and challenging one to read but also was very much interesting. We were very eager to see the coding and solutions of each problems so we also tried very hard to learn and clarify the programs implementation and solution. Though it was tough to understand at the beginning I made me very happy after learning it. In the beginning of this course I was not capable of solving any of the problems because of my non IT back ground. Then I starting working very hard, I always used to give my full attention in lecture classes and also used to revise my slides and practical word problems in house and also Inside collage. Most of my friends in my groups were also from non IT background and they also have got same level of curiosity like me to get knowledge about programming language. This module was also our first programming module and I was the beginning so if we don’t try to learn it in beginning we know it will be so much difficult for us in upcoming future so we working very hard together and separately while enrolling this module.

Finally, I am very much thankful to get opportunity to read this module as my course because this module not only help me in a particular one but also in other programs. After reading this module I found other module easy because all the formats and technique to implement a program I got from this module. I hope I could learn more technique in upcoming future from this module. This module help me not in only this but also in overall academic progress. I expect more from this module in future so I could learn even more techniques and way of implementing the algorithms and programs.

6

Bibliography:

Anon., n.d. [Online].

Anon., n.d. "A Byte of Python". [Online] Available at: https://python.swaroopch.com/data_structures.html

Anon., n.d. Data Structures. [Online] Available at: https://python.swaroopch.com/data_structures.html

geeksforgeeks, n.d. geeksforgeeks. [Online] Available at: http://www.geeksforgeeks.org/bubble-sort/ [Accessed 24 December 2017].