28 resultados para Visual Basic (Programming Language)


Relevância:

100.00% 100.00%

Publicador:

Resumo:

Dissertação para obtenção do Grau de Mestre em Engenharia Informática

Relevância:

100.00% 100.00%

Publicador:

Resumo:

Dissertação para obtenção do Grau de Mestre em Engenharia Informática

Relevância:

100.00% 100.00%

Publicador:

Resumo:

Dissertação para obtenção do Grau de Doutor em Engenharia Informática

Relevância:

100.00% 100.00%

Publicador:

Resumo:

OutSystems Platform is used to develop, deploy, and maintain enterprise web an mobile web applications. Applications are developed through a visual domain specific language, in an integrated development environment, and compiled to a standard stack of web technologies. In the platform’s core, there is a compiler and a deployment service that transform the visual model into a running web application. As applications grow, compilation and deployment times increase as well, impacting the developer’s productivity. In the previous model, a full application was the only compilation and deployment unit. When the developer published an application, even if he only changed a very small aspect of it, the application would be fully compiled and deployed. Our goal is to reduce compilation and deployment times for the most common use case, in which the developer performs small changes to an application before compiling and deploying it. We modified the OutSystems Platform to support a new incremental compilation and deployment model that reuses previous computations as much as possible in order to improve performance. In our approach, the full application is broken down into smaller compilation and deployment units, increasing what can be cached and reused. We also observed that this finer model would benefit from a parallel execution model. Hereby, we created a task driven Scheduler that executes compilation and deployment tasks in parallel. Our benchmarks show a substantial improvement of the compilation and deployment process times for the aforementioned development scenario.

Relevância:

100.00% 100.00%

Publicador:

Resumo:

Linear logic has long been heralded for its potential of providing a logical basis for concurrency. While over the years many research attempts were made in this regard, a Curry-Howard correspondence between linear logic and concurrent computation was only found recently, bridging the proof theory of linear logic and session-typed process calculus. Building upon this work, we have developed a theory of intuitionistic linear logic as a logical foundation for session-based concurrent computation, exploring several concurrency related phenomena such as value-dependent session types and polymorphic sessions within our logical framework in an arguably clean and elegant way, establishing with relative ease strong typing guarantees due to the logical basis, which ensure the fundamental properties of type preservation and global progress, entailing the absence of deadlocks in communication. We develop a general purpose concurrent programming language based on the logical interpretation, combining functional programming with a concurrent, session-based process layer through the form of a contextual monad, preserving our strong typing guarantees of type preservation and deadlock-freedom in the presence of general recursion and higher-order process communication. We introduce a notion of linear logical relations for session typed concurrent processes, developing an arguably uniform technique for reasoning about sophisticated properties of session-based concurrent computation such as termination or equivalence based on our logical approach, further supporting our goal of establishing intuitionistic linear logic as a logical foundation for sessionbased concurrency.

Relevância:

100.00% 100.00%

Publicador:

Resumo:

The theme of this dissertation is the finite element method applied to mechanical structures. A new finite element program is developed that, besides executing different types of structural analysis, also allows the calculation of the derivatives of structural performances using the continuum method of design sensitivities analysis, with the purpose of allowing, in combination with the mathematical programming algorithms found in the commercial software MATLAB, to solve structural optimization problems. The program is called EFFECT – Efficient Finite Element Code. The object-oriented programming paradigm and specifically the C ++ programming language are used for program development. The main objective of this dissertation is to design EFFECT so that it can constitute, in this stage of development, the foundation for a program with analysis capacities similar to other open source finite element programs. In this first stage, 6 elements are implemented for linear analysis: 2-dimensional truss (Truss2D), 3-dimensional truss (Truss3D), 2-dimensional beam (Beam2D), 3-dimensional beam (Beam3D), triangular shell element (Shell3Node) and quadrilateral shell element (Shell4Node). The shell elements combine two distinct elements, one for simulating the membrane behavior and the other to simulate the plate bending behavior. The non-linear analysis capability is also developed, combining the corotational formulation with the Newton-Raphson iterative method, but at this stage is only avaiable to solve problems modeled with Beam2D elements subject to large displacements and rotations, called nonlinear geometric problems. The design sensitivity analysis capability is implemented in two elements, Truss2D and Beam2D, where are included the procedures and the analytic expressions for calculating derivatives of displacements, stress and volume performances with respect to 5 different design variables types. Finally, a set of test examples were created to validate the accuracy and consistency of the result obtained from EFFECT, by comparing them with results published in the literature or obtained with the ANSYS commercial finite element code.

