• Title/Summary/Keyword: Generative Programming

Search Result 13, Processing Time 0.023 seconds

Developing Programming Education Software with Generative AI (생성형 인공지능을 활용한 프로그래밍 교육 소프트웨어 개발)

  • Do-hyeon Choi
    • Journal of Practical Engineering Education
    • /
    • v.15 no.3
    • /
    • pp.589-595
    • /
    • 2023
  • Artificial intelligence(AI) is spurring advancements in EdTech, the merger of technology and education. This includes the creation of effective learning materials and personalized student experiences. Our study focuses on developing a programming education software that employs state-of-the-art generative AI. Our software also includes prompts optimized for programming code analysis, which are based on the well-known ChatGPT API. Furthermore, the necessary functions for acquiring programming skills were created with a user interface and developed as a question-and-answer template function based on an AI chatbot. The objective of this study is to guide the development of educational programmes that make use of generative AI.

A Framework to Automate Reliability-based Structural Optimization based on Visual Programming and OpenSees

  • Lin, Jia-Rui;Xiao, Jian;Zhang, Yi
    • International conference on construction engineering and project management
    • /
    • 2020.12a
    • /
    • pp.225-234
    • /
    • 2020
  • Reliability-based structural optimization usually requires designers or engineers model different designs manually, which is considered very time consuming and all possibilities cannot be fully explored. Otherwise, a lot of time are needed for designers or engineers to learn mathematical modeling and programming skills. Therefore, a framework that integrates generative design, structural simulation and reliability theory is proposed. With the proposed framework, various designs are generated based on a set of rules and parameters defined based on visual programming, and their structural performance are simulated by OpenSees. Then, reliability of each design is evaluated based on the simulation results, and an optimal design can be found. The proposed framework and prototype are tested in the optimization of a steel frame structure, and results illustrate that generative design based on visual programming is user friendly and different design possibilities can be explored in an efficient way. It is also reported that structural reliability can be assessed in an automatic way by integrating Dynamo and OpenSees. This research contributes to the body of knowledge by providing a novel framework for automatic reliability evaluation and structural optimization.

  • PDF

A Study on the Experience and Utilization of Generative AI-Based Classes - Focusing on Programming Classes (생성형 인공지능 기반 수업 경험 및 활용 방안에 대한 연구 - 프로그래밍 수업을 중심으로)

  • Jung-Oh Park
    • Journal of Practical Engineering Education
    • /
    • v.16 no.1_spc
    • /
    • pp.33-39
    • /
    • 2024
  • This study examines the changes in learners' positive/negative perceptions of classroom experience and actual utilisation of AI chatbots in response to the recent changes in education trends caused by generative AI. AI chatbots were utilised in web programming classes for six classes of engineering students over two semesters. The learners' experience and usage were analysed from the beginning of the semester through surveys until the submission of midterm and final examination reports. The study's results indicate that the chatbot enhanced learning by providing Q/A feedback and solving practical problems. Additionally, the perception of the chatbot improved from midterm to the end of the course. The study also drew meaningful conclusions about the issue of community disconnection (personalisation) in the classroom and how to use it as educational software. This research is significant for the development of generative AI-based software.

Automatic Component Reconfiguration Tool Based on the Feature Configuration and GenVoca Architecture (특성 구성과 GenVoca 아키텍처에 기반한 컴포넌트 재구성 자동화 도구)

  • Choi Seung Hoon
    • Journal of Internet Computing and Services
    • /
    • v.5 no.4
    • /
    • pp.125-134
    • /
    • 2004
  • Recently a lot of researches on the component-based software product lines and on applying generative programming into software product lines are being performed actively. This paper proposes an automatic component reconfiguration tool that could be applied in constructing the component-based software product lines. Our tool accepts the reuser's requirement via a feature model which is the main result of the domain engineering, and makes the feature configuration from this requirement. Then it generates the source code of the reconfigured component according to this feature configuration. To accomplish this process, the component family in our tool should have the architecture of GenVoca that is one of the most influential generative programming approaches. In addition, XSLT scripts provide the code templates for implementation elements which are the ingredients of the target component. Taking the ‘Bank Account' component family as our example, we showed that our component reconfiguration tool produced automatically the component source code that the reuser wants to create. The result of this paper would be applied extensively for creasing the productivity of building the software product lines.

  • PDF

