Building a fluid mechanics multiple-choice test program for smartphones with android operating system

On the basis of a set of Fluid Mechanics Multiple-Choice Tests (FMMCT) in the form of MS Word files, the author used the programming languages and open source programs Android Studio, PHP, Java Script, HTML, and Hot Potatoes 6 to proceed developing an FMMCT program FluidMCT, operating on smartphones with the Android operating system, to create favorable conditions for learning fluid mechanics better. The program consists of two parts: (1) The program to be installed on the smartphone created through the Android Studio Bumblebee Software j 2021.1.1 Patch 2 1 ; (2) The programs and databases are installed on the server. Hot Potatoes 6 software helps to create FMMCT lessons with results as HTML files containing JavaScript language to perform operations and scoring. Based on this sample test, 160 FMMCT lessons are conducted on the basis of sepa-rating the test content, the selected evaluation content and the JavaScript operating files in the form of *.js to optimize the saving process, storage and programming for big data. On the server, programs written in PHP, HTML, JavaScript and MySQL databases help to manage the data system containing FMMCT, the table user in the MySQL database along with PHP programs support account security management through the login process. These two program systems (1) and (2) are linked together. Using smartphones, users can freely run 20 FMMCT lessons; however, to continue running the remaining 140 lessons, students must provide resource system logins. In addition, a system program is created and installed on the server, and another result is the FluidMCT.apk file, allowing it to be installed on Android smartphones for use. Through the results of this program development, a multiple-choice test program of any other subject can be built conveniently and quickly.


INTRODUCTION
Fluid mechanics is a basic subject for students of many universities of engineering and technology in various disciplines, such as water resources and management, road construction, aviation, and mechanical engineering, in the country as well as in the world.Therefore, many students in the early years have to study fluid mechanics.Understanding this subject is not easy because it requires much mathematical knowledge and deep physical nature about both water and gas.Therefore, students have a great need to study well to pass exams with high efficiency in fluid mechanics exams and tests.Various methods have been proposed to improve efficiency in disseminating knowledge of fluid mechanics.One of these methods is the fluid mechanics multiple-choice test (FMMCT).FMMCT is the application of multiplechoice test techniques to the field of fluid mechanics.It helps students re-examine their knowledge of both theoretical and computational aspects.Depending on how the set of questions is built, FMMCT can cover most of the basic knowledge and apply it to every detail.Therefore, to perform well in FMMCT, students must not only master theoretical knowledge (THEO) but also deal well with applied computational (COMP) problems.There are many scientists and researchers who create online multiple-choice test programs to help students study more effectively in some areas of basic science.However, the application of network programming techniques for the field of fluid mechanics, especially the application of 4.0 technology on Android phones, is still quite limited.A multiple-choice test program on smartphones, if created, will help students have better learning conditions because it is a very popular tool for most students today due to its convenience, especially limiting contact with the source of COVID-19 pandemic transmission.On Google Play, there is a program called Fluid Mechanics MCQs 2 .This program is written in English, and each theoretical question has four answers, one correct answer, and is indicated below the question.For the computational questions, there are 5 answers, one of which is correct and is also indicated below the question (Figure 1).This program is the basic form for creating the FMMCT program.The second program is the Fluid Mechanics Exam Questions Practice Test application 3 .This application created by Rclet LLC (Figure 2) includes 300 fluid mechanics multiple-choice test questions.The authors have tried to use all sorts of teaching techniques like virtual whiteboards, animations, graphs, etc., to be able to bring out the best content for students.For the cost to own this application, users have to pay 420,000 VND/1 account (promotion period is 199,000 VND/1 account).The above references have shown that creating applications for learning fluid mechanics, especially FMMCT, is an urgent need to meet the conditions of fast and effective learning on mobile phones of students.This is the reason why this article presents the building of the FluidMCT program to exploit the effectiveness of 4.0 technology in using Android smartphones to help students study FMMCT well.Android Studio 4 is the official Integrated Development Environment (IDE) for Android app development.Based on the powerful code editor and developer tools from IntelliJ IDEA , Android Studio offers even more features that enhance productivity when building Android apps, such as a flexible Gradlebased build system, a fast and feature-rich emulator, and a unified environment where users can develop for all Android devices.and many other properties to make the programmer convenient in programming the app using all Android devices.This is the reason why the author uses the Android studio to program the FMMCT program.PHP language 5 started out as a small open source project that evolved as an increasing number of people determined how useful it was.Rasmus Lerdorf 6 unleashed the first version of PHP way back in 1994.It has some properties: • A recursive acronym for "PHP: Hypertext Preprocessor".
• A server-side scripting language that is embedded in HTML.It is used to manage dynamic content, databases, session tracking, and even build entire e-commerce sites.
• It is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.
• PHP is pleasingly zippy in its execution, especially when compiled as an Apache module on the Unix side.The MySQL server, once started, executes even very complex queries with huge result sets in record-setting time, etc.
Since we have a large data to store the contents of fluid mechanics multiple-choice tests and need to create the links and the security using the Database MySQL, an open sources code, in this program the PHP is used in joint with HTML, and Java script language.JavaScript language 7 is a multiparadigm, dynamic language with types and operators, standard built-in objects, and methods.Its syntax is based on the Java and C languages -many structures from those languages apply to JavaScript as well.JavaScript supports object-oriented programming with object prototypes and classes.It also supports functional programming since functions are first-class that can be easily created via expressions and passed around like any other object.Therefore, in this program, Javascript language could be used in conjunction with HTML to show the questions, answers and operations concerning the tests, the evaluation of selections, etc., conveniently.HTML 8 is the standard markup language for creating web pages.HTML stands for Hyper Text Markup Language.It describes the structure of a Web page.HTML consists of a series of elements.HTML elements tell the browser how to display the content.HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.Therefore, in this program, it is convenient to join with other PHP and JavaScript languages to create an online test for fluid mechanics with the MySQL database on the host.

