теория

The concept of Fail-Fast iterators

Good time of day. If I understand correctly, Fail-Fast iterators immediately stop working (usually by generating exceptions) ... read until no one has changed anything" is preferred to the approach " I can only make changes until nobody reads anything"?

A question on the general theory of Python. How does an operator differ from a function?

Noticed the division into functions and operators in python. I found such definitions in the book A Byte of Python: Function ... In our case, 2 and 3 are operands. As it seems to me, the definitions are somewhat similar, so what are the main differences?

P-class of problems and NP-class of problems

Please explain in as much detail as possible what P problems, NP (complete , complex ..) problems are . And then after reading it, I did not understand. Thank you in advance

Turing Completeness

As you know, most widely used programming languages (especially imperative ones) are Turing-complete. And some - even relativ ... with their templates. And how is Turing completeness proved/disproved? In itself, this concept looks difficult to formalize.

Test strategy/test scenario/test-case as I understood it

I've been studying testing recently and would like to put all the dots on the i. There is a task " ... come up with a test st ... s test documentation, I hope you will not be in trouble. the burden of guiding me to the right path. all the best in advance!

Java. Why can't I change the object reference in the method?

My teacher asked me to answer a number of questions. And two of them are very confusing to me. Why can't I change the o ... zed that by is always by value but I didn't understand exactly what it means. Could you help me figure this out? situations.

Find an array of numbers by their XOR

You need to find an array of numbers (no more than 10^5 elements, each of which is greater than 0, but less than 2^50). In th ... of all the numbers in this array is X. I want to see either the code (in python) or the theory for creating such an algorithm

What is "recursive programming"?

I read the table of contents from the book 'Introduction to Recursive Programming' But I didn't understand what recursive pr ... It sounds much more marketing, in contrast to this more accurate spelling : "suitable for use with pea porridge and cheese."

What is polymorphism and what are its main types?

I'm starting out as a programmer. They told me to learn polymorphism. I started reading from different sources, but it is not ... aces is when the other two are associated with parameters and Parametric is true, and Ad hoc is its imaginary form as I read.

Sapi PHP theory basics

Hello everyone Studying Nginx, I got to the point that there are SAPI, and that there are several types of them, and blah, bl ... how to return this data back ? Question 2: how does the system understand that I request came through the cli or mod_apache