Stack and heap – dynamic allocation question
Sources usually mention that dynamically created variables are allocated on the heap, while functions’ variables on the stack. Also the ones on the stack cease to exist automatically when e.g. the function which contains the variable exits. If I understand correctly, data fields of class are on the heap.
I do not understand, what is meant by ‘dynamic’? As I see it, when the code is running, anything being created is created dynamically on the fly, be it function variables or objects with variables inside them. I would be glad for simple explanation. Thanks
Cyclomatic complexity with two IFs – why it is 3?
I have read an article with following example:
What non-theoretical, practical programming language has no reserved keywords?
I have been searching for a practical programming language that has no reserved keywords but I haven’t had any luck finding one.
What non-theoretical, practical programming language has no reserved keywords?
I have been searching for a practical programming language that has no reserved keywords but I haven’t had any luck finding one.
Why is black box called functional testing when it tests also non functional?
This has been bothering me for a while. Security, performance tests etc. are all done typically using the black box approach. But these are nonfunctional,while black box is called functional testing.
Theory about software communications mixing up with other software causing an Apocalypse?
I can remember a very Very long time ago (pre Y2K) , reading an article by some “expert” that theorized that software communicating over the internet, especially video games could get mixed up with Military communications meaning that a user could inadvertently mobilize a B52 nuclear bomber with a click of his mouse on a video game.
Class of problems solvable by sed or stream editors
I’ve came across a question transform this text with sed [sed only]
and it got me wondering what class of problems is solvable by stream editors or programs/computational models with similar constraints.
Why does Cem Kaner consider a test not revealing a bug a waste of time?
What about confirming the functionality in positive tests, proving it is working – should I say it is a waste of time? What kind of concept is behind this quote?
Negative test cases confusion
In the Software testing book from Koirala, Sheihk, they say:
Test case design – do for all positive tests exist also negative ones?
There is ambiguity in all papers I have read so I would like to ask about the following requirement: