FEASIBILITY AND PERFORMANCE STUDY OF LLMS ON MOBILE DEVICES FOR SUPPORTING C++ PROGRAMMING LEARNING

Learning C++ programming is a complex process that requires mastering both syntax and algorithmic thinking. This study aims to evaluate the feasibility of deploying large language models (LLMs) on mobile devices to support users in learning C++ more effectively. The research involved testing models such as DeepSeek-Coder, Llama, and Gemma, and applying optimization techniques like 4-bit and 8-bit quantization to reduce hardware resource consumption. Experiments measured model accuracy on C++ tasks, memory usage (VRAM, RAM), and inference speed under different optimization levels. Results showed that DeepSeek-Coder-1.3B achieved the highest accuracy among mobile-friendly models, solving around 40% of C++ problems with 3.2GB of VRAM—suitable for smartphones. Meanwhile, DeepSeek-V2-Lite-Instruct (4-bit) reached 64% accuracy but consumed 6GB VRAM, making it more appropriate for laptops. After quantization, the model ran stably on devices such as the Samsung A52S (8GB RAM), requiring approximately 1.9GB of system RAM (excluding OS usage), which ensures acceptable performance on mid-range mobile devices. The findings confirm that deploying LLMs on mobile platforms is feasible and holds significant potential in supporting programming education. In the future, the research team will continue to optimize performance and improve the user interface to enhance the overall learning experience.

Authors

Publication Details

Journal
Tạp chí Khoa học Lạc Hồng
Published
2025-09-30
DOI
https://doi.org/10.61591/jslhu.22.789
Primary Topic
Experimental Learning in Engineering
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

FEASIBILITY AND PERFORMANCE STUDY OF LLMS ON MOBILE DEVICES FOR SUPPORTING C++ PROGRAMMING LEARNING

Cao Thi Thanh, Nguyễn Văn Mạnh, Nguyen Le Van Thanh, Ha Hoang Phuc et al.
Tạp chí Khoa học Lạc Hồng
Experimental Learning in Engineering
article

FEASIBILITY AND PERFORMANCE STUDY OF LLMS ON MOBILE DEVICES FOR SUPPORTING C++ PROGRAMMING LEARNING

Cao Thi Thanh, Nguyễn Văn Mạnh, Nguyen Le Van Thanh, Ha Hoang Phuc, Truong Hoang Man, Pham Hoang Phuong, Vo Thi Anh Nhi
article en

Abstract

Learning C++ programming is a complex process that requires mastering both syntax and algorithmic thinking. This study aims to evaluate the feasibility of deploying large language models (LLMs) on mobile devices to support users in learning C++ more effectively. The research involved testing models such as DeepSeek-Coder, Llama, and Gemma, and applying optimization techniques like 4-bit and 8-bit quantization to reduce hardware resource consumption. Experiments measured model accuracy on C++ tasks, memory usage (VRAM, RAM), and inference speed under different optimization levels. Results showed that DeepSeek-Coder-1.3B achieved the highest accuracy among mobile-friendly models, solving around 40% of C++ problems with 3.2GB of VRAM—suitable for smartphones. Meanwhile, DeepSeek-V2-Lite-Instruct (4-bit) reached 64% accuracy but consumed 6GB VRAM, making it more appropriate for laptops. After quantization, the model ran stably on devices such as the Samsung A52S (8GB RAM), requiring approximately 1.9GB of system RAM (excluding OS usage), which ensures acceptable performance on mid-range mobile devices. The findings confirm that deploying LLMs on mobile platforms is feasible and holds significant potential in supporting programming education. In the future, the research team will continue to optimize performance and improve the user interface to enhance the overall learning experience.

Tạp chí Khoa học Lạc HồngVol. 1(22)
Openalex Percentile: Top 60%
Experimental Learning in Engineering
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

FEASIBILITY AND PERFORMANCE STUDY OF LLMS ON MOBILE DEVICES FOR SUPPORTING C++ PROGRAMMING LEARNING — Cao Thi Thanh, Nguyễn Văn Mạnh, et al. · Tạp chí Khoa học Lạc Hồng (2025) | TGRS Research Map | TGRS