• 제목/요약/키워드: Python Program

Search Result 113, Processing Time 0.023 seconds

A Study on Partial Scoring in Text Based Program Evaluation (텍스트 기반 프로그램 평가에서 부분점수 구성에 관한 고찰)

  • Lee, JaeYoung;Kim, JaMee;Lee, WonGyu
    • The Journal of Korean Association of Computer Education
    • /
    • v.22 no.2
    • /
    • pp.29-38
    • /
    • 2019
  • The evaluation of programs related to SW development often only provides the right answer of the student's program. The purpose of this study was to provide the baseline data about the contents of the program evaluation support the teacher's class and which part should be considered important in partial scoring. To accomplish the goal, we had two months of Python lessons for 90 middle school students in free-semester and analyzed 1185 source codes collected during the lessons. Result of analysis, many students made mistakes about syntax errors and teachers considered logic errors as important. Based on the result, it is necessary to reduce the student's syntax errors and teachers need to evaluate student's program with considering the importance of logical aspects and necessary to devise a partial scoring. This study has significance about consideration of program evaluation from the perspective of learning support and evaluation.

Preliminary study for the development of radiation safety evaluation methodology for industrial kV-rated radiation generator facilities

  • Hye Sung Park ;Na Hye Kwon ;Sang Rok Kim ;Hwidong Yoo;Jin Sung Kim ;Sang Hyoun Choi;Dong Wook Kim
    • Nuclear Engineering and Technology
    • /
    • v.55 no.10
    • /
    • pp.3854-3859
    • /
    • 2023
  • Background: This study aims to develop an evaluator that can quickly and accurately evaluate the shielding of low-energy industrial radiation generators. Methods: We used PyQt to develop a graphical user interface (GUI)-based program and employed the calculation methodology reported in the National Council on Radiation Protection and Measurements (NCRP)-49 for shielding calculations. We gathered the necessary factors for shielding evaluation using two libraries designed for Python, pandas and NumPy, and processed them into a database. We verified the effectiveness of the proposed program by comparing the results with those from safety reports of six domestic facilities. Results: After verifying the effectiveness of the program using the NCRP-49 example, we obtained an average error rate of 1.73%. When comparing the facility safety report and results obtained using the program, we found that the error rate was between 1.09% and 6.51%. However, facilities that did not use a defined shielding methodology were underestimated by 31.82% compared with the program (the final barrier thickness satisfied the shielding standard). Conclusion: The developed program provides a fast and accurate shielding evaluation that can assist personnel that work in radiation generator facilities and government officials in reviewing safety.

A Study on the Development of a Program for Predicting Successful Welding of Electric Vehicle Batteries Using Laser Welding (레이저 용접을 이용한 전기차 배터리 이종접합 성공 확률 예측 프로그램 개발에 관한 연구)

  • Cheol-Hwan Kim;Chan-Su Moon;Kwan-Su Lee;Jin-Su Kim;Ae-Ryeong Jo;Bo-Sung Shin
    • Journal of the Microelectronics and Packaging Society
    • /
    • v.30 no.4
    • /
    • pp.44-49
    • /
    • 2023
  • In the global pursuit of carbon neutrality, the rapid increase in the adoption of electric vehicles (EVs) has led to a corresponding surge in the demand for batteries. To achieve high efficiency in electric vehicles, considerations of weight reduction and battery safety have become crucial factors. Copper and aluminum, both recognized as lightweight materials, can be effectively joined through laser welding. However, due to the distinct physical characteristics of these two materials, the process of joining them poses technical challenges. This study focuses on conducting simulations to identify the optimal laser parameters for welding copper and aluminum, with the aim of streamlining the welding process. Additionally, a Graphic User Interface (GUI) program has been developed using the Python language to visually present the results. Using machine learning image data, this program is anticipated to predict joint success and serve as a guide for safe and efficient laser welding. It is expected to contribute to the safety and efficiency of the electric vehicle battery assembly process.

