




















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
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
This document evaluates the benefits of using an Integrated Development Environment (IDE) like Visual Studio Code versus using a simple text editor like Notepad for application development. It also discusses the importance of coding standards and their benefits to organizations. an evaluation of the debugging process in Visual Studio Code and an analysis of the pros and cons of using Notepad++ and Visual Studio Code.
What you will learn
Typology: Assignments
1 / 28
This page cannot be seen from the preview
Don't miss anything!
PROGRAM TITLE: BTEC-COMPUTING UNIT TITLE: PROGRAMING ASSIGNMENT NUMBER: 3 ASSIGNMENT NAME: IDE and DEBUGGING SUBMISSION DATE: 14/06/ DATE RECEIVED: 01/06/ TUTORIAL LECTURER: NGUYEN MINH TRANG WORD COUNT: 2744 STUDENT NAME: NGUYEN PHUONG NAM STUDENT ID: BKC MOBILE NUMBER: 0388898670
Summative Feedback: Internal verification:
1. Evidence of how the IDE was used to manage the development of your code. - I choose Visual Studio Code (VSCode) to develop Order Steak software. VS Code is not an IDE, but I have to choose it because: Edit, build, and debug with ease At its heart, Visual Studio Code features a lightning fast source code editor, perfect for day-to-day use. With support for hundreds of languages, VS Code helps you be instantly productive with syntax highlighting, bracket-matching, auto-indentation, box-selection, snippets, and more. Intuitive keyboard shortcuts, easy customization and community-contributed keyboard shortcut mappings let you navigate your code with ease. For serious coding, you'll often benefit from tools with more code understanding than just blocks of text. Visual Studio Code includes built-in support for IntelliSense code completion, rich semantic code understanding and navigation, and code refactoring. And when the coding gets tough, the tough get debugging. Debugging is often the one feature that developers miss most in a leaner coding experience, so we made it happen. Visual Studio Code includes an interactive debugger, so you can step through source code, inspect variables, view call stacks, and execute commands in the console. VS Code also integrates with build and scripting tools to perform common tasks making everyday workflows faster. VS Code has support for Git so you can work with source control without leaving the editor including viewing pending changes diffs. Make it your own Customize every feature to your liking and install any number of third-party extensions. While most scenarios work "out of the box" with no configuration, VS Code also grows with you, and we encourage you to optimize your experience to suit your unique needs. VS Code is an open-source project so you can also contribute to the growing and vibrant community on GitHub. Built with love for the Web VS Code includes enriched built-in support for Node.js development with JavaScript and TypeScript, powered by the same underlying technologies that drive Visual Studio. VS Code also includes great tooling for web technologies such as JSX/React, HTML, CSS, SCSS, Less, and JSON.
2. An evaluation of developing applications using an IDE versus developing an application without using an IDE.
b. Command hints during coding This feature supports code suggestions for programmers to make the coding process faster, reducing the rate of writing code with syntax errors. VSCode suggests commands in the coding process, so write code is faster, less wrong. Notepad does not suggest commands during the coding process, so the programmer has to remember the entire command syntax, sometimes leading to syntax errors.
Notepad does not look for errors when writing code, so if the program fails, it will take a long time to find errors.
Program debug support YES NO We can see that VSCode has many outstanding features compared to Notepad. So, I chose Visual Studio Code to code my order system and I think it's the right choice.
3. An evaluation of the debugging process in the IDE used and how it helped with development. First you need to open a terminal in VS Code you can do this by using Once the terminal is opened enable your virtualenv if you named your virtualenv env then the command will look like $ source env/bin/activate We can now enable debugging in VSCode you can do this by using f5 or by clicking debug from menu tab the start with debugging When activated you should see a debug panel. The python package for VSCode comes with a number of pre-configured debug environments for different python frameworks. We need to set environment variables to debug our application, from the new debug panel
The second control ignores method calls in that breakpoint and jumps to the next line of code The third control follows the method calls in that line of code The fourth control returns to the parent method call The fifth control restarts the debugging session The sixth control stops the debugging session.
4. An evaluation of coding standards and the benefits to organizations of using them. Different modules specified in the design document are coded in the Coding phase according to the module specification. The main goal of the coding phase is to code from the design document prepared after the design phase through a high-level language and then to unit test this code. Good software development organizations want their programmers to maintain to some well-defined and standard style of coding called coding standards. They usually make their own coding standards and guidelines depending on what suits their organization best and based on the types of software they develop. It is very important for the programmers to maintain the coding standards otherwise the code will be rejected during code review. Purpose of Having Coding Standards: A coding standard gives a uniform appearance to the codes written by different engineers. It improves readability, and maintainability of the code and it reduces complexity also. It helps in code reuse and helps to detect error easily. It promotes sound programming practices and increases efficiency of the programmers. Some of the coding standards are given below: Limited use of globals: These rules tell about which types of data that can be declared global and the data that can’t be. Standard headers for different modules: For better understanding and maintenance of the code, the header of different modules should follow some standard format and information. The header format must contain below things that is being used in various companies: Name of the module Date of module creation Author of the module Modification history Synopsis of the module about what the module does Different functions supported in the module along with their input output parameters Global variables accessed or modified by the module Naming conventions for local variables, global variables, constants and functions:
Some of the naming conventions are given below: Meaningful and understandable variables name helps anyone to understand the reason of using it. Local variables should be named using camel case lettering starting with small letter (e.g. localData) whereas Global variables names should start with a capital letter (e.g. GlobalData). Constant names should be formed using capital letters only (e.g. CONSDATA). It is better to avoid the use of digits in variable names. The names of the function should be written in camel case starting with small letters. The name of the function must describe the reason of using the function clearly and briefly. Indentation: Proper indentation is very important to increase the readability of the code. For making the code readable, programmers should use White spaces properly. Some of the spacing conventions are given below: There must be a space after giving a comma between two function arguments. Each nested block should be properly indented and spaced. Proper Indentation should be there at the beginning and at the end of each block in the program. All braces should start from a new line and the code following the end of braces also start from a new line. Error return values and exception handling conventions: All functions that encountering an error condition should either return a 0 or 1 for simplifying the debugging. On the other hand, Coding guidelines give some general suggestions regarding the coding style that to be followed for the betterment of understandability and readability of the code. Some of the coding guidelines are given below: Avoid using a coding style that is too difficult to understand: Code should be easily understandable. The complex code makes maintenance and debugging difficult and expensive. Avoid using an identifier for multiple purposes: Each variable should be given a descriptive and meaningful name indicating the reason behind using it. This is not possible if an identifier is used for multiple purposes and thus it can lead to confusion to the reader. Moreover, it leads to more difficulty during future enhancements. Code should be well documented: The code should be properly commented for understanding easily. Comments regarding the statements increase the understandability of the code. Length of functions should not be very large: Lengthy functions are very difficult to understand. That’s why functions should be small enough to carry out small work and lengthy functions should be broken into small ones for completing small tasks.
b. Login.