• 제목/요약/키워드: Conditional Statement

검색결과 11건 처리시간 0.021초

조건추론에 대한 학생들의 이해 (Conditional Inferences in Students)

  • 박달원
    • 한국학교수학회논문집
    • /
    • 제12권3호
    • /
    • pp.307-317
    • /
    • 2009
  • 가정이 거짓인 조건명제가 참임을 설명하는 단서조항의 유무에 따라 조건명제와 조건추론에 대한 학생들의 바른 판정에는 유의미한 차이가 있고 실생활과 관련된 조건 명제와 형식적인 조건명제에 대한 중학생들의 진위판정에도 유의미한 차이가 있었지만 대학생들의 경우에는 유의미한 차이가 없는 것으로 조사되었다. 또한 형식적인 조건명제와 조건추론에 대한 학생들의 바른 판정 간에는 비교적 높은 상관관계가 있는 것으로 분석 되었다.

  • PDF

백트란 코드화를 위한 프로그램 변환과 단순화 (On the Program Conversion and Conditional Simplification for VECTRAN Code)

  • 황선명;김행곤
    • 한국정보처리학회논문지
    • /
    • 제1권1호
    • /
    • pp.38-49
    • /
    • 1994
  • 기존 포트란 프로그램을 벡터 처리 가능한 코드인 벡트란으로 변환시키는데 있어 서 가장 문제가 되는 것은 루프내에서 제어의 분기가 발생하는 경우 조건적 전달이 일어난다는 것이다. 조건적 전단이란 어떤 문장의 실행이 다른 문장내의 변수 값에 의 해 이루어지는 제어 의존성으로, 본 논문은 루프내부의 조건적 제어를 제거하기 위한 알고리즘과 조건적 할당문을 이용하였을 때 그 내부의 복잡한 조건에 대한 단순화 알 고리즘을 제시한다. 이 때 조건적 할당문의 조건은 부울 변수(2-상태)뿐 아니라 3가지 이상의 상태를 나타내는 n-상태변수를 통하여 나타낸다.

  • PDF

긍정논법 반례에 대한 선행연구와 확률 (On a Supposed Counterexample to Modus Ponens)

  • 김신;이진용
    • 논리연구
    • /
    • 제18권3호
    • /
    • pp.337-358
    • /
    • 2015
  • 반 멕기는 "A Counterexample to Modus Ponens"에서 긍정논법에 대한 "반례"를 제시했다. 이 반례에 대한 많은 논의들은 주로 조건문을 확률적 해석을 통해 이해하는 방식으로 이루어져 왔다. 이 논문은 (1) 긍정논법은 연역적으로 타당한 추론의 규칙이라는 것과 (2) 반례처럼 보이는 멕기의 사례들은 조건부 확률 개념 없이도 설명될 수 있고 또한 그렇게 설명되어져야 한다는 것을 보이고자 한다. 멕기의 사례들이 반례처럼 보이는 이유는 조건문의 애매성으로부터 비롯된다. 멕기의 사례들에 포함된 조건문들은 애매하게 사용되고 있다.

  • PDF

실행시간 예측가능한 실시간 메카니즘 제어언어의 구현기법 (Implementation technique of execution time predictable real-time mechanism control language)

  • 백정현;원유헌
    • 한국통신학회논문지
    • /
    • 제22권6호
    • /
    • pp.1365-1376
    • /
    • 1997
  • In this paper, we designed real time mechanism control language and proposed execution time analysis technique. It was impossible to handle real-time mechanism control programs like programmable controller, numerical controller, distributed control system and robot controller with general purpose programming languages and operating systems because they have to process electric signals generated by thousands of sensors at the same at the same time and in real time. So we made it possible to predict plausibility of time constraint constructs of tiem constraint construct of a real time application program at compilation time by adding time constraint constructs and mechanism synchronization structure to conditional statement and iteration statement of a programming language and developing execution time analysis technique.

  • PDF

프로그래밍형 자동화기기를 위한 실시간 메카니즘 제어언어의 설계 및 구현기법 (Design and implementation technique of real-time mechanism control language for programmable automation equipment)

  • 백정현;원용훈
    • 전자공학회논문지C
    • /
    • 제34C권11호
    • /
    • pp.29-38
    • /
    • 1997
  • As the trend of the automation is increasing, the usage of the programmable automation equipments like programmable controller(PC), numerical controller(NC), distributed control systems(DCS) and robot controller is greatly expanding in the area of the industrial equipments. But the development of the programing language for the programmable automatic equipment is rarely accomplished. In this paper, we propose design and implementation technique of the real-time mechanism control language by adding time constraint constructs and timing analysis constructs ot conditional statement and iteration statement of a programming language. Moreover, we made it possible to predict plausibility of time constraint constructs of a real time application program at compilation time and developing execution time analysiss technique.

  • PDF

Word-Based FCSRs with Fast Software Implementations

  • Lee, Dong-Hoon;Park, Sang-Woo
    • Journal of Communications and Networks
    • /
    • 제13권1호
    • /
    • pp.1-5
    • /
    • 2011
  • Feedback with carry shift registers (FCSRs) over 2-adic number would be suitable in hardware implementation, but the are not efficient in software implementation since their basic unit (the size of register clls) is 1-bit. In order to improve the efficiency we consider FCSRs over $2^{\ell}$-adic number (i.e., FCSRs with register cells of size ${\ell}$-bit) that produce ${\ell}$ bits at every clocking where ${\ell}$ will be taken as the size of normal words in modern CPUs (e.g., ${\ell}$ = 32). But, it is difficult to deal with the carry that happens when the size of summation results exceeds that of normal words. We may use long variables (declared with 'unsigned _int64' or 'unsigned long long') or conditional operators (such as 'if' statement) to handle the carry, but both the arithmetic operators over long variables and the conditional operators are not efficient comparing with simple arithmetic operators (such as shifts, maskings, xors, modular additions, etc.) over variables of size ${\ell}$-hit. In this paper, we propose some conditions for FCSRs over $2^{\ell}$-adic number which admit fast software implementations using only simple operators. Moreover, we give two implementation examples for the FCSRs. Our simulation result shows that the proposed methods are twice more efficient than usual methods using conditional operators.

