• Title/Summary/Keyword: C Programming language

Search Result 328, Processing Time 0.034 seconds

A Program Transformational Approach for Rule-Based Hangul Automatic Programming (규칙기반 한글 자동 프로그램을 위한 프로그램 변형기법)

  • Hong, Seong-Su;Lee, Sang-Rak;Sim, Jae-Hong
    • The Transactions of the Korea Information Processing Society
    • /
    • v.1 no.1
    • /
    • pp.114-128
    • /
    • 1994
  • It is very difficult for a nonprofessional programmer in Koera to write a program with very High Level Language such as, V,REFINE, GIST, and SETL, because the semantic primitives of these languages are based on predicate calculus, set, mapping, or testricted natural language. And it takes time to be familiar with these language. In this paper, we suggest a method to reduce such difficulties by programming with the declarative, procedural constructs, and aggregate constructs. And we design and implement an experimental knowledge-based automatic programming system. called HAPS(Hangul Automatic Program System). HAPS, whose input is specification such as Hangul abstract algorithm and datatype or Hangul procedural constructs, and whose output is C program. The method of operation is based on rule-based and program transformation technique, and the problem transformation technique. The problem area is general problem. The control structure of HAPS accepts the program specification, transforms this specification according to the proper rule in the rule-base, and stores the transformed program specification on the global data base. HAPS repeats these procedures until the target C program is fully constructed.

  • PDF

Design and Implementation of a Network Programming Language (네트워크를 고려한 프로그래밍언어의 설계와 구현)

  • Won, Yu-Hun;Han, Tae-Suk
    • Journal of KIISE:Software and Applications
    • /
    • v.26 no.11
    • /
    • pp.1359-1371
    • /
    • 1999
  • 대규모 네트워크 상에서 동작하는 분산 시스템의 구현을 위해 제시된 방법 중의 하나인 이동 코드 개념은 네트워크 공유 자원에 접근할 수 있는 효과적인 방법을 제시하였고 이 개념을 지원하는 많은 언어들의 개발을 가져왔다. 개발된 언어들이 가지고 있는 이동 코드를 지원하기 위한 언어 구문과 적용하려는 문제 영역의 특성을 반영한 언어 구문은 네트워크 프로그래밍을 하는데 있어서 효율과 문제 중심의 프로그램의 두 가지를 모두 가능하게 하고 있다. 본 논문에서는 현재 분산 컴퓨팅 환경에서 가장 많이 사용되고 있는 클라이언트-서버 모델을 확장하여 서버의 자원에 접근할 수 있는 또 다른 방법을 가진 모델을 제시하고, 이 모델을 표현할 수 있는 언어를 설계하였다. 설계된 언어는 이동 코드의 개념을 지원함으로써 대규모 네트워크에서 수행되는 프로그램의 작성을 가능하게 하고, 분산 범위 규칙을 채택함으로써 이동 코드의 기술을 일반 함수를 기술하듯 명확한 관점에서 할 수 있도록 하였다. 또한 네트워크 관련 자원들을 언어 구문으로 채택하여 네트워크 프로그래밍을 언어 수준에서 할 수 있도록 하였다. 언어의 이론적인 설계에 그치지 않고 설계된 언어를 수행할 수 있는 실행 시간 지원 시스템을 구현하였다. 실행 시간 지원 시스템은 언어를 해석하고 실행하는 코드 해석기와 이동 코드를 지원하는 네트워크 감독으로 구성되며 설계된 언어를 사용하여 실제로 네트워크 응용 프로그램을 작성하고 테스트 해 볼 수 있다.Abstract Some studies bring up a concept of code mobility as an innovative way to access network resources in order to develop distributed systems working on a large scale network. After that, many languages are suggested to support this concept. In these languages, language constructors for their particular application domains and mobile codes provide both problem-oriented views to the programmer and reasonable performance to the system. In this thesis, we extend the client-server model that is the most popular model in developing distributed systems these days. We propose a model to have another method to access server's resources and extend the C language to implement the proposed model for the large scale network. The new language has capability to build a software working on a large scale network by supporting mobile code and gives a consistent network programming view to the programmer by adapting distributed semantics. The language also makes network programming easy by providing network primitives at the language level. We implement a prototype of run-time system to support this language. The run-time system is composed of two major parts: code-interpreter that interprets and executes the language and network-daemon that supports mobile codes.

