Posts by Denis Caixeta • 3,427 points
26 posts
-
0
votes1
answer61
viewsQ: How to use Sharedpreferences access modes?
When we use Sharedpreferences, we have for example: SharedPreferences prefencias = getSharedPreferences(nome, modo); Where "name" is the name of the preference and "mode" indicates the permission…
-
4
votes1
answer85
viewsQ: What are the widgets?
I understand that the widgets would be the components available in the Android Studio palette, for example. Thus, the components of the palette below, not only those that are in the Widgets group…
-
0
votes1
answer37
viewsQ: With Constraintlayout no more match_parent?
With the Constraintlayout feature, match_parent is no longer used?
-
0
votes2
answers72
viewsQ: Mix of CLASS and ID in HTML and CSS
I took the test of the IFSULDESTE competition of Minas Gerais organized by the CEFET-MG Foundation and I have doubts about the following question: 8 - Consider the code of the following HTML page.…
-
3
votes2
answers174
viewsQ: Request and Pedidoitem establish a composition?
I took the test of the IFSULDESTE competition of Minas Gerais organized by the CEFET-MG Foundation and I have doubts about the following question: Note the following class diagram. About the…
-
8
votes2
answers828
viewsQ: Parametric polymorphism and overload in Java and C++
The following question fell in IFSP’s tender procedure: In Java and C++ programming languages, parametric polymorphism is materialized, respectively, by the functionalities and/or characteristics:…
-
17
votes1
answer191
viewsQ: Doubt of competition on inheritance and polymorphism in object orientation
I took the test of the IFNMG competition for the position of computer teacher. The bank that prepared the test was the CEFET Foundation. One of the questions was this:: About the statements below,…
-
8
votes3
answers971
viewsQ: Line with NULL value is disregarded by the SUM function?
I participated in the IFNMG competition, a test prepared by the CEFET Foundation. I solved the following question and marked the letter C, but the feedback says that the correct is the letter A.…
-
2
votes3
answers121
viewsQ: Interesting question about inheritance and polymorphism
I found this question of an open competition interesting: Class A public class ClasseA { public int metodoX(){ return 10 } public int metodoX(int n){ return metodoX() + n } } Class B public class…
-
4
votes2
answers301
viewsQ: Contest Question: Java code about over-writing methods
I took a competition and dropped the following question: Check the alternative corresponding to the result of the execution of the main method of the Java program shown below: public class A {…
javaasked Denis Caixeta 3,427 -
1
votes3
answers272
viewsA: Use of increments in C
These are the concepts of pre and post increment. And the same applies for decrement also. Being: y = 0; x = 10; Preincrement y = ++x; y = 11; Equals the following allocation: x++; y = x; That is,…
canswered Denis Caixeta 3,427 -
15
votes4
answers426
viewsQ: Contest question: logic error and semantic error?
I participated in a contest and fell the following question: 33 - Analyze the algorithm and check the correct option for this algorithm. Algorithm Calculo_media: Var N1, N2, MEDIA: Inteiro Início…
-
45
votes5
answers56754
viewsQ: What is the difference between syntactic error and semantic error?
The concepts of syntactic and semantic error are found in books and other programming materials. However, always generate doubts for those who are starting. In a practical way. What is the…
-
60
votes2
answers2892
viewsQ: PHP mixes object-oriented codes and procedural language?
I am learning PHP, and by the example I have seen on the internet there is a mixture in the coding of programs, of object orientation and structured procedures. Is that really common or am I…
-
1
votes3
answers173
viewsA: Function =VLOOKUP(MAX($B$5:$B$11);$A$5:$A$11;1;0) Excel 2010
You are looking for the maximum value of $B$5:$B$11 that is 118 in the column $A$5:$A$11 and returning a value from column A too, in this case it has nothing at all. The function is not finding any…
-
1
votes1
answer246
viewsQ: What kind of conversion does the pre-compiler of a DBMS with the SQL language?
The compiler of a DBMS handles commands written in SQL. Assuming I’m using Mysql. What would be done with the command: select * from client; What type of conversion does the pre-compiler of a DBMS…
-
30
votes1
answer1625
viewsQ: When does Stack Overflow occur?
A question that has everything to do with the name of this site. We know that one of the most commonly used examples to demonstrate the execution stack of a program is recursion. A recursive…
-
17
votes2
answers809
viewsQ: What will the new logic of quantum computer programming look like?
There is a lot of talk about quantum computers with high performance and processing capacity. Unlike bits, the qubits of quantum computers, working with superposition, can assume three different…
-
21
votes3
answers1786
viewsQ: What is the usefulness and importance of "do... while"?
The command while is a repeat structure with a condition at the beginning of the declaration. Example: while (condição) { sentenças a executar } Already do...while has verification at the end, ie…
-
26
votes1
answer48265
viewsQ: What character encoding (Collation) should I use in Mysql?
What is the most appropriate character encoding (Collation) for a Mysql database that will store Portuguese language data?
-
43
votes1
answer2932
viewsQ: Is using PDO the safest way to connect to a PHP BD?
I’m a beginner in PHP and would like to know if PDO(PHP Data Objects) is the safest way to connect to a database? I also need an example of how to make this connection and enter/select data.
-
1
votes1
answer275
viewsQ: What are the features and functionality of Apache Struts?
I do not know what the structure and functioning of this framework is like, but from what I have read about it, it has been widely used in Web development. What are the characteristics and…
struts2asked Denis Caixeta 3,427 -
3
votes2
answers308
viewsQ: Generating reports using Top Connect in Advpl
When we create reports, using the Advpl language, the most practical is to select this data via Top Connect which is a software that interfaces between the application and the DBMS. Create a query…
-
4
votes1
answer549
viewsQ: What is the relationship between MVC and Project Standards?
We know that the MVC Standard (Model View Controller) is not a Design Pattern, but an architecture standard. It’s also not a layered pattern, because it tells you how to group components while MVC…
-
1
votes3
answers11806
viewsA: Copy from a filtered sheet in excel vba
You can use Find and Select -> Go to Special -> Only visible cells, copy and paste. Next figure The code of the Macro looked like this: Range("A4:B11").Select…
-
3
votes5
answers19696
viewsA: Removing the last name of a cell
There is also the option to create a function to take the last name of the cell, as you want. In the following code I use the "For" to go through the cell’s contents until I find a blank "" and,…
excelanswered Denis Caixeta 3,427