Relevância:

100.00% 100.00%

Publicador:

Resumo:

A procura crescente de energia ao longo do tempo, e também o seu custo, tem estimulado a procura de novas formas de geração ou aproveitamento energético, donde se pode destacar a geração de energia eléctrica para autoconsumo. À semelhança de já muitos países aderentes aos sistemas de autoconsumo, Portugal também já tem legislação que permite a utilização deste tipo de sistemas através de Unidades de Produção para Autoconsumo (UPAC). Este tipo de sistemas trazem consigo vantagens tanto para o produtor, que produz a sua própria energia e assim poderá ter algum retorno financeiro, como também para a rede eléctrica nacional (RESP) que, mercê da disponibilidade de mais fontes de energia, tem a possibilidade de ficar menos sobrecarregada em períodos de ponta. Com o intuito de aproveitar ao máximo a energia produzida para autoconsumo e evitar estar a utilizar energia da rede em períodos em que a energia produzida não consegue dar resposta à procura, este trabalho propõe-se a optimizar os níveis de autoconsumo destes sistemas, que no geral apresentam valores entre os 20% e 40% anuais no sector residencial. Deste modo, e de acordo com o que é definido por Demand-Side Management (DSM) será desenvolvido neste trabalho de dissertação um projecto deste tipo, que consiste na monitorização e gestão da energia produzida numa habitação ou indústria. O desenvolvimento deste projecto assenta na criação de um sistema de autoconsumo, constituído por um painel fotovoltaico, sensores, actuadores e uma carga, assim como hardware que permitirá monitorizar, de forma remota, as condições de funcionamento do sistema e fazer a gestão de energia do mesmo, de forma remota, recorrendo para isso às tecnologias de Informação e Comunicação. As aplicações de software responsáveis por essa gestão serão desenvolvidas com recurso à linguagem JAVA e Arduino Programming Language. Será utilizado um módulo Wi-Fi que permitirá a troca de dados entre Cliente (Arduino UNO com Microchip RN-171-XV) e Servidor (Aplicação em JAVA presente num computador). No final serão analisados os levantamentos de energia produzida e avaliado se o controlo de cargas é feito consoante as melhores condições de aproveitamento da energia produzida.

Relevância:

100.00% 100.00%

Publicador:

Resumo:

During the last decade Mongolia’s region was characterized by a rapid increase of both severity and frequency of drought events, leading to pasture reduction. Drought monitoring and assessment plays an important role in the region’s early warning systems as a way to mitigate the negative impacts in social, economic and environmental sectors. Nowadays it is possible to access information related to the hydrologic cycle through remote sensing, which provides a continuous monitoring of variables over very large areas where the weather stations are sparse. The present thesis aimed to explore the possibility of using NDVI as a potential drought indicator by studying anomaly patterns and correlations with other two climate variables, LST and precipitation. The study covered the growing season (March to September) of a fifteen year period, between 2000 and 2014, for Bayankhongor province in southwest Mongolia. The datasets used were MODIS NDVI, LST and TRMM Precipitation, which processing and analysis was supported by QGIS software and Python programming language. Monthly anomaly correlations between NDVI-LST and NDVI-Precipitation were generated as well as temporal correlations for the growing season for known drought years (2001, 2002 and 2009). The results show that the three variables follow a seasonal pattern expected for a northern hemisphere region, with occurrence of the rainy season in the summer months. The values of both NDVI and precipitation are remarkably low while LST values are high, which is explained by the region’s climate and ecosystems. The NDVI average, generally, reached higher values with high precipitation values and low LST values. The year of 2001 was the driest year of the time-series, while 2003 was the wet year with healthier vegetation. Monthly correlations registered weak results with low significance, with exception of NDVI-LST and NDVI-Precipitation correlations for June, July and August of 2002. The temporal correlations for the growing season also revealed weak results. The overall relationship between the variables anomalies showed weak correlation results with low significance, which suggests that an accurate answer for predicting drought using the relation between NDVI, LST and Precipitation cannot be given. Additional research should take place in order to achieve more conclusive results. However the NDVI anomaly images show that NDVI is a suitable drought index for Bayankhongor province.