REMARKS ON A PAPER OF LEE AND LIM

  • Hamedani, G.G.;Slattery, M.C.
    • 충청수학회지
    • /
    • 제27권3호
    • /
    • pp.475-477
    • /
    • 2014
  • Lee and Lim (2009) state three characterizations of Loamax, exponential and power function distributions, the proofs of which, are based on the solutions of certain second order non-linear differential equations. For these characterizations, they make the following statement : "Therefore there exists a unique solution of the differential equation that satisfies the given initial conditions". Although the general solution of their first differential equation is easily obtainable, they do not obtain the general solutions of the other two differential equations to ensure their claim via initial conditions. In this very short report, we present the general solutions of these equations and show that the particular solutions satisfying the initial conditions are uniquely determined to be Lomax, exponential and power function distributions respectively.

규칙에 기반한 한국어 부분 구문분석기의 구현 (Implementing Korean Partial Parser based on Rules)

  • 이공주;김재훈
    • 정보처리학회논문지B
    • /
    • 제10B권4호
    • /
    • pp.389-396
    • /
    • 2003
  • 본 논문에서는 문법검사기나 기계번역과 같은 실제 응용 시스템을 위한 한국어 부분 구문분석의 처리 대상을 정의하고, 규칙에 기반한 한국어 부분 구문분석기의 구현에 대해서 논의한다. 부분 구문분석기는 기본적으로 여러 개의 형태소나 단어가 구문적으로 하나의 구조에 속한 경우 이를 하나의 덩어리로 묶어주는 역할을 수행하며, 동시에 부가적인 작업을 수행할 수 있다. 또한 부분 구문분석기는 다양한 형태로 표현된 부분 구조를 표준 형태소 구조로 바꾸어 줌으로써, 상위 모듈의 처리에서 그 결과를 용이하게 사용할 수 있도록 한다. 본 논문에서는 한국어 부분 구문분석을 위해서 수동으로 작성된 140여 개의 규칙을 이용하였으며, 각 규칙은 일반적인 규칙과 마찬가지로 조건부와 행위부로 구성되었다. 부분 구문분석의 효율성을 관찰하기 위해서 일반적인 구문분석과 부분 구문분석을 포함한 구문분석을 비교하였다. 실험을 통해서 전자가 후자에 비해 약 두 배의 레코드 수가 요구됨을 알 수 있었다.

Parallel Machine에 있어서의 Functional, Declarative 언어의 Algorithm (Algorithm for Functional and Declarative Language in Parallel Machine)

  • 김진수
    • 자연과학논문집
    • /
    • 제5권2호
    • /
    • pp.39-43
    • /
    • 1992
  • 사용자의 관점에서 볼때는 compiler가 parallelism을 발견할 수 있게 하는것이 매우 요구되지만, 아무리 잘 만들어진 compiler 라 할지라도 conditional, functional 또는 I/O statement 등 프로그램내에 존재하는 많은 parallelism을 인식 하기가 결코 쉬운 일이 아니다. 경우에 따라서는 compiler의 parallelism 결정이 곤란할경우 사용자에게 feedback 시키는 경우가 종종 있다. 이런 입장에서 프로그래머는 parallelism을 바로 전달하기 위해서 프로그램의 일부를 재구성 시킬 필요가 자주 발생한다. 그러한 관점에서 Functional, Declarative 언어의 잇점이 있다고 할 수 있고, 그러기 위해서는 paralled machine에 적합한 Algorithm 이 필요하다. 그러나, 이미 사용중인 Algorithm이 Parallel Machine에 부적절 하다는 것을 의미 하는것은 아니다. 본 연구에서는, Fortran을 이용하여 Parallel Algorithm을 구현 시키기위한 Declarative 언어에 있어서 Array 및 Matrix 를 다루기위한 Abstraction 방법을 제시 하고자 한다.

  • PDF

유아인지발달을 위한 코딩게임의 개발과 적용 효과 (The Development and Application Effect of Coding Game for the Childhood Cognitive Development)

  • 홍대선;유미;이형구
    • 한국게임학회 논문지
    • /
    • 제18권5호
    • /
    • pp.103-112
    • /
    • 2018
  • 게임을 통해 순차, 반복문, 조건문 개념 학습이 가능하도록 개발된 유아교육용 코딩게임 "Ito2"를 소개하였다. 개발된 게임은 실제 어린이집 아동을 대상으로 모의수업과 실습수업의 두 단계의 과정을 거쳐서 코딩교육을 실시하여 그 실효성을 검증하였다. 코딩 교육을 실시함에 따라 공간, 관찰, 도형 및 측정, 분류, 비교 및 서열화, 부분과 전체의 총 6개 분야에 대한 유아 인지발달 능력 성취도의 추이를 관찰하여 그 변화 정도를 기술하였다. 본 논문은 재미 요소에 학습 요소를 더한 유아 기능성 코딩게임을 개발하고 개발된 게임을 어린이집 아이들이 학습게임으로 체험하면서 인지발달과 공간지각능력에 있어서 능력 향상이 이루어짐을 확인하였다.