THE STRUCTURE OF FMMCT
Here, the FluidMCT program is not aimed at testing for students but aims to help students learn to understand fluid mechanics (FM), so the content of the FM course and the structure of the FMMCT have some characteristics as follows: -

SYSTEM STRUCTURE OF FLUIDMCT PROGRAM
The FluidMCT program system consists of two parts: (    -The values folder contains the following files: colors.xml,strings.xmland styles.xmlfiles (click here for reference to these files).

System and structure of FluidMCT software on the server
All program source code and the database of Flu-idMCT Software are stored on the server using the MySQL database.The file storage address is mctest.datechengvn.com,on the server with the address Interserver.net.
The server contains a system of account creation programs and a system of login management programs.
The login program will be activated when the user using FluidMCT software on an Android smartphone wants to study all 160 FMMCT lessons.In this case, the user must be provided with a login account including the username and password.Information about Username and Password is contained in a table in the MySQL database datechen_mctest, named user.The structure of the user is shown in Table 1.

Account creation management
To assist in creating an account and checking the data provided, the FluidMCT program on the website has the following programs: -signup.php:Program to display account creation information

Login management
To manage logins to the system, FluidMCT has a login.phpprogram.Users must provide an account including their username and password.It contains the command lines to check the information.After checking for correctness and matching, the program opens a session via the command line.session_start(); and generate session-related information before moving to the welcome.phpfile.This file checks the login status of the user.If the user is not logged in, the program will lead the user back to the login page to proceed with the login procedure.In addition, the welcome.phpfile contains the associated functions such as change password (reset-password.php),forget password (forget-password.php),studying complete FMMCT lessons, and log out system (logout.php).

Create the installation file on the mobile phone
After running the test on the AVD system, we proceed to the Build menu, select Build Bundle(s)/APK(s), and then click the Build APK(s) function (Figure 6).Android Studio will create an app-debug.apkfile.We can rename the file FluidMCT.apk.This is the file used to install the FluidMCT program on Android smartphones.

Tested on a desktop with an internet connection
There are two approaches to log in to the system: (1) log in to study all the FMMCT lessons and (2) log in to the 2nd level member area.

• Login to create an account:
To view instructions and register an account, users can follow the LINK: https://datechengvn.com/Servi ce/PayProcedure.htmlAfter paying the fee, the user receives an account including the username and password via email.The email contains instructions for logging into the website system.Users follow the following LINK to log in to the system: https://datechengvn.com/SignInMenu /SigninMenu.phpA window as shown in Figure 11 shows the FluidMCT program running on the desktop.• Log in to the account management website: To log in to the website, users follow LINK: https://m ctest.datechengvn.com/index.php.
The login window will appear as Figure 12.After providing the correct account, click the Login command

Install Program FluidMCT.apk
As described in section 4.

CONCLUSION
Through the presentation of the article, we can see that the creation of the FMMCT program on smartphones with the Android operating system has been completed, installed, and applied.This is a favorable condition to help students learn fluid mechanics better.The more and more the content of the questions is added, the more complete the student's learning results will be.

SOME REMARKS FOR FUTURE WORKS
Continuous addition of technical contents and rearrangement of the structure of the contents of the program in groups of theoretical questions, computational questions, and classification by chapter are necessary to help students more easily study.In addition, using the English language for the program and the technical content for publication to other foreign students is another consideration.Finally, the improvement of the program interface will be considered to become more attractive to increase the problem-solving and awareness ability of the students.

LIST OF ABBREVIATIONS AND EXPLANATIONS
Today, with technology 4.0, the development and use of smart mobile phones are very widespread and popular due to the technical development of hardware and software, making prices cheaper and cheaper to Cite this article : Duc L V. Building a fluid mechanics multiple-choice test program for smartphones with android operating system.Sci.Tech.Dev.J.; 26(1): 2637-2644.

Figure 2 :
Figure 2: Fluid Mechanics Exam Questions Practice Test application

Figure 3
shows the linkage of the FluidMCT Program.

Figure 5
Figure 5 shows the image of the program programmed in Android Studio 2021.1.1Patch 2, executing the Build function in preparation for display.

Figure 5 :
Figure 5: The program is running on virtual phone in the AVD system.

Figure 6 :
Figure 6: Create APK file of FluidMCT program to install on a Android smartphone.

Figure 7 9 .
will appear: the user can choose (1) REGISTER ACCOUNT or (2) LOG IN TO 2nd LEVEL MEMBERS AREA.User clicks on the function (2), a window asks to provide Email will appear as Figure 8, after providing Email, click Submit, a window asking for OTP code appears, the user logs in to his Email to receive the code and enter it into the OTP window as shown in Figure After clicking Submit, a login window appears, as shown in Figure 10.Then, the user clicks on content 5: Fluid mechanics test, enters the provided account, and then clicks the sign in -login button to study all the FMMCT lessons.

Figure 9 :
Figure 9: The window asks for the OTP.

Figure 10 :
Figure 10: Login window to do all FMMCT lessons.

Figure 12 :
Figure 12: Log in to the Web Site for account management.

Figure 13 :
Figure 13: Web page within web site with login management functions.
1) Part 1, stored on the Interserver.netserver 10 .The files *.html and *.php are contained on the website with the name mctest.
datechengvn.com, and the user table is contained in the MySQL Database; (2) Part 2, stored inside the FluidMCT program on the Android operating system mobile phone.

Table 1 : The structure of Table user
-signup.css: File format.-common.php:show an error message -db.php: provide confidential information about: Server address; database name, username and password.
2, from the Android Studio software, we obtain the FluidMCT.apkinstallation file.To install the FluidMCT program on a smartphone, we can do the following: Run a browser on a smartphone or on a desktop computer: click on the following address to download the FluidMCT.apkfile to your smartphone or computer.If downloaded to a computer, the FluidMCT.apkinstallation file can be transferred to a smartphone via the USB port.https://mctest.datechengvn.com/PublicApp/FluidMCT.apk.On the smartphone, proceed with the installation by manually typing in this file and answering the appropriate questions during the installation process.After the installation is complete, a new icon appears on the smartphone with the name TracNghiem_CLC_V.2.0.Just click on this icon to run the FluidMCT software.
The creation is separated into stages, by file type, by function such as HTML file, Java Script file and format file.Therefore, based on this creation system, test programs of other subjects can also be created conveniently, just providing the test set in basic MS Word form.With the development of 4.0 technology and the increasing popularity of smartphones, multiple-choice learning of subjects on smartphones is an inevitable development trend, not only in the country but also in the world.In the future, the implementation of the FluidMCT program, if English is added, will widen the program's popularity and applicability.