Software Education Class Model using Generative AI - Focusing on ChatGPT (생성형 AI를 활용한 소프트웨어교육 수업모델 연구 - ChatGPT를 중심으로)

  • Myung-suk Lee
    • Journal of Practical Engineering Education
    • /
    • v.16 no.3_spc
    • /
    • pp.275-282
    • /
    • 2024
  • This study studied a teaching model for software education using generative AI. The purpose of the study is to use ChatGPT as an instructor's assistant in programming classes for non-major students by using ChatGPT in software education. In addition, we designed ChatGPT to enable individual learning for learners and provide immediate feedback when students need it. The research method was conducted using ChatGPT as an assistant for non-computer majors taking a liberal arts Python class. In addition, we confirmed whether ChatGPT has the potential as an assistant in programming education for non-major students. Students actively used ChatGPT for writing assignments, correcting errors, writing coding, and acquiring knowledge, and confirmed various advantages, such as being able to focus on understanding the program rather than spending a lot of time resolving errors. We were able to see the potential for ChatGPT to increase students' learning efficiency, and we were able to see that more research is needed on its use in education. In the future, research will be conducted on the development, supplementation, and evaluation methods of educational models using ChatGPT.

Generative AI parameter tuning for online self-directed learning

  • Jin-Young Jun;Youn-A Min
    • Journal of the Korea Society of Computer and Information
    • /
    • v.29 no.4
    • /
    • pp.31-38
    • /
    • 2024
  • This study proposes hyper-parameter settings for developing a generative AI-based learning support tool to facilitate programming education in online distance learning. We implemented an experimental tool that can set research hyper-parameters according to three different learning contexts, and evaluated the quality of responses from the generative AI using the tool. The experiment with the default hyper-parameter settings of the generative AI was used as the control group, and the experiment with the research hyper-parameters was used as the experimental group. The experiment results showed no significant difference between the two groups in the "Learning Support" context. However, in other two contexts ("Code Generation" and "Comment Generation"), it showed the average evaluation scores of the experimental group were found to be 11.6% points and 23% points higher than those of the control group respectively. Lastly, this study also observed that when the expected influence of response on learning motivation was presented in the 'system content', responses containing emotional support considering learning emotions were generated.

Two-stage layout-size optimization method for prow stiffeners

  • Liu, Zhijun;Cho, Shingo;Takezawa, Akihiro;Zhang, Xiaopeng;Kitamura, Mitsuru
    • International Journal of Naval Architecture and Ocean Engineering
    • /
    • v.11 no.1
    • /
    • pp.44-51
    • /
    • 2019
  • Designing sophisticate ship structures that satisfy several design criteria simultaneously with minimum weight and cost is an important engineering issue. For a ship structure composed of a shell and stiffeners, this issue is more serious because their mutual effect has to be addressed. In this study, a two-stage optimization method is proposed for the conceptual design of stiffeners in a ship's prow. In the first stage, a topology optimization method is used to determine a potential stiffener distribution based on the optimal results, whereupon stiffeners are constructed according to stiffener generative theory and the material distribution. In the second stage, size optimization is conducted to optimize the plate and stiffener sections simultaneously based on a parametric model. A final analysis model of the ship-prow structure is presented to assess the validity of this method. The analysis results show that the two-stage optimization method is effective for stiffener conceptual design, which provides a reference for designing actual stiffeners for ship hulls.

