• Title/Summary/Keyword: Block Programming

Search Result 181, Processing Time 0.024 seconds

Implementation of a Scheme Mobile Programming Application and Performance Evaluation of the Interpreter (Scheme 프로그래밍 모바일 앱 구현과 인터프리터 성능 평가)

  • Dongseob Kim;Sangkon Han;Gyun Woo
    • The Transactions of the Korea Information Processing Society
    • /
    • v.13 no.3
    • /
    • pp.122-129
    • /
    • 2024
  • Though programming education has been stressed recently, the elementary, middle, and high school students are having trouble in programming education. Most programming environments for them are based on block coding, which hinders them from moving to text coding. The traditional PC environment has also troubles such as maintenance problems. In this situation, mobile applications can be considered as alternative programming environments. This paper addresses the design and implementation of coding applications for mobile devices. As a prototype, a Scheme interpreter mobile app is proposed, where Scheme is used for programming courses at MIT since it supports multi-paradigm programming. The implementation has the advantage of not consuming the network bandwidth since it is designed as a standalone application. According to the benchmark result, the execution time on Android devices, relative to that on a desktop, was 131% for the Derivative and 157% for the Tak. Further, the maximum execution times for the benchmark programs on the Android device were 19.8ms for the Derivative and 131.15ms for the Tak benchmark. This confirms that when selecting an Android device for programming education purposes, there are no significant constraints for training.

A Mathematical Programming Approach for Block Storage Problem in Shipbuilding Process (수리 모형을 이용한 조선 산업에서의 블록 적치장 최적 운영 계획 도출)

  • Ha, Byung-Hyun;Son, Jung-Ryoul;Cho, Kyu Kab;Choi, Byung-Cheon
    • Korean Management Science Review
    • /
    • v.30 no.3
    • /
    • pp.99-111
    • /
    • 2013
  • This paper studies the scheduling problem of storing and retrieving assembly blocks in a temporary storage yard. The objective is to minimize the number of relocations of blocks while the constraints for storage and retrieval time windows are satisfied. We present an integer programming model based on multi-commodity network flows, and the three revised models based on the properties of the problem. We show that the revised models are more efficient than the generic model through the numerical experiments.

A Modular Simulation Model for Turbocharged Diesel Engines (터보과급기가 부착된 디젤엔진의 모듈화된 시뮬레이션 모델)

  • 강동헌;홍금식;이교일
    • Journal of Institute of Control, Robotics and Systems
    • /
    • v.4 no.5
    • /
    • pp.680-688
    • /
    • 1998
  • A modular programming approach for simulation/control of turbocharged diesel engines is investigated. The MATLAB/SIMULINK, which provides easy construction of various control modules and handy retrieval of objects, is adopted as a programming environment. The mathematical models for diesel engines are utilized from the literature. The object-oriented modules, which represent mechanical parts or theoretical algorithms for engines, are easily transferable to other application programs in the same environment. The simulation model is applied to a 4 strokes diesel engine. Details of the block diagrams of example modules are demonstrated. Finally, a PI controller and a sliding mode controller are applied to the simulator constructed for a typical turbocharged diesel engine.

  • PDF

Geometric Programming Applied to Multipoint-to-Multipoint MIMO Relay Networks

  • Kim, Jaesin;Kim, Suil;Pak, Ui-Young
    • Journal of Communications and Networks
    • /
    • v.17 no.3
    • /
    • pp.241-246
    • /
    • 2015
  • In this paper, we consider a relaying system which employs a single relay in a wireless network with distributed sources and destinations. Here, all source, destination, and relay nodes are equipped with multiple antennas. For amplify-and-forward relay systems, we confirm the achievable sum rate through a joint multiple source precoders and a single relay filter design. To this end, we propose a new linear processing scheme in terms of maximizing the sum rate performance by applying a blockwise relaying method combined with geometric programming techniques. By allowing the global channel knowledge at the source nodes, we show that this joint design problem is formulated as a standard geometric program, which can guarantees a global optimal value under the modified sum rate criterion. Simulation results show that the proposed blockwise relaying scheme with the joint power allocation method provides substantial sum rate gain compared to the conventional schemes.

