scholarly journals Bit Manipulation: Conditional Statement using Bit-wise operators with C++

Author(s):  
Rahmawati Nafi'ah ◽  
Wakhid Kurniawan ◽  
Johan Setiawan ◽  
Khoirul Umam

All of information that manipulated by a computer is represented in the form of bits, so in the programming language it is necessary to understand bitwise operations at the first. This paper aims to create a concept of making Conditional Statements with Bitwise operators in C ++. By doing so, we hope that people is easy to understand  the operation behind conditional statements. A conditional operator is also known as a ternary operator. It takes three operands. A conditional operator is closely related with if else statement. The method used is a literature study studying the bit manipulation algorithm in the C ++ language. The results obtained are a function using bitwise operations in C ++ that implement conditional statements.

Author(s):  
Sutono ◽  
Tri Widayanti ◽  
Bety Agustina Rahayu

Bullying is still a troubling social problem. Bullying cases that occur in high school students have caused many problems both physically and psychologically. Bullying is a phenomenon that is very much, rooted, passed down from generation to generation. The seriousness of bullying is a big problem for all of us. The level of knowledge and concern for teachers, parents, health service teams, and the Indonesian people towards bullying is still low. Information systems are needed for management in making decisions to overcome bullying problems. Researchers in this study created a system that can be used as a means of delivering information from students to schools. The creation of this system is based on a system that is easily accessible, secure, and guarantees the confidentiality of the complainants. So that this product can help schools identify cases of bullying in schools, who are the perpetrators of bullying, and victims of bullying, with the hope that schools can stop the chain of bullying events and prevent bullying at schools. The scheme in this study is to design a website that reports bullying and provides information. The system design model used in this study is a prototype model and data was collected through observation, interviews and literature study. The programming language used is PHP and software for designing interfaces using the laravel framework. Making a database using MySQL with the XAMMP application.  


2013 ◽  
Vol 380-384 ◽  
pp. 1734-1737
Author(s):  
Xiang Ping Xiao

As its international status, mastering C programming language is very important, for example the java language, popular and widely used at present, which has all kinds of connections with C programming language. In the C language, the bubbling sort, which has the knowledge of the cycle and array, has been seen as classic examples to explain, and also is used in a variety of computer exams. One important reason is the bubbling sort itself more classic; another is that it is not easy for students to grasp and understand the bubbling sort. This paper will explore a new teaching method--introduction of mathematical thought--to help students to understand and master the bubbling sort.


Author(s):  
Fawaz Ahmed Masoud

Oberon is a small, simple and difficult programming language. The guiding principle of Oberon was a quote from Albert Einstein: "Make it as simple as possible, but not simpler". Oberon language is based on few fundamental concepts that are easy to understand and use. It supports two programming paradigms: the procedural paradigm, and the object-oriented paradigm This paper provides the application of Halstead's software science theory to Oberon programs. Applying Halstead's metric to the Oberon language has provided the analysis and measurements for module and within module maintenance complexity of programs written in Oberon. This type of analysis provides a manager or programmer with enough information about the maintenance complexity of the Oberon programs. So they can be aware of how much effort they need to maintain a certain Oberon program. The maintenance complexity of the programs written in Oberon or any other language is based on counting the number of operators and operands within the statements of the tested program. The counting process is accomplished by a program written in C language- Results are obtained, analyzed, and discussed in detail.


2021 ◽  
Vol 2 (4) ◽  
pp. 122-128
Author(s):  
Edy Susena ◽  
Dwi Iskandar ◽  
Muhammad Hari Wahyudi

Polytechnic Indonusa Surakarta is a private university that has various study programs available. Some of the study programs must report learning preparation reports every semester which must be submitted and validated directly by Deputy Director I as an academic field. At first these activities were carried out manually and not yet computerized so as to facilitate program studies in conducting consultations and Deputy Director I who had a busy schedule but had to validate manually. This system was created with the aim of making it easier for Polytechnic Indonusa Surakarta side in collecting file, conducting consultation, signing signatures, and making learning preparation reports. Data collection methods used include the method of literature study, observation, interviews and documentation. This system will use a MySQL database with the PHP programming language with the Laravel framework. The method used in making this web service is the waterfall method. The result of the webservice learning preparation report is that the webservice system can facilitate both study programs in submitting and conducting consultations and Deputy Director I in conducting validation, consulting, and preparing learning preparation reports. This system will store data from reports that are entered into the webservice database


2018 ◽  
Vol 7 (2) ◽  
pp. 62-65
Author(s):  
Aggry Saputra ◽  
Rio Ari Prasetio

In designing this automatic system, the research methodology used is the data collection method and the development method. The data collection method consisted of literature study and experiment. For the development method, the Rapid Application Development (RAD) development method is used which includes the requirements planning, process and design, implementation stages. Automatic Fan Rotation System Based on Room Temperature Using an Android-based AtMega 32 Microcontroller implemented based on a needs analysis using the Borland Delphi 7 programming language as a desktop-based monitoring application, Arduino as a microcontroller programming language and Eclipse to create Android applications.


2020 ◽  
Vol 1 (1) ◽  
pp. 20-27
Author(s):  
Uswatun Hasanah

