158 resultados para sintaxe


Relevância:

10.00% 10.00%

Publicador:

Resumo:

Neste texto, o professor apresenta a sintaxe de herança nas linguagens Java e C++, ilustrando-a através de exemplos.

Relevância:

10.00% 10.00%

Publicador:

Resumo:

A videoaula aborda o conceito de comandos condicionais, sua sintaxe, funcionamento e subcategorias: Comando condicionais simples/completos e Comandos condicionais de seleção múltipla. Aborda ainda as necessidades de decisões algorítmicas.

Relevância:

10.00% 10.00%

Publicador:

Resumo:

No contexto das tecnologias propostas pela OMG, o MOF é utilizado para definir a sintaxe de linguagens de modelação, contudo, os aspectos semânticos não podem ser capturados usando esta linguagem. A descrição dos aspectos não sintácticos é realizada com recurso à linguagem OCL. Consequentemente, para uma completa definição de uma linguagem de modelação é necessário incorporar o OCL no MOF, criando uma infra-estrutura que possui a expressividade necessária para realizar esta função. Este projecto visa complementar a ferramenta de metamodelação MetaSketch Editor, introduzindo a capacidade de executar expressões em OCL e permitindo, desta forma, a verificação semântica dos modelos construídos usando o MetaSketch Editor. A gramática da linguagem OCL adoptada está de acordo com a especificação elaborada pela OMG (2006-05-01), juntando-se algumas contribuições de trabalhos existentes sobre esta linguagem. O projecto envolveu a implementação de um parser com recurso ao sistema GOLD Parser, a implementação da standard library do OCL em C# e, por último, a implementação de uma estratégia de execução das expressões em OCL.

Relevância:

10.00% 10.00%

Publicador:

Resumo:

O aumento da população idosa que tem acontecido nos últimos anos, conduziu ao surgimento de políticas sociais para proporcionar aos idosos bem-estar e qualidade de vida. Dessas medidas destacamos a criação de centros comunitários enquanto respostas sociais destinadas à população que no caso específico dos idosos, visam promover um envelhecimento activo e de qualidade. Objectivo: Determinar o nível de qualidade de vida dos idosos que frequentam os centros comunitários do Funchal. Método: Estudo realizado com uma amostra aleatória com 136 idosos. Seguiu-se uma linha de pesquisa quantitativa recorrendo-se à aplicação de um formulário cuja primeira parte destinou-se à recolha de dados sócio-demográficos e a segunda, à avaliação da qualidade de vida através do WHOQOL-Bref (escala de Qualidade de Vida da OMS, 1998, adaptada à população portuguesa por Canavarro et al., 2006). O WHOQOL-Bref foi pontuado de acordo com sua sintaxe, tendo-se passado posteriormente ao tratamento dos dados através da análise estatística descritiva, inferencial e correlacional. Considerou-se para as análises um nível de significância de 0,05. Resultados: A amostra foi preponderantemente feminina (86,0%), relativamente jovem e com pouca escolaridade. A maioria das pessoas idosas era viúva ou casada / vivia maritalmente, possuía rendimentos provenientes de pensões (94,1%), sendo uma percentagem elevada destes rendimentos inferior ao salário mínimo regional (66,3%). Os idosos apresentaram uma visão positiva da sua qualidade de vida, verificando-se melhor pontuação no domínio das relações sociais e pior no domínio físico. As variáveis sócio-demográficas, exceptuando a idade, demonstraram influência estatisticamente significativa nos quatro domínios. Estes, explicaram a qualidade de vida geral em 94,4%,sendo o maior contributo do domínio físico (31,6%). Conclusão: Os idosos dos centros comunitários do Funchal avaliaram positivamente a sua qualidade de vida, particularmente no domínio social. Todavia, concluiu-se que a qualidade de vida é inferior à da população portuguesa em geral, situação que carece em estudos futuros, de alguma atenção. Novas investigações são necessárias considerando a importância de continuar a promover a qualidade de vida na velhice.

Relevância:

10.00% 10.00%

Publicador:

Resumo:

The aim of this work is to understand the morphological expression of ground occupation by the higher income population, by focusing on population distribution in accordance with income layers and demographical density, as well as topological accessibility (HILLIER and HANSON, 1984) resulting from the urban grid structure. It endeavors to identify a functional organizing principle regarding the intra-urban space of Natal capital city of the state of Rio Grande do Norte, the research focus. In order to achieve this, census data as well as syntactic data were utilized for mapping and spatial analysis of income patterns, topological accessibility and demographical density using Geographical Information System GIS. The organizing principle was named as the Form of Privilege, a pattern that concentrates or tends to concentrate wealth, topological accessibility and low demographical density. Attempting to assess its extent, beyond Natal, this principle was applied to other Brazilian northeastern capitals such as: Fortaleza, CE; Teresina, PI; Aracaju, SE; Recife, PE; and João Pessoa, PB. Findings point out that although the urban structures of these cities are not immune to the Form of Privilege, Natal is emblematic of this phenomenon, a fact that demonstrates the perverse character of its spatial process, which historically creates privileged areas within the city, by means of the appropriation of accessibility as well as of the many urban benesses that are related to it by higher income groups at the expense of the major part of the population, which though being the people mostly in need of the benefits originating from the urban form are excluded from them

Relevância:

10.00% 10.00%

Publicador:

Resumo:

This study intends to enhance the existing knowledge concerning the patterns of the uses of space for low cost housing in Parnamirim, Rio Grande do Norte, Brazil, by way of comparative morphological studies in spatial arrangements and articulations regarding three distinct, however inter-related, sets of social housing: (1) a development comprising 21 self-built houses erected on public routes and illegal plots within a tract of land originally designed to be an industrial development: (2) architect-designed houses built by the public authority in order to accommodate the previous 21 (plus a few additions) families occupying the self-built dwellings, and (3) modifications performed by dwellers on a total of those 24 houses built by the public authority after an occupation period of one year. The predominant uses of each room within the self-built and modified houses were represented in ground plan, based on empirical observation, surveys with dwellers and the use of analytical procedures of morphologic analysis of nature predominantly geometric (specific) and topology (space syntax analysis). A scale of priorities was identified in relation to the uses of each room, its geometrical arrangement (adjacency, front/back relations etc), and underlying structures (connectivity, depth and spatial integration) in order to establish congruencies and non-congruencies between a social-cultural order embedded in the self-built domestic space and the design logic contained in the houses offered by official agencies. The comparative analysis points towards the convivial existence of two tendencies: one that seems to reinforce a design logic inasmuch as the additions and modifications performed by the dwellers do not alter but even emphasize the original configuration of the designed houses, and another one in which those patterns are subverted in accordance with a logic which, to a lesser or greater degree, coincides with that of the self-built dwellings

Relevância:

10.00% 10.00%

Publicador:

Resumo:

This dissertation establishes a viewpoint in the Social Cience Field of the Nymphs image in the romanesque construction of the twentieth century based in modern archaeology. Our literary corpus is constitututed by the book of the russian author callled Wladimir Nabokov entlited Lolita and the book Presença de Anita, from a brazilian author called Mario Donato. Both works had a singular repercussion involving an erotic conception wich was faced as pornographic and baffling. We appeal to Georges Bataille‟s and Foucault‟s discussion in order to observe it through an erotic viewpoint from an inner experience not submitted to normalizations. Such experiences provoke a feeling of something unknown and it reflects wild singularities proposed by Foucault and related with many misunderstanding things presented in institutions and cultures. Furthemore Bataille‟s conception about erotism will give us conditions to analyze nymphs‟ bodies in order to see themselves from their main characteristics, such as seduction and tempting and maligning forces. We still aim to focus the paradigm of mankind and nature in the direction presented by Edgar Morin. He analyzes some feelings that nymphs provoke and their relation between men and death. In adittion, we present in this issue some questions between culture and biology, focusing on the initial period of larva (wich means the beggining), bringing up what is ready to be born, a mythical and significant body shown in the media. Lolita in the cinema and A Presença de Anita in the TV was disturbing in society and it projected the possibility of a syntaxes of desire. It can has a symbolic purpose or it can be a kind of social and cultural phenomenon, wich is an object of representation. Our purpose is to immersion/emerge in the Nimphs‟s body with adventure and its risks at the same time in wich we are crossing frontiers

Relevância:

10.00% 10.00%

Publicador:

Resumo:

This work presents the specification and the implementation of a language of Transformations in definite Models specification MOF (Meta Object Facility) of OMG (Object Management Group). The specification uses a boarding based on rules ECA (Event-Condition-Action) and was made on the basis of a set of scenes of use previously defined. The Parser Responsible parser for guaranteeing that the syntactic structure of the language is correct was constructed with the tool JavaCC (Java Compiler Compiler) and the description of the syntax of the language was made with EBNF (Extended Backus-Naur Form). The implementation is divided in three parts: the creation of the interpretative program properly said in Java, the creation of an executor of the actions specified in the language and its integration with the type of considered repository (generated for tool DSTC dMOF). A final prototype was developed and tested in the scenes previously defined

