TABLE OF CONTENTS SECTION TITLE PAGE
- 格式:pdf
- 大小:137.34 KB
- 文档页数:97
在RSC(英国皇家化学学会)的投稿要求中,Table of Contents(目录条目)指的是在论文中列出各章节和重要段落标题的列表。
它通常出现在论文的开头部分,以方便读者快速了解论文的内容和结构。
在撰写论文时,应该按照论文的逻辑结构和重要程度,将各个章节和重要段落的标题整理成一份简明扼要的列表,并按照适当的顺序进行排列。
每个标题前面可以加上相应的页码,以便读者快速找到感兴趣的内容。
在RSC的投稿要求中,Table of Contents需要遵循一定的格式和排版规范,例如字体、字号、行距、对齐方式等。
具体的格式要求可以参考RSC的投稿指南或联系编辑部获取详细信息。
总之,Table of Contents是论文中非常重要的一部分,它可以帮助读者快速了解论文的内容和结构,提高阅读的效率和体验。
因此,在撰写论文时应该认真编写Table of Contents,并遵循相应的规范和要求。
英语作文报道格式Introduction:In today's fast-paced world, written communication plays a significant role in conveying information, and reporting is one of the most important forms of written communication. A report serves as an objective and factual account of an event, survey, or investigation. In this article, we will discuss the format of a report, followed by a step-by-step guide on how to write an excellent report in English.Report format:Before discussing the writing process, let's understand the standard format of a report. A report usually consists of the following parts:Title page: This page includes the title of the report, the name of the author(s), date of submission, and the name of the organization/institution.Table of contents: A table of contents lists the major headings and sub-headings of the report along with their page numbers.Executive summary: This is a summary of the entire report, including the problem or purpose of the report, the method used, the key findings, and the recommendations.Introduction: This section provides an overview of the report, including the background information, objectives, and scope.Methodology: This section describes the research design, data collection, and analysis process.Results: This section presents the findings of the research or investigation.Discussion: This section analyzes and interprets the results in relation to the research questions or objectives.Conclusion: This section summarizes the main points of the report and restates the findings.Recommendations: This section provides suggestions and recommendations for future action.References: This section lists the sources cited in the report.Appendices: This section includes any additional supporting material not included in the main report.Step-by-Step Guide on How to Write a Report:1. Define the purpose and scope of the report. Identify the target audience and what information they need to know.2. Gather relevant information through primary and secondary research. Primary research involves collecting data through surveys, interviews, orexperiments. Secondary research involves reviewing existing literature, reports, and databases.3. Organize the information into an outline that follows the standard report format.4. Write the report in a clear, concise, and objective manner. Use active voice and avoid unnecessary jargon or technical terms.5. Use headings, subheadings, and bullet points to make the report easy to read and navigate.6. Use evidence to support your claims and cite sources where appropriate.7. Proofread the report for errors in grammar, spelling, and punctuation.8. Include any necessary appendices or supporting material.9. Use a consistent and appropriate style and format throughout the report.Conclusion:In conclusion, a report is an essential tool for communicating information objectively and factually. By following the standard report format and using a structured approach, you can write a clear and concise report that effectivelyconveys your findings and recommendations. With practice and attention to detail, you can master the art of report writing in English.。
药品注册申报DMF资料CTD格式技术指南目录表Table of Contents章节题目页码Section Ti t le Page3.2.S 原料药 3.2.S DRUG SUBSTANCE3.2.S.1 通用信息 3.2.S.1 General Information3.2.S.1.1 命名 3.2.S.1.1 Nomenclature3.2.S.1.2 结构 3.2.S.1.2 Structure3.2.S.1.3 一般特性 3.2.S.1.3 General properties3.2.S.2 制造 3.2.S.2. MANUFACTURE3.2.S.2.1制造商 3.2.S.2.1 Manufacture Information3.2.S.2.2 生产和工艺控制的描述 3.2.S.2.2 Description of Manufacturing and Process Controls 3.2.S.2.3 物料的控制 3.2.S.2.3 Control of Materials3.2.S.2.4 关键步骤和中间体的控制 3.2.S.2.4 Control of Critical Steps and Intermediates 3.2.S.2.5 工艺验证及其评估 3.2.S.2.5 Process Validation and/or Evaluation3.2.S.2.6 制造工艺的开发 3.2.S.2.6 Manufacturing Process Development3.2.S.3 特征 3.2.S.3 CHAR ACTERIZATION3.2.S.3.1 结构和其它特性的说明 3.2.S.3.1 Elucidation of Structure and Other Characteristics 3.2.S.3.2 杂质 3.2.S.3.2 Impurities3.2.S.4 原料药的控制 3.2.S.4 CONTROL OF DRUG SUBSTANCE3.2.S.4.1 质量规格 3.2.s.4.1 Specifications3.2.S.4.2 分析程序 3.2.S.4.2 Analytical Procedures3.2.S.4.3 分析程序的验证 3.2.S.4.3 Validation of Analytical procedures3.2.S.4.4 批产品的分析 3.2.S.4.4 Batch analysis3.2.S.4.5 质量规格的说明 3.2.S.4.5 Justification of Specifications3.2.S.5 参考标准品或参照物 3.2.S.5 REFERENCE STANDARD OR MATERIALS3.2.S.6 容器密封系统 3.2.S.6 CONTAINER CLOSURE SYSTEM3.2.S.7 稳定性 3.2.S.7 STABILI TY3.2.S.7.1 稳定性摘要和结论 3.2.S.7.1 Stability Summary and Conclusions3.2.S.7.2 批准后的稳定性研究方案 3.2.S.7.2 Post Approval Stability Protocol3.2.S.7.3 稳定性数据 3.2.S.7.3 Stability Data附件Appendices附件I. 空白批生产记录Appendix I. Master Batch Record附件II. 原始批生产记录,批号: Appendix II. Production Batch R ecord, Batch No 附件III. 工艺验证报告Appendix III. Process Validation Report附件IV. 结构确认报告Appendix IV. Characterization of the Molecule Report 附件 V. HPLC含量验证报告 Appendix V. HPLC R elated Substances Validation Report 附件VI. HPLC相关物质验证报告 Appendix VI. GC Residue of Solvents Validation Report 附件VII. GC残留溶剂验证报告 Appendix VII. HPLC Assay Validation Report附件VIII. 参考标准品标定报告 Appendix VIII. Reference Standard Qualification Report附件IX. 降解研究报告 Appendix IX. Deg Study Report附件X. 潜在杂质综合研究报告 Appendix X. Potential Impurity Report。
Table of Contents(加粗,小二号,居中)
(中间空一行,使用段落中的空行标准)
Acknowledgements(加粗,四号) (i)
(此处空一行,使用段落中的空行标准)
Abstract (加粗,四号) (ii)
摘要(宋体,四号、加粗) (iii)
(此处空一行,使用段落中的空行标准)
Introduction(宋体,加粗,四号) (1)
I. Nature of Translation (加粗,四号,I. 点后空一格) (2)
1.1 Translation Is a Science (小四,不加粗,缩进) (2)
1.2 Translation Is an Art (同上) (4)
II. Prose Cognition (加粗,四号) (10)
2.1 What Is Prose?(小四,不加粗,缩进) (10)
2.2 What Are the Characteristics of Prose? (小四,不加粗) (10)
III. Aesthetics & Translation (11)
Conclusion(加粗,四号) (20)
Bibliography(加粗,四号) (21)
(此页英文字体Times New Roman,汉语宋体;页边距上、左2.5;下、右2.0;除Table of Contents为居中外其余行均为分散对齐;题号点后与题目之间空一格;次级题号与上一行词首对齐;此页不需页码)
段落中的空行标准操作方法:选中文本,点击菜单中的“段落”,选择“段前”空一行或“段后”空一行。
这样做出的空行大小适度,美观工整。
目录Table of Contents Section # Section Title Page #A.How to Use this Manual 本手册使用方法 (2)B. SingleWell Control Panel 单井控制柜 (3)A. Instrument Supply System元件供应体系 (3)B. ESD/Fusible Plug System 易熔塞/ESD系统 (3)C. Well Control Circuit 井控线路 (4)D. Electrcial Interface 电路接口 (5)C. Start-Up Procedure启动程序 (5)A. Panel Pre-Start Checks 控制柜预启动检测 (5)1. Miscellaneous Pre-start Checks 其他预气动检查 (6)B. Start-up Procedure 启动程序 (6)1. ESD/Fusible Plug Loop SystemESD/易熔塞回路系统 (6)2. Well Control Circuit Start-up井控线路启动 (6)D Maintenance and Test Procedure维护和测试程序 (6)A. Testing Procedure测试程序 (7)1. Fusible Plug Loop System Test易熔塞回路系统 (7)2. Panel Mounted Pressure Pilots压力导阀安装 (8)B. Output Signals 输出信号 (9)1. SSV Output Tubing SSV输出油管 (9)2. Pressure Pilot Process Tubing 压力导阀工艺油管............ . (10)C. Maintenance Procedures 维修程序 (10)1. Manual Reset and Logic Relays 手动复位和逻辑中继阀 (10)2. Filter Regulators过滤调节器.............................................................. (10)Appendix A 附录Section A. How to use this manual 手册使用方法本手册介绍单井控制柜基本设计概念及特征,控制柜安装中国近海位置。
临床csr的格式-回复Title: Clinical Study Reports (CSRs): An In-depth AnalysisIntroduction:Clinical Study Reports (CSRs) play a critical role in providing a comprehensive overview of clinical trials' design, methodology, results, and interpretations. These reports serve as an essential documentation tool, aiding in transparency, reproducibility, and scientific integrity. This article aims to discuss the format and structure of a CSR, providing a step-by-step explanation of each section's purpose and content.1. Title Page:The title page sets the foundation for the CSR. It should include the trial's title, identification number, date, and the names and affiliations of the principal investigators. Additionally, sponsors, organizations involved, and regulatory bodies should be clearly mentioned.2. Table of Contents:The table of contents offers a navigation guide for the entire CSR. It comprises sections, sub-sections, and their page numbers, allowingthe readers to access specific information quickly.3. Executive Summary:The executive summary provides a concise overview of the entire CSR. It encompasses the study's objectives, design, patient demographics, key findings, and conclusions. This section helps readers grasp the essential aspects of the trial without diving into intricate details.4. Introduction:The introduction sets the context for the CSR, offering a background of the disease under investigation. It outlines the rationale for conducting the study, previous research, and the scientific basis of the trial. A clear research question or hypothesis that the trial aims to answer is also included.5. Methods:The methods section provides detailed information on the trial's design, participants, interventions, and procedures. It covers eligibility criteria, randomization and blinding techniques, assessment tools, and statistical analysis plans. Protocols for data collection, storage, and monitoring are also explained. This sectionensures the transparency and reproducibility of the study.6. Results:The results section presents the trial's findings in an objective and organized manner. It includes participant demographics, primary and secondary endpoint analysis, adverse events, and any deviations from the original protocol. Statistical analysis, graphs, tables, and figures are utilized to depict the data accurately. This section is crucial for assessing the study's efficacy and safety outcomes.7. Discussion:In the discussion section, researchers analyze and interpret the results, comparing them with existing literature and clinical guidelines. It highlights the trial's strengths and limitations, addressing potential biases or confounding factors that might impact the outcomes. The implications of the findings, their clinical relevance, and further research opportunities are also discussed.8. Conclusion:The conclusion section summarizes the key findings, emphasizing the trial's main outcomes. It highlights the clinical implications ofthe study and may provide recommendations for future research or clinical practice guidelines.9. References:The references section includes a complete list of all the sources cited in the CSR, following a specific citation format (such as AMA, APA, or Vancouver style). All references must be accurately documented to ensure credibility and support further exploration of the topic.10. Appendices:The appendices contain additional supporting documents, such as informed consent forms, study protocols, questionnaires, or supplementary data. These resources facilitate a comprehensive understanding of the trial and its methodology.Conclusion:Clinical Study Reports encompass a detailed and standardized format that enhances transparency, reproducibility, and scientific integrity in clinical research. Understanding the structure and purpose of each section allows researchers, regulatory bodies, andother stakeholders to analyze and interpret trial results accurately. By adhering to a rigorous format, CSRs ensure data transparency and contribute to the advancement of evidence-based medicine.。
目录(Table of Contents)目录页由论文的章节、附录等的序号、标题和页码组成(不包括原创性声明),另页编排在摘要的后面。
用英文撰写的论文的章(一级标题)的序号应用英文数字或者罗马数字,如Chapter Three或者Chapter III。
如果正文中二级标题(节)及二级以下标题用阿拉伯数字编排序号,如3.1、3.2.2等,则目录页应列出这些标题、序号、页码。
章节的标题均必须与正文中的标题相一致。
目次间的行距为1.5行,但同一目次换行时应为单倍行距。
每一章序号和标题的字体用Arial黑体12 pt,其余的序号和标题用Times New Roman 12 pt。
章节必须逐级缩进,页码必须右对齐。
为了保证目次页与正文中的章、节、附录等的序号、标题和页码完全一致,目次页应该用Microsoft Word选项单中“插入\引用\索引和目录\目录”的命令设置格式,而不宜用手工打出。
请按以下目录样本编制目录CONTENTSACKNOWLEDGEMENTS (ii)ABSTRACT (iii)摘要 (iv)Chapter One INTRODUCTION (1)Chapter Two LITERATURE REVIEW (10)Chapter Eight CONCLUSION (180)8.1 Major Findings (180)8.1.1 Effects of input frequency (180)8.1.2 Effects of output frequency (181)8.1.3 Delayed effects (182)8.2 Implications (184)WORKS CITED (185)目录页例Chapter Five CONCLUSION (180)5.1 Major Findings (180)5.1.1 Effects of input frequency (180)5.1.2 Effects of output frequency (181)5.1.3 Delayed effects (182)5.2 Implications (184)注意:1. 目次页应该用Microsoft Word选项单中“插入\引用\索引和目录\目录”的命令设置格式,而不宜用手工打出。
Summary Report Writing in EnglishIntroductionIn today’s fast-paced world, giving effective summary reports is crucial for communication, especially for businesses. A report summarizes facts, findings, and conclusions that can help the readers make informed decisions. Generally, a report is factual, objective, accurate, clear, concise, and well-organized. An English summary report follows a specific structure, tone, and style that will be discussed in this document. In this report, we will provide guidelines for writing an English summary report and highlight some common errors to avoid.GuidelinesStructureThe structure of an English summary report should include the following sections:1.Title page: The title page should include the title of the report, thename of the writer, date of submission, and institution.2.Table of contents: The table of contents should reflect the mainheadings of the report, which provide an overview of the document’s content.3.Executive summary: This section should provide a brief summary ofthe report, including its purpose, findings, and recommendations. It should be concise and well-written to capture the reader’s attention.4.Introduction: The introduction should briefly describe the purpose,scope, and background of the report, as well as the methodology used, and any limitations.5.Main body: This section should provide detailed information, data,and analysis supported by charts, graphs, or diagrams. It should be structured and organized into headings, subheadings, and sections, giving the readers a clear and concise understanding of the topic.6.Conclusion: The conclusion should summarize the main findings,draw conclusions, and make recommendations for future actions.7.References: This section should list all the sources used in the report,arranged alphabetically according to t he author’s name or chronologically.Tone and StyleIn English summary reports, writers should use a formal and impersonal tone. They should avoid using personal pronouns such as。
英语作文目录模板Table of Contents。
1. Introduction。
2. Importance of a Table of Contents。
3. Elements of a Table of Contents。
4. How to Create a Table of Contents。
5. Tips for Creating an Effective Table of Contents。
6. Conclusion。
Introduction。
A table of contents is a crucial component of any document, whether it is a book, report, or research paper. It provides a roadmap for the reader, allowing them to quickly locate specific sections and navigate through the document with ease. In this article, we will explore the importance of a table of contents, the key elements it should include, and how to create an effective one.Importance of a Table of Contents。
A table of contents serves several important purposes. First and foremost, it helps the reader to quickly find the information they are looking for within a document. This is especially useful in lengthy documents, where locating specific sections can be time-consuming without a table of contents.Additionally, a table of contents provides a high-level overview of the document's structure and organization. This can be particularly helpful for readers who want to understand the scope of the document before diving into the details.Furthermore, a well-structured table of contents can enhance the overall professionalism and readability of a document. It shows that the author has taken the time to organize their work in a clear and logical manner, which can make a positive impression on the reader.Elements of a Table of Contents。
英文报告格式(范本)英文报告格式范本Title: English Report Format (Sample)Abstract:This report provides an example of the format for writing an English report. The format includes the structure, sections, and guidelines for an effective and organized report. The report aims to assist individuals in creating well-formatted reports in English.Introduction:Writing an English report requires adherence to a specific format. This format ensures that the report is organized, coherent, and easy to read. The following example presents a comprehensive guide to the format of an English report.1. Title Page:The title page is the first page of the report and should include the following information: the report title, the author's name, the author's affiliation, and the date of submission. The title should be concise yet descriptive, providing an overview of the report's content.2. Table of Contents:The table of contents provides an outline of the report's structure and facilitates easy navigation. It lists the sections, subsections, and page numbers, enabling readers to locate specific information quickly.3. Introduction:The introduction introduces the report's topic, objectives, and background information. It provides context for the reader and highlights the significance of the report. The introduction should be concise and engaging, capturing the reader's attention.4. Methodology:The methodology section describes the research methods employed to gather data or conduct experiments. It should provide sufficient detail for readers to understand the research process. Include information about the sample size, data collection procedures, and any statistical analysis performed.5. Findings:The findings section presents the main results of the research or analysis conducted. Use clear and concise language to describe the findings and support them with relevant data, charts, graphs, or tables. Ensure that the information is well-organized and easy to comprehend.6. Discussion:The discussion section interprets and analyzes the findings in relation to the research objectives. It provides insights into the implications and significance of the results. Identify any limitations or challenges encountered during the research process and propose recommendations for further study.7. Conclusion:The conclusion summarizes the main points discussed in the report and reaffirms the research objectives. It should be concise and provide a clear understanding of the report's key findings. Avoid introducing new information or ideas in the conclusion.8. References:The references section lists all sources cited in the report. Follow a recognized citation style, such as APA or MLA, and ensure that all sources are properly formatted and accurately referenced. This section allows readers to access the original sources for further investigation.9. Appendix:The appendix includes supplementary material that supports the report but is not essential to understanding the main content. Examples of materials that can be included in the appendix are raw data, survey questionnaires, or additional charts/tables referred to in the findings section.Conclusion:This report has presented an example of the format for writing an English report. Adhering to this format ensures organized and well-structured reports that effectively convey information. By following the guidelines outlined in this report, individuals can create professional and impressive English reports.Please note that this report is intended as a general guideline for an English report format. It is essential to adhere to any specific requirements provided by your institution or supervisor when writing a report.。
HARD REAL-TIME OPERATING SYSTEMKERNEL STUDYTASK8,Volume BTESTING OF MODIFICATIONS TO YORK ADAAndrew HutcheonYork Software Engineering Limited,UK25th September1992AbstractThis document describes the testing of modifications made to the York Ada Compiler and York Ada Run-Time System to implement the features described in Appendix A of the Task5deliverable,Design of the Hard Real-Time Kernel[1].ESTEC/Contract No.9198/90/NL/SFESTEC TECHNICAL MANAGER:Mr F.Gomez-Molinero©York Software Engineering Limited,1992TABLE OF CONTENTSSECTION TITLE PAGE 1INTRODUCTION12LARGE PRIORITY RANGE1 2.1YAM01A1 2.2YAM01B2 2.3YAM01C23PRIORITY QUEUING3 3.1YAM02A3 3.2YAM02B34PACKAGE CALENDAR45PROTECTED TASKS4 5.1YAM04A4 5.2YAM04B5 5.3YAM04C6 5.4YAM04D7 5.5YAM04E86DELAY UNTIL9 6.1YAM05A9 7BUDGET TIMING9 7.1YAM06A9 7.2YAM06B10 7.3YAM06C10 7.4YAM06D10 7.5YAM06E11 7.6YAM06F11 8PERIOD TRANSFORMATIONS12 8.1YAM07A12 8.2YAM07B13 8.3YAM07C13 8.4YAM07D149USER INTERRUPT HANDLERS14 9.1YAM08A14 9.2YAM08B15 10FAST USER INTERRUPT HANDLERS15 10.1YAM09A15 10.2YAM09B16REFERENCES17 A TEST SOURCE CODE181.INTRODUCTIONThis document describes the testing undertaken on the modifications to York Ada which are outlined in;[2]the reader is expected to be familiar with these modifications.Each amendment is covered in sequence,and the one or more tests performed are discussed. The style of presentation is the same in each case:the purpose of each test is described;a brief description of the test is given;the results obtained by executing the test are presented.Note the results that are presented are what you would see if the test was rerun, within the constraints of any nondeterminism exhibited by the test code.Appendix A at the end of this document contains the Ada source code for each of the test programs.This source text will also be supplied in machine readable form as part of the delivered system.RGE PRIORITY RANGE(Amendment Request01)2.1.Test Purpose:YAM01AThis test demonstrates the correct operation of the extension of the priority range to0.63in package SYSTEM.2.1.1.Test DescriptionThe test creates a number of tasks of different priority levels in order to illustrate that priorities throughout the extended range behave correctly.The number of tasks is limited to maintain legibility of the output,but the test has been repeated with various assortments of priority levels in order to increase confidence that the priority range behaves as expected.The code consists of seven tasks which print an identification of themselves while executing;each task has a different priority level.2.1.2.Test ResultsThe program,when executed,produces output which shows the high priority tasks return-ing to a runnable state after delays and pre-empting the executing lower priority task.This is illustrated by the sample output trace:333344444444444444444444444444444455555555555555555555555544444444446666666222222This fragment of output shows task t4being pre-empted by t5.A continuous output trace of this form is produced.2.2.Test Purpose:YAM01BThis test shows that passive task priorities above63also disable hardware interrupts to the level given by priority minus63.2.2.1.Test DescriptionThe program is a variant of the simple interrupt test,yam08a,with an additional passive task which has a priority high enough to mask out the interrupt source.Each time the entry provided by this passive task is called,it busy waits by calling a procedure containing a loop,and so masks out interrupts for a period of time.Interrupts are unmasked,and can be reacted to again,when the passive task rendezvous completes.2.2.2.Test ResultsA trace of the following form is produced,with the rate at which i’s are written depending upon the interrupt rate,and a delay of several seconds each time the word"blocking"is printed before the stream of i’s recommences. iiiiiiiiiiiiiiiiiiblockingiiiiiiiiiiiiiiiiiiiblockingiiiiiiiiiiiiiiiiiiblockingiiiiiiiiiiiiiiiiiiiblockingiiiii2.3.Test Purpose:YAM01CThis is a repeat of test YAM01B,using a user procedure interrupt handler rather than a protected task entry.Behaviour is the same whether or not the-Fflag is used to Ac to dis-ablefloating point coprocessor state save around interrupt handling.This test is the same as YAM01B except for the change to interrupt handling mechanism.2.3.2.Test ResultsThe test output is the same as that for YAM01B.3.PRIORITY QUEUING(Amendment Request02)3.1.Test Purpose:YAM02AThis test shows the correct operation of priority ordering of entry queues.3.1.1.Test DescriptionThe test consists of a number of tasks with different periods and priorities and a server with single entry which they all call.The server accepts all calls queued on its entry and then performs a delay before repeating the process.The delay periods are arranged so that tasks will not always make entry calls in priority order.The server prints the identity of the task it is serving when it accepts an entry.3.1.2.Test ResultsWhenever the queue is cleared,tasks are served in high to low priority order.After an ini-tial delay,calling task numbers are printed in the order in which they are accepted.A sam-ple output trace is:321020210320210320This form of output trace continues while the program runs,with each line always consist-ing of descending numbers.3.2.Test Purpose:YAM02BThis test shows the correct operation of priority acceptance of open select alternatives.The test consists of a number of tasks with different periods and priorities and a server which presents several entries accepted within a select statement.Each accept statement in the select prints the identity of the accepted task.If no tasks are queued on entries,the server performs a delay to allow tasks to become queued and then repeats the process.3.2.2.Test ResultsWhenever more than one branch of the server select statement has a task queued on the entry,the highest priority task is accepted.After an initial delay,calling task numbers are printed in the order in which they are accepted.A sample output trace is:321020210320210320This form of output trace continues while the program runs,with each line always consist-ing of descending numbers.4.PACKAGE CALENDAR(Amendment Request03)Package CALENDAR has not been tested in isolation,as it is felt that the use of these facilities in the testing of delay_until(amendment request05)and period transformation (amendment request07)is sufficient to demonstrate correctness.5.PROTECTED TASKS(Amendment Request04)5.1.Test Purpose:YAM04ATo demonstrate the operation of protected tasks and the use of guards to open and close protected task entries.5.1.1.Test DescriptionThree tasks of different priorities each attempt to call each of the three entries of a pro-tected task in sequence.Guard conditions cause each task in turn to be accepted by each entry of the protected task in turn,where without the guards each task would make all of its entry calls in priority order before the next was able to run.5.1.2.Test ResultsThe test output is the trace:1111231365.2.Test Purpose:YAM04BThis test demonstrates the propagation of exceptions from protected tasks.5.2.1.Test DescriptionAn array of ten tasks is created,and each of these calls an entry of a protected record which calls a procedure which performs a divide by zero and so raises CONSTRAINT_ERROR.The calling task catches the exception and prints a message. 5.2.2.Test ResultsThe test output is the trace:6000exception caught in calling task10006000exception caught in calling task10006000exception caught in calling task10006000exception caught in calling task10006000exception caught in calling task10006000exception caught in calling task10006000exception caught in calling task10006000exception caught in calling task10006000exception caught in calling task10006000exception caught in calling task10005.3.Test Purpose:YAM04CThis test demonstrates that period transformation affects the base priority of a task,but not the active priority inherited as a result of calling a protected task.5.3.1.Test DescriptionA pair of tasks,one period transformed between a high and low priority and the other at a medium priority,compete for the processor.This results in output alternating between the two tasks as the period transformation raises and lowers the priority of thefirst task.How-ever,when thefirst task calls a protected task and so inherits that task’s(higher)priority as its active priority,output is produced solely as a result of the protected task call until that completes.5.3.2.Test ResultsThe output starts as a stream of the character"2",then alternates between three lines each of"1"and"2",then prints a stream of"f",andfinally reverts to a stream of"2"before ter-minating.5.4.Test Purpose:YAM04DThis test demonstrates that pragma protected causes an optimisation which avoids the need for context switches when a rendezvous is made with a passive task.5.4.1.Test DescriptionFour tasks are queued on the entries of a passive server task,whose entry guards are unblocked by the rendezvous performed by the last task.This last task then performs all outstanding rendezvous on behalf of the queued tasks.In order to demonstrate that this is happening,calls are made to a routine which prints the identity of the task currently being executed by the runtime system.5.4.2.Test ResultsWith the server task marked by pragma passive,all entries are handled with the current task identity t4,showing that the passive task is not context switched to and that t4 executes the pending rendezvous before it leaves the passive task.t1thistask:a0act2thistask:c19ct3thistask:e28ct4thistask:1037ce4thistask:1037ce3thistask:1037ce2thistask:1037ce1thistask:1037ct1endt2endt3endt4endWhen the pragma passive is removed,the server task is created and runs as a separate task to handle each rendezvous,as shown by the additional task identifier in the trace below:t1thistask:c3bct2thistask:e4act3thistask:1059ct4thistask:1268ce4thistask:a2cce3thistask:a2cce2thistask:a2cce1thistask:a2cct1endt2endt3endt4end5.5.Test Purpose:YAM04EThis test shows that the exception PROGRAM_ERROR is raised when a task calls a passive task which does not have a higher priority than the calling task.5.5.1.Test DescriptionThis test is a modified version of YAM04D,with the priority of the server passive task lowered to that of the highest priority calling task,and the calls to the runtime system to print task identities removed.5.5.2.Test ResultsTask t1,the highest priority caller,suffers and catches PROGRAM_ERROR when it attempts to call the server passive task,while the remaining tasks perform their rendezvous successfully.t1t1got program_errort2t3t4e4e3e2t2endt3endt4end6.DELAY UNTIL(Amendment Request05)6.1.Test Purpose:YAM05AThis test demonstrates that the DELAY_UNTIL(TIME)procedure call has the correct tim-ing properties.6.1.1.Test DescriptionThe main procedure loops indefinitely.Each loop iteration delays until a time5.0seconds in the future,the prints a message.Initial loop entry is causes a delay to a time in the past, demonstrating that such requests do not cause any delay to be experienced.6.1.2.Test ResultsThe program waitsfive seconds,produces two messages together,then settles down to writing the line:i’m still hereevery 5.0seconds.This timing can be checked with an external timer,such as a stopwatch.7.BUDGET TIMING(Amendment Request06)7.1.Test Purpose:YAM06AThis test verifies that the processor budget timing mechanism works,and that it raises the BUDGET_OVERRUN exception after the requested time period.It also shows that CANCEL_BUDGET can safely be applied to the null budget_id and the budget_id of an expired budget.7.1.1.Test DescriptionThe main procedure sets a budget of(for example)60.0seconds,then enters an infinite loop.When the budget expires,the resulting exception is handled and a message printed. CANCEL_BUDGET is then applied to the expired budget_id and to the null budget_id. The parameter to SET_BUDGET can be modified and the test recompiled to vary the time period before the exception occurs.7.1.2.Test ResultsWhen the execution time budget is exhausted,the messagealarm call!is printed.Correct time behaviour can be verified externally timing from program start to the appearance of the message,which should give the time set for the execution budget(in the example as given,60seconds).7.2.Test Purpose:YAM06BDemonstration of the correct operation of nested execution budgets and the last_overrun function call.7.2.1.Test DescriptionThe main procedure sets a budget,then calls an inner procedure which also sets a budget but does not handle any resulting exception.If the inner budget is shorter than the execu-tion time of the inner procedure then the main procedure catches BUDGET_OVERRUN and LAST_OVERRUN returns INNER_ID as it was the budget in the called procedure which expired,otherwise LAST_OVERRUN returns MY_ID as the called procedure com-pleted and cancelled its budget.7.2.2.Test ResultsAs currently configured,the program printsInnerto indicate that the inner budget expired.Changing the length of the inner budget to,for example,10.0seconds allows the inner procedure to complete and results inMinebeing printed instead.7.3.Test Purpose:YAM06CThis test demonstrates the minimum time required for a budget to return a valid identifier.7.3.1.Test DescriptionA very short budget is set,and the associated exception handler attempts to identify it using LAST_OVERRUN.If the budget expired before the budget_id was assigned from the function result,then the comparison in the exception handler fails.7.3.2.Test ResultsWith a budget time of0.000020s,the test printsMinewhereas with a time of0.000016s(NB.the timer has a resolution of0.000004s)produces Other?Assigning the budget_id to a component of a complex record structure involving resolving access values required0.000024s.7.4.Test Purpose:YAM06DThis test demonstrates the correct operation of LAST_OVERRUN when multiple tasks have budgets expire.7.4.1.Test DescriptionBoth the main procedure and a high priority task loop and catch budget overruns,each time verifying that the budget_id returned by last_overrun is the expected one.7.4.2.Test ResultsEach BUDGET_OVERRUN exception causes an identifying character to be printed ifLAST_OVERRUN returns the correct budget_id,otherwise an error message is produced.The resulting output trace is: mmmsmmmmsmmmmsmmmmsmmmmsmmmmsmmmmsmmmmsmmmmsmmmmsmm7.5.Test Purpose:YAM06EDemonstration of the use of multiple tasks with execution budgets.7.5.1.Test DescriptionThe test consists of a set offive harmonic tasks,taken from the Hartstone benchmarks[3].Each task has afixed execution budget per period,and gradually increases its processingload per period until it exhausts its budget.7.5.2.Test ResultsThe tasks print an identifying string each time they execute,and a report message whenthey exhaust their budget.The resulting trace is:54433322221111155445533344554455333222244555445333544554453335222211111445544553 33445554453332222544554453335445544533322225111114455544333554455443335222254455 44533354455544333222251111154455443335544553334452222544553335445544533354422225 11111544553334455445533322225445544533354455445333522224451111154453335544554433 35222254455445333544554453335222211544111554433355445544333552222445533344555445 33354452222544511111533344554455333445222525445333544t4budget overru5nt3budget overrun552222555111115555552222555555552222115111555555522225t5budget overrun222211111t1budget overrun 22222222222222222222222222222222222222222222222222222222222222222222222222222222 22222222222222222222222222222222222222222222222222222222222222222222222222222222 t2budget overrun7.6.Test Purpose:YAM06FThis test demonstrates the TIME_LEFT function used to obtain the remaining executionbudget available,and the raising of the BUDGET_ERROR exception as a result of misuses of the budget timing facilities.7.6.1.Test DescriptionThe main program sets a budget,the calls a procedure which attempts to set a longer budget.After catching the resulting BUDGET_ERROR,a loop prints out the remaining budget time ten times,with nested delaying loop.The budget is then cancelled twice, showing that it is a null operation to cancel a cancelled budget,and an attempt made to obtain the remaining budget time.Again,the resulting BUDGET_ERROR is caught and a message printed.7.6.2.Test ResultsA typical output trace is:budget_error calling do_proc9.96952000009.60593600009.24417600008.88235200008.52051200008.15873200007.79692800007.43511600007.07326000006.7114280000cancelled twicebudget_error in main8.PERIOD TRANSFORMATIONS(Amendment Request07)8.1.Test Purpose:YAM07AThis tests demonstrates that the priority of a period-transformed task is lowered once it exhausts its high priority execution time,and that period transformation and execution budgets work together.8.1.1.Test DescriptionA period-transformed task executes a nested pair of loops,with the inner loop becoming longer with each iteration of the outer loop.A second task has a priority which is lower than the high priority of the transformed task,but higher than the low priority of the transformed task.Messages printed by both tasks indicate whether the transformed task completed its inner loop before or after its priority was reduced and the other task conse-quently became able to execute.Eventually,the transformed task overruns its execution time budget and so demonstrates that execution budgets and period transformation work together.8.1.2.Test ResultsThe program output follows this form:transformer ended loopt2activetransformer ended loopt2activetransformer ended loopt2activetransformer ent2activeded loopt2activetransformer ended loopt2activetransformer ended loopoverrun in t1Messages output before the switch in order,and before thefinal overrun,have been abbre-viated to save space.8.2.Test Purpose:YAM07BThis test shows that the priority of a transformed task is both lowered and raised correctly.8.2.1.Test DescriptionA pair of tasks,one transformed between high and low priority,the otherfixed at medium priority,compete for the processor.Characters are output to indicate which task is execut-ing,and this output can be observed to verify correct behaviour.8.2.2.Test ResultsThe program commences with T2outputting a stream of the character"2".When T1starts to run,the output alternates every0.5second between streams of"1"and"2",as period transformation lowers and raises T1’s priority.Each time T1iterates round its outer loop, the sequence"@@@@@"is printed and a stream of"2"’s output until T1completes a delay statement and the alternating"1"and"2"streams restart.8.3.Test Purpose:YAM07CThis test demonstrates correct operation of period transformation as the high priority exe-cution time is varied.8.3.1.Test DescriptionAs for YAM07B,but with the high priority time of the transformed task starting as0.75s and reduced by0.25s with each iteration of its outer loop.8.3.2.Test ResultsAs for YAM07B,but with the alternating output stream varying as high priority time varies until T1no longer has any high priority time and the output becomes a stream of "2"’s.8.4.Test Purpose:YAM07DThis test demonstrates the operation of multiple tasks with period transformation,and shows the use of period transformation to modify the order in which deadlines are missedfrom that which would be expected as a result of the task periods.8.4.1.Test DescriptionThe test consists of a set offive harmonic tasks,taken from the Hartstone benchmarks[3].These are accompanied by a high priority STRESSOR task which gradually consumesmore and more of the processor time.As a result,tasks begin to miss their deadlines.Theorder in which deadlines are missed can be altered by appropriate priority assignments and accompanying period transformations in tasks.8.4.2.Test ResultsThe program is currently configured to miss deadlines in the order T3,T4,T1,T5,T2.This is confirmed by the trace of missed deadline notifications below,which is given up tothe point at which T2begins to miss its deadline.Note that the exact output is likely tovary slightly due to nondeterminism in execution.3333443333334433344443333434434443333343 4434434434434443443444434434434434444444 4344344344344344344444444444444344444434 1434341444444444444444344445444444544444 4434444444444444444444344444444444444434 4344344355443443554554314444444444444344 4444544444454444445444445355554345545535 4435455455354545345554535441354554535555 4555435545435555455541354554535555545555 1435455345555545513455453545545555553455 4553455545555515355545555555555554555555 3555554555555554525355454534552413455435ER INTERRUPT HANDLERS(Additional Amendment Request)9.1.Test Purpose:YAM08AThis test demonstrates a simple Ada programming handling interrupts from an external source.9.1.1.Test DescriptionThe programfirst configures the PIT device(further details in hardware manual and manufacturer’s datasheet)to provide interrupts when a signal is applied to the H1 handshake line.This signal is provided by a function generator with a variable output fre-quency.Interrupts are handled by a passive task,which accepts an entry call from anothertask after every1000interrupts.This second task,when released,prints a message to indi-cate that the requisite number of interrupts have been handled.9.1.2.Test ResultsThe program outputs an stream of the character i at a rate proportional to the interruptrate provided by the external function generator.For example,due to the interrupt count-ing performed by the program,an interrupt rate of50Hz results in the output of one i per second.At an interrupt rate slightly greater than3000Hz,the time spent handling interrupts leavesno time for execution of user code.As a result,output ceases to appear,but returns if the interrupt rate is lowered.9.2.Test Purpose:YAM08BThis test shows user interrupt handling in Ada operating in conjunction with a programwhich performs other activities.9.2.1.Test DescriptionThe test is a variant of YAM07D,with the STRESSOR task released by a user interrupt handler rather than executing periodically.The other tasks in the system can be made tomiss deadlines by increasing the interrupt rate applied to the system,and so increasing therate at which STRESSOR is released and executes.9.2.2.Test ResultsThe results are similar to those from YAM07D,but vary with interrupt rate rather thanmore deadlines being missed as the program runs for longer.An example output is:3333333443334344344344444435454344344344 4434445444454455453555455435443444444544 1453444454444545553455555455525234555555 5455553455413445354434555453545555415354 5555545354555555545355545543555455555552 5145352554555555555345555545555555553455 5554553455455555515354555555555545555535 4555425553555455555555545555535555455555 5555421535452545354555555455355555545555 5555554553555555545555555525145355555554 5552453555455555555553455555555455555555 3455555555554555525153545555552554555555 3545555555455553552455555455553545555555 455153555455554555355545555545535555455510.FAST USER INTERRUPT HANDLERS(Additional Amendment Request)10.1.Test Purpose:YAM09AThis test demonstrates a simple Ada programming handling interrupts from an external source with a procedure interrupt handler.Behaviour is the same whether or not the-Fflag is used to Ac to disablefloating point coprocessor state save around interrupt handling.10.1.1.Test DescriptionThe test is as for YAM08A,but using a procedure interrupt handler rather than a protectedtask entry.10.1.2.Test ResultsThe program outputs an stream of the character i at a rate proportional to the interruptrate provided by the external function generator.For example,due to the interrupt count-ing performed by the program,an interrupt rate of50Hz results in the output of one i per second.At an interrupt rate of about13000Hz,the time spent handling interrupts leaves no time for execution of user code.As a result,output ceases to appear,but returns if the interrupt rateis lowered.10.2.Test Purpose:YAM09BThis test shows user procedure interrupt handling in Ada operating in conjunction with a program which performs other activities.Behaviour is the same whether or not the-Fflagis used to Ac to disablefloating point coprocessor state save around interrupt handling.10.2.1.Test DescriptionThe test is similar to YAM08B,using the procedure interrupt handling mechanism.10.2.2.Test ResultsThe results are similar to those from YAM08B.An example output is:3333333333343334343333433334334433343443 4434433333433443443443444344344343434434 4443344344344443444344344344434444434444 3434444344434444344443444413443443443414 3443443434444534545453454545453454545345 4513454545453454545345454545345451345454 5345454534545454534545451453454545345454 5453454545345454545134545454534545453454 5454535455245135455453545552453545545354 5525134554553455455253455455345545251345 5455354554525345545535455451235455453545 5524535455453545551234554554535455253455 4553455455251345545534554525345554535455REFERENCES1. A.Burns and A.J.Wellings,‘‘Design of Hard Real-Time Kernel’’,Task5Deliver-able on ESTEC Contract9198/90/NL/SF,Department of Computer Science, University of York(September1991).2.J.R.Firth,‘‘Modifications to York Ada’’,Task8(Volume A)Deliverable onESTEC Contract9198/90/NL/SF,York Software Engineering Limited(March 1992).3.N.Weiderman,‘‘Hartstone:Synthetic Benchmark Requirements for Hard Real-Time Applications’’,CMU/SEI-89-TR-23,Software Engineering Institute,Carne-gie Mellon University(June1989).APPENDIX A:TEST SOURCE CODELarge priority rangeYAM01Awith SYSTEM;with BASIC_IO;procedure MAIN istask T6ispragma PRIORITY(63);end T6;task T5ispragma PRIORITY(16);end T5;task T4ispragma PRIORITY(8);end T4;task T3ispragma PRIORITY(4);end T3;task T2ispragma PRIORITY(2);end T2;task T1ispragma PRIORITY(1);end T1;task T0isend T0;task body T6isROUND_COUNT:INTEGER:=0;begindelay0.4;loopfor I in1..10loopROUND_COUNT:=ROUND_COUNT+1;if ROUND_COUNT>4thenBASIC_IO.PRINT("6666666");BASIC_IO.NEWLINE;ROUND_COUNT:=0;end if;end loop;delay10.0;end loop;end T6;task body T5isROUND_COUNT:INTEGER:=0;begindelay0.35;loopfor I in1..100loopROUND_COUNT:=ROUND_COUNT+1;if ROUND_COUNT>20thenBASIC_IO.PRINT("555555");BASIC_IO.NEWLINE;ROUND_COUNT:=0;end if;end loop;delay 5.0;end loop;end T5;task body T4isROUND_COUNT:INTEGER:=0;begindelay0.3;loopfor I in1..1000loopROUND_COUNT:=ROUND_COUNT+1;if ROUND_COUNT>100thenBASIC_IO.PRINT("44444");BASIC_IO.NEWLINE;ROUND_COUNT:=0;end if;end loop;delay 2.5;end loop;end T4;task body T3isROUND_COUNT:INTEGER:=0;begindelay0.25;。