• 제목/요약/키워드: C# programming language

검색결과 324건 처리시간 0.022초

프로그래밍 언어가 소프트웨어 복잡도에 미치는 영향에 관한 연구 : FORTRAN IV와 FORTRAN 77, PASCAL과 C의 비교 (A Study on the effects of programming Languages on Software Complexity : Comparison of FORTRAN IV vs. FORTRAN 77 and PASCAL vs. C)

  • 윤정모
    • 대한산업공학회지
    • /
    • 제19권3호
    • /
    • pp.59-70
    • /
    • 1993
  • This paper presents the results of experiments which compare the software complexity between programming languages, i.e, FORTRAN IV and FORTRAN 77, PASCAL and C language, respectively. Each experiment is performed to compare the complexity between programs of same problems using Halstead's method based on operator, and McCabe's based on data flow. As the results of 25 test programs experiments, FORTRAN 77 languages shows superiority to FORTRAN IV languages, and C than that of PASCAL languages, in the aspect of the global software complexity.

  • PDF

지연함수언어 Miranda의 G-기계 기반 번역기 개발 (Development of a G-machine Based Translator for a Lazy Functional Programming Language Miranda)

  • 이종희;최관덕;윤영우;강병욱
    • 한국정보처리학회논문지
    • /
    • 제2권5호
    • /
    • pp.733-745
    • /
    • 1995
  • 본 연구는 함수언어의 번역기 개발을 목적으로 한다. 이를 위하여 지연어의를 갖 는 원시함수 언어를 정의하고 그것의 번역기를 설계, 구현, 평가한다. 함수프로그램의 실행모형은 G-기계를 기반으로 한 컴비네이터 그래프축소이다. 번역기는 전체 4단계로 구성되며 원시프로그램을 C를 사용한 목적프로그램으로 번역한다. 번역기의 첫 번째 단계에서는 원시프로그램을 확장람다계산 그래프로 번역하고, 두 번째 단계에서 수 퍼컴비네이터그래프로 변환하고, 세 번째 단계에서 G-기계어 프로그램으로 번역하고, 마지막 단계에서 G-기계어 프로그램을 C로 번역한다. 생성된 목적 프로그램은 C 컴파 일러에 의해서 실행 프로그램은 번역한다. 번역기 구현은 UNIX환경에서 컴파일러 자동 화 도구인 YACC, Lex를 이용하여 구문분석기, 어휘분석기를 구현하고, 그 외의 루틴은 C로 구현한다. 본 논문에서는 번역기에 사용된 구현기법과 수행결과를 기술한다.

  • PDF

효과적인 프로그래밍언어 교육에 대한 연구 (A Study on Effective Education of Programming Language)

  • 조재수
    • 한국실천공학교육학회논문지
    • /
    • 제2권2호
    • /
    • pp.30-35
    • /
    • 2010
  • 본 논문에서는 학생들이 프로그래밍언어를 더 잘 이해하고, 프로그래밍 능력을 향상시킬 수 있는 몇 가지 방법을 제안한다. 현재 컴퓨터공학부뿐만 아니라, 전자공학, 메카트로닉스공학 등에서도 프로그래밍교육이 이루어지고 있으며, 특히 컴퓨터공학의 경우 프로그래밍 교과목은 가장 기본적인 교과목이라고 할 수 있다. 하지만, 컴퓨터 프로그래밍 언어를 이해하고, 주어진 프로그래밍 문제를 해석하여 프로그래밍언어로 구현하는 것에 많은 학생들이 어려움을 겪고, 프로그래밍언어를 가르치는 교수자들도 효과적인 프로그래밍 언어 교육에 관심이 많다. 학생들이 좀 더 잘 프로그래밍언어를 이해하고, 프로그래밍 기술을 향상시킬 수 있는 교육방법을 몇 가지 제안하면 다음과 같다. 첫째 학생들이 프로그래밍언어를 잘 이해하기 위해서는 먼저 컴퓨터 프로그램의 기본적인 동작원리 또는 컴퓨터구조에 대한 사전지식이 필요하다. 둘째 문법위주의 주입식 이론교육보다는 다양한 프로그래밍 예제실행 위주의 프로그래밍언어 교육이 더 효과적이다. 셋째 프로그램의 실행과정과 메모리 할당/해제 흐름에 대한 메모리상태 가시화교육이 필요하다. 넷째 효과적인 실습과 과제 프로그래밍문제들을 통한 프로그래밍 응용능력을 배양하도록 하자. 다섯째 본인 스스로 프로그래밍할 수 있도록 유도하고, 프로그래밍의 자유도를 충분히 부여하자. 마지막으로 텀프로젝트를 통한 개개인의 프로그래밍 능력을 극대화하는 것이 필요하다.

  • PDF