Study on the Selection of Optimal Operation Position Using AI Techniques (인공지능 기법에 의한 최적 운항자세 선정에 관한 연구)

  • Dong-Woo Park
    • Journal of the Korean Society of Marine Environment & Safety
    • /
    • v.29 no.6
    • /
    • pp.681-687
    • /
    • 2023
  • The selection technique for optimal operation position selection technique is used to present the initial bow and stern draft with minimum resistance, for achievingthat is, the optimal fuel consumption efficiency at a given operating displacement and speed. The main purpose of this studypaper is to develop a program to select the optimal operating position with maximum energy efficiency under given operating conditions based on the effective power data of the target ship. This program was written as a Python-based GUI (Graphic User Interface) usingbased on artificial intelligence techniques sucho that ship owners could easily use the GUIit. In the process, tThe introduction of the target ship, the collection of effective power data through computational fluid dynamics (CFD), the learning method of the effective power model using deep learning, and the program for presenting the optimal operation position using the deep neural network (DNN) model were specifically explained. Ships are loaded and unloaded for each operation, which changes the cargo load and changes the displacement. The shipowners wants to know the optimal operating position with minimum resistance, that is, maximum energy efficiency, according to the given speed of each displacement. The developed GUI can be installed on the ship's tablet PC and application and used to determineselect the optimal operating position.

Design and Implementation of a Language Supporting Compositional Approach to Multiparadigm Programming (결합 방식 멀티패러다임 프로그래밍을 지원하는 언어의 설계 및 구현)

  • Choi, Jong-Myung;Yoo, Chae-Woo
    • The KIPS Transactions:PartA
    • /
    • v.10A no.6
    • /
    • pp.605-614
    • /
    • 2003
  • In this paper we introduce a new style multiparadigm language named Argos which applies a compositional approach [20] to multiparadigm programming. Argos is a superset of the Java, and its grammar has an extension point which allows other languages to be used in Argos programs. Therefore, Argos can support object-oriented programming and multiparadigm programming by enabling each method in a class to be implemented with one of the Java, C, Prolog, Python, and XML languages. Since Argos allows the existing languages to be used, it has advantages such as easiness of learning and high reusability. The Argos compiler is implemented according to the delegating compiler object (DCO) model[28,29]. The compiler partitions a program Into several parts according to the languages used in methods and delivers the parts the languages' processors which compile the parts.

Development of an Emissions Processing System for Climate Scenario Inventories to Support Global and Asian Air Quality Modeling Studies

  • Choi, Ki-Chul;Lee, Jae-Bum;Woo, Jung-Hun;Hong, Sung-Chul;Park, Rokjin J.;Kim, Minjoong J.;Song, Chang-Keun;Chang, Lim-Seok
    • Asian Journal of Atmospheric Environment
    • /
    • v.11 no.4
    • /
    • pp.330-343
    • /
    • 2017
  • Climate change is an important issue, with many researches examining not only future climatic conditions, but also the interaction of climate and air quality. In this study, a new version of the emissions processing software tool - Python-based PRocessing Operator for Climate and Emission Scenarios (PROCES) - was developed to support climate and atmospheric chemistry modeling studies. PROCES was designed to cover global and regional scale modeling domains, which correspond to GEOS-Chem and CMAQ/CAMx models, respectively. This tool comprises of one main system and two units of external software. One of the external software units for this processing system was developed using the GIS commercial program, which was used to create spatial allocation profiles as an auxiliary database. The SMOKE-Asia emissions modeling system was linked to the main system as an external software, to create model-ready emissions for regional scale air quality modeling. The main system was coded in Python version 2.7, which includes several functions allowing general emissions processing steps, such as emissions interpolation, spatial allocation and chemical speciation, to create model-ready emissions and auxiliary inputs of SMOKE-Asia, as well as user-friendly functions related to emissions analysis, such as verification and visualization. Due to its flexible software architecture, PROCES can be applied to any pregridded emission data, as well as regional inventories. The application results of our new tool for global and regional (East Asia) scale modeling domain under RCP scenario for the years 1995-2006, 2015-2025, and 2040-2055 was quantitatively in good agreement with the reference data of RCPs.

Topic Modeling on Research Trends of Industry 4.0 Using Text Mining (텍스트 마이닝을 이용한 4차 산업 연구 동향 토픽 모델링)

  • Cho, Kyoung Won;Woo, Young Woon
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.23 no.7
    • /
    • pp.764-770
    • /
    • 2019
  • In this research, text mining techniques were used to analyze the papers related to the "4th Industry". In order to analyze the papers, total of 685 papers were collected by searching with the keyword "4th industry" in Korea Journal Index(KCI) from 2016 to 2019. We used Python-based web scraping program to collect papers and use topic modeling techniques based on LDA algorithm implemented in R language for data analysis. As a result of perplexity analysis on the collected papers, nine topics were determined optimally and nine representative topics of the collected papers were extracted using the Gibbs sampling method. As a result, it was confirmed that artificial intelligence, big data, Internet of things(IoT), digital, network and so on have emerged as the major technologies, and it was confirmed that research has been conducted on the changes due to the major technologies in various fields related to the 4th industry such as industry, government, education field, and job.

