


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















II. Chapter 2 – Explain programming paradigms
1. Procedural Programming with source code and illustrations a. Overview Of procedural programming
Figure 1: Procedural Programming
b. Key features of a procedural programming
Figure 2: Object-Oriented Programming
b. Main principles of Object-Oriented Programming
b. Characteristic of Event-Driven Programming
III. Chapter 3 – IDE features
1. Over view of IDE a) Introduce what is IDE -An integrated development environment (IDE) is a software application that helps programmers develop software code efficiently. It increases developer productivity by combining capabilities such as software editing, building, testing, and packaging in an easy-to-use application. Just as writers use text editors and accountants use spreadsheets, software developers use IDEs to make their job easier.
Figure 4: Some of IDE
b) Common features of IDE Text editor: Virtually every IDE will have a text editor designed to write and manipulate source code. Some tools may have visual components to drag and drop front-end components, but most have a simple interface highlighting language-specific syntax.
Debugger: Debugging tools assist users in identifying and remedying errors within source code. They often simulate real-world scenarios to test functionality and performance. Programmers and software engineers can usually test the various code segments and identify errors before the application is released.
Figure 6: Debugger in visual studio
Compiler: Compilers are components that translate programming language into a form machines can process, such as binary code. The machine code is analyzed to ensure its accuracy. The compiler then parses and optimizes the code to optimize performance.
Figure 9: Programming language support in visual studio
Integrations and plugins: With the name integrated development environment, it is no surprise that integrations need to be considered when looking at IDEs. Your IDE is your development portal, so incorporating all your other development tools will improve development workflows and productivity. Poor integrations can cause numerous issues and lead to many headaches.
2. An explanation and evaluation of the debugging process in the IDE used and how it helped with development. a) explanation Debugging process Definition: Debugging is the process of detecting and removing of existing and potential errors (also called as ‘bugs’) in a software code that can cause it to behave unexpectedly or crash. To prevent incorrect operation of a software or system, debugging is used to find and resolve bugs or defects. (the economictimes,2023)
Description: To debug a program, user has to start with a problem, isolate the source code of the problem, and then fix it. A user of a program must know how to fix the problem as knowledge about problem analysis is expected. When the bug is fixed, then the software is ready to use. Debugging tools (called debuggers) are used to identify coding errors at various development stages. They are used to reproduce the conditions in which error has occurred, then examine the program state at that time and locate the cause. Programmers can trace the program execution step-by-step by evaluating the value of variables and stop the execution wherever required to get the value of variables or reset the program variables. Some programming language packages provide a debugger for checking the code for errors while it is being written at run time. (the economictimes,2023)
The debugging process: Spotting an error Finding the line of code that cause error
Fixing the error Test to check if the error is gone and no new error appear.
b) evaluation of the debugging process in the IDE
Figure 10: Debug on toolbar -The more faster way is press F10 on the keyboard.
Figure 11: buttons used to control the debug process
Figure 14: Use IDE to write code
Without using IDE: Imagine you use Microsoft Word to write a program, then you have to save the file as a fileformat according to the language you use. Then run that code again using that language'scompiler application. Just imagining it makes me feel uncomfortable. Can you memorizeall the syntax of the command to confidently program without using IDE? Moreover, it is also very difficult to avoid syntax errors in the process of writing code. And if your program is 1000 lines long, how long will it take you to find the error? Here is an exampleof using Word to write code:
Figure 15: Using word to write code
IV. Chapter 4 – Design and Implementation
1. Flowchart of the application a. FormLogin
Figure 16: FormLogin Step 1: Input Account Step 2: Input Password Step 3: checking Account: True : Next step False: Go back to Input Account Step 4: Checking Password: True: Next step False: Go back to Input Password Step 5: login in to program
b. FormProgram
Figure 18: delete book
Step 1: Click delete: True: Next step False: Cancel delete Step 2: delete book
Figure 19: Fix book information
Step 1: Click change information of book: True: Next step False: Cancel changging information of book Step 2: If (index >= 0): Changging bookcode information Changging bookname information Changging author information Changging type information Changging prise information
-check control use to check that the information of books are correct or not