Friday, November 29, 2019

Macbeth Diary Entries free essay sample

I am weary and suspective of Macbeth as he questions much of my movement with Fleance that afternoon. I really feel something amiss. Maybe it is just Macbeths insecurity for all i know. It is late and Fleance is waiting for me in the woods. I must go now. Macbeth and I just had just came back from a battle. A great one indeed. We had came ashore and were proceeding back to Forres when we came upon this desserted and gloomy heath where we were most shcoked to be greeted by three witches that had long beards strecthing from their ragged cloaks. I was uncertain what gender they were, but i knew something was wrong. At first sight, the three creatures greeted Macbeth Thane of Glamis. They then started chanting prophesis that concerned Macbeth and me. The first witch chanted,All hail,Macbeth! Hail to thee,Thane of Glamis followed by the next All hail, Macbeth! Hail to thee,Thane of Cawdor and the last of which chanted All hail, Macbeth ,that shalt be king hereafter! Hail they chanted three times together and continued prophesising. We will write a custom essay sample on Macbeth Diary Entries or any similar topic specifically for you Do Not WasteYour Time HIRE WRITER Only 13.90 / page Lesser then Macbeth, and greater. the first witch chanted. Continued the second Not so happy, yet much happier. Thou shalt get kings ,though thou be none So all hail, Macbeth and Banquo. Chanted the last of witch. I was overwhelmed by suspision when i heard those prophesies whilst Macbeth was, I should say rather engrosed and interested in their prophesies. Macbeth wanted them to stay but in a blink of an eye, they suddenly disappeared into thin air. Macbeth was furious. Stay you imperfect speakers, tell me moreMacbeth Was truely interested in these creatures prophesy, but i just got a bad feeling about this. Dear Diary, The news my cousin brought filled me with an unimaginable grief. My family, brought to the graves by such feeble means, so defenceless and alone while I was off in England arguing with Malcolm about my loyalty, which how dare he question it! Only a monster would kill innocent children and women, there was no reason for it! How can they live with themselves? As I write I am miles away from Fife for how could I stay when that atrocity happened in the place where I would have rested? I can never forgive myself for what happened that day, that fateful day which has brought me nothing but pain. I lay in my bed last night feeling alone and confused. My thoughts were in flux; I had ranged between crushing, overwhelming depression, during which I had shed countless tears onto my blankets, and anger so volatile I got up to put on my armour and immediately head to Fife (thrice), in hopes of catching the perpetrator only to remember my family, take off my armour, and lay back down. My wife would not have liked me to be dwelling on avenging their deaths but it is the only thing my mind has been set on. I have thought of killing myself, taking away the pain but I cannot do that! What would people think? I have no heir to my title or wealth, they would think I killed my family myself! Then I think of that assassin and him off gallivanting killing more innocent people and breaking other peoples hearts and I know hes got to be finished. If I ever find out who has killed my loved ones, I will be the death of them or they be the death of me. Macduff I am writing this entry, sitting at a desk in Scone. I have recently witnessed my dear friend Macbeth crowned King of Scotland. I am still in shock after the strange happenings of the past few days, so I am not yet overcome with neither joy nor grief. I should be happy for Macbeth, yet I feel that something inside me will not allow me to be so. These events, I fear, have not happened by chance, but that something evil, something supernatural is at work. Macbeth and I felt immense pride, on that fateful day as we rode, victorious, over the moor. We had just defeated the ghastly Norwegians, though by uncivilized means. Macbeth rightly said So foul; and fair a day I have not seen. Not far into our journey, we came upon three weird sisters. They all hailed Macbeth Thane of Glamis, Thane of Cawdor, and king hereafter. True, he was Thane of Glamis, but we were puzzled, to say the least, about the other two statements. As I was intrigued, I questioned them about my future. In reply, they told me that my sons would me kings, and that I would be Lesser than Macbeth, and greater. This confuses me greatly, for had they not just said that Macbeth would be king? Of course, I chose not to believe these instruments of darkness. Amazingly, minutes after the sisters had vanished, Macbeth was announced Thane of Cawdor. We were both quite taken aback, for the beings had foretold that very thing. I think our minds both raced towards the third prediction, All hail Macbeth, that shalt be king hereafter! I believe that Macbeth began to think about how to make the third prophecy a reality. We spoke no more about it. Surprisingly, Malcolm was named Duncans successor, though Macbeth was firm favourite in my mind, at least.

Monday, November 25, 2019

Back to School Checklist for Teachers

Back to School Checklist for Teachers Preparing your classroom for the new school year can feel a bit overwhelming. Even seasoned veterans can feel the stress during the first few weeks of school. To help alleviate some of this stress, try keeping track of the essential tasks with a back to school checklist. Print this list and be sure to check off each task as you go. Back to School Checklist Wrote and mailed a  welcome letter to parents and students.Created name tags for students and their desks.Laminated name tags that include specific information such as a walker, bus number, address etc.Read through student files to help determine placement in groups and activities.Determined seating chart and desk arrangement.Decorated the bulletin boards.Decorated the front door.Determined the rules and consequences or how you will have the class decide upon the rules.Decided on icebreaker activities for the first day of class.Collected activities and lessons for the first week of school.Became familiar with the class computer and other technology needed for the classroom.Decided how to welcome students and introduce them to the rules and procedures.Developed a substitute folder.Printed emergency contact form.Ordered extra supplies for students such as a folder, pencils, glue etc.Set up Learning Centers with supplies in place.Created classroom jobs.Camera ready to take pictures of the students. Got to know fellow teachers and staff members.Set up a classroom calendar.Organize the classroom library.Made copies of all worksheets that you want to send home for the first week of school.Labeled workbooks, folders, and textbooks with students names.Gathered extra tissues, paper towels, band aids and emergency supplies.Created the first newsletter to send home.Gathered book order information to send out.Have a reward or incentive box filled.Have a birthday chart ready to be filled out.Have all systems in order (homework basket, paperwork basket etc.)Take home folders are labeled and filled with the necessary paperwork.Purchased a lesson plan organizer and calendar.Purchased or gathered cleaning supplies for the classroom.Purchased a bottle of aspirin for you, and hand sanitizer for the class.Gathered teacher materials and supplies.Create a routine for attendance, lunch count, walking in halls etc.Set up a class webpage to communicate with students and parents.Purchased any classro om supplies that are needed. Find out student schedule for lunch, gym, library etc.Obtained district curriculum standards.Prepared a folder for faculty meetings and information.Made copies of materials for the first few weeks.Posted lunch menu.Posted emergency evacuation and procedures.First aid kit stocked and in place.Shelves, cubbies and activity areas are clearly labeled.Decided how to manage homework.Decided how to manage using the restroom (lavatory passes, just get up and go, etc.) Additional Things to Consider During the first week of school create a student inventory checklist. This will help students, and yourself, keep track of all items that students bring in. Once rules and consequences are decided upon creating a classroom plan agreement for all students and parents to sign. This will ensure that everyone is on the same page if something goes awry. To keep parents in the loop, create a daily or weekly progress report for all students. For younger students, you can list days of the week and use stickers, stamps or happy faces. For older students, you can rate progress by listing each subject and rating by excellent, good, need improvement etc. When preparing for a parent-teacher conference, provide parents with a planning sheet that they can bring with them. List questions such as academic strengths and weaknesses, goals for the year, examples of students qualities and so on.

Thursday, November 21, 2019

Crimes Against Humanity Essay Example | Topics and Well Written Essays - 1000 words

Crimes Against Humanity - Essay Example that this term first appeared in the preamble of the 1907 Hague Convention, the meaning of this term have evolved to take on a much broader meaning to include â€Å"anything atrocious committed on a large scale.†1 Killing is morally evil and wars bring so many deaths that even though â€Å"decisions relating to war are not made in a moral vacuum†2 one can never claim that the death of innocent people are but the collateral damages of war. As the term â€Å"crimes against humanity† has become so broad that it encompasses just all other types of violence against certain groups of people, sector or race, it would help us to understand it better by looking into some specific events that resulted into the loss of thousands human lives. There have been many events in the past, which involves great loss of human lives, but nothing could ever surpass the holocaust. In the generic sense of the word, a holocaust is any event where there is great loss of human life as is near total destruction by fire. However, the meaning of this word somewhat changed with the event that led to the death of some 11 million people. The holocaust is one of the best examples of â€Å"crimes against humanity†. Between 1933-1945, around 6 million Jews and 5 million non-Jewish people were systematically killed when the Nazi and its supporter ruled the most part of Europe3. Although most of Hitler’s target was the Jews, there are also other people who suffered and died on the process under the brutality of the military, the government officials and the leaders of the Nazi. Technically, the holocaust started when the Nazi in Germany opened the first concentration camp sometime in January 19334. At first, these camps were used as the holding place for political prisoners but eventually evolved over time until in 1939, it became the place of horror where people were tortured and killed. Prisoners were classified in the concentration camps. Those who are healthy and strong were subjected to forced

Wednesday, November 20, 2019

Robinson Crusoe Research Paper Example | Topics and Well Written Essays - 2000 words

Robinson Crusoe - Research Paper Example Robinson Crusoe is a story of any common man who has a capability of getting transformed in his mind, in his body and in his soul when he is left in a situation that he had never imagined before or was never trained to survive. Critics have seen Daniel Defoe’s work as a message for Englishmen. Jeremy Hubbell says that through ‘Robinson Crusoe’, Defoe was giving an idea to England that psychological tools like reason, ethic and protestant faith can make them successful in colonialism. And also, the author was trying to suggest how important labor is when one is trying to please God [1] . Twentieth century critics are little confused over what is Defoe’s exact message on human needs of security, economics and moral values [2] . According to another review, the story carries the theme of individual versus society [3] . It says that Robinson Crusoe’s desire to go on a sea journey was his individual desire and his father’s refusal was an outlook of the ‘society. So it was as if trying to suggest a theme of self against the ‘others’. But the question is, was this the only message? Was Daniel Defoe’s story a tool to tell people how they can be successful in their political ambition or was it a journey into a mind of a human being, no matter what background he is from? Daniel Defoe has written a story of young man called Robinson Crusoe who listens to his heart and instead of taking a conventional path of work, he goes on a sea journey. Robinson Crusoe, as a young man, is fatalist, weak, and timid. These qualities are evident from the fact that he becomes disturbed with the disastrous prophecy that his father makes when he expresses to set

Monday, November 18, 2019

Student Support in Open and Distance Learning Essay

