We contemplate this article to help the teachers of programming in his aspiration for giving some appropriate and interesting examples. The work will be especially useful for students-future programmers, and for their lecturers. Some of the strong sides of these programming languages C/C++ and Java are the possibilities of low-level programming. Some of the means for this possibility are the introduced standard bitwise operations, with the help of which, it is possible to directly operate with every bit of an arbitrary variable situated in the computers memory. In the current study, we are going to describe some methodical aspects for work with the bitwise operations and we will discuss the benefit of using bitwise operations in programming. The article shows some advantages of using bitwise operations, realizing various operations with sets.
翻译:我们考虑这篇文章来帮助编程老师们提出一些适当和有趣的例子。 这项工作对学生未来的编程员和他们的讲师特别有用。 这些编程语言C/C++和爪哇的一些强势方面是低层次编程的可能性。 这种可能性的一些手段是引入标准比特操作, 借助这些操作, 可以直接使用计算机记忆中任意变量的每一部分操作。 在本研究中, 我们将描述一些方法化的操作方法, 我们将讨论在编程中使用比特操作的好处。 文章展示了使用比特操作, 实现各种组合操作的一些优点 。