Relevância:

30.00% 30.00%

Publicador:

Resumo:

Resumo: Este estudo surge no âmbito do Mestrado em Reabilitação na Especialidade de Deficiência Visual ministrado em conjunto pelas Faculdades de Ciências Médicas e Motricidade Humana. Na dissertação intitulada Formação de Professores para o Ensino da Matemática no Ensino Básico a Alunos com DV foi desenvolvida uma investigação, incidindo sobre a temática atrás referida. Na primeira parte apresenta-se uma revisão de literatura, onde se exploram vários conceitos relevantes como a deficiência visual, o currículo de matemática no Ensino Básico, as adaptações curriculares dos alunos com DV, as tecnologias de apoio e a Formação dos Professores, entre outros. Na segunda parte apresentam-se as fundamentações teóricas que subjazem à escolha da metodologia de investigação e instrumentação bem como a descrição dos procedimentos de investigação. Participaram neste estudo 52 professores de Matemática dos três ciclos do ensino básico, que tinham alunos cegos ou com baixa visão nas suas turmas. Os dados foram recolhidos através de um questionário aplicados aos professores. Na terceira parte apresentam-se alguns resultados desta pesquisa. Relativamente à Formação de Professores, sendo N= 52, no que diz respeito à Deficiência Visual, a maioria dos professores (58%) diz não ter conhecimento da mesma e 40% dos professores diz ter algum conhecimento sobre a deficiência visual. Destes professores, grande parte referiu não considerar suficiente a informação recebida, pelo que concluímos ser pertinente a proposta de cursos versando a formação de professores em Deficiência Visual. Conclui-se também que os professores sentem dificuldades com os materiais e equipamentos disponíveis embora refiram que tivessem tido alguma informação sobre os mesmos.----------------------------------------- ABSTRACT: This study is the subject of the Master Course on the Specialty of Visual impaired given by both the Faculties of Ciências Médicas and Motricidade Humana. In the dissertation, the title of Which is Vocational Training of Teachers for the Mathematies teaching in the Basic Compulsory education to students with Visual impaired inside of the thematic behind referred. In the first part it is presented a literature revision, where some concepts are explored like the visual impaired, the curriculum of mathematics in the Basic Compulsory Education, the curriculum adaptations to the pupils with visual impaired, the technologies of support and the vocational training of the teachers, among others. In the second part we can recognize the theoretical recitals that support the choice of the research methodology and the whole instrumens meedes as well as the description of the research procedures. 52 professors of Mathematics from the three cycles of basic compulsory education participated in this study, they had blind pupils or with low vision in their classes. The data had been collected through a questionnaire applied to the teachers. In the third part, we come to some results of this research. In what concerns the vocational training of the teachers being N= 52, the majority of them (58%) says not to have knowledge of it and 40% of them says that they have some knowledge on the visual impaired. Among, a great part mentioned not having received sufficient information, as we conclude to be pertinent the proposal of courses makina the vocational training of teachers in visual impaired a reality. One also concludes that the teachers have difficulties with the materials and available equipment even though they mention to have had some information about them.

Relevância:

30.00% 30.00%

Publicador:

Resumo:

The visual image is a fundamental component of epiphany, stressing its immediacy and vividness, corresponding to the enargeia of the traditional ekphrasis and also playing with cultural and social meanings. Morris Beja in his seminal book Epiphany in the Modern Novel, draws our attention to the distinction made by Joyce between the epiphany originated in a common object, in a discourse or gesture and the one arising in “a memorable phase of the mind itself”. This type materializes in the “dream-epiphany” and in the epiphany based in memory. On the other hand, Robert Langbaum in his study of the epiphanic mode, suggests that the category of “visionary epiphany” could account for the modern effect of an internally glowing vision like Blake’s “The Tyger”, which projects the vitality of a real tyger. The short story, whose length renders it a fitting genre for the use of different types of epiphany, has dealt with the impact of the visual image in this technique, to convey different effects and different aesthetic aims. This paper will present some examples of this occurrence in short stories of authors in whose work epiphany is a fundamental concept and literary technique: Walter Pater, Joseph Conrad, K. Mansfield, Clarice Lispector. Pater’s “imaginary portraits” concentrate on “priviledged moments” of the lives of the characters depicting their impressions through pictorial language; Conrad tries to show “moments of awakening” that can be remembered by the eye; Mansfield suggests that epiphany, the “glimpse”, should replace plot as an internal ordering principle of her impressionist short-stories; in C. Lispector the visualization of some situations is so aggressive that it causes nausea and a radical revelation on the protagonist’s.

Relevância:

30.00% 30.00%

Publicador:

Resumo:

RESUMO: Introdução: A visão é um sentido fundamental na relação do indivíduo com os mais variados ambientes, sendo elemento central na funcionalidade e independência do idoso, qualquer perturbação da função visual provoca limitações na qualidade de vida. As alterações demográficas em curso caracterizam-se pelo envelhecimento progressivo da população, paralelamente constata-se um aumento da prevalência de perturbações do sistema visual com alteração da função e do funcionamento visual. Considerando que os indivíduos idosos são mais dependentes da visão, e que não existem para esta área estudos desenvolvidos em Portugal, esta investigação tem como fundamento analisar a influência que a perturbação da função visual em indivíduos com 65 ou mais anos tem na qualidade de vida relacionada com a saúde. Estudaram-se também as características sócio-demográficas dos indivíduos participantes, da saúde visual e a percepção da saúde geral, bem como identificaram se junto dos idosos participantes e de Médicos especialistas em Medicina Geral e Familiar perspectivas sobre perturbações da função visual e envelhecimento. Desenho de estudo: Estudo transversal, caso-controlo e descritivo-exploratório. Materiais e Métodos: A partir de uma população de 112 indivíduos com 65 ou mais anos, frequentadores de várias instituições de apoio social do Concelho de Loures e de idosos frequentadores/institucionalizados da Mansão de Santa Maria de Marvila, unidade orgânica da Fundação D. Pedro IV, foram incluídos no estudo 90 (80,4%). Após consentimento informado, procedeu-se à avaliação da função visual nos Laboratórios de Ortóptica da Escola Superior de Tecnologia de Saúde de Lisboa, onde também se aplicaram o Questionário de Funcionamento Visual VFQ-25 e uma questão aberta para o tipo de dificuldades de visão sentidas durante o último ano. Aplicou-se ainda, em ambiente virtual, uma pergunta aberta a Médicos especialistas em Medicina Geral e Familiar para aspectos relacionados com o diagnóstico/suspeita relativamente tardio de perturbações da função visual. Procedeu-se ao tratamento descritivo das características sócio-demográficas, da percepção de saúde geral e da saúde visual e das respostas dos idosos e dos médicos. Analisou-se a relação entre função visual e qualidade de vida relacionada com a saúde aplicando o teste não-paramétrico de Mann-Whitney. Resultados: Constatou-se que os indivíduos da amostra são maioritariamente do género feminino (71,1%), casados (41,1%), detentores de baixos níveis de escolaridade em que 63,3% apenas frequentou/concluiu o 1º ciclo do ensino básico e quase na sua totalidade reformados (88,9%). Verifica-se que 77,8% dos idosos percepciona a sua saúde geral como razoável ou boa. Da mesma forma, 86,7% dos indivíduos têm a função visual alterada devido principalmente à alteração da acuidade visual para longe (86,7%), registando-se que 65,5% dos olhos tinham uma acuidade visual igual ou superior a 5/10. Outras dimensões que contribuíram para a alteração da função visual contam-se a sensibilidade ao contraste (63,3%), estereopsia (51,1%), visão cromática (38,9%) e a motilidade ocular (25,6%). Obtiveram-se assim maiores pontuações para as diversas escalas do questionário VFQ-25 em indivíduos com função visual alterada exceptuando nas escalas actividades de perto, condução e dependência. Verificou-se portanto existir relação entre alteração da função visual e perturbação da qualidade de vida relacionada com a saúde. À questão colocada aos idosos, 42,6% não manifestou qualquer razão para que visse mal/sentisse dificuldades de visão durante o último ano. A diminuição da acuidade visual para longe/perto foi referida por 20,5% dos indivíduos, seguido pela deterioração do estado de saúde geral e ocular por 15%. As respostas do Médicos especialistas em Medicina Geral e Familiar sobre razões para a suspeita/diagnóstico relativamente tardia das perturbações da função visual, indicam a iliteracia dos idosos para a saúde da visão e semiologia ocular (34%), a baixa formação/informação dos Médicos de Medicina Geral e Familiar na área da saúde da visão (22%) e a pouca acessibilidade e resposta demorada/ineficaz dos serviços de oftalmologia do SNS (20%) como principais motivos para os assuntos questionados.Conclusões: As alterações do sistema visual com impacto na função e no funcionamento visual alteram a qualidade de vida relacionada com a saúde, devido principalmente à alteração da acuidade visual para longe. Os idosos do estudo não valorizam a saúde visual ao percepcionarem positivamente a saúde geral e a saúde visual relativamente à avaliação da função visual. É fundamental definir estratégias e programas de literacia para a saúde da visão para toda a população, não apenas destinados a idosos. Sugere-se repensar o modelo de formação base dos Médicos com especial incidência na área da saúde da visão, com necessidades sentidas de formação/informação. As respostas obtidas dos idosos e dos Médicos indicaram existir fragilidades na saúde da visão, necessário repensar o modelo de prestação de cuidados de saúde nesta área. Esta investigação permitiu ao autor uma reflexão sobre as temáticas relacionadas com o envelhecimento levando a uma mudança de atitudes e comportamento na abordagem profissional a indivíduos idosos, promovendo autonomia nas escolhas e decisões em questões de saúde, na criação de estratégias para lidar com o problema de visão e na adaptação à nova condição de saúde da visão.---------------ABSTRACT:Purpose: The vision is a fundamental sense in the individual's relationship with the most varied environments, a central element in the functionality and independence of the elderly, any disturbance of visual function causes limitations in quality of life. The current demographic changes are characterized by progressive aging of population, there has been a parallel increase in the prevalence of disorders of the visual system by changing the visual function and functioning. Whereas the elderly are more dependent on vision, and there are no studies in this area developed in Portugal, this research is based analyze the influence that the disturbance of visual function in subjects aged 65 years or more has on the health related quality of life. We studied also the socio-demographic characteristics of the subjects, the eye health and general health perception, and identified themselves with the elderly participants and medical specialists in Family General Medicine perspective on disorders of visual function and aging. Design: Cross-sectional study, case control, descriptive and exploratory. Methods: From a population of 112 people with 65 or more years, regulars of various social welfare institutions of the Municipality of Loures and elderly regulars/institutionalized the Mansion of Santa Maria de Marvila, organic unity of the Foundation D. Pedro IV, were included 90 (80.4%). After informed consent, proceeded to the assessment of visual function in the Laboratories of Orthopticsof the School of Health Technology of Lisbon, where he also applied the Visual Functioning Questionnaire VFQ-25 and an open question for the type of vision difficulties experienced during the last year. Was applied also in a virtual environment, an open question to Doctors specialists in family general medicine related to the diagnosis/suspected relatively late disturbance of visual function. We carried out the descriptive treatment of socio-demographic characteristics, perception of general health and eye health and the responses of older people and doctors. We analyzed the relationship between visual function and quality of life related to health by applying the nonparametric Mann-Whitney test. Results: We found that individuals in the sample are mostly female (71.1%), married (41.1%), holders of low levels of education in which only 63.3% frequented / completed the 1st cycle of primary and almost entirely retired (88.9%). It is found that 77.8% of the elderly perceive their general health as fair or good. Likewise, 86.7% of individuals have altered vision mainly due to the change in visual acuity away (86.7%),up to 65.5% of eyes had a visual acuity of 5/10 or greater. Other dimensions that contributed to the alteration of visual function include contrast sensitivity (63.3%), stereopsis (51.1%), color vision (38.9%) and ocular motility (25.6%). There was thus obtained the highest scores for different scales of the questionnaire VFQ-25 in patients with altered vision except for scales related to near activities, driving and dependence. It is therefore a relationship between alteration in visual function and disturbance of quality of life related to health. To question for the elderly, 42.6% expressed no reason to see evil/feel difficulty seeing over the last year. The decrease in visual acuity for distance/near was reported by 20.5% of subjects, followed by the deterioration of general health and eye for 15%. The responses of medical specialists in general practice about reasons for the suspicion/diagnosis relatively late disturbance of visual function, indicate the illiteracy of the elderly for healthy vision and ocular semiology (34%), low education/information for Doctors in the health of vision (22%) and poor accessibility and response timeconsuming/ inefficient NHS ophthalmology services (20%) as main reasons for the subjects questioned. Conclusion: Changes in the visual system with an impact on visual function and the functioning change the health related quality of life, mainly due to the change in distance visual acuity. Older people do not value the visual health perceiving the general health and eye health positively relatively of visual function. It is essential to define strategies and literacy programs for eye health for the entire population, not just for the elderly. It is suggested reconsider the model of basic training of Doctors with special focus on the health of the vision, with special needs sensed training/information. The responses of older people and doctors have indicated there is weakness in eye health, need to rethink the model of health care in this area. This research allowed the author to reflect on issues related to aging leading to a change in attitudes and behavior in professional approach to the elderly, promoting autonomy in choices and decisions in health issues, creating strategies to deal with the problem of vision and adaptation to new conditions of eye health.

