



























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of programming paradigms, focusing on procedural, object-oriented, and event-driven programming. It also discusses the importance of an Integrated Development Environment (IDE) in managing code development and debugging processes. The case study is based on C# programming language and Visual Studio IDE.
Typology: Assignments
1 / 35
This page cannot be seen from the preview
Don't miss anything!




























During a debugging session, you may utilize the Observe (Debug / Windows / Watch / Watch (1, 2, 3, 4)) and QuickWatch (right-click on variable / Debug / QuickWatch) windows to watch variables and expressions. The Watch window may display many variables at once, but the QuickWatch window only displays one variable at a time
ASSIGNMENT 2 FRONT SHEET Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Unit 1: Programming Submission date Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Nguyễn Thanh Hải Student ID GCS Class GDS0905A Assessor name Phan Minh Tam Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Grading grid P2 P3 P 4 P 5 M2 M3 M 4 D2 D3 D
Student Name/ID Number: Unit Number and Title: Unit 1: Programming Academic Year: 2021 – 2022 Unit Assessor: Phan Minh Tam Assignment Title: Application development with IDE Issue Date: 27 September 2021 Submission Date: Internal Verifier Name: Date: Submission Format: Format: ● The submission is in the form of an individual written report. This should be written in a concise, formal business style using single spacing and font size 12. You are required to make use of headings, paragraphs and subsections as appropriate, and all work must be supported with research and referenced using the Harvard referencing system. Please also provide a bibliography using the Harvard referencing system. Submission ● Students are compulsory to submit the assignment in due date and in a way requested by the Tutor. ● The form of submission will be a soft copy posted on http://cms.greenwich.edu.vn/. ● Remember to convert the word file into PDF file before the submission on CMS. Note: ● The individual Assignment must be your own work, and not copied by or from another student. ● If you use ideas, quotes or data (such as diagrams) from books, journals or other sources, you must reference your sources, using the Harvard style.
● Make sure that you understand and follow the guidelines to avoid plagiarism. Failure to comply this requirement will result in a failed assignment. Unit Learning Outcomes: LO2 Explain the characteristics of procedural, object-oriented and event-driven programming, conduct an analysis of a suitable Integrated Development Environment (IDE) LO3 Implement basic algorithms in code using an IDE LO4 Determine the debugging process and explain the importance of a coding standard Assignment Brief and Guidance: Assignment scenario Scenario : You have applied for a post as a trainee with a software development company and have been invited for an interview. You have been passed the presentation to demonstrate your problem solving and basic programming skills. Now you are given a more challenge task to create a fully working, secure application that has been developed using an IDE and adheres to coding standards for a detailed business problem. Tasks You will discuss a suitable problem with your mentor and list the user requirements before designing, implementing (coding) and testing a solution. You will create a report that should include: ● Introduction to your program (list of requirements and screenshots of program) ● Explain some of programming paradigms. Evaluate why and how your program use these (or some of) paradigms. ● Explain the common features of an IDE should have and evidence of how the IDE was used to manage the development of your code. ● An evaluation of developing applications using an IDE versus developing an application without using an IDE. ● An explanation and evaluation of the debugging process in the IDE used and how it helped with development. ● An explanation and evaluation of coding standards used in your program and the benefits to organisations of using them. The working application produced must also be demonstrated together with the presentation. Case Studies You can choose one of following case studies to implement Hotel Management System: A Hotel Management System is a software built to handle all online hotel activities easily and safely. This System will give the hotel management power and flexibility to manage the entire system from a single online
scheduled flight (all stakeholders will be notified). Restaurant Management System A Restaurant Management System is a software built to handle all restaurant activities in an easy and safe manner. This System will give the Restaurant management power and flexibility to manage the entire system from a single portal. The system allows the manager to keep track of available tables in the system as well as the reservation of tables and bill generation.
you have used in your code.
P a g e | 1
1.1. Definition Procedural is an overall approach for coding. An application is divided into a series of sub-functions, methods and other relevant, which are only process a certain task in order to keep track of what is going on. Earlier than this state of programming, a code entirely encoded in the same class, which is not only hard to debug but also it is required many loops to certain lines in the code just to process a variable that occurs later in the progression. A procedural program consists of an array of computational instructions for machines to process the given task step-by-step. An example of this is some common programming languages such as Python or C language. 1.2. Characteristics
P a g e | 2
2.1. Definition Object-Oriented Programming (OOP) is a programming paradigm based on the concepts of classes and objects. It is used to divide a software program into basic, reusable code blueprints (typically referred to as classes), which are then used to build individual instances of objects.
P a g e | 4 Second, it has the encapsulation trait. This trait is reflected in the tag that came with the variable, namely private to add a security level to the data when can only be accessed in the same class, public
P a g e | 5 Thirdly, it also has an abstract factor. This applies to abstract classes and interfaces. Both abstract classes and interfaces are classes that only exist for child classes inheriting. While interfaces class only provide methods for derived classes – which is used to categorize many classes or allocate overlap methods for independent classes, abstract classes furnish not only methods but also variables that are defined in the class. Lastly, it has the trait of polymorphism. Overloading methods are demonstrations for this trait. As the coder define many overlapping methods with the differences only in the parameters and order of coding. But compilers are programmed to be able to recognize and choose suitable methods for those parameters that users provide.
P a g e | 7
To execute a program, EDP permits the capture of single instances of events such as mouse clicks or keystrokes. In contrast to Procedural Programming, which needs a completely completed code to be executed, OOP permits the execution of separate classes. This enables simpler fault discovery and debugging, as well as increased software development productivity. Although all three types of programming do not rigorously associate together, it is common to see these being nested with each other.
P a g e | 8
Scenario: library management system. Library members need a system for quick access to available book, adding new book when it arrives at the library in addition with removing and updating any outdated information of old books.
P a g e | 10 private List
P a g e | 11 image.ImageLocation = exePath + "\photos\" + Dataview.CurrentRow.Cells[6].Value.ToString(); image.SizeMode = PictureBoxSizeMode.StretchImage; } public void Buttonlock(bool a) { Addnew.Enabled = !a; s.Enabled = a; u.Enabled = a; dele.Enabled = a; } public void Buttonlocks(bool a) { Addnew.Enabled = a; s.Enabled = a; u.Enabled = a; dele.Enabled = a; } public void Buttonlockss(bool a) { Addnew.Enabled = !a; s.Enabled = a; u.Enabled = !a; dele.Enabled = !a;