924 resultados para JNI(Java Native Interface)
Resumo:
The popularity of Computing degrees in the UK has been increasing significantly over the past number of years. In Northern Ireland, from 2007 to 2015, there has been a 40% increase in acceptances to Computer Science degrees with England seeing a 60% increase over the same period (UCAS, 2016). However, this is tainted as Computer Science degrees also continue to maintain the highest dropout rates.
In Queen’s University Belfast we currently have a Level 1 intake of over 400 students across a number of computing pathways. Our drive as staff is to empower and motivate the students to fully engage with the course content. All students take a Java programming module the aim of which is to provide an understanding of the basic principles of object-oriented design. In order to assess these skills, we have developed Jigsaw Java as an innovative assessment tool offering intelligent, semi-supervised automated marking of code.
Jigsaw Java allows students to answer programming questions using a drag-and-drop interface to place code fragments into position. Their answer is compared to the sample solution and if it matches, marks are allocated accordingly. However, if a match is not found then the corresponding code is executed using sample data to determine if its logic is acceptable. If it is, the solution is flagged to be checked by staff and if satisfactory is saved as an alternative solution. This means that appropriate marks can be allocated and should another student have submitted the same placement of code fragments this does not need to be executed or checked again. Rather the system now knows how to assess it.
Jigsaw Java is also able to consider partial marks dependent on code placement and will “learn” over time. Given the number of students, Jigsaw Java will improve the consistency and timeliness of marking.
Resumo:
Este artículo presenta el proceso de implementación de una API (Application Programming Interface) que permite la interacción del guante P5 de Essential Reality1 con un entorno virtual desarrollado en el lenguaje de programación Java y su librería Java 3D.2 Por otra parte, se describe un ejemplo implementado, haciendo uso de la API en cuestión. Con base en este ejemplo se presentan los resultados de la ejecución de pruebas de requerimientos de recursos físicos como la CPU y memoria física. Finalmente, se especifican las conclusiones y resultados obtenidos.
Resumo:
Le logiciel est devenu omniprésent dans nos vies de sorte qu'on le retrouve dans plusieurs domaines de la vie courante. Cependant cette omniprésence, n'est pas sans conséquences. Les bogues de logiciel peuvent causer de vrais désastres, économiques, écologiques voire sanitaires. Vu la forte omniprésente du logiciel dans nos vies, le fonctionnement de nos sociétés dépend fortement de sa qualité. La programmation par contrat a pour but de produire des logiciels fiables, c'est-à-dire corrects et robustes. En effet, ce paradigme de programmation vise à introduire des assertions qui sont des spécifications de services. Ces spécifications représentent une forme de contrat. Les contrats définissent les responsabilités entre le client et le fournisseur. Le respect des contrats permet de garantir que le logiciel ne fait ni plus ni moins que ce que l'on attend de lui qu'il fasse. Le test unitaire est un test qui permet de s'assurer du bon fonctionnement d'une partie précise d'un logiciel. C'est un test dont la vérification se fait en exécutant une petite unité de code. En somme, un test unitaire est un code qui exécute de manière indirecte le code d'une classe pour vérifier que le code fonctionne bien. L'outil Génération de Squelettes des Contrats de classes et des tests unitaires (GACTUS) permet la génération automatique de squelettes de contrats de classes et celles des classes des tests unitaires d'un projet Java. La génération automatique du code source permet d'obtenir un code uniforme. GACTUS est un plug-in pour l'environnement de développement Eclipse écrit en Java. L'objectif principal de GACTUS est de faciliter la réalisation de logiciel de qualité grâce à la génération automatique des squelettes de contrats de classe et celui des tests unitaires et aussi d'accroître la productivité des développeurs. Pour faciliter son utilisation, GACTUS dispose d'une interface graphique permettant de guider l'utilisateur.
Resumo:
(POO) est l’utilisation de patrons de conception (PC). Un PC est un arrangement caractéristique de classes permettant d’offrir une solution éprouvée, tout en obtenant un code réutilisable et compréhensible. Plusieurs PC sont définis, dont 24 par la GoF [12] et plusieurs autres sont apparus par la suite. Le concept de PC est abstrait ce qui peut amener différentes interprétations. Ces différences peuvent aussi causer une mauvaise implémentation qui peut réduire les avantages d’utiliser ce patron. Ce projet consiste à concevoir un outil facilitant l’utilisation des PC. L’outil Génération et Restructuration de Patrons de Conception(GRPC) permet la génération automatique du squelette d’un patron de conception ainsi que la restructuration d’un code en le transformant structure respectant un PC. La génération et la restructuration automatique permettent d’obtenir un code uniforme et de qualité tout en respectant le patron de conception. La compréhension et la maintenance du code sont ainsi améliorées. GRPC est module d’extension pour l’environnement de développement Eclipse écrit en Java. Le code est conçu pour être facilement compréhensible et extensible. Les deux principaux objectifs de GRPC sont de restructurer (refactoring) une section de code vers l’architecture d’un patron de conception et de générer des squelettes de patrons de conception. Une interface graphique permet de guider l’utilisateur et d’aller chercher toutes les informations importantes pour le fonctionnement du logiciel. Elle permet aussi de configurer les éléments du patron de conception. Pour s’assurer de la possibilité d’effectuer une restructuration, chaque patron est associé avec une ou plusieurs règles qui analysent le code pour détecter la présence d’une structure particulière. Des procédures aident les développeurs à ajouter de nouveaux PC dans GRPC. GRPC fournit des fonctionnalités permettant d’implémenter quelques patrons de conception de la POO définis dans le livre Design Patterns : Elements of Reusable Object-Oriented Software.
Resumo:
A literature review was conducted aiming to understand the interface between the Intellectual Disability and Mental Health fields and to contribute to mitigating the path of institutionalizing individuals with intellectual deficiencies. The so-called dual diagnosis phenomenon remains underestimated in Brazil but is the object of research and specific public policy internationally. This phenomenon alerts us to the prevalence of mental health problems in those with intellectual disabilities, limiting their social inclusion. The findings reinforce the importance of this theme and indicate possible diagnostic invisibility of the development of mental illness in those with intellectual disabilities in Brazil, which may contribute to sustaining psychiatric institutionalization of this population.
Resumo:
Essential oils (EO) obtained from twenty medicinal and aromatic plants were evaluated for their antimicrobial activity against the oral pathogens Candida albicans, Fusobacterium nucleatum, Porphyromonas gingivalis, Streptococcus sanguis and Streptococcus mitis. The antimicrobial activity of the EO was evaluates by microdilution method determining Minimal Inhibitory Concentration. Chemical analysis of the oils compounds was performed by Gas chromatography-mass spectrometry (CG-MS). The most active EO were also investigated as to their actions on the biolfilm formation. The most of the essential oils (EO) presented moderate to strong antimicrobial activity against the oral pathogens (MIC--Minimal Inhibitory Concentrations values between 0.007 and 1.00 mg/mL). The essential oil from Coriandrum sativum inhibited all oral species with MIC values from 0.007 to 0.250 mg/mL, and MBC/MFC (Minimal Bactericidal/Fungicidal Concentrations) from 0.015 to 0.500 mg/mL. On the other hand the essential oil of C. articulatus inhibited 63.96% of S. sanguis biofilm formation. Through Scanning Eletronic Microscopy (SEM) images no changes were observed in cell morphology, despite a decrease in biofilm formation and changes on biofilm structure. Chemical analysis by Gas Chromatography-Mass Spectrometry (GC-MS) of the C. sativum essential oil revealed major compounds derivatives from alcohols and aldehydes, while Cyperus articulatus and Aloysia gratissima (EOs) presented mono and sesquiterpenes. In conclusion, the crude oil from C. articulatus exhibited the best results of antimicrobial activity e ability to control biofilm formation. The chemical analysis showed the presence of terpenes and monoterpenes such as a-pinene, a-bulnesene and copaene. The reduction of biofilms formation was confirmed from SEM images. The results of this research shows a great potential from the plants studied as new antimicrobial sources.
Resumo:
Gaseous mercury sampling conditions were optimized and a dynamic flux chamber was used to measure the air/surface exchange of mercury in some areas of the Negro river basin with different vegetal coverings. At the two forest sites (flooding and non-flooding), low mercury fluxes were observed: maximum of 3 pmol m-2 h-1 - day and minimum of -1 pmol m-2 h-1 - night. At the deforested site, the mercury fluxes were higher and always positive: maximum of 26 pmol m-2 h-1 - day and 17 pmol m-2 h-1 - night. Our results showed that deforestation could be responsible for significantly increasing soil Hg emissions, mainly because of the high soil temperatures reached at deforested sites.
Resumo:
Echinolaena inflexa (Poir.) Chase is an abundant C3 grass species with high biomass production in the Brazilian savanna (cerrado); Melinis minutiflora Beauv. is an African C4 forage grass widespread in cerrado and probably displacing some native herbaceous species. In the present work, we analysed seasonally the content and composition of soluble carbohydrates, the starch amounts and the above-ground biomass (phytomass) of E. inflexa and M. minutiflora plants harvested in two transects at 5 and 130 m from the border in a restrict area of cerrado at the Biological Reserve and Experimental Station of Mogi-Guaçu (SP, Brazil). Results showed that water soluble carbohydrates and starch amounts from the shoots of both species varied according to the time of the year, whilst in the underground organs, variations were observed mainly in relation to the transects. Marked differences in the pattern of the above-ground biomass production between these two grasses relative to their location in the Reserve were also observed, with two peaks of the invasive species (July and January) at the Reserve border. The differences in carbohydrate accumulation, partitioning and composition of individual sugars concerning time of the year and location in the Reserve were more related to the annual growth cycle of both grasses and possibly to specific physiological responses of M. minutiflora to disturbed environments in the Reserve border.
Resumo:
PURPOSE: To evaluate the corneal vascularization (CV) and the clinical aspects induced by interlamellar graft with native (NCM) and anionic (ACM) collagen membranes in rabbits corneas. METHODS: An interlamellar graft with a 0.25 x 0.25 cm NCM (group 1) or ACM (group 2) fragment was performed in the right eye (treated eye). In the left eye, an estromal tunnel was done (control eye). Sixteen rabbits were used, and they were subdivided into two experimental groups of eight animals each. The clinical evaluation was performed at the 1st, 3rd, 7th, 15th and 30th postoperative days. Corneal vascularization analysis was performed after 30 days by the Images Analizator System Leica Qwin-550®. RESULTS: After 7 days, corneal vascularization was observed at about 2.25 ± 0.71 mm (NCM) and at about 1.0 ± 1.69 mm (ACM), respectively, from the limbus in direction to the central cornea. After 15 days, CV increased in both groups (5.25 ± 1.03 mm - NCM; 2.0 ± 2.39 mm - ACM) and then progressively decreased until day 30 (2.25 ± 2.10 mm - NCM; 0.75 ± 2.12 mm - ACM). The statistical analysis indicated that the averages of the distances from the limb vessels to the grafts observed after 7 and 15 days had not differed statistically (p=0.17), and after 15 and 30 postoperative days had a tendency to differ statistically (p=0.09). The control eyes did not present any changes. CONCLUSION: The interlamellar graft with native and anionic collagen membranes induced corneal vascularization when applied to rabbit corneas, but anionic collagen membrane induced a smaller corneal vascularization when compared to native collagen membrane. Although further studies are required, the results found in this study demonstrated the usefulness of interlamellar graft with native and anionic collagen membranes in keratoplasties. These membranes consists in one more graft option for the surgical treatment of corneal repair in rabbits and others animals, when other forms of medical and surgical treatment are not effective.
Resumo:
Land cover change constitutes one of main way of alteration of soil organic matter in both quantitative and qualitative terms. The goal of this study was to compare the carbon stock and the isotopic signature of the organic matter in the soil of areas with different land use,covered with forest and grass (pasture). The study area is located at Sorocaba, SP, Brazil. Using un-deformed soil samples, we measured the carbon content and bulk density. The isotopic signature of soil carbon was determined through the analysis of isotopic ratio (12)C/(13)C. The pasture soil stocks 48% less carbon than the soil covered by natural forest. The isotopic signature indicated that 42.2% of organic matter of the soil covered by pasture is originated from grasses. This characterizes a highly degradation of organic matter in the environment, both quantitatively and qualitatively. Hence, some guidelines of recuperation are described in order to restore the soil organic matter, structure and porosity.
Resumo:
Local food diversity and traditional crops are essential for cost-effective management of the global epidemic of type 2 diabetes and associated complications of hypertension. Water and 12% ethanol extracts of native Peruvian fruits such as Lucuma (Pouteria lucuma), Pacae (Inga feuille), Papayita arequipena (Carica pubescens), Capuli (Prunus capuli), Aguaymanto (Physalis peruviana), and Algarrobo (Prosopis pallida) were evaluated for total phenolics, antioxidant activity based on 2, 2-diphenyl-1-picrylhydrazyl radical scavenging assay, and functionality such as in vitro inhibition of alpha-amylase, alpha-glucosidase, and angiotensin I-converting enzyme (ACE) relevant for potential management of hyperglycemia and hypertension linked to type 2 diabetes. The total phenolic content ranged from 3.2 (Aguaymanto) to 11.4 (Lucuma fruit) mg/g of sample dry weight. A significant positive correlation was found between total phenolic content and antioxidant activity for the ethanolic extracts. No phenolic compound was detected in Lucuma (fruit and powder) and Pacae. Aqueous extracts from Lucuma and Algarrobo had the highest alpha-glucosidase inhibitory activities. Papayita arequipena and Algarrobo had significant ACE inhibitory activities reflecting antihypertensive potential. These in vitro results point to the excellent potential of Peruvian fruits for food-based strategies for complementing effective antidiabetes and antihypertension solutions based on further animal and clinical studies.
Resumo:
To determine the epidemiology of human herpesvirus type 8 (HHV-8) among non-Amazonian native populations, we conducted a cross-sectional study in Brazil, Bolivia, and Paraguay. Our data show striking ethnic and geographic variations in the distribution of HHV-8 seroprevalences in Amazonian (77%) and non-Amazonian native populations (range 0%-83%).
Resumo:
Objective: To describe the ultrastructure of the interface between periodontal tissues and titanium mini-implants in rat mandibles. Materials and Methods: A titanium mini-implant was placed between the buccal roots of the mandibular first molar of 24 adult rats. After 21, 30, 45, 60, 90, and 120 days of implantation, the mandibular portion was removed and fixed in cacodylate-buffered 2% glutaraldehyde + 2.5% formaldehyde. The material was decalcified and processed for scanning and transmission electron microscopy. Results: Ultrastructural analysis revealed a thin cementum-like layer at longer times after implantation at the areas in which the periodontal ligament was in contact with the implant. Conclusions: The alveolar bone and the periodontal ligament reorganized their constituents around the implant, and a thin cementum-like layer was formed at longer times after implantation at the areas in which the periodontal ligament was in contact with the implant. (Angle Orthod. 2010;80:459-435.)
Resumo:
Background: Sigmodontinae, known as ""New World rats and mice,"" is a large subfamily of Cricetidae for which we herein provide the first comprehensive investigation of the placenta. Methods: Placentas of various gestational ages ranging from early pregnancy to near term were obtained for five genera, i.e. Necromys, Euryoryzomys, Cerradomys, Hylaeamys, and Oligoryzomys. They were investigated by means of histology, immunohistochemistry, a proliferation marker, DBA-lectin staining and transmission electron microscopy. Results: The chorioallantoic placenta was organized in a labyrinthine zone, spongy zone and decidua and an inverted yolk sac persisted until term. The chorioallantoic placenta was hemotrichorial. The interhemal barrier comprised fetal capillary endothelium and three layers of trophoblast, an outermost, cellular layer and two syncytial ones, with interspersed trophoblast giant cells (TGC). In addition, accumulations of TGC occurred below Reichert's membrane. The junctional zone contained syncytial trophoblast, proliferative cellular trophoblast, glycogen cells and TGC that were situated near to the maternal blood channels. In three of the genera, TGC were also accumulated in distinct areas at the placental periphery. PAS-positive glycogen cells derived from the junctional zone invaded the decidua. Abundant maternal uNK cells with positive response to PAS, vimentin and DBA-lectin were found in the decidua. The visceral yolk sac was completely inverted and villous. Conclusion: The general aspect of the fetal membranes in Sigmodontinae resembled that found in other cricetid rodents. Compared to murid rodents there were larger numbers of giant cells and in some genera these were seen to congregate at the periphery of the placental disk. Glycogen cells were found to invade the decidua but we did not identify trophoblast in the walls of the deeper decidual arteries. In contrast these vessels were surrounded by large numbers of uNK cells. This survey of wild-trapped specimens from five genera is a useful starting point for the study of placentation in an important subfamily of South American rodents. We note, however, that some of these rodents can be captive bred and recommend that future studies focus on the study of time dated pregnancies.
Resumo:
We use the density functional theory/local-density approximation (DFT/LDA)-1/2 method [L. G. Ferreira , Phys. Rev. B 78, 125116 (2008)], which attempts to fix the electron self-energy deficiency of DFT/LDA by half-ionizing the whole Bloch band of the crystal, to calculate the band offsets of two Si/SiO(2) interface models. Our results are similar to those obtained with a ""state-of-the-art"" GW approach [R. Shaltaf , Phys. Rev. Lett. 100, 186401 (2008)], with the advantage of being as computationally inexpensive as the usual DFT/LDA. Our band gap and band offset predictions are in excellent agreement with experiments.