Relevância:

30.00% 30.00%

Publicador:

Resumo:

The Intel R Xeon PhiTM is the first processor based on Intel’s MIC (Many Integrated Cores) architecture. It is a co-processor specially tailored for data-parallel computations, whose basic architectural design is similar to the ones of GPUs (Graphics Processing Units), leveraging the use of many integrated low computational cores to perform parallel computations. The main novelty of the MIC architecture, relatively to GPUs, is its compatibility with the Intel x86 architecture. This enables the use of many of the tools commonly available for the parallel programming of x86-based architectures, which may lead to a smaller learning curve. However, programming the Xeon Phi still entails aspects intrinsic to accelerator-based computing, in general, and to the MIC architecture, in particular. In this thesis we advocate the use of algorithmic skeletons for programming the Xeon Phi. Algorithmic skeletons abstract the complexity inherent to parallel programming, hiding details such as resource management, parallel decomposition, inter-execution flow communication, thus removing these concerns from the programmer’s mind. In this context, the goal of the thesis is to lay the foundations for the development of a simple but powerful and efficient skeleton framework for the programming of the Xeon Phi processor. For this purpose we build upon Marrow, an existing framework for the orchestration of OpenCLTM computations in multi-GPU and CPU environments. We extend Marrow to execute both OpenCL and C++ parallel computations on the Xeon Phi. We evaluate the newly developed framework, several well-known benchmarks, like Saxpy and N-Body, will be used to compare, not only its performance to the existing framework when executing on the co-processor, but also to assess the performance on the Xeon Phi versus a multi-GPU environment.