Development of Customized Textile Design using AI Technology -A Case of Korean Traditional Pattern Design-

  • Dawool Jung;Sung-Eun Suh
    • Journal of the Korean Society of Clothing and Textiles
    • /
    • v.47 no.6
    • /
    • pp.1137-1156
    • /
    • 2023
  • With the advent of artificial intelligence (AI) during the Fourth Industrial Revolution, the fashion industry has simplified the production process and overcome the technical difficulties of design. This study anticipates likely changes in the digital age and develops a model that will allow consumers to design textile patterns using AI technology. Previous studies and industrial examples of AI technology's use in the textile design industry were investigated, and a textile pattern was developed using an AI algorithm. A new textile design model was then proposed based on its application to both virtual and physical clothing. Inspired by traditional Korean masks and props, AI technology was used to input color data from open application programming interface images. By inserting these into various repeating structures, a textile design was developed and simulated as garments for both virtual and real garments. We expect that this study will establish a new textile design development method for Generation Z, who favor customized designs. This study can inform the use of personalization in generative textile design as well as the systemization of technology-driven methods for customized and participatory textile design.

Variability Support in Component-based Product Lines using Component Code Generation (컴포넌트 코드 생성을 통한 컴포넌트 기반 제품 라인에서의 가변성 지원)

  • Choi, Seung-Hoon
    • Journal of Internet Computing and Services
    • /
    • v.6 no.4
    • /
    • pp.21-35
    • /
    • 2005
  • Software product-lines is the software development paradigm to attain the rapid development of quality applications by customizing the reconfigurable components and composing them based on predefined software architectures. Recently various methodologies for the component-based product lines are proposed, but these don't provide the specific implementation techniques of the components in terms of variability resolution mechanism. In other hand, the several approaches to implement the component supporting the variabilities resolution are developed, but these don't define the systematic analysis and design method considering the variabilities from the initial phase. This paper proposes the integration of PLUS, the one of product line methodologies extending UML modeling, and component code generation technique in order to increase the efficiency of producing the specific product in the software product lines. In this paper, the component has the hierarchical architecture consisting of the implementation elements, and each implementation elements are implemented as XSLT scripts. The codes of the components are generated from the feature selection. Using the microwave oven product lines as case study, the development process for the reconfigurable components supporting the automatic variability resolution is described.

  • PDF

Denoise of Astronomical Images with Deep Learning

  • Park, Youngjun;Choi, Yun-Young;Moon, Yong-Jae;Park, Eunsu;Lim, Beomdu;Kim, Taeyoung
    • The Bulletin of The Korean Astronomical Society
    • /
    • v.44 no.1
    • /
    • pp.54.2-54.2
    • /
    • 2019
  • Removing noise which occurs inevitably when taking image data has been a big concern. There is a way to raise signal-to-noise ratio and it is regarded as the only way, image stacking. Image stacking is averaging or just adding all pixel values of multiple pictures taken of a specific area. Its performance and reliability are unquestioned, but its weaknesses are also evident. Object with fast proper motion can be vanished, and most of all, it takes too long time. So if we can handle single shot image well and achieve similar performance, we can overcome those weaknesses. Recent developments in deep learning have enabled things that were not possible with former algorithm-based programming. One of the things is generating data with more information from data with less information. As a part of that, we reproduced stacked image from single shot image using a kind of deep learning, conditional generative adversarial network (cGAN). r-band camcol2 south data were used from SDSS Stripe 82 data. From all fields, image data which is stacked with only 22 individual images and, as a pair of stacked image, single pass data which were included in all stacked image were used. All used fields are cut in $128{\times}128$ pixel size, so total number of image is 17930. 14234 pairs of all images were used for training cGAN and 3696 pairs were used for verify the result. As a result, RMS error of pixel values between generated data from the best condition and target data were $7.67{\times}10^{-4}$ compared to original input data, $1.24{\times}10^{-3}$. We also applied to a few test galaxy images and generated images were similar to stacked images qualitatively compared to other de-noising methods. In addition, with photometry, The number count of stacked-cGAN matched sources is larger than that of single pass-stacked one, especially for fainter objects. Also, magnitude completeness became better in fainter objects. With this work, it is possible to observe reliably 1 magnitude fainter object.

  • PDF