• Title/Summary/Keyword: class module elements

Search Result 18, Processing Time 0.026 seconds

A Cohesion Metric for Classes in Object-Oriented Systems (객체지향 시스템의 클래스에 대한 응집도)

  • Chae, Hong-Seok;Gwon, Yong-Rae;Bae, Du-Hwan
    • Journal of KIISE:Software and Applications
    • /
    • v.26 no.9
    • /
    • pp.1095-1104
    • /
    • 1999
  • 객체지향 시스템의 개발은 클래스를 통해서 이루어진다. 즉, 문제 영역에 존재하는 중요한 대상 또는 개념을 클래스로 모델링하고, 이로부터 생성된 객체들 사이의 메시지 교환을 통해서 시스템은 구축된다. 또한, 클래스는 정보 은닉을 제공함으로써, 객체지향 시스템의 재사용성과 유지보수성에 상당한 기여를 한다. 그러나, 설계 단계에서 실세계의 대상을 부적절하게 모델링하거나, 또는 유지보수 단계에서 클래스에 무분별한 변경을 가하는 경우 클래스의 품질은 악화될 수 있고, 이는 결국 시스템을 유지보수 하거나 확장하는데 상당한 장애를 초래한다.응집도는 모듈의 구성 요소들 사이의 연관성 정도를 나타내는 척도로서 전통적으로 모듈의 품질을 평가하기 위한 기준으로 사용되어 왔다. 이 논문에서는 클래스의 품질을 평가하는 방법으로서의 클래스 응집도를 제안한다. 즉, 클래스가 실세계의 대상을 적절하게 모델링한다면, 그 구성요소들 사이에 밀접한 관련이 있고 결국 높은 응집도를 가지게 될 것이다. 반대로 실세계의 대상에 대한 적절한 모델이 아니라면, 그 클래스의 구성 요소들 사이에는 밀접한 관련성이 없을 것이고 따라서 낮은 응집도를 보일 것이다.Abstract Object-oriented systems are developed by means of classes; that is, classes captures the essential entities or concepts in the problem domain, and the system is embodied by the interactions of objects instantiated from the classes. In addition to the basic units of object-oriented systems, classes serves as the units of encapsulation, which considerably promote the modifiability and the extensibility of them. However, improper modeling in the design phase or uncontrolled changes during the maintenance phase can degrade the quality of classes, which leads to systems cumbersome to maintain and extend.Cohesion refers to the degree of connectivity among the elements of a single module, and is being used as a factor which characterizes the quality of a module. In this paper, we propose a new cohesion metric for assessing the quality of classes. If a class captures properly the essential features of objects, the members of the class surely have strong relationship among them. On the contrary, the poor relationship among class members can indicate that the class is not a proper model of objects.

A Study of Cyclomatic Complexity for Web Application (웹 어플리케이션의 순환복잡도 메트릭스에 관한 연구)

  • An, Jong-Geun;Yu, Hae-Yeong
    • The KIPS Transactions:PartD
    • /
    • v.9D no.3
    • /
    • pp.447-456
    • /
    • 2002
  • Web applications haute different structural characteristics from conventional applications. A web application typically consists of server-side script elements which run on web sowers, client-side script elements which run on the client web-browser, link elements that the user clicks, and event elements that connect user-triggered request to the client script elements. These four elements are combined to form a web application. In such environments, direct application of conventional methods for measuring application complexity may not be possible, because they are primarily designed to measure complexity of modules and classes. In this paper, therefore, we propose metrics of Cyclomatic Complexity for Web Application (CCWA). We developed a tool to measure such metrics and applied it to the real-world examples. We found that the proposed CCWA metrics can be used for measuring complexity of highly complex web applications, which is not possible with conventional module and class based measurement techniques.

Weakly Classical Prime Submodules

  • Mostafanasab, Hojjat;Tekir, Unsal;Oral, Kursat Hakan
    • Kyungpook Mathematical Journal
    • /
    • v.56 no.4
    • /
    • pp.1085-1101
    • /
    • 2016
  • In this paper, all rings are commutative with nonzero identity. Let M be an R-module. A proper submodule N of M is called a classical prime submodule, if for each $m{\in}M$ and elements a, $b{\in}R$, $abm{\in}N$ implies that $am{\in}N$ or $bm{\in}N$. We introduce the concept of "weakly classical prime submodules" and we will show that this class of submodules enjoys many properties of weakly 2-absorbing ideals of commutative rings. A proper submodule N of M is a weakly classical prime submodule if whenever $a,b{\in}R$ and $m{\in}M$ with $0{\neq}abm{\in}N$, then $am{\in}N$ or $bm{\in}N$.