Relevância:

30.00% 30.00%

Publicador:

Resumo:

Currently, Portugal assumes itself as a democratic rule of substantive law State, sustained by a legal system seeking the right balance between the guarantee of fundamental rights and freedoms constitutional foreseen in Portugal’s Fundamental Law and criminal persecution. The architecture of the penal code lies with, roughly speaking, a accusatory basic structure, “deliberately attached to one of the most remarkable achievements of the civilizational democratic progress, and by obedience to the constitutional commandment”, in balance with the official investigation principle, valid both for the purpose of prosecution and trial. Regarding the principle of non self-incrimination - nemo tenetur se ipsum accusare, briefly defined as the defendant’s right of not being obliged to contribute to the self-incrimination, it should be stressed that there isn’t an explicit consecration in the Portuguese Constitution, being commonly accepted in an implicit constitutional prediction and deriving from other constitutional rights and principles, first and foremost, the meaning and scope of the concept of democratic rule of Law State, embedded in the Fundamental Law, and in the guidelines of the constitutional principles of human person dignity, freedom of action and the presumption of innocence. In any case, about the (in) applicability of the principle of the prohibition of self-incrimination to the Criminal Police Bodies in the trial hearing in Court, and sharing an idea of Guedes Valente, the truth is that the exercise of criminal action must tread a transparent path and non-compliant with methods to obtain evidence that violate the law, the public order or in violation of democratic principles and loyalty (Guedes Valente, 2013, p. 484). Within the framework of the penal process relating to the trial, which is assumed as the true phase of the process, the witness represents a relevant figure for the administration of criminal justice, for the testimonial proof is, in the idea of Othmar Jauernig, the worst proof of evidence, but also being the most frequent (Jauernig, 1998, p. 289). As coadjutant of the Public Prosecutor and, in specific cases, the investigating judge, the Criminal Police Bodies are invested with high responsibility, being "the arms and eyes of Judicial Authorities in pursuing the criminal investigation..." which has as ultimate goal the fulfillment of the Law pursuing the defense of society" (Guedes Valente, 2013, p. 485). It is in this context and as a witness that, throughout operational career, the Criminal Police Bodies are required to be at the trial hearing and clarify the Court with its view about the facts relating to occurrences of criminal context, thus contributing very significantly and, in some cases, decisively for the proper administration of the portuguese criminal justice. With regards to the intervention of Criminal Police Bodies in the trial hearing in Court, it’s important that they pay attention to a set of standards concerning the preparation of the testimony, the very provision of the testimony and, also, to its conclusion. Be emphasized that these guidelines may become crucial for the quality of the police testimony at the trial hearing, thus leading to an improvement of the enforcement of justice system. In this vein, while preparing the testimony, the Criminal Police Bodies must present itself in court with proper clothing, to read before and carefully the case files, to debate the facts being judged with other Criminal Police Bodies and prepare potential questions. Later, while giving his testimony during the trial, the Criminal Police Bodies must, summing up, to take the oath in a convincing manner, to feel comfortable, to start well by convincingly answering the first question, keep an attitude of serenity, to adopt an attitude of collaboration, to avoid the reading of documents, to demonstrate deference and seriousness before the judicial operators, to use simple and objective language, to adopt a fluent speech, to use nonverbal language correctly, to avoid spontaneity responding only to what is asked, to report only the truth, to avoid hesitations and contradictions, to be impartial and to maintain eye contact with the judge. Finally, at the conclusion of the testimony, the Criminal Police Bodies should rise in a smooth manner, avoiding to show relief, resentment or satisfaction, leaving a credible and professional image and, without much formality, requesting the judge permission to leave the courtroom. As final note, it’s important to stress that "The intervention of the Police Criminal Bodies in the trial hearing in Court” encloses itself on a theme of crucial importance not only for members of the Police and Security Forces, who must welcome this subject with the utmost seriousness and professionalism, but also for the proper administration of the criminal justice system in Portugal.