임베디드 시스템을 위한 실시간 함수형 반응적 프로그램 변환기 (Real-Time Functional Reactive Program Translator for Embedded Systems)

  • 이동주;우균
    • 정보처리학회논문지A
    • /
    • 제13A권6호
    • /
    • pp.481-488
    • /
    • 2006
  • 함수형 반응적 프로그래밍(FRP: Functional Reactive Programming)은 하스켈(Haskell)에 내장된 언어로서 두 핵심 고차 타입인 행위(Behavior)와 이벤트(Event)를 기반으로 반응적 시스템을 선언적으로 프로그래밍 한다. 이 논문은 다양한 제약사항을 가진 임비디드 시스템에 FRP를 이용하기 위해 실시간 함수형 반응적 프로그래밍(RT-FRP: Real-time Functional Reactive Programming) 변환기를 설계하고 구현한다. RT-FRP 변환기는 RT-FRP 언어의 기능적 의미론을 기반으로 RT-FRP 프로그램에서 C 프로그램을 생성한다. RT-FRP 변환기의 효과적인 변환을 입증하기 위해, 변환기에서 생성된 테스트 프로그램을 실제 임베디드 시스템, 레고 마인드스톰(LEGO Mindstorm)에 탑재하고 수행하였다. 실험 결과, RT-FRP를 이용할 경우 목적파일의 크기가 조금 증가하였으나 명령형 언어를 이용한 프로그램 보다 간결하게 반응적 시스템 소프트웨어를 프로그래밍 할 수 있었다.

Visual Programming을 활용한 Fractal 집합의 작성 (On Constructing fractal Sets using Visual Programming Language)

  • Hee, Geum-Young;Kim, Young-Ik
    • 한국산학기술학회:학술대회논문집
    • /
    • 한국산학기술학회 2002년도 춘계학술발표논문집
    • /
    • pp.115-117
    • /
    • 2002
  • In this paper, the degree-n bifurcation set as well as the Julia sets is defined by extending the concept of the Mandelbrot set to the complex polynomial $z^{n}{\;}+{\;}c(c{\;}\in{\;}C,{\;}n{\;}\geq{\;}2)$. Some properties of the degree-n bifurcation set and the Julia sets have been theoretically investigated including the symmetry, periodicity, boundedness, connectedness and the bifurcation points as well as the governing equation for the component centers. An efficient algorithm constructing both the degree-n bifurcation set and the Julia sets is proposed using theoretical results. The mouse-operated software calico "MANJUL" has been developed for the effective construction of the degree-n bifurcation set and the Julia sets in graphic environments with C++ programming language under the windows operating system. Simple mouse operations can construct and magnify the degree-n bifurcation set as well as the Julia sets. They not only compute the component period, bifurcation points and component centers but also save the images of the degree-n bifurcation set and the Julia sets to visually confirm various properties and the geometrical structure of the sets. A demonstration has verified the useful versatility of MANJUL.

Development of teaching and learning materials using Arduino and piezo buzzer

  • Lee, Eun-Sang
    • 한국컴퓨터정보학회논문지
    • /
    • 제25권12호
    • /
    • pp.349-357
    • /
    • 2020
  • 본 연구에서 저자는 C언어 프로그래밍 교육에서 아두이노를 활용한 교수-학습 자료의 개발 사례를 제시하고자 하였다. 이를 위해 주제 선정-구현 방법 탐색-실험-교수학습자료 제작-수업 적용-개선 등 6단계의 저비용 마이크로컨트롤러 교수-학습 개발 모형을 이용하였다. 본 연구에서는 기존 아두이노 교재에 소개되어 있는 소스 코드와 회로의 구성을 분석한 후, 이를 프로그래밍 교육주제에 맞게 재구성하였다. 또한, 아두이노와 피에조 버저 등의 재료를 이용하여 간단히 회로를 구성하는 방법을 제시하여 회로 구성에 많은 시간이 소요되지 않게 하였다. 이 회로를 이용하여 여러 가지 프로그래밍 내용 요소의 교수-학습 활동에 활용한 사례를 제시하였다. 본 연구는 기존 화면상에서만 확인할 수 있는 C언어 프로그래밍 실습 내용을 직접 실물로 체험할 수 있는 사례를 제시하였다는 점에서 그 의의가 있다.

