Preview

Intermediate Code Case Study

Good Essays
Open Document
Open Document
745 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Intermediate Code Case Study
The identification and removal of semantic interference in analysis phase includes three process namely,
i. Identification of base and cross-cutting themes ii. Generation of Intermediate code iii. Identification of Interferences iv. Definition of rules to resolve data and control-flow Interferences
A. Identification of base and cross-cutting themes The main aim of analyzing the requirements is to find the base and the cross-cutting themes using the Theme approach. From the above stated requirements, five actions can be identified. (i.e.) register, unregister, give marks, log and flag. It is clear from requirements R1, R2 and R8 that the actions register, unregister and give marks represent independent themes since they handle independent
…show more content…
Generation of intermediate code After identifying the base and the cross-cutting themes, intermediate code is generated from the requirements. The intermediate code consists of prototypes of function declarations and function calls. For the case study application, the intermediate code is generated with the prototype of the functions register, unregister, give marks, flag and log. The tool generated intermediate code for the case study is given in Fig 3. The intermediate code will be further analyzed to identify the occurrence of …show more content…
The screen grab of the tool execution identifying the occurrence of data-flow interference is given in Fig. 4. In the case study application, a variable no_of_students is used by both register and unregister functionalities. The value of no_of_students is incremented when a new student registers for a course and gets decremented when a student unregisters from the course. The data-flow interference occurs when variable no_of_students is not updated according to the functionalities (i.e) if the value giveed to no_of_students is not correctly updated, then marks may be giveed to an unregistered student by the Professor during the execution of give marks

You May Also Find These Documents Helpful

  • Satisfactory Essays

    There are lots of design styles readily available for the creation of company software program. The design styles talked about in this report will include Data Access Object (DOA), dispatcher, plant technique, abstract factory method, as well as model-view-controller (MVC). All 5 of these design styles are evaluated as well as compared in this report.…

    • 579 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Week 3 Assignment Bsa 375

    • 361 Words
    • 2 Pages

    The first step is to identify the major software components of the system being developed. Software systems are divided into four major functions. Data storage in an Information System stores the data or file. Data Access Logic is managing needed to retrieve the data. Application Logic is the processes or activities that are executed. The final function is the Presentation Logic function which is the presentation of the information and the user interface. Knowledge of the functions is vital in the design process and the data flow diagrams (DFD).…

    • 361 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    you decide that the first step to be taken is to identify the requirements of the new administration system. your task is to develop a questionnaire to given to each stakeholder including the section managers. These questions will provide you with the information you need to determine the specification and need of your new administration system.…

    • 2363 Words
    • 10 Pages
    Powerful Essays
  • Good Essays

    It210 Week 1 Dq#2

    • 329 Words
    • 2 Pages

    In development of programs structured approach is mostly used, because the structured approach is a method for designing and coding programs in a systematic, organized manner to develop a programming solution. In this approach, system requirement is to identify the long term requirements before the programming development[pic]…

    • 329 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Cis207

    • 776 Words
    • 4 Pages

    The analysis phase collects and analyzes the end user business requirements. Oftentimes these are collected by a Business Analyst or a Project Manager. This phase provides documentation of the detailed set of business needs for the system and includes the documented requirements along with sponsor and stakeholder signatures. Following this with a process diagram or flowchart (such as a Visio document) that outlines the inputs, outputs, and processes of the system is a best practice.…

    • 776 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Codeing Scenarios

    • 848 Words
    • 4 Pages

    5. Name the six basic location methods to locate main terms in the index CPT.…

    • 848 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    code program

    • 317 Words
    • 2 Pages

    (Compilation screenshot) - Insert here a screenshot of the result of compiling the above source code: NetBeans IDE 7.3.1 compiles but it did not go to the screen so I could see it, this is why I sent you a message yesterday to let you know this. But the program did run without any problems.…

    • 317 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    The Process and design identifies the processes and the roles that are involved. Processes represent the operations performed by the system. Entities represent all the information sources of the system. We represent the entities and the processes in the data flow diagrams, DFD. While designing the DFD’s we increase the level of detail with each level. At each level the process divides into sub-processes until indivisible sub-processes are reached. Here is an example.…

    • 637 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Apex Case Study

    • 644 Words
    • 3 Pages

    Given the limited information in this case, which product would you recommend that Apex commercialize? Why?…

    • 644 Words
    • 3 Pages
    Good Essays
  • Good Essays

    3. Implementation: Final design testing with user, clients and do the necessary changes as per the…

    • 912 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Coding Scenarios

    • 371 Words
    • 2 Pages

    1. Decrease Medicare Expenditures and Re-Distribute Physicians payments more equitibly are two of the three goals of Physician Payment Reform. The third goal of the Physicians Payment Reform is to Ensure quality healthcare at a responsible rate.…

    • 371 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Learning and Student Code

    • 447 Words
    • 2 Pages

    Was there anything in either the University of Phoenix Student Code of Conduct or the Student Code of Academic Integrity that surprised you? If so, what was it? Why were you surprised? If not, why not?…

    • 447 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Reusability of Code

    • 486 Words
    • 2 Pages

    Designing a code can often take a lot of time, depending on the complexity of the coding. This is why code reusability has become a standard when it comes to computer programming. But to understand why you would reuse code, you need to understand what goes into creating code. This essay will compare and contrast procedural programming modules and objects. Also, it discuss the security terms in hiding code, passing of data versus data encapsulation, code reuse in more than one program, and how object-oriented methods are similar to procedural modules.…

    • 486 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    B- Suppose you are going to build a new system that automates or improves the interview process for the career services department of your school. Develop a requirements definition for the new system. Include both functional and non-functional system requirements. Pretend you will release the system in three different versions. Prioritize the requirements accordingly.…

    • 829 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Data Flow Diagram

    • 1304 Words
    • 6 Pages

    Structured analysis is used to carry out the top-down decomposition of a set of high-level functions depicted in the problem description and to represent them graphically. During structured analysis, functional decomposition of the system is achieved. That is, each function that the system performs is analyzed and hierarchically decomposed into more detailed functions. Structured analysis technique is based on the following essential underlying principles: • • • Top-down decomposition approach. Divide and conquer principle. Each function is decomposed independently. Graphical representation of the analysis results using Data Flow Diagrams (DFDs).…

    • 1304 Words
    • 6 Pages
    Powerful Essays