scholarly journals Analysis of Merge Sort and Bubble Sort in Python, PHP, JavaScript, and C language

Computer Science is all about the solving problems with the help of algorithms and sorting is one of the basic operations for any problem solving method. In sorting, the arrangement of data or objects in any particular order is done with the help of algorithms. There is more than one method available and also includes a wide range of choices in a programming language. These languages serve a different purpose in their field of the area but some can be used interchangeably for the same purpose especially for a server-side language like JavaScript can also implement for server-side tasks and right now it is being widely used all over the internet. Here this paper analyzed these languages with merge sort and bubble sort with the languages of the latest public stable versions for an idea of the performance of these languages because they are pretty much interchangeable for different uses in the market the only difference these server side languages have is their architecture. This paper compared these languages’ capabilities with merge sort and bubble sort by executing them and observing them in terms of time by giving them different numbers of inputs. Analytics used an array of 2500, 5000, 7500, and 10000 lengths of an array that passes through these algorithms and noted the execution time to get a better idea of the capabilities of these languages. With this method, observes that in the latest public version of all languages python performs faster in merge sort while JavaScript performs better in bubble sort in executing 10000 inputs.

Author(s):  
Fernando Oliveira ◽  
Júlio Mattos

JavaScript language (JS) has been widely used in recent years applied to browsers-context. Yet JS is being applied to other backgrounds such as server-side programming, mobile applications, games, robotics, and the Internet of Things (IoT). JavaScript is suitable for programming IoT devices due to eventdriven oriented architecture. However, it is an interpreted language, so it has a lower performance than a compiled language. This paper assesses the use of WebAssembly as a strategy to improve the performance of JavaScript applications in the IoT environment. The experiments were performed on a Raspberry Pi using the Ostrich Benchmark Suite. We run the algorithms in JavaScript, WebAssembly, and C language while collecting data about device resource consumption. Our results showed that JavaScript performance could be improved by 39.81% in terms of execution time, a tiny gain in memory usage, and reduced battery consumption by 39.86% when using WebAssembly.


2021 ◽  
Vol 3 (2) ◽  
pp. 59-71
Author(s):  
Salsabila Safira Azalea

In this day and age, technology development is very rapid, especially the development of the internet which greatly facilitates human work in various fields such as the military, offices, factories, medical, and entertainment. Entertainment is something that is very much needed for some people because of the density of activities, for many recreational places have started to use all their activities through the web, one of which is in terms of promotions and ticket purchases. Here the author makes a system where ticket purchases can be made via the web. Starting from designing the existing displays by coding with the programming language that has been determined, for client-side namely HTML, CSS (Bootstrap), and JavaScript as well as server-side using PHP and MySQL. After that, it is implemented using a computer. This writing aims to build a ticket purchase information system and tourism promotion that is simple and easy to use.


Author(s):  
Thomas Walsh Jr.

Future employment of computer-programming jobs will be best for applicants with experience in different languages and coding tools (Bureau of Labor Statistics, 2018). Empirical and meta-analysis research studies support of teaching Logo programming in developing student cognitive problem-solving skills has been documented. Using guided instruction with teacher-mediated scaffolding Exploring Computer Science with MicroworldsEX (Walsh, 2013-2017) has been found as an effective method in preparing students using the Logo code programming language to create geometric graphic, animation, and gaming projects. More research is needed to study teacher scaffolding and mediation skills to support learning Logo coding and transfer to other domains including other programming environments.


2020 ◽  
Author(s):  
Gabriel Jaime Alves ◽  
Carlos Roberto Beleti Junior ◽  
André Pinto Moreira ◽  
Linnyer Beatrys Ruiz Aylon ◽  
Daniela Eloise Flôr

Aiming at addressing the principles of programming logic and developing problem analysis and problem solving skills, the discipline of algorithms and programming is present in the curricula of various courses, from computer science courses to engineering. In the literature, some studies have shown that such disciplines usually present high percentages of dropout and disapproval due to several factors, but mainly difficulties of abstraction as to the logic required to solve problems using programming. To contribute to these factors, it is envisaged to provide ways of teaching that help the student to reason and find solutions to problems with programming. One method that may be most effective is block programming, because it aims to facilitate the introduction of programming concepts to students. Block programming, unlike traditional programming, is more interactive and visual, consisting of blocks that represent computational instructions, where blocks are connected to others to be able to perform programming. Thus, this research presents the development of an IoRT-based prototype along with block programming to promote computational thinking, more specifically in the teaching of algorithms and programming. The internet of robotic things emerges as an emerging vision that brings together objects focused on the production of action, autonomous behavior and especially interaction. IoRT presents itself as a great ally for teaching, focusing on promoting student engagement and expanding teaching possibilities.


2020 ◽  
Vol 2 (2) ◽  
pp. 113-127
Author(s):  
Nova Indrayana Yusman