Student Support in Open and Distance Learning - Essay Example Quoting Nonyongo (2002), Tait (2003) said the UNISA was not successful due to low success in terms of completion and throughput rates, the correspondence nature of programmes in comparison with well-functioning distance education, and inadequate learner support which is exacerbated by the lack of a co-ordinated regional network of learning centers. From here, Tait (2003) emphasizes the dangers of developing distance education without learner support. In contrast to UNISA, Tait (2003) describes the Open University UK established in 1969 with modern distance education endowed with a range of teaching and learning media and forming an integrated student support system. The characteristics of the systems included a personal tutor for each student (one tutor for every 25 students), tutor feedback, computer-mediated tutorials, 260 study center networks, residential school experience at a minimum of one week, and career advice. Tait (2003) then explains the main reasons for having student support integrated in an ODL system. First, the students want support. Second, drop-out rate can be reduced; and third, the nature of learning is such that the use of the Web has expanded the potential for learning outside or independently of teaching materials provided. He then summarizes the rationale for student support as being cognitive, affective, and systemic altogether. In other words, learning is both supported and developed; it relates to emotions supporting learning and its success; and the students themselves help manage the rules supporting their persistence (Tait, 2000). In particular, Tait (2003) espouses Michael Moore's (1993) theory of transactional distance as a framework that may be used to understand student needs in a web-based learning environment. Accordingly, Moore believes that the space between the learner and the structure of teaching must be mediated by dialogue, giving the chance to the learner to participate actively in his learning. Tait (2003), however says, the theory needs to be challenged as all theories do by the application of new cases. As the article opened up, I get the feeling that Tait (2003) is plugging for the Open University of UK because he worked there as faculty. As the article progressed, however, he presented many points valid from experience, and he became more credible. Words like, "power of mere asynchronous text to create and sustain interpersonal engagement" is true to the experience of many in this cyber-age. This now highlights the truism that face-to-face interaction may also suffer from various "distance" like psychological, interpersonal, cultural, linguistic, environmental, and the like. Tait (2003) is well-versed with his topic on student support in web-based learning environments. Prior to this writing, he had already written scholarly publications on student support and distance learning from 1996 to 2000 to 2002. By the time he wrote this reflective item, Tait (2003) had already sharpened his arguments over much. In fact, although he was espousing Moore's (1993) theory of transactional distance, he was laying it down for examination and possible criticism. It appears that Tait (2003) is ready for new developments. I would rate the article a 4 because of his readiness

Saturday, November 16, 2019

Sainsbury Plc Is The Leading Food Retailer Marketing Essay

Sainsbury Plc Is The Leading Food Retailer Marketing Essay Business environment: The business environment is the external and internal environment in which company works and which help in company to run the business and help it to face the various situations which affect the organization and their operations. According to (J. Kew, J.Stredwick, 2005) Environment is situational and is unique to each organization. The external environment consists of changes that takes place outside organization and are external factors and the changes taking place within the company are called as internal factors. The objectives and strategies are based on this and they can be affected by this external and internal factor. Pest analysis tool help to understand the framework of the external and internal factor of the company which helps company to survive and establish in market. The scan of external macro environment can be expressed in following terms Political, Economic, Social, and Technology sometimes two additional factors environmental and legal make it a PESTEL analysis. The increase globalization is opportunity and a good challenge to Sainsbury. The challenge is to get the best quality/financially viable products from all over the world. It can enter the markets of the existing companies through joint ventures and enter into new markets but they do not have such plans in horizon. The ongoing investigation of price fixing among the big retailers and Sainsbury being in forefront of this allegation can have negative impact on industries and Sainsbury (Rigby 2008). Sainsbury has good consumer relationship but although this could lead to negative public image and consumers could feel cheated. HBOS is on with whom the financial service of the Sainsbury works or run with (Annual Report 2007). The recession may end up people buying more of the essentials than the luxury items on which Sainsbury has its greater profit margin. Credit crunch also affects the Sainsbury bank credit directly as it does not have established name in financial services. The prices of food have increased all around the world as there is crisis of food globally, that has result in increasing purchasing cost of Sainsburys (economist.com 2008[online]). That has lead in increase of most of the price of products in Supermarket. Rising fuel cost will also lead to the increase in overall supply chain of Sainsbury and leading to increase in prices. The increase competition will lead to let of incentives to consumers which again affect the Sainsbury as it has to driven down its prices most of the time. Social Environment The social environment includes all the demographics and socio-cultural issues that is population based on age, income classification and distributions, community works and different view to work. The government has stressed on eating healthy food and this has been promoted by it [eatwell.gov.uk 2008]. This can help Sainsbury to stock up healthy food in cheaper price than other manufacturers and get benefit with this new trend. Sainsbury follows the responsibility of the society and its surroundings. It operates affective charities, sponsor games, arrange social activities, raise fund for animal and many more. As UK has aging population Sainsbury has started to recruit older employees to strike into this ongoing labor pool. Technological Environment The technological environment comprises of modern and new product innovation, invention and improvement. Its been predicted that by 2011 the UK online sales will be reaching Eur263bn, of which British shoppers would be their third in whole income. The 8% of the advertisement globally is through internet expense and these are rapidly growing (The Economist, 2007). The supermarkets have disadvantages of long queue holding for customers specially those who have fewer items to buy the self checkout machine like Asda and Tesco has helped the customers. If Sainsbury develops the self checkout service and its stores for 24 hrs can help boost the sales. The RFID can be used significantly to supply chain for Sainsbury although not in use if applied it can lead to most profit organizations [directions magazine 2008]. Legal Environment The stringent laws on food and drinks will lead to ever increase cost on packaging and labeling of the food item which is an additional financial burden on the Sainsbury. Even with respect to their interest in financial services there is more legal scrutiny in operations with the Sainsbury bank that is there is more responsibilities regarding the legal compliance and other risks. Sainsburys is in the boundaries of the legal forces locally, nationally and globally and are very close to enforcement in which firm operate. The company maintains different type of legal laws including Consumer laws, Competition laws, Employment laws and health and safety laws. Environmental Environment A lot of emphasis has been on big companies to increase their efficiency by reducing the carbon footprint [Bream 2008]. That is to go green issues and to reduce an impact on the environment the Sainsbury has to invest more on the green issues. Other like organic food and their sales and treatment of animals, affects Sainsbury on various levels. The importance given to this issues means they have to provide to consumers that are priced govern. It is a sensitive issue which Sainsbury has to cover with respect to bearing their consumers. Analysis of Porters Five Forces Porters Five Forces: By porters five forces we are going to investigate the threats of substitutes from supermarkets, the buying capability of purchasing groceries, buying capability of suppliers regarding groceries, last but not the least the buying power of customers. www.321books.co.uk, (2010) [online] 1) Barriers for Entry: The food retail market have a very high barrier to their entry , firstly because it is the most sophisticated sectors in the UK and it needs lot of investment and a significant brand which take years to establish (Doyle 2002). And retail is also not on advanced stage in UK and most of the other western world that is there is a scope for new entrants to develop in market is very scarce. It is necessary to know the basic and local things in food market. They have a certain support from few of their global markets in UK. 2) Power of buyer: Since the competitors sell the same product the power of buyer if high in this industry. The only difference is in their consumer loyalty and differentiation in price. As economy goes down due to recession consumer needs are going to be more concern and their power will be more. The strategy of Tesco was to cut prices in order to increase the sales. The reason for the success of its competitor like Asda and Tesco was high as they were not only handling price cut but also expanding on home wears. Asda adopted the strategy of high volume non-food strengths and MS went with the strategy of top-end luxury food. 3) Power of suppliers: Suppliers power is equally distributed and they are the huge companies like Unilever, Cadbury, PG which has huge brand appeal. If supermarkets do not sell their products the consumer will shift their loyalties and suppliers will be more powerful. If product of big companies as well doesnt reach supermarket stores their sales volume could be hampered. There is no consideration of small suppliers as it depends on the supermarkets. The low price platform of the retailers have given the customer the platform to buy from the stores with less or promotional price. 4) Threat of Substitute: Threat of substitute in food retail industry is low as it is a necessity especially in emerging market and developed world. The retail market tries to bring new updates and promotions so that shopping can be pleasurable experience which makes it difficult to be replaced in market. The major treat comes from the internal substitute where one supermarket lap up business of other. 5. Rivalry: There is a very stiff competition to grab the market shares from all supermarkets. The market share of Sainsbury was 14.9% in 2007 and has increased gradually. SWOT Analysis Strength, weakness, Threat and Opportunities Various companies need several business strategies to run their business in a smooth manner. They follow various methods to do so. One of the major is to analysis the strengths weakness of the company along with the opportunities it has and which may arise in future and the threats which they may face. STRENGTHS WEAKNESS THREATS OPPORTUNITIES Strengths The great turnaround in Sainsbury business is through its growth of thirteen straight quarters (Rigby and Braithwaite 2008). The turnover in 2007 was 7% with an increase in profit was around 450% P.A. It consists of good environmental issues due to its recently taken steps of buying fair-trade goods.  It is one supermarket chain which has a celebrity endorsing products leading to increased sales. The Jamie Oliver has helped in uplift in sales and it can be seen in various ad campaigns. There positive consumer brand is liked by both green activities and consumers. The key strengths of the company are marketing and branding has distinguished them in minds of customers. The orange color used by Sainsbury is very traditional to the campaign. Weakness 1. It has been recently overtaken by some private firm called as Qataris, Sainsbury being governed by the firms can lead to the consumer switching loyalties. 2. Except U.K. Sainsbury is not present elsewhere unlike Tesco expansion plan [economist.com 2008]. This can lead to problem if there is some problem in food retailing in U.K or if there needs to be source of extra growth. 3. The differentiating competitive advantages are missing. 4. Their infrastructure change in their stores was a weak attempt which only ended up confusing customer in stores. Opportunities: Sainsbury has many other businesses that have a great future opportunity. Their investment in property and pound 40 million profits through its bank seems good strategy to follow. The organization has resources and capabilities to improve with technology and new applications. They can win back the customer trust by improving their customer service especially through loyalty programs. Threats: 1. Supply chain of Sainsbury is directly affected by the bio-fuel consumption which is important tool for green environment effects. 2. Its operations are subjected many regulatory requirements related in planning, pension plans, employment and employment in terms of products and services. [www.guardian.co.uk 2010] The market share pie chart shows that Sainsbury has slipped down in recent year in the market drastically. Tesco leads with 30.6%, Asda ranks 2 with 16.8% and Sainsbury was out spaced with 4.4% [www.guardian.co.uk, 2010] Bowman strategy Clock: C:My DocumentsWEBSITEbowmans_lesson.gif C.Bowman, D.Faulkner, (1996) The Bowmans clock is analyses competitive position of the markets as compared to other competitors. The first step is competitor analysis, the process of identifying, assessing and selecting the key competitors. The second step is developing competitive e marketing strategies that strongly position the company against competitors and give it the greatest possible competitive advantage {P.Kotler, et-al, (2008)}. There are eight options: 1) High Price: Sainsbury being the old brand they have their price on products very much more which mean high margin. Sainsbury has high price for all its products but it does focus more on pricing then to focus on customers. Sainsbury has a high price and hence is a cost Leadership. They have high price and value products. Increased price/standard: Sainsbury has the marketing tool of high pricing hence it has higher margin than most of its competitors, but it is not only the high price it is also the quality and exclusivity that they offer. The Sainsbury is brand hence is followed by the people who are endorsed with brands and it does have most of its target customers as the loyal customers who are stuck with them due to its high value and brand image. www.brandingstrategyinsider.com, (2010) [Online] 2) Differentiator: Sainsbury Differentiates itself with their main objective of high price offered to customers with an added value services provided as it has value and brand image associated with it. a) Focused differentiation: The Sainsbury is the cost differentiator as it has its loyal customers and is in UK market upholder of its brand image as compared to other competitors it does not focus on lowering the price. In order to gain back its position the Sainsbury should focus on following differentiator factor It should focus to be successful internationally, as Sainsbury is only in UK. It should develop new market and new product to gain its position. Focus on its customer service: Sainsbury has lost their customers because they were not getting good products in higher values as compared to Tesco and Asda rates. It should focus on unique product and service. Developing retail service: Sainsbury has resources which they should use and develop the self checkout on 24 hours stores and develop its IT services it will help in increasing their sale. Earning Customer loyalty back through various nectar points and loyalty cards giving customers offers and benefits and hence being committed to customer and developing the bond of loyal customers. It should maintain long term customer relationship management. In year 200 the organization realized that they were not gaining success and their share price fell by 23.3% which needed some drastic changes to overcome the business performance. Sir Peter had through its supervision concentrated on Stores, Customer service and maintaining their supply chain and also enabling the development of its IT solution to improve their performance. In 200o the store had undergone the strategic programs to overcome their store faults. The steps which were taken were as follows To increase their share holder value store needed to be placed in new market position The target customers needed to be focused and the stores management and service needs to be improved. Focus on customer shopping experience through its team members and managers work in the store. The infrastructure needs to be focused as in accordance with customer and the commodity and employee performance should be raised. The advantage of synergic group should be taken and focus on B2B,B2C and e-commerce These were the strategic measures taken by the company but it still needed a deep organization and customer development with respect to competition in market [www.universityessays.com]. 2) Focused differentiation: Sainsbury strategy is not their customers but they focus more and their products and hence always have them as high priced. Their target customers are those who have image of high price means high quality and since its mainly in Britain there most of the loyal customers are their own people who prefer the brands, on other hand their competitor like Tesco and Asda targets customers by control on pricing. It does focus on its product value and high price but Sainsbury should know that the price is a marketing tool which attracts people the most. The most important reason for the fall of Sainsbury from top supermarket in UK market to number three, is as stated by their CEO (J. King 2004) We have not stayed as sharp on pricing as we should have done. www.allbusiness.com, (2010) [Online] www.brandingstrategyinsider.com, (2010) [Online] Performance Sainsburys reports slowest sales growth in five years Sainsbury has reported slowest growth in past five years and has been forecasted to have tough year ahead. Their like for like sales excluding the fuel rise 1.7% in fourth quarter compared to third quarter 3.7%. In 2009 sales were 2.3% ahead [www.guardian.co.uk]. Sales of general merchandise like clothes grew three times than the rate of food. It had swung a profit before tax of pound 19 million from loss of pound 48.6 million [www.guardian.co.uk.]. According to news and media it expects to sell its independent titles in UK shortly, after having 39%drop in full year operating profits. It had made loss of euro 31.4m down from 161.4m in 2008[www.guardian.co.uk.] The five year operating margin of Sainsbury 1. Underlying operating margin5  (%) Underlying operating margin (%) 2. Underlying profit before tax6  ( £m) Underlying profit before tax ( £m) 3. Underlying basic earnings per share7  (pence) Underlying basic earnings per share (pence) [www.j-sainsbury.com 2010] http://www.j-sainsbury.com/ar10/businessreview/keyfinancialperformanceindicators.shtml From the above figure 3 figure of five year plan of Sainsbury performance can be seen that the Sainsbury had a significantly slow sales growth of margin in these years. Conclusion: The Sainsbury has slipped down in UK market in past five years which can be proved from the evidence collected in porters five forces and SWOT analysis. The business environment study of Sainsbury shows that the main reason of the slipped down of Sainsbury was its not concentrating on the price factor but tits more emphasis in changing and developing the stores which had made customers more complicated about their store locations. Also Sainsbury overtaken by the Qataris the other foreign body has raised the question to their customers and hence switching their customer loyalty. The other competitors of Sainsbury were always on the market increasing their sales and attracting customers through low price like Tesco and Asda but Sainsbury enjoyed its leadership. They should focus on more of its strengths but being threat by the competition through price competition they are becoming weak and hence it has slipped down in market. In order to remain in competition Sainsbury should focus more on its customers and make their products look different from those of others. They should keep up with the technology and always be updated and be in pace with others. They should focus on their price strategy and support the environmental issues to compete in the market they have to bear in mind the customer likes and change according to their tastes.