Relevância:

10.00% 10.00%

Publicador:

Resumo:

This thesis analyses the poetry of João Lins Caldas (1888-1967), in Brazilian literature context, aiming at describing and understanding the main features of his poetry. Thus, this research presents a corpus to be worked on: the poems in Poeira do céu e outros poemas (2009). Our study is characterized by a biographical, historiographical and critical tendency, by trying to organize the manuscripts of the author and biographical aspects while analyzing his poems. It is showed the relation between Brazilian poetry written by some authors, since the parnasianism and symbolism period until the twentieth century. On the one hand, our analysis is based on the ideas and criticism by Antonio Candido (2006; 2002; 1985), discussing the process of formation of Brazilian literature and the procedure to analyse poetry. It is also based on the concept of poetry and resistance, developed by Alfredo Bosi (2000; 2002), and the notion of Brazilian matter, identified by Roberto Schwarz (1987, 1997, 1999). On the other hand, this work focuses on melancholy under the theoretical ideas of authors such as Aristotle (1998), Walter Benjamin (1984), Jaime Ginzburg (1997) and Moacyr Scliar (2003). This focus on melancholy contributes to a better understanding of one of the main themes found in the poems analysed. By studying the poetry of João Lins Caldas, it was perceived the relevance of melancholy and resistance in his verses. This can be seen in his dissonant language, characterized by the broken syntax in his verses, as well as contradictory images and complex meanings in his poetry. This causes the effect of unfamiliarity on the reader. His poetry is the result of a style that finds its place in the best moment of modern Brazilian poetry and reveals its singularity through the inverted syntax with powerful themes such as love, death, pain, delusion, loss, memory, nature and God. All of them are aspects of Brazilian historicity. Finally, the work of João Lins Caldas is part of a multifaceted poetry

Relevância:

10.00% 10.00%

Publicador:

Resumo:

The development of digital technologies has opened up a new niche for artistic production. It began to emerge artworks that could only happen in the digital context. In this study, we investigated the syntax of defining digital poetry, recognized internationally as one of the possibilities of this new artistic practice, and how happens the meaning during the reading process. As research corpus, we chose the poem "Birds Still Warm From Flying", by american poet Jason Nelson. And we structure our analysis looking through three perspectives: the digital poem as a game; as the evolution of experimental trends of twentieth-century poetry; and as a representation of Rubik`s Cube, a famous three-dimensional puzzle from the 1970`s. Initially, we made some considerations about the construction of digital poetry as a hypermedia artwork, looking through convergence and hybridization of artistic and media languages. Then, we saw some similarities between Nelson`s poem and electronic games, based on our critical observations about the concept of interactivity. Subsequently, we wrote a historical overview about the poetic experimentation in the twentieth century, bringing examples of sound poetry and visual poetry as evidence that the birth of digital poetry is also the result of the evolution of these experiments. Finally, we use the Charles Sanders Peirce`s semiotics to analyze the signs that give references able to make us recognize the Rubik`s Cube in "Birds Still Warm From Flying"

Relevância:

10.00% 10.00%

Publicador:

Resumo:

Fundação de Amparo à Pesquisa do Estado de São Paulo (FAPESP)

Relevância:

10.00% 10.00%

Publicador:

Resumo:

This dissertation aims at extending the JCircus tool, a translator of formal specifications into code that receives a Circus specification as input, and translates the specification into Java code. Circus is a formal language whose syntax is based on Z s and CSP s syntax. JCircus generated code uses JCSP, which is a Java API that implements CSP primitives. As JCSP does not implement all CSP s primitives, the translation strategy from Circus to Java is not trivial. Some CSP primitives, like parallelism, external choice, communication and multi-synchronization are partially implemented. As an aditional scope, this dissertation will also develop a tool for testing JCSP programs, called JCSPUnit, which will also be included in JCircus new version. The extended version of JCircus will be called JCircus 2.0.

Relevância:

10.00% 10.00%

Publicador:

Resumo:

The use of increasingly complex software applications is demanding greater investment in the development of such systems to ensure applications with better quality. Therefore, new techniques are being used in Software Engineering, thus making the development process more effective. Among these new approaches, we highlight Formal Methods, which use formal languages that are strongly based on mathematics and have a well-defined semantics and syntax. One of these languages is Circus, which can be used to model concurrent systems. It was developed from the union of concepts from two other specification languages: Z, which specifies systems with complex data, and CSP, which is normally used to model concurrent systems. Circus has an associated refinement calculus, which can be used to develop software in a precise and stepwise fashion. Each step is justified by the application of a refinement law (possibly with the discharge of proof obligations). Sometimes, the same laws can be applied in the same manner in different developments or even in different parts of a single development. A strategy to optimize this calculus is to formalise these application as a refinement tactic, which can then be used as a single transformation rule. CRefine was developed to support the Circus refinement calculus. However, before the work presented here, it did not provide support for refinement tactics. The aim of this work is to provide tool support for refinement tactics. For that, we develop a new module in CRefine, which automates the process of defining and applying refinement tactics that are formalised in the tactic language ArcAngelC. Finally, we validate the extension by applying the new module in a case study, which used the refinement tactics in a refinement strategy for verification of SPARK Ada implementations of control systems. In this work, we apply our module in the first two phases of this strategy

Relevância:

10.00% 10.00%

Publicador:

Resumo:

There is a growing interest of the Computer Science education community for including testing concepts on introductory programming courses. Aiming at contributing to this issue, we introduce POPT, a Problem-Oriented Programming and Testing approach for Introductory Programming Courses. POPT main goal is to improve the traditional method of teaching introductory programming that concentrates mainly on implementation and neglects testing. POPT extends POP (Problem Oriented Programing) methodology proposed on the PhD Thesis of Andrea Mendonça (UFCG). In both methodologies POPT and POP, students skills in dealing with ill-defined problems must be developed since the first programming courses. In POPT however, students are stimulated to clarify ill-defined problem specifications, guided by de definition of test cases (in a table-like manner). This paper presents POPT, and TestBoot a tool developed to support the methodology. In order to evaluate the approach a case study and a controlled experiment (which adopted the Latin Square design) were performed. In an Introductory Programming course of Computer Science and Software Engineering Graduation Programs at the Federal University of Rio Grande do Norte, Brazil. The study results have shown that, when compared to a Blind Testing approach, POPT stimulates the implementation of programs of better external quality the first program version submitted by POPT students passed in twice the number of test cases (professor-defined ones) when compared to non-POPT students. Moreover, POPT students submitted fewer program versions and spent more time to submit the first version to the automatic evaluation system, which lead us to think that POPT students are stimulated to think better about the solution they are implementing. The controlled experiment confirmed the influence of the proposed methodology on the quality of the code developed by POPT students

Relevância:

10.00% 10.00%

Publicador:

Resumo:

Este trabalho apresenta uma técnica de verificação formal de Sistemas de Raciocínio Procedural, PRS (Procedural Reasoning System), uma linguagem de programação que utiliza a abordagem do raciocínio procedural. Esta técnica baseia-se na utilização de regras de conversão entre programas PRS e Redes de Petri Coloridas (RPC). Para isso, são apresentadas regras de conversão de um sub-conjunto bem expressivo da maioria da sintaxe utilizada na linguagem PRS para RPC. A fim de proceder fia verificação formal do programa PRS especificado, uma vez que se disponha da rede de Petri equivalente ao programa PRS, utilizamos o formalismo das RPCs (verificação das propriedades estruturais e comportamentais) para analisarmos formalmente o programa PRS equivalente. Utilizamos uma ferramenta computacional disponível para desenhar, simular e analisar as redes de Petri coloridas geradas. Uma vez que disponhamos das regras de conversão PRS-RPC, podemos ser levados a querer fazer esta conversão de maneira estritamente manual. No entanto, a probabilidade de introdução de erros na conversão é grande, fazendo com que o esforço necessário para garantirmos a corretude da conversão manual seja da mesma ordem de grandeza que a eliminação de eventuais erros diretamente no programa PRS original. Assim, a conversão automatizada é de suma importância para evitar que a conversão manual nos leve a erros indesejáveis, podendo invalidar todo o processo de conversão. A principal contribuição deste trabalho de pesquisa diz respeito ao desenvolvimento de uma técnica de verificação formal automatizada que consiste basicamente em duas etapas distintas, embora inter-relacionadas. A primeira fase diz respeito fias regras de conversão de PRS para RPC. A segunda fase é concernente ao desenvolvimento de um conversor para fazer a transformação de maneira automatizada dos programas PRS para as RPCs. A conversão automática é possível, porque todas as regras de conversão apresentadas seguem leis de formação genéricas, passíveis de serem incluídas em algoritmos