• Title/Summary/Keyword: C programming language

Search Result 324, Processing Time 0.023 seconds

Improvement of Evaluation of Programming Practice in Secondary Informatics· Computer Teacher Appointment Test (정보· 컴퓨터 중등교사 임용시험에서 프로그래밍 실기 평가의 개선 방안)

  • Kang, Oh-Han
    • The Journal of Korean Association of Computer Education
    • /
    • v.22 no.6
    • /
    • pp.1-10
    • /
    • 2019
  • As the 2015 revised curriculum is implemented and the software education is emphasized, the education field demands more informatics teachers with computational thinking and programming skills. In this thesis, we have studied ways to improve the practical evaluation of informatics·computer teacher-appointment test so that a preliminary teacher can be selected through the evaluation of programming skills. We analyzed existing informatics·computer appointment tests and conducted questionnaires for professors and teachers to suggest improvement and expansion of practical skill evaluation. According to the results from the questionnaire, 88% of the respondents answered that expanding the evaluation of programming practice is necessary. In the questionnaires regarding the programming language, the number of questions, and the test time, the highest response rate was C language(51%), 5 questions(66%) and 2 hours(56%).

A C++ Extension based on a Parameterized Dataflow Model for Embedded Streaming Applications (내장형 스트리밍 어플리케이션을 위한 매개변수 데이터플로우 모델 기반의 C++ 확장)

  • Choi, Yoon-Seo;Lin, Yuan
    • Journal of KIISE:Computing Practices and Letters
    • /
    • v.15 no.4
    • /
    • pp.231-243
    • /
    • 2009
  • Many DSP systems are streaming applications in which streams of data constantly flow through a set of filters. Dataflow programming paradigm is one of effective methods for representing these streaming applications. Dataflow programming model explicitly exposes parallelisms within an application, which helps compiling of the application onto a multicore platform. We propose SPEX(Signal Processing Extension), a language extension to a standard imperative language based on the parameterized dataflow model. Parameterized dataflow model is a kind of dataflow model that can express a modest fashion of dynamism contrary to the synchronous dataflow that can represent only static dataflow. SPEX facilitates characterizing an application written in conventional imperative languages such C/C++ as a streaming application. SPEX is comprised of a few keywords augmented to the conventional C++ syntax for representing dataflow paradigm. SPEX also restricts the syntax and semantics of C++ in order to fit the program within a certain streaming programming category. In this paper, we focus on the capability of SPEX in representing streaming computations within filters and streaming communications among filters.

An Extension to Time-out Facility in C Language for Embedded Real-Time Programming (내장 실시간 프로그래밍을 위한 C 언어의 타임아웃 기능의 확장)

  • Lee, Sheen;Yang, Seung-Min
    • Journal of KIISE:Computing Practices and Letters
    • /
    • v.8 no.4
    • /
    • pp.423-429
    • /
    • 2002
  • Time-out is one of the basic but important functions in real-time programming. However, the C language used commonly in the embedded real-time systems doesn't support this capability. For this capability, there have been numerous studies on language extension and/or special purpose real-time kernel (or engine). Those require preprocessor or new kernel support. In this paper, we propose a time-out facility supported by a library and some macro functions with a minimum dependency on operating systems. Furthermore, we also provide a structured _within statement, a macro function which makes programming easy. We have implemented this for the LINUX and the DOS environment, and for the POSIX multithread environment as well.

Analysis of Programming Questions of the Informatics·Computer Secondary Teacher Recruitment Examination (정보·컴퓨터 중등교사 임용시험의 프로그래밍 문항 분석)

  • Kang Oh Han
    • KIPS Transactions on Computer and Communication Systems
    • /
    • v.12 no.10
    • /
    • pp.291-298
    • /
    • 2023
  • In this paper, we study whether the programming questions of the Informatics·Computer recruitment tests were suitable for selecting teachers with required programming skills. The average points of the programming questions constituted 38%(20.8 points) of the total scores for the entire curriculum based on the results from analyzing the previous questions in the past 5 years. Moreover, the distribution of points for each evaluation criteria within programming and data structure, two exam subjects which have a high proportion of programming questions, demonstrated a large deviation ranging from 0% to 47% and 0% to 53% respectively. In this study, a questionnaire survey was conducted on 31 teachers to examine if the previous programming questions were suitable for measuring teachers' competency in programming abilities required in the actual teaching experience. Computational thinking ability was ranked the highest at 58% in response to the area that needs to be evaluated in the recruitment test. In response to the relevance of previous questions, problem solving ability was ranked the highest at 2.84 on a 5-point scale, but the overall appropriateness was deemed low. C language and Python were regarded as the computer languages suitable to be tested for programming questions with each ranked 55% and 45%. The finding confirms that teachers preferred Python and the incumbent C language to others. Based on the results of the questionnaire, we recommend changes in the programming questions to improve the selection criteria.