Wednesday, November 13, 2019

The Lost Handwriting :: essays research papers

The Unheard Writing   Ã‚  Ã‚  Ã‚  Ã‚  One day, in the second grade, the teacher told our class to get out their lined paper and pencils. As I made that first fancy loop, following the example on the board, I was wondering what possible situation I was getting into. Later in the year, I learned that cursive writing was time consuming and very difficult to master. In high school, I found out that we had a choice of cursive or printing. I asked myself why we needed cursive? Why are others putting aside this writing that consumed so much time? What are the pros and cons of cursive? This type of writing is established, and I never thought to evaluate its effectiveness or its need until now.   Ã‚  Ã‚  Ã‚  Ã‚  One such pro is that cursive an established form of writing. In grade school, we learned how to neatly write the cursive alphabet. The reason that so much time was spent on this area of development is because it is seen as professional writing. The teacher wanted to prepare us for the future, and without this ability we would be unable to read or write this type of writing. For example, many professional forms such as taxes, weekly paycheck and legal papers all require a signature.   Ã‚  Ã‚  Ã‚  Ã‚  Adding on to that, your signature is unique to each and ever one of us. In all the people in the world, there is only one signature that is like yours and that is your own. Yes, it is possible to forge a persons signature, but it is highly unlikely to be a precise copy of the original. For instance, most colleges require students to sign their exams. This procedure prevents the acts of cheating. Moreover, banks have convicted many people of forge checks. A unique signature prevented both of these situations. Who would of thought that personal ID’s were this important?   Ã‚  Ã‚  Ã‚  Ã‚  On the other hand, one negative attribute is the fact that cursive is sloppy. It is hard for many of us to read cursive that was quickly written. It was hard for me to write it neatly in school. It was also difficult to read other kids’ handwriting because all the letters were smashed together and looked almost the same. Recently, there was a lawsuit involving a doctor and his cursive prescription slip. The patient received the wrong prescription. This mishap happened because the doctor was busy and wrote like a speeding bullet.

Monday, November 11, 2019

Car Parking Slot Allocation System