Web-based programming education system for providing rapid grading result (신속한 평가결과를 제공하는 웹기반 프로그래밍 교육시스템)

  • Park, So-Young;Ryu, Hye-Jung;Shim, Dong-Uk
    • Proceedings of the Korean Institute of Information and Commucation Sciences Conference
    • /
    • 2009.05a
    • /
    • pp.511-514
    • /
    • 2009
  • Recently web is used for more things than ever before in education. Previous web-based programming education systems help students to check compile errors and runtime errors after submitting programming assignments anytime and anywhere. However, these previous systems cannot quickly provide the detailed assessment results on the generated answer, the coding style, and the plagiarism detection. In this paper, we propose a web-based programming education system to provide the quick results of the detailed assessment as soon as to submit programming assignments. In this system, the plagiarism detection method compares a current file with only the already uploaded files so it can provide quick feedback. The proposed web-based programming education system is applied to a real C programming language class with approximately 40 students. The proposed system tends to improve the students' participation by quick feedback.

  • PDF

Development of a User-Friendly Application for Voltage Sag Analysis

  • Park Chang-Hyun;Jang Gil-Soo;Kim Chul-Hwan;Kim Jae-Chul
    • Journal of Electrical Engineering and Technology
    • /
    • v.1 no.2
    • /
    • pp.145-152
    • /
    • 2006
  • This paper presents a windows application for voltage sag analysis and effective data visualization. The developed Voltage Sag Analysis Tool (VSAT) was designed by using the Object-Oriented Programming (OOP) concept and C++ programming language. The VSAT provides basic functions for voltage sag analysis such as power flow analysis, short circuit analysis and stochastic analysis. In particular, the VSAT provides effective data visualization through computer graphics and animation. Analysis results are expressed realistically and intuitively on geographical display. The Graphic User Interface (GUI) of VSAT was designed specifically for voltage sag analysis. In this paper, the development and implementation of VSAT is presented. In order to demonstrate the capabilities of VSAT, it is used to analyze the Jeju Island power system in South Korea.

Comparative Analysis of Learning Effect Between Text-Based Programming Learning and Robotics Programming Learning (텍스트 기반 프로그래밍 학습과 로보틱스 프로그래밍 학습 간의 학습 효과 비교 분석)

  • Kim, Se-Min;Chung, Jong-In;Moon, Chae-Young
    • Proceedings of the KAIS Fall Conference
    • /
    • 2010.11b
    • /
    • pp.692-695
    • /
    • 2010
  • 본 논문에서는 정보교과에서 알고리즘 및 프로그래밍 관련 학습을 진행하는데 있어서, 기존의 텍스트 기반 프로그래밍과 로보틱스 프로그래밍으로 프로그래밍 학습을 하였을 때의 학습 효과에 대해서 분석하였다. 연구는 초등학교 고학년 학생들을 대상으로 하였고, 학습에 필요한 학습 프로그램은 기존 텍스트기반 프로그래밍 학습 도구로는 Visual C를, 로보틱스 프로그래밍 학습도구로는 MSRDS(Microsoft Robotics Developer Studio)에서 제공하는 Visual Programming Language를 이용하였다. 그 결과 학생들의 흥미도와 몰입도가 상승하였고, 알고리즘 이해도와 과제 수행 능력이 증가하였음을 확인할 수 있었다. 본 연구에서 제안하는 로보틱스 프로그래밍 학습은 개정 교육과정에서 제안하는 알고리즘을 통한 문제해결능력 신장에 도움이 될 것으로 기대한다.

  • PDF

A Study on the Implementation of Inheritance Anomaly in Concurrent Programming (병행 프로그래밍에서 상속 이상의 구현에 관한 연구)

  • Cho, Myung-Hyun;Lee, Myung-Un
    • The Transactions of the Korean Institute of Electrical Engineers P
    • /
    • v.54 no.1
    • /
    • pp.53-57
    • /
    • 2005
  • When concurrency is integrated to programming language, problem more than inheritance remains yet. Because more than inheritance happens by collision or cross fire between synchronization and inheritance of same time object, when synchronization code is not detached properly from method code about same time object, it makes expanded of code to make derivation class change synchronization code of super class and method code. In this paper, minimize right of inheritance method, When subclass is introduced to new synchronization limitation condition, wish to solve problem more than inheritance of three types that happen in same time programming embodying C++ class that do so that can avoid alteration of method reed.