Development and Application of CT-SPI Model for Improving Computational Thinking for Elementary School Students

  • Sung, Young-Hoon
    • Journal of the Korea Society of Computer and Information
    • /
    • v.21 no.1
    • /
    • pp.169-180
    • /
    • 2016
  • In this paper, we propose a CT-SPI Model based on a physical computing for improving Computational Thinking(CT) for elementary students. This study analyzes the results obtained from applying the CT-SPI model to fourth-grade class. The model is designed to embrace the learning activities and CT elements for three different stages: System thinking, Prototyping and Interaction. For providing curriculum with CT-SPI model, physical SW educational module is developed, so that learners could focus on internalizing CT. The study results indicate that a learning satisfaction and a degree of learner interest improve significantly. Comprehensive CT capability assessment results in three levels show that the capability in lowest level (score is below 4 out of 10) has decreased by 46.6% but capability in highest level (over 7 out of 10) has increased by 20%.

A Basic Study on the Effect of the Wind Pressure according to Form on the Flat Roof mounted PV System (평지붕 PV거치 시스템의 형태에 따른 풍압영향에 관한 기초연구)

  • Yun, Doo-Young;Lee, Eung-Jik
    • Journal of the Korean Solar Energy Society
    • /
    • v.33 no.5
    • /
    • pp.105-112
    • /
    • 2013
  • The new renewable energy became popular as a clean and sustainable alternative energy under the circumstances that the entire world is facing severe abnormal climate due to the use of fossil fuel, and among which, solar energy can be obtained anywhere and is not difficult to apply it into the existing buildings, which makes it possible to be widely distributed. However, as PV module is installed into a single plate system, it shows structural weaknesses which are vulnerable to wind load and give loss to design elements in external appearance. Accordingly, this study planned one-step parallel system to complement the problems occurring from a single plate system and used STAR-CCM+ V.8 made by CD-Adapco, a computational fluid dynamics(CFD) simulation tool to measure wind load stability and support based on the design standards for a single plate system and one-step parallel system. Building height was limited to less than 10m and wind speed was given when increasing from 35m/s to 50m/s by 5m/s on PV system installed into the flat roof. In this case, our analysis suggested that step-one parallel system was in class 7-9 according to Beaufort's wind power classification, which did not have an impact on the fixed PV system, and the single plate system is considered to cause risks in designing wind speed in central districts because it is more than wind power class 12.

The Development and Implementation of Problem-Based Learning Package in Physical Therapy (물리치료학에서의 PBL 학습교재 개발 및 적용)

  • Hwang, Hyun-Sook;Chung, Jin-Woo;Lim, Jong-Soo
    • Journal of Korean Physical Therapy Science
    • /
    • v.9 no.4
    • /
    • pp.83-94
    • /
    • 2002
  • Within physical therapy education, there has been increased attention to curricula and course that emphasize problem solving, clinical reasoning, and synthesis of information across traditional discipline-specific boundaries. This article describes the development implementation, and outcomes of a problem-based learning course in Physical therapy. The course was designed to help students to integrate the various elements of a physical therapy curriculum and to enhance their abilities to respond to an ever-changing health care environment. An evaluation of the course by the first 50 students who completed it revealed both strengths and weaknesses. Students responded that the course enhanced their professional behavior, including interpersonal communication skills, team work, and follow-through with professional responsibilities. The learning package was developed by the authors and implemented to a college students during three weeks of the first semester of 2001. Most studies which conducted PBL module development were short period or temporary PBL package application and evaluation rather than a whole semester's. While, this study carried on partial integrated PBL curriculum development and application with recomposing content of the two subjects to one subject Physical therapy which includes four PBL packages. This package was developed from a simple concept to complex and partial integrated PBL curriculum application systematically variable learning methods such as discussion, practice, lecture, video. There are 2 classes, each class has 25 students, in the college. Each class has 5 small groups consisting 5 students. Two tutors proceeded discussion charging each class also, they used multiple methods and materials like tutorials, self-directed learning, lecture, and video. The package is 5 grades and 5 hours per week and the rate of discussion, lecture is 4, 1 respectively. One of the most change is the increase of interaction between students and tutors. Whenever students need information and suggestion, they can visit tutors who provide reading materials and guide for the direction of self learning. Therefore, this study describes the PBL package development process and application during one semester recomposing contents of two subjects to Physical therapy concepts. Besides, it will contribute to active application of existing each subject to tutors who intend to convert as PBL methods. The study has significant meaning to show potentiality of partially integrated PBL application, using systematic PBL package development from two subjects contents. However, when students' need of yearning is over the extent of Introduction of Physical therapy and Rehabilitation medicine, tutors should set learning extent. So, there is limitation to attain completely integrated PBL education within one subject, therefore, it is high lighted to proceed development of integrated curriculum to maximize learning effects of PBL. It is exected that partial integrated PBL package development and application will distribute to prosper excellent physiotherapist in practice.

  • PDF