A theoretical study for effects about learning transfer between two more languages in programming education (프로그래밍 교육에서 2개 이상 프로그래밍 언어의 학습 전이 효과에 대한 이론적 고찰)

  • Yi, Soyul;Lee, Youngjun
    • Proceedings of the Korean Society of Computer Information Conference
    • /
    • 2018.01a
    • /
    • pp.99-100
    • /
    • 2018
  • 컴퓨팅 사고력이 강조됨에 따라 우리 나라를 비롯한 세계 여러 나라에서는 프로그래밍 교육 등 컴퓨팅 관련 교육을 실시하고 있다. 일반적으로 프로그래밍 교육에서 초보 학습자에게는 블록 기반 프로그래밍 언어를 학습한 후 텍스트 기반 프로그래밍 언어를 학습하게 된다. 블록 기반 언어와 텍스트 기반 언어는 동일한 프로그래밍 논리를 함양하게 되지만, 다른 모든 언어들과 마찬가지로 언어 특성, 사용법, 형태 등 다소 차이가 있다. 따라서 본 논문에서는 블록 기반 프로그래밍 언어에서 텍스트 기반 프로그래밍 언어의 학습 전이의 효과에 대해 이론적 고찰을 실시하였으며, 그 결과 대부분의 연구에서 긍정적 전이 효과를 입증하였음을 확인하였다.

  • PDF

Synthesizing a Boolean Function of an S-box with Integer Linear Programming (수리계획법을 이용한 S-box의 부울함수 합성)

  • 송정환;구본욱
    • Journal of the Korea Institute of Information Security & Cryptology
    • /
    • v.14 no.4
    • /
    • pp.49-59
    • /
    • 2004
  • Boolean function synthesize problem is to find a boolean expression with in/outputs of original function. This problem can be modeled into a 0-1 integer programming. In this paper, we find a boolean expressions of S-boxes of DES for an example, whose algebraic structure has been unknown for many years. The results of this paper can be used for efficient hardware implementation of a function and cryptanalysis using algebraic structure of a block cipher.

Exploring of Collaborative Strategy for Pre-service Teacher's Block-based Programming Education (예비교사의 블록 기반 프로그래밍 교육을 위한 협업전략 탐구)

  • Sung, Younghoon
    • Journal of The Korean Association of Information Education
    • /
    • v.24 no.4
    • /
    • pp.401-412
    • /
    • 2020
  • Team-based programming methods are widely applied to solve various difficulties that pre-service teachers experience in the programming lessons. To prepare effective collaboration strategies necessary for them, it is necessary to analyze various collaborative factors that affect learners' programming competencies. Therefore, in this article, a questionnaire survey was conducted by dividing learners' collaboration factors into individual and team competencies, and the relationship between learners' programming competencies was analyzed. As a result of the verification, the program design competency showed significant results in all elements of the learner's personal competency, team techniques such as data sharing skills necessary for collaboration, and team collaboration. It was analyzed that an individual's understanding of learning and team collaboration influenced the program implementation competency. In addition, the group with relatively high team technique showed significant differences in programming competence, interest, and satisfaction. Accordingly, by linking meaningful factors related to individual and team competencies according to the programming process, a collaborative strategy practically necessary for pre-service teachers was suggested.

Java and C/C++ Mixed Programming (자바와 C/C++의 혼합 프로그래밍)

  • Kim, Sang-Hoon
    • Journal of Korea Multimedia Society
    • /
    • v.13 no.10
    • /
    • pp.1514-1524
    • /
    • 2010
  • The standard Java class library does not support the platform-dependent features needed by the application. Therefore, the Java application including the platform -dependent features must supplement the required features by invoking native functions using JNI. The native language programmer has to explicitly specify how to connect to various Java objects and later to disconnect from them. In this paper, I suggest a way to avoid these annoying works. The native method in the pure java class can not contain a native code block. By providing a native code block for the native method, it is possible for programmer to write a native code without being aware of JNI. To achieve this, I introduced the native class that is a java class on the native environment, and made it possible to interchange data by placing an arbitrator between the java class and the native class.

Design of Machine Learning Education Program for Elementary School Students Based on Sound Data (소리 데이터를 활용한 블록 기반의 초등 머신러닝 교육 프로그램 설계)

  • Ko, Seunghwan;Lee, Junho;Moon, Woojong;Kim, Jonghoon
    • 한국정보교육학회:학술대회논문집
    • /
    • 2021.08a
    • /
    • pp.7-11
    • /
    • 2021
  • This study designs block-based machine learning education program using sound data that can be easily applied in elementary schools. The education program designed its goals and directions based on the results of a demand analysis conducted on 70 elementary school teachers in advance according to the ADDIE model. Scratch in Machine Learning for Kids was used for block-based programming, and the education program was designed to discover regularity of data values using sound data, learn the principles of artificial intelligence, and improve computational thinking in the programming process. In a later study, the education program needs to verify what changes there are in attitudes and computational thinking about artificial intelligence.

  • PDF