Yamaha Vixion Club Bandung (YVCB) was formed on July 7, 2007 in the city of Bandung, as a place of friendship between Yamaha Vixion motorcyclists. In its organizational structure, YVCB has a Human Resource Development (HRD) division. Until now, there are more than 800 Yamaha Vixion Club Bandung members. This software is made to facilitate the work of the Yamaha Vixion Club Bandung HRD Division in processing member data. Created using Microsoft Webmatrix as an editor with the PHP programming language. The database uses MySQL with PHPMyAdmin as the software. The method used in making this software is prototyping so that between developers and customers can understand each other what the customer wants. The purpose of making web-based member data management software is that in terms of managing member data it can be done anytime and anywhere by just accessing the internet. In the use of the program, the author chose to use PHP, because PHP is the best and easiest to use in website programming language. Based on the last paragraph, the author intends to make aplication based computerized attendance so that become effective and efficient in terms of time.


GIS Business ◽  
2019 ◽  
Vol 14 (6) ◽  
pp. 597-606
Author(s):  
Dr. Maha Mustafa Omer Abdalaziz

The study aims at the technological developments that are taking place in the world and have impacted on all sectors and fields and imposed on the business organizations and commercial companies to carry out their marketing and promotional activities within the electronic environment. The most prominent of these developments is the emergence of the concept of electronic advertising which opened a wide range of companies and businessmen to advertise And to promote their products and their work easily through the Internet, which has become full of electronic advertising, and in light of that will discuss the creative strategy used in electronic advertising;


Author(s):  
Muchammad Ismail Hamzah

In accordance with the technological advances of web-based information delivery via the internet has more value, because the information can be delivered easily, quickly,  spacious and interactive. Because this way, information is simply inserted into the web and within seconds the information can be accessed globally.  Submission of this information has not been used in Ngebruk Islamic Junior High School, Sumberpucung District, Malang Regency. Submission of the information in these schools still use manual way, such as by mail, bulletin boards, or orally. Surely this way less effective and efficient, since it requires a lot of expenses such as the purchase of paper, printing machine and maintenance, ink, and its scope was limited to the scope of the school.To reduce the above problems, the delivery of information in this school need to use web media created with the PHP programming language and MySQL. PHP is a programming language that is used to allow users to process information on the web, while MySQL is the software used to store the information on the web. Once the web is run online, the school entered information to the web, can be accessed via intenet by anyone without the limited space and time


Author(s):  
Anany Levitin ◽  
Maria Levitin

While many think of algorithms as specific to computer science, at its core algorithmic thinking is defined by the use of analytical logic to solve problems. This logic extends far beyond the realm of computer science and into the wide and entertaining world of puzzles. In Algorithmic Puzzles, Anany and Maria Levitin use many classic brainteasers as well as newer examples from job interviews with major corporations to show readers how to apply analytical thinking to solve puzzles requiring well-defined procedures. The book's unique collection of puzzles is supplemented with carefully developed tutorials on algorithm design strategies and analysis techniques intended to walk the reader step-by-step through the various approaches to algorithmic problem solving. Mastery of these strategies--exhaustive search, backtracking, and divide-and-conquer, among others--will aid the reader in solving not only the puzzles contained in this book, but also others encountered in interviews, puzzle collections, and throughout everyday life. Each of the 150 puzzles contains hints and solutions, along with commentary on the puzzle's origins and solution methods. The only book of its kind, Algorithmic Puzzles houses puzzles for all skill levels. Readers with only middle school mathematics will develop their algorithmic problem-solving skills through puzzles at the elementary level, while seasoned puzzle solvers will enjoy the challenge of thinking through more difficult puzzles.


2021 ◽  
Vol 31 ◽  
Author(s):  
ANDREA VEZZOSI ◽  
ANDERS MÖRTBERG ◽  
ANDREAS ABEL

Abstract Proof assistants based on dependent type theory provide expressive languages for both programming and proving within the same system. However, all of the major implementations lack powerful extensionality principles for reasoning about equality, such as function and propositional extensionality. These principles are typically added axiomatically which disrupts the constructive properties of these systems. Cubical type theory provides a solution by giving computational meaning to Homotopy Type Theory and Univalent Foundations, in particular to the univalence axiom and higher inductive types (HITs). This paper describes an extension of the dependently typed functional programming language Agda with cubical primitives, making it into a full-blown proof assistant with native support for univalence and a general schema of HITs. These new primitives allow the direct definition of function and propositional extensionality as well as quotient types, all with computational content. Additionally, thanks also to copatterns, bisimilarity is equivalent to equality for coinductive types. The adoption of cubical type theory extends Agda with support for a wide range of extensionality principles, without sacrificing type checking and constructivity.


Sign in / Sign up

Export Citation Format

Share Document