All Questions

1
answer

Fibonacci Sequence

I need to perform an exercise to show the Fibonacci sequence up to the 100th element, I must create a Fibonacci function that should receive the index of the element and the function will calculate the corresponding number of that index. I'm...
asked on 15.12.2015 / 04:01
1
answer

What is the difference between props and state in React.js?

What is the difference between props and state in react.js , what are the differences and how should they be used?     
asked on 30.12.2016 / 00:36
2
answers

How to compare intervals?

I think it's not hard to do this, but I could not do it even though I tried to wonder if anyone could help me. In an Excel worksheet I have random numbers from A1 to A6 and would like to compare the sequences of the first two cells "A1: A2" w...
asked on 21.09.2015 / 16:52
2
answers

What is the limit of IN operator arguments in SQL Server?

In Oracle are 1000 arguments, what is the limit in SQL Server?     
asked on 06.12.2016 / 14:10
1
answer

What is the difference between the design patterns Data Mapper and Active Record?

I would like to know the main differences between these two design patterns. I have this doubt because to know the news of CakePHP 3.0 I saw the change of the design pattern used by the framework. Currently in version 2.x Active Record is...
asked on 11.07.2014 / 17:18
3
answers

Has Java's default output function already accepted several parameters?

My teacher taught the class how to use System.out.println("Mensagem") in this way for the class (the type of total_alunos does not matter): System.out.println("Existem ", total_alunos, " alunos na classe."); After popping some...
asked on 22.06.2015 / 20:34
2
answers

What characterizes a database?

What does a collection of data be called a database? For example, if I have a pessoas.txt file as follows: Vinicius João Maria José
asked on 20.03.2017 / 02:18
1
answer

How to change the language of Git to English on Linux?

I'm using Git on the Linux terminal (Ubuntu), and it's in Portuguese.    In the master branch       Initial Submission.       nothing to send (create / copy files and use "git add" to register) How do I change the language settings for...
asked on 21.08.2017 / 20:22
1
answer

Methods ExecuteReader (), ExecuteNonQuery () and ExecuteScalar (), what are the differences and how to use them?

I'm working with SQL Server database in C #, but I noticed that the SqlCommand object has several methods to execute a query , they are: ExecuteReader() , ExecuteNonQuery() and ExecuteScalar() . My question is, what...
asked on 24.10.2015 / 00:26
1
answer

What is Class Coupling?

I was reading this response regarding the ServiceProvider and ServiceContainer design patterns, however, the AR < Euler01 quoted a pattern that mentions the coupling between classes, and it was at this point that I was asked a question. Th...
asked on 28.03.2017 / 23:00