All Questions

2
answers

Does ASP.NET need a Windows server?

As usual for PHP I always install Debian and Apache, but I want to delve deeper into web development and want to take a look at ASP.NET, out of curiosity I came to doubt whether I'll need a Windows server if I run in one production environment....
asked on 21.12.2015 / 11:39
3
answers

Difference between full and full binary tree

What is the difference between a full binary tree and a full binary tree?     
asked on 09.06.2016 / 18:56
2
answers

What is the logical operator "XOR" in PHP? When to use it? What he does?

I wonder what this XOR operator is? When to use it? And what does it do in PHP?     
asked on 22.01.2015 / 16:24
3
answers

Split result gives zero in the decimal places

In the 1 by 3 division, my program is printing the following:    the value of number e 'of 0.00 What is the error in the code? #include <stdio.h> int main(){ float numero; numero = 1/3; printf("o valor do numero e'...
asked on 10.12.2014 / 23:31
2
answers

Do I need to assign null to a variable after use?

Is there a need to assign null to the object after its use? In the example below right after using the list I have a method that takes a long time to run. Do I need to assign null to the list to optimize the application? priva...
asked on 20.01.2017 / 17:35
2
answers

git merge or rebase

When programming using git, I always use merge of my branch in the master to add new codes, but some graphical tools like smartgit override the merge. Should I use the command rebase or merge to add my changes to my mas...
asked on 17.02.2014 / 23:47
3
answers

Check if the element exists in the ArrayList and, if not, add it

I created a State class with name, acronym and capital and a Country with name, capital and states - an ArrayList of type State. I want to create a method insertState (State e) that before adding the state into a Country, checks if it has not...
asked on 23.08.2015 / 21:47
3
answers

Does jQuery influence the performance of the application?

I personally love and use the jQuery library. Does this library influence the performance of the application?     
asked on 11.03.2015 / 22:44
4
answers

Even or odd of an array in PHP

I need to create an array and tell if the values inside it are even or odd. I made the code this way: <?php $par_ou_impar = array(2,3,4,56,5,42,98,100); for ($i = 0; $i < count($par_ou_impar); $i++){ if ($par_ou_impar % 2 == 0)...
asked on 31.01.2016 / 18:18
4
answers

PHP's unset () function can improve performance?

I think the answer to my question would be "yes.", why I end up doing it in my code (when I remember), but I just stopped to think about it now and somehow I'm worried if someone I would not know how to answer the "why" of it satisfactorily....
asked on 30.07.2016 / 21:36