programming language assignment, Study Guides, Projects, Research of Programming Languages

way of doing programming and implementing it

Typology: Study Guides, Projects, Research

2017/2018

Uploaded on 06/19/2022

rd-chhanel
rd-chhanel 🇳🇵

3.5

(6)

24 documents

1 / 33

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ISMT College
Programming
Nirmal Suwal (HND / First Semester)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21

Partial preview of the text

Download programming language assignment and more Study Guides, Projects, Research Programming Languages in PDF only on Docsity!

ISMT College

Programming

Nirmal Suwal (HND / First Semester)

Contents

  • Task 1/P1................................................................................................................................................
  • Introduction............................................................................................................................................
    • Characteristic of Algorithm................................................................................................................
    • Features of Algorithm.........................................................................................................................
    • Limitations of Algorithm....................................................................................................................
    • Data Dictionary...................................................................................................................................
  • Design for the application......................................................................................................................
  • Conclusion............................................................................................................................................
  • Task4/P2...............................................................................................................................................
  • Introduction..........................................................................................................................................
    • Procedural Programming..................................................................................................................
      • Advantages of Procedural Programming.....................................................................................
      • Disadvantages of Procedural programming.................................................................................
    • Object Oriented Programming..........................................................................................................
    • Event-Driven Programming..............................................................................................................
  • Conclusion............................................................................................................................................
  • Task7/P3...............................................................................................................................................
  • Introduction..........................................................................................................................................
    • Implementation of an Algorithm......................................................................................................
    • UI Design and Coding of IDE..........................................................................................................
    • Some UI Design IDE that had been developed using an IDE are as follow:...................................
      • Login page....................................................................................................................................
      • Register Form...............................................................................................................................
      • Employees Form..........................................................................................................................
      • Products........................................................................................................................................
    • Coding used in this UI Design..........................................................................................................
        1. Coding of Login page...............................................................................................................
        1. Coding of Register Form..........................................................................................................
        1. Coding with add, delete, update and view of Employee Form................................................
        1. Coding with add, update, delete and list of Products...............................................................
        1. Coding of DBUtilities..............................................................................................................
    • Some Debugging problems face during coding are as follow given in figure below:.....................
  • Conclusion............................................................................................................................................
  • Task 10/P4............................................................................................................................................
  • Introduction..........................................................................................................................................
    • Debugging process or facilities........................................................................................................
        1. Identify.....................................................................................................................................
        1. Isolate.......................................................................................................................................
        1. Fix.............................................................................................................................................
        1. Review.....................................................................................................................................
        1. Breakpoints...............................................................................................................................
        1. Call Stack Operations...............................................................................................................
        1. Tracer........................................................................................................................................
  • Conclusion............................................................................................................................................
  • Task 12/P5............................................................................................................................................
  • Introduction..........................................................................................................................................
    • Benefits of coding standards.............................................................................................................
    • Coding Assistance and conventions.................................................................................................
        1. Smart Code Completion...........................................................................................................
        1. Managing Imports....................................................................................................................
        1. Generating Code.......................................................................................................................
        1. Adding or Editing Code Templates..........................................................................................
      1. Formatting................................................................................................................................
      1. Programming Practices.............................................................................................................
  • Conclusion............................................................................................................................................
  • References............................................................................................................................................

Task 1/P Provide a definition of what an algorithm is and outline the process in Building and application. Introduction An algorithm is the process of solving the problems and calculations step by step with their own specific function by a computer. It is a small procedure where data processing are commonly used for calculating and mathematical operations that can solved the problem easily. It is also used to manipulate data by various ways in all area of IT (information technology) sectors such as search engine, inserting new data, sorting the data. Some Example:

  1. Start
  2. Declare variables
  3. Read values
  4. Display result
  5. Stop Characteristic of Algorithm
  6. An algorithm should be defined precisely on each steps.
  7. An algorithm are executed after a finite number.
  8. An algorithm are uniquely defined for the preceding results on dependent input.
  9. An algorithm can performed effectively for the finite steps.
  10. An algorithm applies to set inputs where algorithm receives input and produces output. Features of Algorithm
  11. It is used to search data to the data structure.
  12. It is used to sort the data in the order.
  13. It is used to insert data to the data structure.
  14. It is used to delete an existing data from data structure. Nirmal Suwal (HND / First Semester)