프로그래밍 언어의 통합 교육을 위한 웹 콘텐츠의 설계 및 운용 (Design and Application of Web Contents for Integrated Programming Language Course)

  • 서봉수;박성균
    • 한국콘텐츠학회논문지
    • /
    • 제7권8호
    • /
    • pp.226-233
    • /
    • 2007
  • 현재 많은 대학의 여러 전공에서 C 및 Java 프로그래밍 언어 교육을 위한 교과목이 개설되어 있지만 서로의 유사점 및 차이점을 명확히 비교하고 이해할 수 있는 통합된 형태의 교과목은 없다. 저자는 두 프로그래밍 언어의 중복성, 유사성 및 독립적 특징을 분석하고 수년간의 관련 과목 강의를 통하여 얻는 자료를 이용하여 통합된 형태의 단일 교과목을 개발하였다. 본 논문에서는 통합 교과목의 성공적이고 효과적인 운용에 반드시 필요한 웹 콘텐츠의 설계 및 구현과 이의 운용에 따른 효과를 소개한다. 웹 콘텐츠는 지속적이고 반복적인 실습을 통한 두 언어의 동시 습득의 기회를 제공하기 위한 메인 화면, 수업 자료 및 보조 자료, 그리고 게시판으로 구성되어 있다. 본 웹 콘텐츠의 교과목 실제 적용 결과 기존의 독립적 교과목의 운용에 비하여 학생의 이해도, 만족도 및 프로그래밍 능력이 현저히 향상되었음을 확인하였다.

Visual Programming을 활용한 Fractal 집합의 작성 (On Constructing Fractal Sets Using Visual Programming Language)

  • Geum Young Hee;Kim Young Ik
    • 한국산학기술학회논문지
    • /
    • 제3권3호
    • /
    • pp.177-182
    • /
    • 2002
  • 이 논문에서는 맨델브로트집합의 개념을 n차 복소 다항식 Zⁿ+c(c∈C, n≥2)에 확장하여 n차 분기집합 및 줄리아 집합을 정의하고, 이 집합의 대칭성, 유계성 및 연결성 등에 관하여 이론적으로 연구하였다. 그 연구결과를 이용하여 n차 분기집합 및 줄리아 집합을 효율적으로 작성하는 알고리즘을 고안하고, C++컴퓨터 언어를 사용하여 마이크로소프트사의 윈도우 운영체제하에서 사용자가 마우스를 조작하여 n차 분기집합 및 줄리아 집합을 구성할 수 있도록 소프트웨어 MANJUL을 개발하는 것이 본 논문의 목적이다. MANJUL 소프트웨어의 중요한 특징으로서 CUI(graphical user interfaces) 환경에서 단순한 마우스 조작을 통하여 n차 분기집합 및 줄리아 집합을 작성하고 그 일부분을 확대함은 물론, n차 분기집합 성분의 주기등을 계산 및 저장함으로써, 이 집합들의 다양한 이론적 성질과 기하학적 구조를 시각적으로 확인할 수 있도록 하였다.

  • PDF

Intermediate Language Translator for Execution of Java Programs in .NET Platform

  • Lee, Yang-Sun;Na, Seung-Won;Hwang, Dae-Hoon
    • 한국멀티미디어학회논문지
    • /
    • 제7권6호
    • /
    • pp.824-831
    • /
    • 2004
  • This paper presents the java bytecode-to-.NET MSIL intermediate language translator which enables the execution of the java program in .NET environments without JVM(java Virtual Machine), translating bytecodes produced by compiling java programs into MSIL codes. Java, one of the most widely used programming languages recently, is the language invented by James Gosling at Sun Microsystems, which is the next generation language independent of operating systems and hardware platforms. Java source code is compiled into bytecode as intermediate code independent of each platform by compiler, and also executed by JVM. .NET language such as C# and .NET platform in Microsoft Corp. has been developed to meet the needs of programmers, and cope with Java and JVM platform of Sun Microsystems. After compiling, a program written in .NET language is converted to MSIL code, and also executed by .NET platform but not in JVM platform. For this reason, we designed and implemented the java bytecode-to-.NET MSIL translator system for programs written in java language to be executed in the. NET platform without JVM. This work improves the execution speed of programs, enhances the productivity, and provides a environment for programmers to develop application programs without limitations of programming languages.

  • PDF

VHDL 설계 데이터베이스 구현 방법의 비교 연구 (A Comparative Study on Methods for Implementing VHDL Design Database)

  • 최승욱;최기영
    • 전자공학회논문지B
    • /
    • 제32B권7호
    • /
    • pp.966-973
    • /
    • 1995
  • In this paper, we compare several methods for implementing a VHDL design database through a case study on VHDL tool development system. We implemented three versions of the VHDL design database which the VHDL tool development system is based on. The first version was coded in the C programming language following value-oriented paradigm. The second one was coded in the C++ programming language following object-oriented paradigm. The third one was implemented using an existing object-oriented database. Based on our experience, we present quantitatively the pros and cons of each implementation method. The value-oriented version was most difficult to implement but showed good performance. Compared to the value- oriented version, the C++ version was twice as easy to implement and showed about the same performance. Using an existing object-oriented database allowed easiest implementation but resulted in a 1.5 to 6 times slower version.

  • PDF