A Study on the Effect of Format String on Secure Programming in C Language (C언어에서 포맷 스트링이 프로그램 보안에 미치는 영향)

  • Lee, Hyung-Bong;Cha, Hong-Jun;Choi, Hyung-Jin
    • The KIPS Transactions:PartC
    • /
    • v.8C no.6
    • /
    • pp.693-702
    • /
    • 2001
  • One of the major characteristics of C language is that it allows us to use pointer type variables to access any area of virtual address space. So, we can read/write/execute from/to virtual memory area not controlled delicately by operating system. We can access such memory area by using format string and it can be a vulnerability of C language from the point of secure programming. In this paper, we analyze in detail the process of security attack based on format string and then exploit a new virus style attack which is stepwise and durable with some actual scenarios to warn the severity of it, and grope for some preliminary responding actions.

  • PDF

A Study on the Development and Construction of a programming language for SCARA Type Robots (SCARA형 로보트의 프로그래밍 언어개발 및 구성에 관한 연구)

  • 고명삼;이범희;이기동;김대원
    • The Transactions of the Korean Institute of Electrical Engineers
    • /
    • v.37 no.11
    • /
    • pp.796-803
    • /
    • 1988
  • In this paper, the design method, design techniques and structure of a language for a SCARA type industrial robot, are presented. The proposed new language is modular and expandable using the C programming language and the 8086 assembly language. It is composed of monitor mode which controls the main flow of the programs, editing mode which generates, corrects and edits the programs, execution mode which executes the generated programs, I/O mode which interacts with the external devices, and teach mode. The developed language is implemented on the robot controller to verify its performance.

  • PDF

A Study on a programming Language of SCARA type Robot (SCARA형 로보트의 프로그램형 언어 구성에 관한 연구)

  • Lee, Ki-Dong;Ko, Myoung-Sam;Ha, In-Joong;Lee, Bum-Hee
    • Proceedings of the KIEE Conference
    • /
    • 1987.07a
    • /
    • pp.270-274
    • /
    • 1987
  • In this paper, the design method, design techniques and structure of a language for a SCARA type industrial robot, are presented. The proposed new language is modular and expandable using the C programming language and the 8086 assembly language. It is composed of monitor mode, editor mode, execution mode, I/O mode and teach mode. The developed language is implemented on the robot controller to verify its performance.

  • PDF

TCP/IP communication between LabVIEW and C language for Smart Grid Monitoring System (C 언어로 구현된 스마트 그리드 모니터링 시스템을 위한 LabVIEW와 C 언어의 TCP/IP통신)

  • Kim, Jueun;Choi, Nam-Sup;Yang, Hyo-Sik;Han, Byung-Moon
    • Proceedings of the KIPE Conference
    • /
    • 2010.11a
    • /
    • pp.359-360
    • /
    • 2010
  • In smart grid system which uses photovoltaic system, fuel cells and so on, a program implemented with C language is used for control and measurement. When using programs implemented with C language GUI is difficult to watch control and monitor the smart grid system. But LabVIEW is a graphical programming language and it is easy to design GUI screen and to manage many variables such as real-time output of electric power including solar cell, wind power system and fuel cell. This paper suggests LabVIEW and C-language TCP/IP communication for smart grid monitoring system i mplemented with C-language.

  • PDF

Analysis of a crop growth model using Unified Modeling Language

  • Kim, Kwang Soo;Kim, Do-Gyeom;Kim, Sey Hyun;Hwang, Grim;Jeong, Haneul
    • Proceedings of The Korean Society of Agricultural and Forest Meteorology Conference
    • /
    • 2011.11a
    • /
    • pp.12-14
    • /
    • 2011
  • Crop growth simulation models have been developed as research and management tools. When these models are needed to incorporate new knowledge on phenology and physiology of crops, programming languages have been used for development and documentation of these models. However, researchers may have limited skill in programming languages. Furthermore, software developer may find it challenging to improve the crop models because documentation of the models are rarely available. The Unified Modeling Language (UML) can provide a simple approach for development and documentation of model. A template for implementation of the model can be obtained using the UML, which would facilitate code re-use and model improvement.

  • PDF

A Visual Concurrent Programming Based on Extended State Transition Graph (확장 상태 전이 그래프에 기반을 둔 시각 병렬 프로그래밍)

  • Chung, Won-Ho;Hur, Hye-Jung
    • The Transactions of the Korea Information Processing Society
    • /
    • v.7 no.8
    • /
    • pp.2430-2441
    • /
    • 2000
  • A visual concurrent programming environment, called ESTGVP is designed and implemented, which is easy to understand, highly portable, and can represent parallel behaviors. For our purpose, a conventional state transition graph is extended so as to enable both of synchronous and asynchronous parallel operations. We call it extended state transition graph (ESTG). ESTGVP uses the ESTG and texts for programming, and makes it easy programming sequential and parallel behaviors. Also, it is easy to understand the control structure of a program because ESTGVP is a visual programming environment based on the graph. ESTGVP is written in Tel language and thus it is highly portable on various operating systems. It consists of three major components; edition, transformation and execution. If necessary, ESTG can be transformed into C or Tel language, and its execution is based on Tel.

  • PDF