Password VARCHAR YES 150 - Password of register. Confirm_password VARCHAR YES 150 - Confirm password of register. Gender VARCHAR YES 150 - Gender of register. Email VARCHAR YES 150 - Email of register.  Employees Table name Attribute Data_type Null Length Constraint Description Employees Employee_id INT NO 11 PRIMARY KEY, UNSIGNED, AUTO_INCREMENT Id of admin. First_name VARCHAR NO 150 - First name of employee. Last_name VARCHAR YES 200 - Last name of employee. Gender VARCHAR YES 200 - Gender of employee. Position VARCHAR YES 100 - Position of employee. Salary VARCHAR YES 150 - Salary of employee. Nirmal Suwal (HND / First Semester)

Department VARCHAR YES 150 - Department of employee.  Products Table name Attribute Data_type Null Length Constraint Description Products Id INT NO 11 PRIMARY KEY, UNSIGNED, AUTO_INCREMENT Id of products. Products_name VARCHAR NO 150 - Products name of product. Establish_date DATE YES - - Establish date of product. Expire_date DATE NO - - Expire date of product. Rate VARCHAR YES 150 - Rate of product. Quantity VARCHAR YES 100 - Quantity of product. Design for the application In this task, I have design the flowchart on the basic of algorithm while starting to design the software. The flowchart design that I have started in this task are as follow:

  1. Algorithm of Login Page Nirmal Suwal (HND / First Semester)

3. Algorithm of Employees Nirmal Suwal (HND / First Semester)

4. Algorithm of Products Nirmal Suwal (HND / First Semester)

Task4/P Give explanations of what procedural, object oriented and event driven paradigms are; their characteristics and the relationship between them. Introduction Procedural Programming Procedural programing is defined as the programing data which operate on the data to perform computations. It also known as structured programming or imperative programming that support the stack register and instructors and also return from calling procedures for example java. (Ryan Cook,

Advantages of Procedural Programming

  1. It is easy to save.
  2. It has low memory consumption.
  3. Debugging is easy for relative data.
  4. It reuses the code in different locations.
  5. It has large volumes that can be easily solved to the smaller functions. Disadvantages of Procedural programming
  6. It is difficult to create new data.
  7. Information is not so important than to process.
  8. It is difficult to deal with real world. Object Oriented Programming Object oriented programming (OOP) is the programming language where data procedure are processed input and output the objects logically. It is also defined as computer programming or software design in which structural data of data type are not defined by programmers but it can applied the function of structural data where structural data known as object. For example, objects that consists of data and functions can inherit characteristic from one object to other objects. (Rouse & Vangie Beal, 1972 and 2008) Nirmal Suwal (HND / First Semester)

Event-Driven Programming Event driven programming is a programming paradigm in which control flow of the user program or other user input or program determined by executing the events. It is one of the important programming for the application development to handle the events and other resources where the program can be designed to react. (Computer Hope, 2018) Nirmal Suwal (HND / First Semester)

Nirmal Suwal (HND / First Semester)

Nirmal Suwal (HND / First Semester)

In this programming languages, programmers has defined about all computer program such as procedural programming, object oriented programming and event driven programming which have similar characteristics and features while performing any data type of data structure that flow the user program. It also operate on the data to perform computations. Nirmal Suwal (HND / First Semester)

Task7/P Write a program that implements an algorithm using an IDE. Introduction An algorithm is the series where every steps are expect will arrive at a particular arrangement. In this program, the coding is the best way to solve the problems in which the writing program does not equivalent to other communicating code so that whole composing code are main idea of entire coding in this programming language. Implementation of an Algorithm

  1. The major block diagram should be start to describe inputs and outputs of the given blocks.
  2. Each block diagram should determine the speed and data by the term of state machines such as RAMs, ROMs to execute the blocks design or diagram.
  3. It ensures the feasible with enough area to execute and perform the blocks design or diagram effectively
  4. It used to implement the rest of algorithm to synthesize the place and route the design blocks.
  5. It used to pass the design blocks by developing the test cases to perform easily and effectively. (Evgeni Stavinov, 2015) UI Design and Coding of IDE Netbeans is an open-source programing language that integrated the developing environment in programing fields such as Java, PHP, C++, C+ and many more. It also used to develop the Java desktop application by integrated development environment (IDE) UI Design stands for User interface design in which user used to create the design for an application. This application is also known as contact editor in which it is mostly used by the user in netbeans IDE for the user interface (UI) design or graphical user interface (GUI) design. (Chandler, 1997) Some UI Design IDE that had been developed using an IDE are as follow:Login page In this UI design, we all have created our own UI design so that I have design my pages as shown in figure1. As we move to login page, normally we can get user name, password, register and some bottoms like cancel and login are shown in figure1. Similarly, this login page can be opened or executed if we have register our account on the register form. Nirmal Suwal (HND / First Semester)