A Development of the Automatic Predicate-Argument Analyzer for Construction of Semantically Tagged Korean Corpus (한국어 의미 표지 부착 말뭉치 구축을 위한 자동 술어-논항 분석기 개발)

  • Cho, Jung-Hyun;Jung, Hyun-Ki;Kim, Yu-Seop
    • The KIPS Transactions:PartB
    • /
    • v.19B no.1
    • /
    • pp.43-52
    • /
    • 2012
  • Semantic role labeling is the research area analyzing the semantic relationship between elements in a sentence and it is considered as one of the most important semantic analysis research areas in natural language processing, such as word sense disambiguation. However, due to the lack of the relative linguistic resources, Korean semantic role labeling research has not been sufficiently developed. We, in this paper, propose an automatic predicate-argument analyzer to begin constructing the Korean PropBank which has been widely utilized in the semantic role labeling. The analyzer has mainly two components: the semantic lexical dictionary and the automatic predicate-argument extractor. The dictionary has the case frame information of verbs and the extractor is a module to decide the semantic class of the argument for a specific predicate existing in the syntactically annotated corpus. The analyzer developed in this research will help the construction of Korean PropBank and will finally play a big role in Korean semantic role labeling.

Exploratory Research on Automating the Analysis of Scientific Argumentation Using Machine Learning (머신 러닝을 활용한 과학 논변 구성 요소 코딩 자동화 가능성 탐색 연구)

  • Lee, Gyeong-Geon;Ha, Heesoo;Hong, Hun-Gi;Kim, Heui-Baik
    • Journal of The Korean Association For Science Education
    • /
    • v.38 no.2
    • /
    • pp.219-234
    • /
    • 2018
  • In this study, we explored the possibility of automating the process of analyzing elements of scientific argument in the context of a Korean classroom. To gather training data, we collected 990 sentences from science education journals that illustrate the results of coding elements of argumentation according to Toulmin's argumentation structure framework. We extracted 483 sentences as a test data set from the transcription of students' discourse in scientific argumentation activities. The words and morphemes of each argument were analyzed using the Python 'KoNLPy' package and the 'Kkma' module for Korean Natural Language Processing. After constructing the 'argument-morpheme:class' matrix for 1,473 sentences, five machine learning techniques were applied to generate predictive models relating each sentences to the element of argument with which it corresponded. The accuracy of the predictive models was investigated by comparing them with the results of pre-coding by researchers and confirming the degree of agreement. The predictive model generated by the k-nearest neighbor algorithm (KNN) demonstrated the highest degree of agreement [54.04% (${\kappa}=0.22$)] when machine learning was performed with the consideration of morpheme of each sentence. The predictive model generated by the KNN exhibited higher agreement [55.07% (${\kappa}=0.24$)] when the coding results of the previous sentence were added to the prediction process. In addition, the results indicated importance of considering context of discourse by reflecting the codes of previous sentences to the analysis. The results have significance in that, it showed the possibility of automating the analysis of students' argumentation activities in Korean language by applying machine learning.