944 resultados para problems with object-oriented paradigm
Resumo:
Kiril Ivanov - Four criteria for estimating the degree of fundamental programming knowledge acquisition are formulated. The specificity of the proof-oriented thinking in object- oriented programming and its role in the learning of fundamentals are pointed. Two ways of reasoning are distinguished: with an only possible conclusion and with a multiple choice by search of balance between contradictory requirements. Examples of arguments that help considerably the students to understand the basic ideas related to the use of objects and classes in different stages of the software system development are given. Particular attention is paid to the influence of the proof-oriented thinking on the learners’ motivation and hence – on their fundamental knowledge acquisition.
Resumo:
2002 Mathematics Subject Classification: 35S15, 35J70, 35J40, 38J40
Resumo:
This paper describes a PC-based mainframe computer emulator called VisibleZ and its use in teaching mainframe Computer Organization and Assembly Programming classes. VisibleZ models IBM’s z/Architecture and allows direct interpretation of mainframe assembly language object code in a graphical user interface environment that was developed in Java. The VisibleZ emulator acts as an interactive visualization tool to simulate enterprise computer architecture. The provided architectural components include main storage, CPU, registers, Program Status Word (PSW), and I/O Channels. Particular attention is given to providing visual clues to the user by color-coding screen components, machine instruction execution, and animation of the machine architecture components. Students interact with VisibleZ by executing machine instructions in a step-by-step mode, simultaneously observing the contents of memory, registers, and changes in the PSW during the fetch-decode-execute machine instruction cycle. The object-oriented design and implementation of VisibleZ allows students to develop their own instruction semantics by coding Java for existing specific z/Architecture machine instructions or design and implement new machine instructions. The use of VisibleZ in lectures, labs, and assignments is described in the paper and supported by a website that hosts an extensive collection of related materials. VisibleZ has been proven a useful tool in mainframe Assembly Language Programming and Computer Organization classes. Using VisibleZ, students develop a better understanding of mainframe concepts, components, and how the mainframe computer works. ACM Computing Classification System (1998): C.0, K.3.2.
Resumo:
Part of the challenge of fostering learning is to open up learner minds to new possibilities or ways of thinking but is what we are encouraging learners to think really that different from the current practitioner conceptions? Having been uncomfortable with the focus of textbooks for the teaching of the core concept, the nature of a program, in the teaching of object-oriented programming, we sought to discover how practitioner’s conceived the concept. Our findings provide a framework for understanding the different ways of conceiving the concept and the features that distinguish these conceptions. How could these conceptions and their critical features influence the focus in teaching especially in relation to computational thinking?
Resumo:
Doctors and nurses working at the accident and emergency (A&E), and intensive care departments are at risk of burnout. They often spend substantial time in intense interactions with other people, centered on patients? health problems (physical, psychological and social) that may lead to feelings of anger, anxiety and frustration, and eventually to burnout. Burnout is a syndrome of emotional exhaustion, depersonalization and reduced personal accomplishment (Maslach & Jackson, 1981) The purpose of this chapter is to assess work stressors, burnout and stress-coping mechanisms among doctors and nurses at the A&E and intensive care departments. A quantitative design using the survey approach was used to collect data from a sample of 200 participants with a response rate of 71% (n=154) Work stressors were associated with burnout in both doctors and nurses. Workload was the most salient work stressor in the sample. Nurses experienced more stress (M=1.5, SD=0.4) than doctors (M=1.2, SD=0.4) in all the work stressor variables examined. The A&E department was reported as more stressful than the intensive care department. Avoidance-oriented and task-oriented coping were the most and the least frequently reported coping strategies respectively. Additionally, only emotion-oriented coping strategy was significantly different between doctors and nurses, and this strategy was also significantly positively correlated with all the variables in the adapted nursing stress scale, and the three burnout variables. Death and dying was most strongly correlated with emotion-oriented coping. This chapter provides an assessment of stress, burnout and coping experienced by both doctors and nurses within the A&E and intensive care departments. Methods that may mitigate stress in these environments may be adequate staffing, supportive management, stress management programs, as well as improvement in communication strategies between doctors and nurses.
Resumo:
Adaptability for distributed object-oriented enterprise frameworks in multimedia technology is a critical mission for system evolution. Today, building adaptive services is a complex task due to lack of adequate framework support in the distributed computing systems. In this paper, we propose a Metalevel Component-Based Framework which uses distributed computing design patterns as components to develop an adaptable pattern-oriented framework for distributed computing applications. We describe our approach of combining a meta-architecture with a pattern-oriented framework, resulting in an adaptable framework which provides a mechanism to facilitate system evolution. This approach resolves the problem of dynamic adaptation in the framework, which is encountered in most distributed multimedia applications. The proposed architecture of the pattern-oriented framework has the abilities to dynamically adapt new design patterns to address issues in the domain of distributed computing and they can be woven together to shape the framework in future. © 2011 Springer Science+Business Media B.V.
Resumo:
Az amerikai történelemben a paradigmaváltások meglehetősen nagyszabású és alapvető hatásokkal jártak, míg Japánban mintha hosszú távon is a Tudományos vezetés (gyártás-orientált) paradigmájánál maradtak volna, mely aztán módosult valamennyit a többi paradigma megjelenésének hatására. A tanulmány ebből az elméleti megállapításból kiindulva vizsgálja meg mind szakirodalmi alapon, mind egy kérdőíves kutatás segítségével, a japán társadalom „reakcióidejét”: attitűdjeit a változással, az alkalmazkodással szemben. Alapfeltételezése, hogy a tartós versenyképesség fenntartásához elengedhetetlen a külső körülményekhez való folyamatos alkalmazkodás, ami időről időre a múlt gyakorlatainak megkérdőjelezését eredményezi. Rövid elemzésünk azon az előfeltevésen alapult, hogy egy vagy több, a számát és / vagy társadalmi befolyását tekintve jelentős társadalmi csoport továbbra is erősen támogatja a hagyományos japán vezetési gyakorlatot. A hipotézist sikeresen bebizonyítottuk: a hagyományos menedzsmentet szignifikánsan támogatta két olyan klaszter, melyek száma jelentősen meghaladta a panel fennmaradó részét és amelyek nagyobb fokú társadalmi befolyást is képviseltek. Megállapítottuk, hogy a régi rendszert valószínűleg azok a rangidős japán férfiak támogatják, akik állandó dolgozóként vagy vezetőként dolgoznak meglehetősen nagy vállalatoknál, hosszú távú foglalkoztatásban. Egy másik csoportot is azonosítottunk az előzővel szemben, mely fiatalabb tagokból áll, változatosabb és magasabb iskolai végzettség jellemzi. Még nem egyértelmű, hogy a második csoport tagjai életkoruk előrehaladtával betagozódnak majd a japán rendszerbe és vállalatokba, ahogy az a múltban is történt, vagy továbbra is küzdenek majd a hagyományos módszerek ellen. Mindenesetre célszerűnek látszik az eredmények alapján a kutatás továbbgondolása és magyarországi megvalósítása is, ami által a magyar gazdasági és kormányzati elit a versenyképesség szempontjából értékes információkhoz juthat, nevezetesen az elavultnak számító gyakorlatok beazonosításán és az ennek fennmaradásáért felelős csoportok leírásán keresztül. _________ In the American history, change between paradigms implied rather large-scale and deep effects, whereas the Japanese seem to keep the focus on the Scientific Management (or production-oriented) paradigm which was only party altered by the others (HR, etc.). Based on this affirmation, our study examines the reactivity of Japanese society both in a theoretical and in a practical sense. We assumed first that continuous adaptation to the external conditions is an essential element of long-term competitiveness, which implies the regular questioning of old management practices. We presumed that one or several group(s) of people is (are) still strongly supporting traditional Japanese management practices and they must be important in terms of number and/or social influence. We have found evidence for our hypothesis: two significantly supportive clusters which largely outnumbered the rest of the panel and represented a higher level of social influence as well. We stated that the old system is probably supported by senior Japanese males who work as regular (core) employees or managers in rather large companies and enjoy long-term employment. Another group was also identified as a contrast to the former one, with younger members, more diversity and a higher level of education. As they grow older, the second group may become socialized into the Japanese system as happened in the past, or continue to reject traditional methods. Based on our observations, it seems useful to broaden the focus of our research and carry out a similar study in Hungary as well. This will bring valuable information on competitiveness to the business and political elite, enabling them to identify inefficient old practices and to better target the groups responsible for maintaining those practices.
Resumo:
Query processing is a commonly performed procedure and a vital and integral part of information processing. It is therefore important and necessary for information processing applications to continuously improve the accessibility of data sources as well as the ability to perform queries on those data sources. ^ It is well known that the relational database model and the Structured Query Language (SQL) are currently the most popular tools to implement and query databases. However, a certain level of expertise is needed to use SQL and to access relational databases. This study presents a semantic modeling approach that enables the average user to access and query existing relational databases without the concern of the database's structure or technicalities. This method includes an algorithm to represent relational database schemas in a more semantically rich way. The result of which is a semantic view of the relational database. The user performs queries using an adapted version of SQL, namely Semantic SQL. This method substantially reduces the size and complexity of queries. Additionally, it shortens the database application development cycle and improves maintenance and reliability by reducing the size of application programs. Furthermore, a Semantic Wrapper tool illustrating the semantic wrapping method is presented. ^ I further extend the use of this semantic wrapping method to heterogeneous database management. Relational, object-oriented databases and the Internet data sources are considered to be part of the heterogeneous database environment. Semantic schemas resulting from the algorithm presented in the method were employed to describe the structure of these data sources in a uniform way. Semantic SQL was utilized to query various data sources. As a result, this method provides users with the ability to access and perform queries on heterogeneous database systems in a more innate way. ^
Resumo:
Software Engineering is one of the most widely researched areas of Computer Science. The ability to reuse software, much like reuse of hardware components is one of the key issues in software development. The object-oriented programming methodology is revolutionary in that it promotes software reusability. This thesis describes the development of a tool that helps programmers to design and implement software from within the Smalltalk Environment (an Object- Oriented programming environment). The ASDN tool is part of the PEREAM (Programming Environment for the Reuse and Evolution of Abstract Models) system, which advocates incremental development of software. The Asdn tool along with the PEREAM system seeks to enhance the Smalltalk programming environment by providing facilities for structured development of abstractions (concepts). It produces a document that describes the abstractions that are developed using this tool. The features of the ASDN tool are illustrated by an example.
Resumo:
Object-oriented design and object-oriented languages support the development of independent software components such as class libraries. When using such components, versioning becomes a key issue. While various ad-hoc techniques and coding idioms have been used to provide versioning, all of these techniques have deficiencies - ambiguity, the necessity of recompilation or re-coding, or the loss of binary compatibility of programs. Components from different software vendors are versioned at different times. Maintaining compatibility between versions must be consciously engineered. New technologies such as distributed objects further complicate libraries by requiring multiple implementations of a type simultaneously in a program. This paper describes a new C++ object model called the Shared Object Model for C++ users and a new implementation model called the Object Binary Interface for C++ implementors. These techniques provide a mechanism for allowing multiple implementations of an object in a program. Early analysis of this approach has shown it to have performance broadly comparable to conventional implementations.
Resumo:
The effectiveness of antiretroviral therapy (ART) transformed the pediatric HIV epidemic. The disease changed significantly over the course of three decades: while early in the epidemic it was almost always fatal, it has become a chronic condition. This study examined how perinatally-infected youth experience the impact of HIV in their lives. A qualitative study using interpretative phenomenological analysis (IPA) was conducted. Twenty in-depth interviews were carried out among 12 women and 8 men aged 18 to 30 years in Puerto Rico. These were conducted in Spanish, audio-recorded, transcribed and translated into English. While narrating their experiences, participants were interpreting what the situation meant to them and how they make sense of it. Three topics emerged: (1) perception and response to treatment and illness, particularly their lived experiences with ART; (2) disclosure experiences; and (3) family matters. Most participants challenged their therapy, in most cases to force their caregivers to disclose their status. Problems with adherence were attributed to busy schedules or forgetfulness. Participants experienced the disfiguring adverse effects of ART, which they endured for years without being informed that ART was the cause of these. Participants’ experiences with disclosure demonstrated the importance of validating them as individuals capable of managing their health. The paternalistic approach of withholding their diagnosis to spare them suffering resulted in increased anxiety. Participants acknowledged the difficulties of revealing their HIV status to their partners. They referred to family and friends as essential in coping with HIV. However, some encountered discrimination and stigma within their families. Participants who had suffered the loss of their parents found other parental figures such as adoptive parents or other family members. Most participants expressed a desire to have children. Perinatally HIV-infected youth will require health services for the rest of their lives. The adult health care into which they transition should consider their needs and journey. Services should consider including family members. This study underscores the need for improved access to mental health services. It is also essential to transcend medical treatment and develop a broader perspective of health care. Health care services should include reproductive decision-making counselling services.
Resumo:
Most essay rating research in language assessment has examined human raters’ essay rating as a cognitive process, thus overlooking or oversimplifying the interaction between raters and sociocultural contexts. Given that raters are social beings, their practices have social meanings and consequences. Hence it is important to situate essay rating within its sociocultural context for a more meaningful understanding. Drawing on Engeström’s (1987, 2001) cultural-historical activity theory (CHAT) framework with a sociocultural perspective, this study reconceptualized essay rating as a socially mediated activity with both cognitive (individual raters’ goal-directed decision-making actions) and social layers (raters’ collective object-oriented essay rating activity at related settings). In particular, this study explored raters’ essay rating at one provincial rating centre in China within the context of a high-stakes university entrance examination, the National Matriculation English Test (NMET). This study adopted a multiple-method multiple-perspective qualitative case study design. Think-aloud protocols, stimulated recalls, interviews, and documents served as the data sources. This investigation involved 25 participants at two settings (rating centre and high schools), including rating centre directors, team leaders, NMET essay raters who were high school teachers, and school principals and teaching colleagues of these essay raters. Data were analyzed using Strauss and Corbin’s (1990) open and axial coding techniques, and CHAT for data integration. The findings revealed the interaction between raters and the NMET sociocultural context. Such interaction can be understood through a surface structure (cognitive layer) and a deep structure (social layer) concerning how raters assessed NMET essays, where the surface structure reflected the “what” and the deep structure explained the “how” and “why” in raters’ decision-making. This study highlighted the roles of goals and rules in rater decision-making, rating tensions and raters’ solutions, and the relationship between essay rating and teaching. This study highlights the value of a sociocultural view to essay rating research, demonstrates CHAT as a sociocultural approach to investigate essay rating, and proposes a direction for future washback research on the effect of essay rating. This study also provides support for NMET rating practices that can potentially bring positive washback to English teaching in Chinese high schools.
Resumo:
In June 2015, legal frameworks of the Asian Infrastructural Investment Bank were signed by its 57 founding members. Proposed and initiated by China, this multilateral development bank is considered to be an Asian counterpart to break the monopoly of the World Bank and the International Monetary Fund. In October 2015, China’s Central Bank announced a benchmark interest rate cut to combat the economic slowdown. The easing policy coincides with the European Central Bank’s announcement of doubts over US Fed’s commitment to raise interest rates. Global stock markets responded positively to China’s move, with the exception of the indexes from Wall Street (Bland, 2015; Elliott, 2015). In the meantime, China’s ‘One Belt, One Road’ (or New Silk Road Economic Belt) became atopic of discourse in relation to its growing global economy, as China pledged $40 billion to trade and infrastructure projects (Bermingham, 2015). The foreign policy aims to reinforce the economic belt from western China through Central Asia towards Europe, as well as to construct maritime trading routes from coastal China through the South China Sea (Summers, 2015). In 2012, The Economist launched a new China section, to reveal the complexity of the‘meteoric rise’ of China. John Micklethwait, who was then the chief editor of the magazine, said that China’s emergence as a global power justified giving it a section of its own(Roush, 2012). In July 2015, Hu Shuli, the former chief editor of Caijing, announced the launch of a think tank and financial data service division called Caixin Insight Group, which encompasses the new Caixin China Purchasing Managers Index (PMI). Incooperation with with Markit Group, a principal global provider of PMI, the index soon became a widely cited economic indicator. One anecdote from November’s Caixin shows how much has changed: in a high-profile dialogue between Hu Shuli and Kevin Rudd, Hu insisted on asking questions in English; interestingly, the former Prime Minister of Australia insisted on replying in Chinese. These recent developments point to one thing: the economic ascent of China and its increasing influence on the power play between economics and politics in world markets. China has begun to take a more active role in rule making and enforcement under neoliberal frameworks. However, due to the country’s size and the scale of its economy in comparison to other countries, China’s version of globalisation has unique characteristics. The ‘Capitalist-socialist’ paradox is vital to China’s market-oriented transformation. In order to comprehend how such unique features are articulated and understood, there are several questions worth investigating in the realms of media and communication studies,such as how China’s neoliberal restructuring is portrayed and perceived by different types of interested parties, and how these portrayals are de-contextualised and re-contextualised in global or Anglo-American narratives. Therefore, based on a combination of the themes of globalisation, financial media and China’s economic integration, this thesis attempts to explore how financial media construct the narratives of China’s economic globalisation through the deployment of comparative and multi-disciplinary approaches. Two outstanding elite financial magazines, Britain’s The Economist, which has a global readership and influence, and Caijing, China’s leading financial magazine, are chosen as case studies to exemplify differing media discourses, representing, respectively, Anglo-American and Chinese socio-economic and political backgrounds, as well as their own journalistic cultures. This thesis tries to answer the questions of how and why China’s neoliberal restructuring is constructed from a globally-oriented perspective. The construction primarily involves people who are influential in business and policymaking. Hence, the analysis falls into the paradigm of elite-elite communication, which is an important but relatively less developed perspective in studying China and its globalisation. The comparing of characteristics of narrative construction are the result of the textual analysis of articles published over a ten-year period (mid-1998 to mid-2008). The corpus of samples come from the two media outlets’ coverage of three selected events:China becoming a member of the World Trade Organization, its outward direct investment, and the listing of stocks of Chinese companies in overseas exchanges, which are mutually exclusive in sample collection and collectively exhaustive in the inclusion of articles regarding China’s economic globalisation. The findings help to understand that, despite language, socio-economic and political differences, elite financial media with globally-oriented readerships share similar methods of and approaches to agenda setting, the evaluation of news prominence, the selection of frame, and the advocacy of deeply rooted neoliberal ideas. The comparison of their distinctive features reflects the different phases of building up the sense of identity in their readers as global elites, as well as the different economic interests that are aligned with the corresponding readerships. However, textual analysis is only relevant in terms of exploring how the narratives are constructed and the elements they include; textual analysis alone prevents us from seeing the obstacles and the constrains of the journalistic practices of construction. Therefore, this thesis provides a brief discussion of interviews with practitioners from the two media, in order to understand how similar or different narratives are manifested and perceived, how the concept of neoliberalism deviates from and is justified in the Chinese context, and how and for what purpose deviations arise from Western to Chinese contexts. The thesis also contributes to defining financial media in the domain of elite communication. The relevant and closely interlocking concepts of globalisation, elitism and neoliberalism are discussed, and are used as a theoretical bedrock in the analysis of texts and contexts. It is important to address the agenda-setting and ideological role of elite financial media, because of its narrative formula of infusing business facts with opinions,which is important in constructing the global elite identity as well as influencing neoliberal policy-making. On the other hand, ‘journalistic professionalism’ has been redefined, in that the elite identity is shared by the content producer, reader and the actors in the news stories emerging from the much-compressed news cycle. The professionalism of elite financial media requires a dual definition, that of being professional in the understanding of business facts and statistics, and that of being professional in the making sense of stories by deploying economic logic.
Resumo:
Modern software applications are becoming more dependent on database management systems (DBMSs). DBMSs are usually used as black boxes by software developers. For example, Object-Relational Mapping (ORM) is one of the most popular database abstraction approaches that developers use nowadays. Using ORM, objects in Object-Oriented languages are mapped to records in the database, and object manipulations are automatically translated to SQL queries. As a result of such conceptual abstraction, developers do not need deep knowledge of databases; however, all too often this abstraction leads to inefficient and incorrect database access code. Thus, this thesis proposes a series of approaches to improve the performance of database-centric software applications that are implemented using ORM. Our approaches focus on troubleshooting and detecting inefficient (i.e., performance problems) database accesses in the source code, and we rank the detected problems based on their severity. We first conduct an empirical study on the maintenance of ORM code in both open source and industrial applications. We find that ORM performance-related configurations are rarely tuned in practice, and there is a need for tools that can help improve/tune the performance of ORM-based applications. Thus, we propose approaches along two dimensions to help developers improve the performance of ORM-based applications: 1) helping developers write more performant ORM code; and 2) helping developers configure ORM configurations. To provide tooling support to developers, we first propose static analysis approaches to detect performance anti-patterns in the source code. We automatically rank the detected anti-pattern instances according to their performance impacts. Our study finds that by resolving the detected anti-patterns, the application performance can be improved by 34% on average. We then discuss our experience and lessons learned when integrating our anti-pattern detection tool into industrial practice. We hope our experience can help improve the industrial adoption of future research tools. However, as static analysis approaches are prone to false positives and lack runtime information, we also propose dynamic analysis approaches to further help developers improve the performance of their database access code. We propose automated approaches to detect redundant data access anti-patterns in the database access code, and our study finds that resolving such redundant data access anti-patterns can improve application performance by an average of 17%. Finally, we propose an automated approach to tune performance-related ORM configurations using both static and dynamic analysis. Our study shows that our approach can help improve application throughput by 27--138%. Through our case studies on real-world applications, we show that all of our proposed approaches can provide valuable support to developers and help improve application performance significantly.
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.