Development of Fine Dust Analysis Technology using IoT Sensor (IoT 센서를 활용한 미세먼지 분석 기술 개발)

  • Shin, Dong-Jin;Lee, Jin;Heo, Min-Hui;Hwang, Seung-Yeon;Lee, Yong-Soo;Kim, Jeong-Joon
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.21 no.1
    • /
    • pp.121-129
    • /
    • 2021
  • In addition to yellow dust occurring in China, fine dust has become a hot topic in Korea through news and media. Although there is fine dust generated from the outside, the purchase rate of air purifier products is increasing as external fine dust flows into the inside. The air purifier uses a filter internally, and the sensor notifies the user through the LED alarm whether the filter is replaced. However, there is currently no product measuring how much the filter rate is reduced and determining the pressure of the blower to operate. Therefore, in this paper, data are generated directly using Arduino, fine dust sensor, and differential pressure sensor. In addition, a program was developed using Python programming to calculate how old the filter is and to analyze the wind power of the blower according to the filter rate by calculating the measured dust and pressure values.

Spatial Rainfall Considering Elevation and Estimation of Rain Erosivity Factor R in Revised USLE Using 1 Minute Rainfall Data and Program Development (고도를 고려한 공간강우분포와 1분 강우자료를 이용한 RUSLE의 강우침식인자(R) 산정 및 프로그램 개발)

  • JUNG, Chung-Gil;JANG, Won-Jin;KIM, Seong-Joon
    • Journal of the Korean Association of Geographic Information Studies
    • /
    • v.19 no.4
    • /
    • pp.130-145
    • /
    • 2016
  • Soil erosion processes are affected by weather factors, such as rainfall, temperature, wind, and humidity. Among these factors, rainfall directly influences soil erosion by breaking away soil particles. The kinetic energy of rainfall and water flow caused by rain entrains and transports soil particles downstream. Therefore, in order to estimate soil erosion, it is important to accurately determine the rainfall erosivity factor(R) in RUSLE(Revised Universal Soil Loss Equation). The objective of this study is to evaluate the average annual R using 14 years(2002~2015) of 1 minute rainfall data from 55 KMA(Korea Meteorological Administration) weather stations. The R results from 1 min rainfall were compared with previous R studies using 1 h rainfall data. The determination coefficients($R^2$) between R calculated using 1 min rainfall data and annual rainfall were 0.70-0.98. The estimation of 30 min rainfall intensity from 1 min rainfall data showed better $R^2$ results than results from 1 h rainfall data. For estimation of physical spatial rain erosivity(R), distribution of annual rainfall was estimated by IDW(Inverse Distance Weights) interpolation, taking elevation into consideration. Because of the computation burden, the R calculation process was programmed using the python GUI(Graphical User Interface) tool.

Implementing Braille Display System Based on the IoT (사물인터넷 기반의 점자 표출 시스템 구현)

  • Seung-Bin Park;Bong-Hyun Kim
    • Journal of Internet of Things and Convergence
    • /
    • v.9 no.6
    • /
    • pp.29-35
    • /
    • 2023
  • Braille can be said to be an essential means used for the visually impaired to communicate or acquire information on visual materials in their lives. However, the rate of interpretation of braille among the visually impaired is insignificant at 5%. As a result, libraries for the visually impaired produce various types of materials that can obtain various information for the visually impaired and also have assistive technology equipment to interpret them. However, the publication rate of Braille books is too low to purchase and interpret Braille books. In addition, the Braille interpretation rate is too low, and the purchase of assistive technology devices is too expensive and slow. Therefore, in this paper, we implemented a system that displays Braille using Arduino to help visually impaired people in addition to the existing methods they use to obtain information. For Braille display, Korean data is transmitted from Python through serial communication between Python and Arduino, and Arduino, which receives the data, compares the Korean data with the data in the array in the program and retrieves the Braille values of the Korean data. Here, the Braille value was expressed by controlling the servo motor perpendicular or horizontal to the body using white and black circles based on the Braille list.