Chapter 1 INTRODUCTION Background of the Study Parking in big parking lot can be very challenging and effortful. Even when an indication is provided that a small percentage of slots is still available in the enormous car parks, most drivers do not seem to be able to locate those slots. Car Parking Slot Allocation System is a system that automates the searching and guides drivers on which location is their chosen slot located in the parking area. The system is designed to prevent problems usually associated with parking cars in a certain parking lot. How does it work?When a car is waiting at the entrance, the operator will give the driver the slot card number indicating where to park in the area. This will avoid time delay if there are any cars waiting in the entrance waiting for their turn. How does the system know which parking slot to allocate? The group created a simulation of a parking lot which composed of two separate parking areas – Parking Area A and Parking Area B, an d thus each area is consisting of 40 parking slots. Because there are two parking areas in the parking lot, both of this areas will be applied using Allocation Algorithm.The application of Allocation algorithm in these areas will only allocate the vacant or available slots. Those slots that are not vacant or already occupied will not be allocated anymore and this will be ignored by the system. The purpose of this project is to simulate and implement a real parking lot environment that allocate vacant parking slots using Allocation algorithm. As computer science students, the used and application of algorithm is the most important foundation of the field of Computer Science. Through this algorithm, this will tell the computer to do the task in the most efficient manner.Hence, by applying Allocation algorithm in the group’s study, an effective and efficient solution in the problems of allocating parking slots will be easily located by the system because of the application of al gorithm. In addition, an algorithm is a solution of a problem by a finite sequence of instructions each of which can be performed by a machine. Every computer program is essentially a set of instructions placed in a systematic fashion, that when executed, produce a desired result. The advantages covered in this system will be user interaction, ease f use, and effectiveness in demonstrating Allocation algorithm to those who don’t know much about it. Furthermore, the group hope that through this project, they can improve technological improvement to the car parking establishment in making an efficient and systematic car parking. Statement of the Problem The researchers envision solving the problems by answering the following questions: 1. How does the application of Allocation algorithm will be implemented in the Car Parking Slot Allocation System? 2. How will Allocation algorithm allocate or search vacant slots? 3. Will Allocation algorithm allocate occupied slots? 4.How does the system know which parking slot to allocate? 5. How to simulate the parking areas consisting of 80 slots that applies Allocation algorithm? Objectives of the Study The primary objectives of this study are the following: 1. 2. To implement the application of Allocation algorithm in allocating and searching for vacant or available parking slot. 3. To create and design a sample parking lot that demonstrate the simulation and use of Allocation algorithm. 4. To test and prove that the used of Allocation algorithm in the simulation of the parking areas will be functional, applicable and appropriate. Significance of the StudyThis study will be implemented and expected to give good effects and will be beneficial to the following: For the Operators, this study is significant to the Operators because this will provide a valuable guide to the advantages and disadvantages of the car parking operations. For the Car Drivers, this project easily assists the car drivers in finding parking slot q uickly with no trouble. The system helps to cut down the amount of searching time that drivers spend on looking for an available parking slot. Therefore, through this project, it will save their time by providing instant space availability information and frustration levels.For the Students, they would be able to use this data for them to get the ideas and references if they are planning to conduct the same study. This study could inspire interested students to make their own project or improve and innovate on our project. This helps them enhance their skills and potential in their field of specialization. For the Future Researchers, this project will benefit other group of researchers who wish to undertake similar studies as they can get more background information from the result of the study, which can serve as a basis to modify or improve their own research.For the Proponents, conduting this study is significant to the proponents because it can add knowledge in their field as a computer science student. It also enables them to research more about programming languages and various algorithms which is very essential in their course. Through this study, this also adds significant knowledge and experience to the proponents’ capabilities of making a simulation system. Scope and Delimitation There is no hardware required in the system, the group limit its study on the algorithm used together with the simulation of the parking lot.The group used Allocation algorithm in conducting the study to emphasize the use and its function in the implementation of the system. The group created a simulation of the parking lot so as to indicate the result of the algorithm. In the simulation, a car will run to locate the slot that has been selected. Once the car reaches the correct slot, it will stop and the animation ends there. The purpose of the simulation is to guide the driver to the slot where it is located. The group colored the vacant slots with color white, while the slots that are already occupied are colored with color red.Also in this study, the group included other features which is beneficial in the system such as generation of reports – specifically list of cars report and income report, and the parking payment system. The parking payment system will calculate the total payment of the driver during its parking period. Other than that, this study will not describe problems regarding human decision making or behavior issues. Like, if the driver will park on the wrong slot of fail to follow the operator had recommended, the system will identify the slot that the driver has chosen to be occupied and that the rong slot which the driver had wrongly parked will be noticed as available in the system. Problems like this will arouse conflicts in the parking lot. The solution of this matter will depend on the behavior of the driver. Another consideration in this study is that, if the parking area provides 5 slots, 5 cars can be parked in the area. When the driver forgets to remember where he parked his car in an area, the operator will ask for the plate number of the car and then the system will identify where slot the car was parked. The driver is also able chose whether to follow recommendations provided by the operator of the system or not.The driver is still able to choose any slot he/she likes. This study is also not about creating new parking slots. Once a parking lot is fully loaded, the parking problem remains. There are other solutions to solve that problem, but they are outside the scope of this study. Definitions of Terms Algorithm. It is the central concept of Computer Science. Formally, an algorithm is defined as a well-ordered collection of unambiguous and effectively computable operations that, when executed, produces a result in a finite amount of time. Algorithms are intended to solve computational problems.Allocation Algorithm. It is an algorithm that will only allocate slots which are vacant or av ailable. Allocated Slot. A slot is called allocated when there is no car parked at the slot, but the system is guiding a car to that specific slot. Cars. This refers to those designed to run primarily on roads, typically have four wheels and is construct principally for the  transportation  of people. Entrance. It is a location in the parking lot where cars can enter in the parking lot. Exit. It is a location in the parking lot where cars can exit or leave in the parking lot.Full. A parking lot is called full or filled, if all the slots are occupied. This means that no slot is vacant. Gray-box Testing. The gray-box testing is a combination of black-box and white-box testing. The intention of this testing is to find out the defects related to bad design or bad implementation of the system. Microsoft Access. It is the database application from the Microsoft Office Suite of applications. Usually abbreviated as MS Access. It is an easy-to-use program for creating and maintaining dat abases. Microsoft Visual Basic 6. It is the third generation ve-driven programming language and integrated environment (IDE) from Microsoft for its COM programming model. Visual Basic is also considered a relatively easy to learn and use programming language, because of its graphical development features and BASIC heritage. Occupied slot. A slot is called occupied if and only if a car is parked on the slot. Parking. It is the act of stopping a vehicle and leaving it unoccupied for more than a brief time. Parking Lot. It is a building or area that contains slots where cars can be parked. A parking lot has at least one entrance and exit. Simulation.It is the imitation of some real thing available, state of affairs, or process. The act of simulating something generally entails representing certain key characteristics or behaviors of a selected physical or abstract system. Slot. A certain amount of space in a car park, often surrounded by white stripes, that can hold exactly one car. Sy stem. It is a collection of elements or components that are organized for a common purpose. Vacant Slot. A slot is called vacant when there is no car parked on the slot, and the system is not guiding any car to this slot at the moment. Chapter 2 REVIEW OF RELATED LITERATURE AND STUDIESApparently, this problem is not very new. Siemens already wrote about it in the early 90's and they were already thinking about solutions back than. Concrete results where not found at that time though. Toyota (a car manufacturer from Japan) started developing Parking Guidance and Information (PGI) systems in 1995. It looks like there isn't much guidance though. The users seem to guide themselves, after receiving information about parking intensity around the city. Initiatives like this also arose in other countries but they only indicate an approximation of the number of vacant slot per car park.Related Literature iSpot One of the initiatives out there is iSpot, also referred to as iPark. The creators , four students from Boston University, call it a vision based awareness system. The project identified the exact same problem and tried to find a solution for it. Though the system uses digital cameras to detect whether slots are vacant or not, it does offer single space monitoring as well as parking slot reservation. Parking slot reservation can be compared with the user preference for certain slots.The information about which slot is vacant and which one isn’t is communicated to the user at the entrance using an image of the car park, so the user can choose one of the vacant slots and drive there. Though their system has quite some overlap with the group’s system, there are some problems which are not addressed. First of all, the system uses digital cameras in combination with license plate extraction to detect whether certain slots are occupied, and to keep track of the cars. Though this might sound promising on paper, an initiative like this could get quite some r esistance from organizations which are fighting for privacy.Another problem which is not addressed is the chaos of the crowd. Everybody sees which slots are vacant, but the system does not assign specific cars to specific slots. This could lead to a situation where car A sees a vacant slot on the screen at the entrance, and decides to go there. Car B sees the same vacant slot, because car A did not yet reach that slot, and also decides to choose that one. When car B arrives at the slot, he sees that car A already parked there. Car B is now lost in the big car park and the only way to find himself a vacant slot it to search for it himself in the old fashioned way.This could not only happen for two cars, but as long as the first car did not reach the slot. All but the first of those cars will end up unsatisfied. If this keeps happening, the original problem isn't really solved at all. Cars drive to slots which turn out to be occupied when they arrive. IrisNET Another interesting proje ct is called IrisNET from Intel. The project doesn't have much to do with the group’s problem but defines a platform that connects cheap sensor-nodes, to the monitor. To speed up the acceptance of this platform, Intel created a couple of demo implementations.One of those demo implementations is called the Parking spot Finder. Webcam information from a large network of webcams, can be used for a higher goal, if combined. Feeds from webcams all over a car park, or as Intel states it, all over the city, can be combined to gather information about vacancy of parking slots. What does the demonstration look like? Cheap webcams are pointed to parking slots, or small groups of parking slots. Computers near these webcams can process the information, and determine whether certain parking slots are vacant or not.This information can be fed to the network. Central computers gather all this information via IrisNET and combine it to make a list or vacant parking slots. This list can then b e offered to other services, like Yahoo maps, for example. People could see the vacant slots on their car navigation system using existing technology. It's just a matter of connecting the services via IrisNET. It seems like a complete system, even for a demo implementation. It is not clear whether the problem of guiding multiple cars to the same spot or how to keep a reservation, was solved.Knowing the fact that this is just a demonstration of IrisNET, could mean that the system does not provide these extras. We can conclude that this Parking spot Finder is a great source of inspiration, but not a solution for the parking problem as stated in the previous chapter. EzPARK EzPARK is the name of a company as well as the product they are developing. The mission statement of EzPARK is the following: â€Å"EzPARK is a low-cost, wireless parking lot infrastructure that enables the customers to see the empty spaces at the entrance, and leads them to their vehicles on their way back†. This system seems to satisfy quite some of our requirements. EzPARK does what iSpot does, and on top of that, also leads customers back to their vehicles. Apart from that, the system also gives a hint to the driver, where to park the car, which is a form of guiding him. So if all the cars park where they are told to park, the system would work like the one we want. Unfortunately, that is a significant assumption. Apart from this, it is unclear how the system decides which slot to hint. How does EzPARK solve the problem? When the user enters the car park, he receives 2 RFID tokens and a hint where to park.One of the RFID tokens would be left in the car, to identify the car, and the other one would identity the user itself. The system can associate the two when the user returns for its car. The RFID tag in his car is also used to register whether a parking spot is occupied or not. Combining the availability information of all spots can result in a hint for a new visitor. The entire ca r park will have to be filled with RFID readers, which communicate to each other wireless so all the information of the slot states can be centralized. These wireless units, so called MOTEs, are prefabbed sensor nodes.Apart from the fact that there is no actual guidance during the driving through the car park, this seems to be a very good product to solve the original problem. But the problem remains, what if driver D decides to park on the same spot as driver E, driving in front of him. Driver E would have to go all the way back to the entrance to find a new parking slot, or he could solve it the old fashioned way. And why would the system prefer one spot over another when giving a hint? Related Studies The Urban Parking Finder is another project, done by a small group of students. They tried to find the closest parking spot in an urban setting.Though their report doesn't describe how to measure whether a spot is vacant or not, their simulation works like you would expect. They mad e a bunch of virtual streets with cars parked all over the place, and some vacant slots. A car could drive around within the streets and whenever the user is interested in a parking slot, he can press a button and the system calculates the closest parking slot, as well as the shortest path to that slot, and gives directions to the user to guide him. This solution only solves a small part of our problem but interestingly enough, a part that was not mentioned in the other initiatives.The students don't describe how exactly they calculate the closest parking slot, but it probably looks very much like the â€Å"close to the exit† allocation algorithm. The Parking Space Optimization Service from the University of Zurich describe an e- Parking model where not only the driver and parking lots communicate with the system, but also events and businesses in the neighborhood, payment services etc. The system also takes care of reservations. Cars can identify themselves using Bluetooth w hen they enter or leave the car park. The payment is made automatically when the car leaves the car park.Please note that this system might seem brilliant on paper, the future seems to be far from a living implementation of such a system. Every user should have a properly configured Bluetooth device in his car. Another identification method could be used to solve this though. Apart from the identification issue, the paper does not mention any active guidance. The Parking Meter Supervision System describes an urban non-free parking system. This might not be the kind of system we are looking for, but this is a system that was actually tested in a Japanese city and the results are very promising.The system displays vacant parking spot information around the city so drivers can spend less time searching for a free slot. Without the system 14. 1 cars parked on a slot each day on average. After introducing the system, this increased to 15. 9 cars on a slot on average. These figures show t he need for a parking guidance systems, though the problem might be slightly bigger in urban areas. The Evaluation of Parking Search using Sensor tries to solve the problem a little differently. Sensors are placed within the vehicles. These vehicles gather information while they drive.Vacant slots can be located this way. The information including a location is wirelessly transmitted to other cars within a certain range. These cars retransmit the information to the cars they â€Å"meet†, and so on. If one driver is looking for a vacant slot, he/she will be informed of the existence of that slot by a passing car. All the information expires, so it doesn't leave the surrounding area of the parking slot. Thought this initiative might not directly solve our problem, the approach of the problem is original and worth mentioning. The system was simulated but never built.The IcanPARK is a remote management system for all types of car parks. Each slot is equipped with a little sonar s ystem which determines whether a car is parked on that slot. Signs inform the driver where to find the nearest vacant slot. The entire system can be monitored by an operator, who can check the car park status, make reservations or close certain areas for maintenance. The allocation problem is not addressed in this project. Last but not least, the group found out about Sipark. Sipark is the world's largest Parking Guidance System is in the making at Munich Airport, developed by Siemens.This system monitors each individual parking slot using ultrasound sensors and guides cars to vacant slot using this information. The guiding is done by hundreds of LED displays all over the car park. The solution also includes zone and aisle counting. This means that any vehicles still en route to a parking space are also acquired by the system which avoids guiding too many drivers into a sector that only contained a few unoccupied spaces when the car entered the car park. Chapter 3 METHODOLOGY Method UsedThe researchers’ primary methods in gathering information are through internet research, consultations, and observation and surveys. With these methods, the group is able to gather data on the behavior, practices, opinions, interests and perceptions of the drivers and parking establishment owners and even the parking operator on the existing and the proposed system, and then such data is analyzed, organized and interpreted. The analysis and design which is very crucial in the whole development of the project will be drawn based on the actual data gathered and also with the inputs coming from the group’s IT Consultant.Sources of Data The sources of data that the group used are the methods and techniques applied in gathering informatiion that will formalize the necessities in order to simplify details concerning the application of algorithm and simulation. However, the methods and techniques are not enough for the group, so they had also conducted a research on rela ted literatures and existing studies with regards to the system. For that, related literatues and related studies contributed a lot because this leads them to give answers to some questions they had not understood.On the other hand, the group did have constant discussions with their IT Consulatant and Adviser, in which they suggested their ideas to help the group understand the flow of the system. With this, all gathered facts and information were significantly used for the generation of the system. Procedure of the Study In conducting the study, the group had a discussion on the matter with regards to the development of the car parking simulation system. The group initially identifies the objectives and aims of the study.Then, the group looked for related literature to see whether there are any initiatives like this. Looking for related literatures and studies is the most important step because in doing any project, it gives information and details about a certain study. Next, the group discussed the information gathered from the methods used and from the brief discussion with IT experts, the group are able to recognized and understand the nature of the system to be built. From this, the group are able to identify the software and hardware requirements that will be used for this project.After getting all of the information, the next step is the coding and designing of the simulation of the system which denotes the programming and database interaction. Afterwards, the last step is the integration of both algorithm of the system and then test whether the system achieve the goal or not and make an analysis of the project result. Requirements and Specifications For the research component of this project, access to the library’s resources and the Internet will be critical. More importantly, this project involves a significant coding component.All coding for this project will be done in Visual Basic 6, and, where necessary, the group used the Adobe Shockwave Flash 8 as a tool to display the car parking simulation interaction. Access to a decent computer with Microsoft Visual Runtime Library and glut libraries installed will be essential. Microsoft Acces is used as the database of the system. No special hardware will be required. However, a faster computer (Pentium 500 or better) will help speed up the testing phases of the project, and a good graphics card 9GeForce or better) will ensure a smooth animation to see car parking simulator in operation.Approaches and Algorithm The goal of the project is to implement a parking lot simulation system that simulates car parking operations which guide drivers to a vacant parking slot. The focus will be on applying Allocation algorithm on the system which will determine and allocate the vacant slots. Allocation algorithm is noted for its performance and accuracy, it enjoys widespread used and it is widely used in pathfinding and graph traversal, the process of plotting an effeciently traversable path between points, called nodes. Peter Hart, Nils Nillson and Bertram Raphael first described the algorithm in 1968.Meaning, by applying this algorithm to the system, it will only allocate those slots which are vacant or available. Those slots which are already occupied will be unnoticed and will be ignored by the system. Though this algorithm will not be very sophisticated and not very complex, it just allocates vacant slots. The group finds that the application of Allocation algorithm is very interesting in the simulation of the system. In the  development process, the group had used the  top-down approach which play a key role in this project.The top-down approach emphasize planning and a complete understanding of the system. Top-down approach is the process of breaking the overall procedure or task into component parts and then subdivide each component module until the lowest level of detail has been reached. It is called top-down approach since it starts â€Å"at the top † with a general problem and design specific solutions to its sub problems. Using this method, a complex problem is separated into simpler parts, which can be programmed easily. Software Design and ProgrammingIn the software design and programming, the design is performed in a visualize and detailed manner, code generation of the system was accomplished without much complication. For this reason, the group used a high level programming language like the Microsoft Visual Basic 6. 0 for the coding and design of the system. With respect to the type of application, the right programming language is chosen essentially by the group for its graphical environment and ease of use. Implementation Besides the practical implementations of the system, the problem can also be used for theoretical purposes.In both the practical and theoretical implementations the time it takes to solve the problem has been essential. In certain instances, it has been proven that in order to solve the problem (to an optimum) an excessive amount of time is required. For such instances we have come to rely on algorithms that sacrifice the quality of the solution in favour of reducing the solving time. Testing Procedure In the testing procedure, the group tested the performance of the system according to the program made. The group used the gray-box testing. The gray-box testing is combination of black-box and white-box testing.The intention of this testing is to find out the defects related to bad design or bad implementation of the system. This means, every after coding and design of the system, application of gray-box testing takes place. The group designed test cases based upon their knowledge of the system. For example, the group consider a hypothetical case wherein they have to test the Allocation algorithm if it works as it was designed in the simulation of the parking lot. And after that by means of testing, it integrates as each feature is added in the system.Since the project is a computer program, testing included debugging the code and running through the program to make sure that it did what it was intended. The group used the gray-box testing because it is non-intrusive, it is not biased, and it applies straight forward technique of testing. The group makes sure that the system will work properly and accurately, and that through the use of gray-box testing, it will minimize and eliminate any errors that will interrupt in the system. TimeLine ID| Task| Start| Finish| Duration| 1| Project Proposal| 6/20/2011| 6/24/2011| 4 days| | Project Title Approval| 6/27/2011| 6/29/2011| 2 days| 3| Planning ; Analysis| 7/1/2011| 7/9/2011| 8 days| 4| Initial Data Gathering| 7/11/2011| 7/29/2011| 18 days| 5| Data Modeling| 8/2/2011| 8/13/2011| 11 days| 6| Problem Modeling| 8/15/2011| 8/22/2011| 7 days| 7| Project Objectives| 8/17/2011| 8/27/2011| 10 days| 8| Document Analysis| 9/5/2011| 9/30/2011| 25 days| 9| Algorithm| 10/3/2011| 10/15/2011| 12 days| 10| Final Project Documentation| 10/13/2011| 10/20/2011| 7 days| 11| Project Defense| 10/22/2011| 10/22/2011| 1 day| 2| System Modeling ; Requirements| 11/7/2011| 11/19/2011| 12 days| 13| System Coding| 11/28/2011| 2/13/2012| 77 days| 14| Database Implementation| 12/5/2011| 1/30/2012| 53 days| 15| Animation| 12/12/2011| 2/4/2012| 54 days| 16| System Analysis ; Design| 1/16/2012| 2/13/2012| 28 days| 17| System Testing ; Finalization| 2/17/2012| 2/25/2012| 13 days| 18| Final Documentation| 2/13/2012| 2/25/2012| 12 days| 19| Project PPT Presentation| 2/23/2012| 2/26/2012| 3 days| 20| Final Defense| 2/28/2012| 2/28/2012| 1 day| Chapter 4 RESULTS AND DISCUSSIONS Results and DiscussionsAfter the group studied and identified the objectives, problems and solutions, the function of the system, the programming language used and the current program it has, the implementation of Allocation algorithm takes place. At first, the group conducted several studies and researches on what approaches and algorithm were ap propriate and compatible to the system to minimize the time of searching and allocating vacant slots. The group gathered all the necessary facts and came up to the use of one programming approach that has proven to be most productive, it is called the top-down approach.The top-down approach is the process of breaking the overall procedure or task into component parts and then subdivide each component module until the lowest level of detail has been reached. It is called top-down approach since it starts â€Å"at the top† with a general problem and design specific solutions to its sub problems. Using this method, a complex problem is separated into simpler parts, which can be programmed easily. Then, after gathering information and applying the to-down approach, the group started to program and apply the algorithm that was planned to be used.The program codes was initialized to integrate the simulation and the other features of the system that where also incorporated with the group’s objectives. In the simulation of the system, the group started by determining the number of slots and came up with 80 slots. The group divide this 80 slots into two, making it 40 slots per area. There are two areas, parking area A and Parking area B. Parking area A and Parking Area B both occupies the Allocation algorithm. Filled or occupied parking slot are colored with red, while the vacant or available parking slot are colored with white.In the Parking Areas, both applies the Allocation algorithm where it only search and allocate the vacant slots. The slots which are not vacant will not be recognize because they are already occupied. For example, if parking slot 1A is already occupied, the slot will turned into red for indication that it is not anymore available. The system is responsible for choosing the parking slot available and will automatically print out the slot card number. If the driver is waiting in the parking lot, waiting for his turn to get inside, the operator will give the driver a printed slot card number so as to identify which area is the slot located.The good thing here is that, it will lessen the time of waiting and avoid time delay. The designing and development of the simulation was also very crucial for this will be the basis of implementing the Allocation algorithm. In the simulation, the car will locate the slot that has been selected, this serves as a guidance to the driver in locating the selected slot. Apart from this, other features of the system where also implemented such features are the payment system and generation of reports. These features are also very important for this will be very beneficial to the operator and the owner of the parking lot establishment.The calculation of payment is through the rate per minute. This will calculate the time of entry in the parking lot, the duration of parking in the parking area until the car leaves the area. With this, the generation of income report is conducted since it is incorporated with the payment. Another generation of report is the list of cars, this are the records of all the cars that had park in the parking lot. The operator could view and print these reports daily, weekly, monthly, annualy or any days the operator wants.After implementing the simulation, the payment system and the generation of reports, the next thing the group implemented is the database of the system. The database is one of the most critical and sensitive part. The construction of the tables and the amount of data will either make or break the entire application. The database of the system is not quite large but the group make sure that the database will not be very complicated and complex. Upon database completion, technical and trial and error analysis were carried out by the group to remove glitches in the animation and also in the programming.Thus, through further study, implementation, analysis, and a series of testing of the entire system the group was able to achieve its goals and objectives. Chapter 5 SUMMARY, CONCLUSIONS AND RECOMMENDATIONS Summary There are various concepts in computer science which can be compared when searching, allocating and choosing the right parking slot. This concept is through the algorithm used. The algorithm used in this study is the Allocation algorithm. This algorithm allocates the parking slot that are vacant or available. Parking slots that are occupied will be ignored and will not be allocated by the system.The Allocation algorithm was initially analyzed, before implementing to the simulation system. A cost function is created to measure which of these algorithms would give better results under which circumstances. This cost function measured and calculate the efficiency and accuracy of the algorithm used, and so the different algorithm was compared under different situation. Differences are small but there is quite something to win over the old situation where no guidance were given. The implementatio n of the Allocation algorithm along with the simulation of the parking lot can mimic most legal car movements.The simulation was created and tested and this seems to imitates the drivers preferences of choosing the parking slot and locate the slot directly. To summarize, the group implemented and tested the system succesfully, and met its desired goals and objectives of the project. Conclusions After a series of crucial programming and designing of the system, trial and error, and evaluating different allocation strategies, there are several conclusions to draw. The system met its desired expectations on the project.The system can now search and allocate which slots are available and occupied using the Allocation algorithm. The other features of the system such as the payment system and generation of reports was also implemented and can now be easy to managed because the system administrates the reality of the actual car parking lot. The slot that is chosen by the driver will get oc cupied as soon as he enters the parking lot. However, the group did not find a method to prevent neglecting of recommendations or choices of the driver, or in cases when the driver forgets which slot was recommended to him.In situations like this, whenever a driver might decide to neglect a recommendation or either his preferred choice of slot, this has a big influence on the system, but this is a matter of the driver’s behavior. Because there was no actual parking lot to run tests on, the group implemented a parking lot simulation. The animation is relatively simple but it depict every step in developing Allocation algorithm. Nonetheless, before the animation takes place, some conditions must be met. The animation was done by using the Adobe Shockwave Flash 8, showing a graphical representation of the parking lot that communicates with the system.The simulation can model the most basic movements in a parking lot and the recommendation system can â€Å"real-time† adapt to new situations. The simulation is a tool to demonstrate the work of the different algorithms used by the group. Recommendations The system has many capabilities that the group did not include due to lack of time and budget of materials. Some of this is the printing of receipt of the payment system. The group would like to have the printer receipt but was too expensive. Along with that, the future researchers could also enhance the simulation of the system, like creating more slots and making more entrances and exits.Also for future recommendations, there are many rooms for improvement to ensure the reliability and impeccability of the system. A potential approach of enhancing the system is to implement the security system such as image processing technique so that security and safety in the parking lot is rest assured. This could be very helpful since safety is very important nowadays. And thus, the group would like to recommend the application of image compression algorithm for this will be very effective in a way of capturing images from time to time. Aside from that, another recommendation for future researchers is the reservation system.The reservation system does not take drivers preferences into account yet, but people or the drivers specifically could be able to make a reservation over the internet and this reservation could be linked to the licensed plate number of their car. So, these are just some of the recommendations that the group would like to commend on future reasearchers who are interested in making the study in a different manner. Chapter 6 BIBLIOGRAPHY Internet Sources: [1]Caldrera International Inc. (February 11, 2003) Allocation Algorithm. Retrieved, January 18, 2012. From www. osr507doc. sco. com/en/tools/ld_alloc. html web address. 2]G. P. Kegel (March 2009) The Parking Spot Finder. Retrieved, October 10, 2011. From www. alexandria. tue. nl/extra1/afstversl/wsk-i/kegel2009 web address. [3]Lou Tylee (1998) Learn Microsoft Visual Basi c 6. 0. Retrieved, November 17, 2011. From www. thainguyen. edu. vn/Thanhvien/c2bachquangsc web address. [4]Ningyuan Chen (September 2011) Simple Parking Lot Management System. Retrieved, August 3, 2011. From www. publications. theseus. final/handle/134024 web address. [5]Ramdeo Anand (May 5, 2010) Gray-box Testing. Retrieved, February 15, 2012. From http://www. testinggeek. com/gray-box-testing web address. 6]Rochester Institute of Technology (December 6, 2001) Best-Fit Allocation Algorithm. Retrieved, January 5, 2012. From www. cs. rit. edu/~ark/lectures/gc/03_03_03. html web address. [7]Wikipedia – The Free Encyclopedia (March 2011) Allocation Algorithm. Retrieved, September 29, 2011. From http://en. wikipedia. org/wiki/Allocation_algorithm web address. [8]Wikipedia – The Free Encyclopedia (June 2011) Top-down Approach. Retrieved, January 10, 2012. From http://en. wikipedia. org/wiki/Top_down_approach web address. Chapter 7 APPENDICES Screen Shots Fig. 1: Main Form (Parking Area A) Fig. 2: Main Form (Parking Area B) Fig. : Login Form Fig. 4: Slot Card Form Fig. 5: Out Car Form Fig. 6: Payment Rate Form Fig. 7: Account Setting Form Fig. 8: Database Form Fig. 9: Logout Form REPORTS: Fig. 10: Car List Report Form Fig. 11: Income Report Form Source Code ModPark________________________________________________________________ Global CON As ADODB. Connection Public RSpark As ADODB. Recordset Sub main() Set CON = New ADODB. Connection CON. Open â€Å"Provider=Microsoft. JET. OLEDB. 4. 0;data source = † ; App. Path ; â€Å"db. mdb;† ; â€Å"jet oledb:database password=ParkMe;† Load frmMain frmMain. Show vbModeless Load frmLogin frmLogin. Show vbModelessEnd Sub frmMain________________________________________________________________ Dim x, y, z, s, ok As Integer Dim hold, m As String Private Sub cmdPlay_Click() On Error GoTo PlayERR If hold = â€Å"† Then Exit Sub If cmdPlay. Caption = â€Å"PLAY Animated Parking† Then cmdSearch. Enabled = False cmdPark. Enabled = False If Right(hold, 1) = â€Å"A† Then swf1. LoadMovie 0, App. Path ; â€Å"SWF† ; hold ; â€Å". swf† ElseIf Right(hold, 1) = â€Å"B† Then swf2. LoadMovie 0, App. Path ; â€Å"SWF† ; hold ; â€Å". swf† End If For s = 1 To 40 lblcar2(s). Enabled = False lblCar1(s). Enabled = False Next cmdPlay. Caption = â€Å"STOP Animated Parking†ElseIf cmdPlay. Caption = â€Å"STOP Animated Parking† Then cmdSearch. Enabled = True cmdPark. Enabled = True If Right(hold, 1) = â€Å"A† Then swf1. LoadMovie 0, App. Path ; â€Å"SWF† ; † . swf† ElseIf Right(hold, 1) = â€Å"B† Then swf2. LoadMovie 0, App. Path ; â€Å"SWF† ; † . swf† End If For s = 1 To 40 lblcar2(s). Enabled = True lblCar1(s). Enabled = True Next cmdPlay. Caption = â€Å"PLAY Animated Parking† End If PlayERR: End Sub Private Sub Form_Unload(Cancel As Integer) If MsgBox(â₠¬Å"Are you sure you want to exit? â€Å", vbYesNo, â€Å"System Exit†) = vbYes Then Me. Enabled = False Load frmLogOut frmLogOut. Show vbModeless End If Cancel = 1End Sub Private Sub lblCar1_Click(Index As Integer) For x = 1 To 40 If lblcar2(x). BackColor = vbYellow Then MsgBox â€Å"There is a selected slot in Parking Area B. Please deselect it first by double-clicking the yellow slot before continuing. â€Å", _ vbOKOnly, â€Å"Parking Area B Error† Exit Sub End If Next If lblCar1(Index). BackColor vbRed Then lblCar1(Index). BackColor = vbYellow hold = Index & â€Å"A† ElseIf lblCar1(Index). BackColor = vbRed Then hold = â€Å"† End If x = Index nump = x For Index = 1 To 40 If Index x Then If lblCar1(Index). BackColor vbRed Then lblCar1(Index). BackColor = vbWhite End If End IfNext End Sub Private Sub lblcar2_Click(Index As Integer) For x = 1 To 40 If lblCar1(x). BackColor = vbYellow Then MsgBox â€Å"There is a selected slot in Parking Area A. P lease deselect it first by double-clicking the yellow slot before continuing. â€Å", _ vbOKOnly, â€Å"Parking Area A Error† Exit Sub End If Next If lblcar2(Index). BackColor vbRed Then lblcar2(Index). BackColor = vbYellow hold = Index & â€Å"B† ElseIf lblcar2(Index). BackColor = vbRed Then hold = â€Å"† End If x = Index nump = x For Index = 1 To 40 If Index x Then If lblcar2(Index). BackColor vbRed Then lblcar2(Index). BackColor = vbWhite End IfEnd If Next End Sub Private Sub lblcar2_DblClick(Index As Integer) If lblcar2(Index). BackColor = vbRed Then Load frmOut frmOut. lblout. Caption = lblcar2(Index). Caption frmOut. Show vbModeless Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblPark where SlotNo='† & lblcar2(Index). Caption & â€Å"‘†, CON, adOpenKeyset, adLockOptimistic With RSpark frmOut. txtPlate1. Text = Left(! PlateNo, 3) frmOut. txtPlate2. Text = Right(! PlateNo, 3) frmOut. lblTI = ! TimeIn End With Me . Enabled = False Exit Sub End If lblcar2(Index). BackColor = vbWhite hold = â€Å"† End Sub Private Sub lblCar1_DblClick(Index As Integer)If lblCar1(Index). BackColor = vbRed Then Load frmOut frmOut. lblout. Caption = lblCar1(Index). Caption frmOut. Show vbModeless Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblPark where SlotNo='† & lblCar1(Index). Caption & â€Å"‘†, CON, adOpenKeyset, adLockOptimistic With RSpark frmOut. txtPlate1. Text = Left(! PlateNo, 3) frmOut. txtPlate2. Text = Right(! PlateNo, 3) frmOut. lblTI = ! TimeIn End With Me. Enabled = False Exit Sub End If lblcar2(Index). BackColor = vbWhite End Sub Private Sub mnuChange_Click() If user = â€Å"Operator† Then MsgBox â€Å"Permission denied! Please contact the Administrator. , vbInformation, â€Å"Administrator Only† Exit Sub End If Me. Enabled = False Load frmAccount frmAccount. Show vbModeless End Sub Private Sub mnuDB_Click() If user = â€Å"Opera tor† Then MsgBox â€Å"Permission denied! Please contact the Administrator. â€Å", vbInformation, â€Å"Administrator Only† Exit Sub End If Me. Enabled = False Load frmDB frmDB. Show vbModeless frmDB. Height = 980 frmDB. Width = 7300 End Sub Private Sub mnuLogout_Click() Load frmLogin frmLogin. Show vbModeless End Sub Private Sub mnuExit_Click() Unload Me End Sub Private Sub mnuIncome_Click() Me. Enabled = False Load frmReport frmReport. Show vbModeless frmReport.Caption = â€Å"Income Report† End Sub Private Sub mnuList_Click() Me. Enabled = False Load frmReport frmReport. Show vbModeless frmReport. Caption = â€Å"Car List Report† End Sub Private Sub mnuLost_Click() Me. Enabled = False Load frmOut frmOut. Show vbmdeless frmOut. txtPlate1. Enabled = True frmOut. txtPlate2. Enabled = True frmOut. cmdSLost. Enabled = True End Sub Private Sub mnuRate_Click() If user = â€Å"Operator† Then MsgBox â€Å"Permission denied! Please contact the Administ rator. â€Å", vbInformation, â€Å"Administrator Only† Exit Sub End If Me. Enabled = False Load frmRate frmRate. Show vbModeless End Sub Private Sub Timer1_Timer() blday. Caption = Format(Now, â€Å"dd mmmm yyyy†) lbltime. Caption = Format(Now, â€Å"hh:mm:ss AMPM†) End Sub Private Sub txtPlate1_Change() If Len(txtPlate1. Text) = 3 Then txtPlate2. SetFocus End If End Sub Private Sub txtPlate1_KeyPress(KeyAscii As Integer) If KeyAscii = vbKeyBack Then Exit Sub If KeyAscii ; vbKeyA Or KeyAscii ; vbKeyZ Then KeyAscii = 0 End If End Sub Private Sub txtPlate2_KeyPress(KeyAscii As Integer) If KeyAscii = vbKeyBack Then Exit Sub If KeyAscii ; vbKey0 Or KeyAscii ; vbKey9 Then KeyAscii = 0 End If End Sub Private Sub cmdPark_Click() If Len(txtPlate1. Text) ; 3 Or Len(txtPlate2.Text) ; 3 Then Exit Sub Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblPark where PlateNo='† ; txtPlate1. Text ; â€Å"-† ; txtPlate2. Text ; â€Å"‘â₠¬ , CON, adOpenKeyset, adLockPessimistic With RSpark If ! TimeOut = â€Å"-† Then MsgBox â€Å"The inputed plate number already exist. â€Å", vbInformation, â€Å"Ops! † Exit Sub End If End With ok = 0 For z = 1 To 40 If lblcar2(z). BackColor = vbYellow Or lblCar1(z). BackColor = vbYellow Then z = 40 ok = 1 End If Next If ok = 1 Then Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblPark†, CON, adOpenKeyset, adLockPessimistic With RSpark .AddNew Date = Format(Now, â€Å"dd mm yyyy†) !PlateNo = txtPlate1. Text ; â€Å"-† ; txtPlate2. Text ! TimeIn = Format(Now, â€Å"hh:mm ampm†) !TimeOut = â€Å"-† !SlotNo = hold !Amount = â€Å"0† .Update hold = â€Å"† End With Call DataPut Call Check txtPlate2. Text = â€Å"† txtPlate1. Text = â€Å"† lblS. Caption = â€Å"—† cmdSearch. Caption = â€Å"Search† txtPlate1. SetFocus End If End Sub Sub DataPut() lv1. ListItems. Cl ear lv2. ListItems. Clear Dim d, y, holdDate As Variant Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblPark where TimeOut='† ; â€Å"-† ; â€Å"‘†, CON, adOpenKeyset, adLockOptimistic With RSpark Do While Not .EOF d = Left(! Date, 2) m = Mid(! Date, 4, 2) Call month y = Right(! Date, 4) holdDate = d ; † † ; m ; † † ; y If Right(! SlotNo, 1) = â€Å"A† Then Set k = lv1. ListItems. Add(, , holdDate) k. SubItems(1) = ! PlateNo k. SubItems(2) = ! TimeIn k. SubItems(3) = ! SlotNo ElseIf Right(! SlotNo, 1) = â€Å"B† Then Set k = lv2. ListItems. Add(, , holdDate) k. SubItems(1) = ! PlateNo k. SubItems(2) = ! TimeIn k. SubItems(3) = ! SlotNo End If .MoveNext Loop End With End Sub Sub month() Select Case m Case â€Å"01† m = â€Å"Jan† Case â€Å"02† m = â€Å"Feb† Case â€Å"03† m = â€Å"Mar† Case â€Å"04† m = â€Å"Apr† Case â€Å"05† m = â€Å"May†Case â€Å"06† m = â€Å"Jun† Case â€Å"07† m = â€Å"Jul† Case â€Å"08† m = â€Å"Aug† Case â€Å"09† m = â€Å"Sep† Case â€Å"10† m = â€Å"Oct† Case â€Å"11† m = â€Å"Nov† Case â€Å"12† m = â€Å"Dec† End Select End Sub Sub Check() For x = 1 To 40 lblcar2(x). BackColor = vbWhite lblCar1(x). BackColor = vbWhite Next Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblPark†, CON, adOpenKeyset, adLockOptimistic If RSpark. RecordCount ; 0 Then Do While Not RSpark. EOF For x = 1 To 40 If lblcar2(x). Caption = RSpark! SlotNo Then lblcar2(x). BackColor = vbRed ElseIf lblCar1(x). Caption = RSpark! SlotNo Then lblCar1(x). BackColor = vbRed End If Next RSpark. MoveNext LoopEnd If End Sub frmLogin_______________________________________________________________ Private Sub cmdExit_Click() If MsgBox(â€Å"Are you sure you want to exit? â€Å", vbY esNo, â€Å"System Exit†) = vbYes Then Unload Me End Else Cancel = 1 End If End Sub Private Sub cmdGO_Click() Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblAccount†, CON, adOpenKeyset, adLockOptimistic If txtPass. Text = RSpark! Password And txtUser. Text = RSpark! UserName Then Unload Me frmMain. Enabled = True frmMain. Show vbModeless Else MsgBox â€Å"Incorrect Username or Password. Please try again! â€Å", vbExclamation, â€Å"Login Error† txtPass. Text = â€Å"† xtUser. Text = â€Å"† txtUser. SetFocus End If End Sub Private Sub Form_Load() Me. Icon = LoadPicture(App. Path ; â€Å"ParkMe. ico†) imgLogin. Picture = LoadPicture(App. Path ; â€Å"GraphicLogIn. jpg†) Dim mByte() As Byte Open App. Path ; â€Å"Park. dat† For Binary As #1 Open â€Å"C:WINDOWSdb. mdb† For Binary As #2 ReDim mByte(0 To LOF(1)) Get #1, , mByte() Put #2, , mByte() Close #1 Close #2 End Sub frmSlotPrint______________ _____________________________________________ Private Sub Form_KeyPress(KeyAscii As Integer) lblEnter. Visible = False Dim f, w As Integer Me. PrintForm If KeyAscii = vbKeyReturn Or KeyAscii = 13 ThenIf MsgBox(â€Å"Is there an approaching car? â€Å", vbYesNo, â€Å"Parking Slot†) = vbYes Then If Right(lblSlot. Caption, 1) = â€Å"A† Then back1: nump = nump + 1 If nump = 41 Then nump = 1 End If If frmMain. lblCar1(nump). BackColor = vbRed Then w = 0 For f = 1 To 40 If frmMain. lblCar1(f). BackColor = vbRed Then w = w + 1 If w = 40 Then MsgBox â€Å"There are no more vacant parking slot! â€Å", vbExclamation, â€Å"Parking Area A Error† Unload Me frmMain. Enabled = True frmMain. Show frmMain. txtPlate1. SetFocus Exit Sub End If End If Next GoTo back1 End If frmMain. lblCar1(nump). BackColor = vbYellow hold = nump & â€Å"A† ElseIf Right(lblSlot.Caption, 1) = â€Å"B† Then back2: nump = nump + 1 If nump = 41 Then nump = 1 End If If frmMain. lbl car2(nump). BackColor = vbRed Then w = 0 For f = 1 To 40 If frmMain. lblCar1(f). BackColor = vbRed Then w = w + 1 If w = 40 Then MsgBox â€Å"There are no more vacant parking slot! â€Å", vbExclamation, â€Å"Parking Area B Error† Unload Me frmMain. Enabled = True frmMain. Show frmMain. txtPlate1. SetFocus Exit Sub End If End If Next GoTo back2 End If frmMain. lblcar2(nump). BackColor = vbYellow hold = nump & â€Å"B† End If End If End If Me. Enabled = False Unload Me frmMain. Enabled = True frmMain. Show frmMain. txtPlate1. SetFocus End Sub rmOut_________________________________________________________________ Dim dumm, hold, hold1, hold2 As Single Dim hr, min As Variant Private Sub cmdCancel_Click() frmMain. Enabled = True Unload Me End Sub Private Sub cmdChange_Click() On Error GoTo Err txtAmount. Text = Format(txtAmount, â€Å"####0. 00†) txtChange. Text = Format(txtAmount – dumm, â€Å"####0. 00†) If Left(txtChange. Text, 1) = â€Å"-† Then txtChange. Text = Right(txtChange. Text, 5) MsgBox â€Å"The amount paid is not enough! The amount lack P† & txtChange. Text, vbExclamation, â€Å"Payment Error† txtChange. Text = â€Å"† End If Err: End Sub Private Sub cmdCompute_Click()Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblRate†, CON, adOpenKeyset, adLockOptimistic If lblout. Caption = â€Å"—† Then Exit Sub lblTO. Caption = Format(Now, â€Å"hh:mm ampm†) hold1 = Left(lblTI. Caption, 2) * 60 hold1 = hold1 + Mid(lblTI. Caption, 4, 2) hold2 = Left(lblTO. Caption, 2) * 60 hold2 = hold2 + Mid(lblTO. Caption, 4, 2) If hold2 < hold1 Then hold2 = hold2 + 720 End If dumm = hold2 – hold1 If dumm > 60 Then hold = dumm / 60 hr = hold If Mid(hold, 2, 1) = â€Å". † Then hr = Left(hold, 1) ElseIf Mid(hold, 3, 1) = â€Å". † Then hr = Left(hold, 2) End If hold = hr * 60 min = dumm – hold lblTotal.Caption = hr ; â€Å"hr/s and â €  ; min ; â€Å"min/s† Else lblTotal. Caption = dumm ; † min/s† End If dumm = Format(dumm, â€Å"####0. 00†) * RSpark! Rate lblPay. Caption = Format(dumm, â€Å"####0. 00†) End Sub Private Sub cmdOut_Click() If lblTI. Caption = â€Å"† Then MsgBox â€Å"No plate number was found! Please check the correct plate number again. â€Å", vbExclamation, â€Å"Plate Number Error† Exit Sub End If If txtChange. Text = â€Å"† Then MsgBox â€Å"Please pay the parking payment first. â€Å", vbInformation, â€Å"Payment Error† Exit Sub End If Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblPark where SlotNo='† ; lblout.Caption ; â€Å"‘†, CON, adOpenKeyset, adLockOptimistic With RSpark !TimeOut = lblTO. Caption !SlotNo = lblout. Caption ; â€Å". † !TimePark = lblTotal. Caption !Amount = lblPay. Caption .Update End With frmMain. lblS. Caption = â€Å"—† frmMain. cmd Search. Caption = â€Å"Search† frmMain. Enabled = True Call frmMain. DataPut Call frmMain. Check frmMain. Show Unload Me End Sub Private Sub cmdSLost_Click() Dim dum As String dum = txtPlate1. Text ; â€Å"-† ; txtPlate2. Text Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblPark where PlateNo='† ; dum ; â€Å"‘†, CON, adOpenKeyset, adLockOptimistic With RSpark lblout.Caption = ! SlotNo lblTI. Caption = ! TimeIn End With If lblout. Caption = â€Å"† Or Right(lblout. Caption, 1) = â€Å". † Then lblout. Caption = â€Å"—† lblTI. Caption = â€Å"† MsgBox â€Å"Please type the plate number and click the Search button to out the car. â€Å", vbExclamation, â€Å"Out Car Error† End If End Sub Private Sub Form_Load() Me. Icon = LoadPicture(App. Path ; â€Å"ParkMe. ico†) imgOut. Picture = LoadPicture(App. Path ; â€Å"GraphicLogIn. jpg†) End Sub Private Sub txtAmount_KeyPress( KeyAscii As Integer) If KeyAscii = vbKeyBack Or KeyAscii = 46 Then Exit Sub If KeyAscii ; vbKey0 Or KeyAscii ; vbKey9 Then KeyAscii = 0 End If End SubPrivate Sub txtPlate1_KeyPress(KeyAscii As Integer) If KeyAscii = vbKeyBack Then Exit Sub If KeyAscii ; vbKeyA Or KeyAscii ; vbKeyZ Then KeyAscii = 0 End If End Sub Private Sub txtPlate2_KeyPress(KeyAscii As Integer) If KeyAscii = vbKeyBack Then Exit Sub If KeyAscii ; vbKey0 Or KeyAscii ; vbKey9 Then KeyAscii = 0 End If End Sub frmRate________________________________________________________________ Private Sub cmdCancel_Click() frmMain. Enabled = True Unload Me End Sub Private Sub cmdSave_Click() Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblAccount†, CON, adOpenKeyset, adLockOptimistic If txtRate.Text = RSpark! Password Then Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblRate†, CON, adOpenKeyset, adLockOptimistic RSpark! Rate = txtNew. Text RSpark. Update MsgBox â€Å"Your new rate is † ; txtNew. Text, â€Å". â€Å", vbInformation, â€Å"Rate Status† frmMain. Enabled = True frmMain. Show Unload Me Exit Sub End If MsgBox â€Å"Incorrect Password! Please enter the correct password again. â€Å", vbExclamation, â€Å"Password Error† txtRate. Text = â€Å"† txtRate. SetFocus End Sub Private Sub Form_Load() Me. Icon = LoadPicture(App. Path ; â€Å"ParkMe. ico†) imgRate. Picture = LoadPicture(App. Path ; â€Å"GraphicLogIn. pg†) Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblRate†, CON, adOpenKeyset, adLockOptimistic txtCurrent. Text = RSpark! Rate End Sub frmDB__________________________________________________________________ Dim x As Integer Private Sub cmdClear_Click() x = 0 lblDB. Caption = â€Å"† If MsgBox(â€Å"Warning! All data will be permanently deleted. Are you sure you want to continue? â€Å", vbYesNo, â€Å"Data Removal†) = vbYes Then Set RSpark = New A DODB. Recordset RSpark. Open â€Å"select * from tblPark†, CON, adOpenKeyset, adLockOptimistic If RSpark. RecordCount ; 0 Then Do While Not RSpark. EOF RSpark. Delete adAffectCurrentRSpark. Update RSpark. MoveNext Loop x = 0 lblDB. Caption = â€Å"† Call loadDB Call frmMain. DataPut Call frmMain. Check End If Else Cancel = 1 End If End Sub Private Sub cmdConfirm_Click() Set RSpark = New ADODB. Recordset RSpark. Open â€Å"select * from tblAccount†, CON, adOpenKeyset, adLockOptimistic If txtPass. Text = RSpark! Password And txtUser. Text = RSpark! UserName Then Me. Height = 9150 Me. Width = 7530 cmdConfirm. Visible = False txtUser. Enabled = False txtPass. Enabled = False Call loadDB Else MsgBox † Incorrect username or password. Please try again! â€Å", vbExclamation, â€Å"Administrator† txtPass. Text = â€Å"† txtUser. Text = â€Å"† xtUser. SetFocus End If End Sub Sub loadDB() ListView1. ListItems. Clear Set RSpark = New ADODB. Rec ordset RSpark. Open â€Å"select * from tblPark†, CON, adOpenKeyset, adLockOptimistic With RSpark Do While Not . EOF Set k = ListView1. ListItems. Add(, , ! Date) k. SubItems(1) = ! PlateNo k. SubItems(2) = ! TimeIn k. SubItems(3) = ! TimeOut k. SubItems(4) = ! SlotNo .MoveNext Loop End With End Sub Private Sub cmdDelete_Click() If x = 0 Then Exit Sub Dim d As Integer d = 1 If MsgBox(â€Å"Warning! Are you sure you want to delete this data? â€Å", vbYesNo, â€Å"Data Removal†) = vbYes Then Set RSpark = New ADODB. RecordsetRSpark. Open â€Å"select * from tblPark†, CON, adOpenKeyset, adLockOptimistic If RSpark. RecordCount ; 0 Then Do While Not RSpark. EOF If x = d Then RSpark. Delete adAffectCurrent RSpark. Update x = 0 lblDB. Caption = â€Å"† End If d = d + 1 RSpark. MoveNext Loop End If Call loadDB Call frmMain. DataPut Call frmMain. Check Else Cancel = 1 End If End Sub Private Sub Form_Load() Me. Icon = LoadPicture(App. Path ; â€Å"ParkMe. icoâ⠂¬ ) x = 0 End Sub Private Sub Form_Unload(Cancel As Integer) Unload Me frmMain. Enabled = True frmMain. Show vbModeless End Sub Private Sub ListView1_ItemClick(ByVal Item As MSComctlLib. ListItem) x = ListView1.SelectedItem. Index lblDB. Caption = â€Å"Database line † ; x End Sub frmReport______________________________________________________________ Dim RStemp As ADODB. Recordset Dim CRrep As CRAXDRT. Report Dim CRapp As CRAXDRT. Application Dim sel1, sel2, hold, mn, dy, yr As String Dim d, d1, d2, m, m1, m2, y, y1, y2, fin As Variant Dim pay As Single Private Sub cmdView_Click() On Error GoTo Err If lblMV1. Caption = â€Å"† Or lblMV2. Caption = â€Å"† Then MsgBox â€Å"Please select the appropriate date of report you want to display. â€Å", vbInformation, â€Å"Report Advisory† Exit Sub ElseIf m1 ; m2 And y1 = y2 Or y1 ; y2 Or m1 = m2 And y1 = y2And d1 ; d2 Then MsgBox â€Å"Invalid date range! Please select the appropriate range of date. †Å", vbExclamation, â€Å"Report Advisory† Exit Sub End If lblLoad. Caption = â€Å">> Loading†¦Ã¢â‚¬ ¦. † Screen. MousePointer = vbHourglass Set RStemp = New ADODB. Recordset RStemp. Open â€Å"select * from tblTemp†, CON, adOpenKeyset, adLockOptimistic If RStemp. RecordCount ; 0 Then Do While Not RStemp. EOF RStemp. Delete adAffectCurrent RStemp. Update RStemp. MoveNext Loop End If If Me. Caption = â€Å"Car List Report† Then Set CRrep = CRapp. OpenReport(App. Path ; â€Å"CarList. rpt†) ElseIf Me. Caption = â€Å"Income Report† Then Set CRrep = CRapp.OpenReport(App. Path ; â€Å"Income. rpt†) End If Set RSpark = New ADODB. Recordset Set RStemp = New ADODB. Recordset RSpark. Open â€Å"select * from tblPark†, CON, adOpenKeyset, adLockOptimistic RStemp. Open â€Å"select * from tblTemp†, CON, adOpenKeyset, adLockOptimistic pay = 0 pay = Format(pay, â€Å"#####0. 00†³) Do While Not RSpark. EOF d = Left(RSpark! Date, 2) m = Mid(RSpark! Date, 4, 2) y = Right(rsparkDate, 4) If y1 = y2 Then If m1 = m2 And d = d1 And d = d2 And m = m1 And m = m2 Or _ m1 = m2 And m = m1 And m = m2 And d1 ;; d2 And d ;= d1 And d ;= d2 Or _ m1 ;; m2 And m = m1 And d ;= d1 Or _ 1 ;; m2 And m ; m1 And m ; m2 Or _ m1 ;; m2 And m = m2 And d ;= d2 And y = y1 Then RStemp. AddNew dy = Left(RSpark! Date, 2) mn = Mid(RSpark! Date, 4, 2) Call month yr = Right(RSpark! Date, 4) hold = dy ; † † ; mn ; † † ; yr RStemp! Date = hold RStemp! PlateNo = RSpark! PlateNo RStemp! TimeIn = RSpark! TimeIn RStemp! TimeOut = RSpark! TimeOut RStemp! SlotNo = RSpark! SlotNo RStemp! TimePark = RSpark! TimePark RStemp! Amount = RSpark! Amount RStemp. Update pay = pay + RSpark! Amount End If ElseIf y1 ; y2 Then If m1 ;; m2 And m = m1 And d ;= d1 Or _ 1 ;; m2 And m ; m1 Or _ m1 ;; m2 And m1 ; m And m ; m2 Or _ m1 ;; m2 And m = m2 And d ;= d2 Or _ m1 = m2 And m = m1 And d ;= d1 Or _ m1 = m2 And m ; m1 Or _ m1 = m2 And m ; m2 Or _ m1 = m2 And m = m2 And d ;= d2 And y ; y1 Then RStemp. AddNew dy = Left(RSpark! Date, 2) mn = Mid(RSpark! Date, 4, 2) Call month yr = Right(RSpark! Date, 4) hold = dy ; † † ; mn ; † † ; yr RStemp! Date = hold RStemp! PlateNo = RSpark! PlateNo RStemp! TimeIn = RSpark! TimeIn RStemp! TimeOut = RSpark! TimeOut RStemp! SlotNo = RSpark! SlotNo RStemp! TimePark = RSpark! TimeParkRStemp! Amount = RSpark! Amount RStemp. Update pay = pay + RSpark! Amount End If End If RSpark. MoveNext Loop fin = Format(pay, â€Å"#####0. 00†) If Me. Caption = â€Å"Income Report† Then CRrep. Sections(4). ReportObjects(â€Å"crtxtTotal†). SetText fin End If If lblMV1. Caption = lblMV2. Caption Then fin = lblMV1. Caption Else fin = lblMV1. Caption ; † – † ; lblMV2. Caption End If CRrep. Sections(1). ReportObjects(â€Å"crtxtDate†). SetText fin CRrep. Database. Tables(1). SetDataSource RStemp Screen. MousePointer = vbHourglass CRVie wer91. ReportSource = CRrep CRViewer91. ViewReport Screen. MousePointer = vbDefault lblLoad.Caption = â€Å"† Err: End Sub Sub month() Select Case mn Case â€Å"01† mn = â€Å"Jan† Case â€Å"02† mn = â€Å"Feb† Case â€Å"03† mn = â€Å"Mar† Case â€Å"04† mn = â€Å"Apr† Case â€Å"05† mn = â€Å"May† Case â€Å"06† mn = â€Å"Jun† Case â€Å"07† mn = â€Å"Jul† Case â€Å"08† mn = â€Å"Aug† Case â€Å"09† mn = â€Å"Sep† Case â€Å"10† mn = â€Å"Oct† Case â€Å"11† mn = â€Å"Nov† Case â€Å"12† mn = â€Å"Dec† End Select End Sub Private Sub Form_Load() Me. Icon = LoadPicture(App. Path ; â€Å"ParkMe. i