Nonlinear programming approach for a class of inverse problems in elastoplasticity

  • Ferris, M.C.;Tin-Loi, F.
    • Structural Engineering and Mechanics
    • /
    • v.6 no.8
    • /
    • pp.857-870
    • /
    • 1998
  • This paper deals with a special class of inverse problems in discrete structural plasticity involving the identification of elastic limits and hardening moduli on the basis of information on displacements. The governing equations lead naturally to a special and challenging optimization problem known as a Mathematical Program with Equilibrium Constraints (MPEC), a key feature of which is the orthogonality of two sign-constrained vectors or so-called "complementarity" condition. We investigate numerically the application of two simple algorithms, both based on the use of the general purpose nonlinear programming code CONOPT accessed via the GAMS modeling language, for solving the suitably reformulated problem. Application is illustrated by means of two numerical examples.

Development of Off-line Simulator for Industrial Robots with Auto-teaching (자동교시기능을 갖는 산업용 로봇의 3차원 오프라인 시뮬레이터 개발)

  • 정동연;한성현
    • Journal of the Korean Society for Precision Engineering
    • /
    • v.20 no.12
    • /
    • pp.80-88
    • /
    • 2003
  • We propose a new technique to design an unmaned integrating control system based-on Windows XP version off-Line Programming System which can simulate a dynamic model of robot manipulator in three dimensions graphics space in this paper. The robot with 4 and 6 axes modeled SM5 and AM1 respectively were adopted as an objective model. Forward kinematics, inverse kinematics and robot dynamics modeling were included in the developed off-line program. The interface between users and the off$.$line programming system in the Windows XP's graphic user interface environment was also studied. The developing language is Microsoft Visual C++. Graphic libraries, OpenGL, by silicon Graphics, Inc. were utilized for three dimensions graphics.

The Application to the Programming Education Using LabVIEW OOP (LabVIEW OOP를 활용한 프로그래밍 교육의 적용 방안)

  • Jung, Min-Po;Cho, Hyuk-Gyu;Jung, Deok-Gil
    • Proceedings of the Korean Society of Computer Information Conference
    • /
    • 2012.01a
    • /
    • pp.147-148
    • /
    • 2012
  • 일반적으로 프로그램을 배우는 초보자들은 텍스트 기반으로 프로그램을 하는 것이 매우 어렵다. 이러한 문제를 쉽게 풀기 위한 한 방법이 Visual C++, Visual Basic, Delphi와 같은 비주얼 프로그램으로 구현하는 것이다. 그러나 이러한 프로그램을 배우는 학습자들 역시, 비주얼 컴포넌트 작동에 대한 텍스트 프로그래밍을 어려워하고 있다. 논문에서는 이러한 문제를 해결하기 위해 논리적 사고를 표현하고 객체지향을 지원하기 위해 UML을 도입하고 텍스트 프로그래밍 요소를 비주얼 프로그래밍 요소로 대체하기 위해 객체지향을 지원하는 LabVIEW OOP를 사용하여 학습자들에게 프로그래밍 교육을 하는 방법을 제시하였다. 또한, 제시된 프로그래밍 교육 방법에 대해 설문조사를 실시하여 교육적인 효과를 분석하였다.

  • PDF

A Study of the Automation of Factory through the Development of UniSet (UniSet개발을 통한 공장자동화에 관한 연구)

  • Park, K.H.;Kim, S.C.
    • Journal of the Korean Society for Precision Engineering
    • /
    • v.14 no.2
    • /
    • pp.84-91
    • /
    • 1997
  • This paper reports the effort for developing this new Unified Manufacturing Instruction Set and its environment, called here UniSet, to deal with difficulties in set up and operation of Flexible Manufacturing Cells, UniSet has been developed as a non-exclusive unified manufacturing instruction set based on com- parisons of the prevailing machine tool and programming primitives. UniSet allows programmers to deal with only one instruction set, if they so desire, in a single coherent enviroment, rather than numerous machine programming languges. The software system is coded in an Object-Oriented Programming (OOP) language, Smalltalk, and derives its paradigm from the OO philosophy. Test results are also includ- ed to demonstrate the applicability of the approach employed.

  • PDF