Goods Distribution Information System is one of the data processing activities at PT. Sampurna Sukses Utama Aceh Besar, to get information about the distribution of goods to be more directed and easily obtained. In this study, the authors only discuss the problem of goods distribution and data management mechanisms of PT. Sampurna Sukses Utama Aceh Besar and designed the Information Distribution System for PT. Sampurna Sukses Utama Aceh Besar by using Visual BASIC.NET. The purpose of writing is to understand the problem of Information Systems Distribution of Goods at PT. Sampurna Sukses Utama Aceh Besar as well as making aids application on the Information System of Goods Distribution at PT. Sampurna Sukses Utama Aceh Besar uses Microsoft Visual BASIC.NET. Data collection needed in writing this report was obtained by two methods, namely a literature study relating to the literature of library books and other scientific works, field studies by carrying out interviews, and direct observation of objects related to this research. The Goods Distribution Information System is carried out by one of the administrative staff and is assisted by 2 (two) administrative, warehouse, and financial administration staff to record and input the distribution of goods. From the results of the study, it can be concluded that the Goods Distribution Information System has followed the procedure and uses a computer with Visual BASIC.NET programming language and Microsoft Access 2010 as its database.


2002 ◽  
Vol 55 (1) ◽  
pp. 41-57 ◽  
Author(s):  
Carlos Santamaría ◽  
Orlando Espino

The aim of this study was to test the predictions of the current theories of reasoning about the comprehension of conditional statements. We used two types of conditional statement that are logically equivalent: if p then q and p only if q. The model theory of reasoning considers that these conditional forms differ in their initial meaning, because the negative contingency is considered only in the p only if q form. Mental-rule theories maintain that the interpretation of p only if q depends on a rephrasing of the statement as: if not q then not p. Alternatively, a directional bias may explain the differences between if p then q and p only if q. We report three experiments that demonstrate the existence of a directional bias in the comprehension of the conditionals. The results were not predicted by either the mental-rules theories or the model theory; they could, however, be easily assimilated by the model theory.


Sound has an important role in showing the atmosphere in a video game. But for most people, the sound element in the video game is not overly noticed. So the Beat Defender game was made which highlighted the sound elements in it. This research aims to design and build a game called Beat Defender using fuzzy logic. By using fuzzy logic, components in this game can have an artificial intelligence that reacts with sound. Beat Defender is a three-dimensional video game that relies on music as its main component. The player must keep an object from approaching enemies from all directions. The enemy's movements depend on the artificial intelligence of the fuzzy logic algorithm that reacts to the music that being played. To fight enemies, players use audio visualizations that react with sound input from the player's microphone. The programming language used in the making of this game is the C# language. The research process begins with conducting a literature study, then design, development, testing, report writing and consultation with supervisors throughout the research. After doing research, it can be concluded that designing and building Beat Defender game using fuzzy logic algorithm is a success.


Author(s):  
Muksin Hi Abdullah

Abstrak: Tujuan penelitian ini  adalah merancang sistem kontrol lampu menggunakan remote untuk menyalakan dan memadamkan lampu, Penelitian ini dilakukan pada ruangan Direktur Akademi Ilmu Komputer (AIKOM) Ternate, Metode Penelitian yang digunakan adalah metode Pustaka, Observasi, serta Rancangan Alat, Bahasa Pemrograman yang digunakan adalah Bahasa C, Perancangan alat terdiri dari pembuatan alat pengontol lampu dan komponen yang menunjang kerja sistem seperti Sistem pengontrol, Mikrokontroler ATMega 8535, relay, remote, dan lampu. Sistem control lampu yang dioperasikan dengan menggunakan remote control untuk menggerakkan relay sehingga lampu yang terhubung akan menyala dan padam. Remote control tersebut terhubung dengan receiver yang ada pada mikrokontroler, dengan menekan tombol B, maka lampu menyala/hidup dan ketika menekan tombol A, dan lampu padam melalui sistem control, dengan adanya sistem ini mempermudah sesorang untuk menyalakan dan memadamkan lampu yang lebih praktis tanpa harus mendekati stop kontak pada Ruangan Direktur Akademi Ilmu Komputer (AIKOM) Ternate.Kata kunci: Rancang, Sistem Kontrol Listrik, Mikrokontroler ATMega 8535Abstract: The purpose of this research is to design control systems using the remote to turn on the lights and extinguishes the lights, This research was conducted in room Director of Akademi Ilmu Komputer (AIKOM) Ternate, The research method used is the method of Library, observation, as well as the draft tool, the programming language used is C language, The design of the tool consists of the manufacture of tool control system,  lights and components that support the work of the system such as System controllers, Mikrokontroler ATMega 8535, relay, remote, and lights, Light control system which is operated by using the remote control to move the relay so that the connected lamp will turn on and off, A remote control is connected with the receiver on the microcontroller, by pressing the button B then the lights on/living and when pressing the button A and the light turns off through the system control. the existence of this system make it easier someone to ignite and extinguish the lamp more practical without having to approach the stop contact at Room Director Akademi Ilmu Komputer (AIKOM) TernateKeywords: Design, Electric Controll System, Microcontroller ATMega 8535


2019 ◽  
Vol 11 (02) ◽  
pp. 95-102
Author(s):  
Verra Sofica

Distance and time are some factors that become a very important consideration for customers in making purchase transactions. Making e-commerce about selling Mabel Property online to make it easy for customers to make purchases, so that customers do not have to bother anymore to come to their destination and can save time and money. In developing this software the writer uses the Waterfall method. The navigation structure used is a mixture. Making code using the PHP programming language and to regulate the appearance of website design using CSS. Data collection using the method of observation and literature study. For testing the web the author uses the black box method. The results of this research are the formation of an online buying and selling website which can handle sales and online ordering.


Sign in / Sign up

Export Citation Format

Share Document