Most voted "structured-programming" questions
Structured programming is a form of computer programming that advocates that all possible programs can be reduced to only three structures: sequence, decision and iteration (the latter is also called repetition) and extensive use of sub-routines, developed by Michael A. Jackson in the 1975 book "Principles of Program Design".
Learn more…42 questions
Sort by count of
-
15
votes4
answers314
viewsHow do I know if I am programing procedurally in object orientation?
How to know if I am programming in a procedural style in an object-oriented language?
oop encoding-style software-project structured-programmingasked 7 years, 5 months ago Piovezan 15,850 -
15
votes1
answer605
viewsQuestions about analysis and structured and object-oriented design
Software process, involves various activities, among them, analysis and design. Among the options of methods to perform these activities, we have the structured and object-oriented. Regarding both,…
oop modeling software-engineering encoding-style structured-programmingasked 5 years, 9 months ago renanvm 3,797 -
15
votes1
answer127
viewsIs there already a structured language for quantum processors?
Quantum processors have been in a long development process for many years. However, we "mere mortals" still do not have large-scale access to these powerful devices (something similar to what…
-
7
votes1
answer249
viewsEverything I can do in POO I can do in PE?
Can I do everything or change anything? I have limits in structured programming where in POO I don’t have?
-
7
votes1
answer201
viewsMeaning of "code acting on data" and "data controlling access to code"
This is a purely theoretical question about programming. I would like to know from an example simple (response with complement of figures, drawings, etc.), the meaning of two sentences for two types…
oop terminology software-engineering encoding-style structured-programmingasked 6 years, 1 month ago neves 5,644 -
4
votes1
answer1052
viewsParameters of the scanf function
When studying the function scanf with a little more depth I arose a doubt about the arguments I put before the % when reading a string, ie scanf("argumentos...%s",minhastring), in the following…
-
3
votes2
answers830
viewsReturn and pass structure through a function in C
Good evening, I am with a work of completion of discipline in which I have to register N employees, in my code I put 5 to get faster the tests. This information would be saved in a structure and how…
-
3
votes3
answers13025
viewsSum of whole numbers from 1 to 100
I am trying to create an algorithm that adds the numbers of the interval 1-100. In addition the program prints each element of the sum and at the end the result. That is, 1 + 2 + 3 + 4 + 5 + 6...…
-
2
votes1
answer107
viewsUsing the Java Synchronized
I was doing some exercises in Java, and I came across this code below in a question, stating that "The implementation of the method doLog class Escritor must be qualified as synchronized". How do I…
-
2
votes1
answer117
viewsDoes Phpunit work with Structured Programming?
Good morning, I have a college job that you should do unit tests, and for that I am using Phpunit, the small application that I created to perform these tests is composed only by structured…
-
2
votes1
answer150
viewsDoes using or not block definition in simple "if" influence application performance?
Between one line and another there are some doubts that do not change the flow of decisions at all, but perhaps can influence the performance of the application by the amount of extra lines…
-
1
votes1
answer1566
viewsHow to create a function that inserts elements from two double-chained circular lists
Well, I would like a hint of how I create the function that gets list1 and Lista2 and returns a third list with the elements interspersed from list 1 and 2, what would be the logic? my code is like…
-
1
votes1
answer108
views'app-welcome' is not a known element Angular 2+
My components are organized as follows: app module. src/ App.Module.ts: Importa os módulos dos componentes <br> App.Routing.module.ts: Rotas raiz do sistema Bemvindo.module src/app/components/…
-
1
votes0
answers25
viewsInteracting with images
Talk guys.. I’m new in the area, but I’m looking to study a lot.. I started with java, I already did a lot of "things", small business automation software and Talz.. however, I wanted to make a new…
-
1
votes1
answer74
viewsBubble Sort implementation error
Good afternoon to you all. At the moment I’m trying to implement Bubble Sort, the sorting method, but I’m having trouble printing the values, that these values are Andom, using the Rand function.…
-
1
votes1
answer24
views(Java) Error while continuing to traverse TXT lines
good night! I need that even if it reaches the condition total_min < 720 He keeps going through the lines. The 720 are the total minutes before lunch, when reached should separates the activities…
-
1
votes2
answers97
viewsMatch pointers in C
In this code I picked up because I was unable to think about the exercise, in line 3 of the code the program asks for the min scanf, where min is a pointer, and min receives a scanf value, but the…
-
0
votes2
answers303
viewsHow to convert a string to this encoding?
I am trying to convert text into a binary language, but it keeps leaving letters in the result, I would like to create a text according to the numbering that each letter received: a = 10000 c =…
-
0
votes0
answers180
viewsInstall Apcu in PHP 7.3.5
I am working on a project to configure and install a GLPI server of calls in the company I work and I have to try to configure as many of these extenders, plus I’ve researched on all place this holy…
-
0
votes2
answers3404
viewsTake a Tkinter entry and save to a variable
I made this initial window where I took the data, and when the client used it, after providing the data and confirming it, it closed and kept the data saved in a variable that was not tied to an DEF…
-
0
votes0
answers22
viewsError in Sum of conditional fractions
I can’t do this exercise by using it, you could help me. I can not find where I am missing, I put two && no for to carry out the two operations but it is not compiling, thanks. Make a…
-
0
votes1
answer48
viewsWhy are object orientation codes different from structural ones?
I see identical codes that do the same thing, both work on structural and in the POO (object-oriented programming), but object-oriented is different from structural programming. For example, in my…
-
0
votes2
answers86
viewsHow do I use parseFloat in this algorithm?
I created an algorithm that gets a 4-quarter note , which makes an average calculation and shows the result of the approval. For the result of the approval I did as follows . Result of Approval :…
javascript web-application front-end structured-programmingasked 6 years, 4 months ago Antonio Lima 25 -
0
votes1
answer839
viewsHow can I improve my hangman game code?
What tips would you give to improve this code of the Python hangman game? In the "course" I’m doing Python I haven’t learned to use string methods yet. It’s a very simple hangman game, with no…
-
0
votes1
answer60
viewsVariable in loops and function in C
The variables in function and loops do not keep? Because I thought it remained in the loop, different from the function that is forgotten #include<stdio.h> int x = 0; int main(){ int i, x = 1;…
-
0
votes1
answer45
viewsArray values are reset when displaying
Guys, I have this simple code in C and I’d like to know why I’m trying to display the total array and the value that’s returning me is 0, if I put this printf inside the first while the values are…
-
0
votes0
answers36
viewsSimple program to calculate school averages in C with vector
Hello, I am trying to run a small program that I would like you to read a certain average, store 4 student X grades, calculate the average of those grades and compare with the minimum average grade…
-
0
votes1
answer44
viewsBeginner Doubt - Loop Error
Guys, I’m doing an exercise, but something is giving conflict in this little bit of repetition, da para colocar as primeiras informações do primeiro Loop, but when it goes to the second, it skips…
-
0
votes1
answer28
viewsWhile Repeating Structure Problem
I have this exercise to do but I’m not getting it, it asks to use while but how will I save the data since I do not know the amount of variables for each book, since the amount of books varies for…
-
0
votes1
answer45
viewsInterpolated search in C, repeated values in the arrangement
I’m a beginner/student in C language and I’m learning about search. I’m having difficulty understanding about the interpolated search, because the test code I passed in the discipline presents error…
-
0
votes1
answer47
viewsAlgorithm in C loop of for repeating response
Guys I’m going to college and I got stuck in a list exercise, it’s a C algorithm, could help me My problem is that I put a number to serve the variable x and it calculates about 4 times properly,…
-
0
votes2
answers28
viewsChar in function is not recognized in c
I am unable to make the variable char be comparable and validated, the IDE says that the variable 'a' was undeclared, some could help me please Do a function that receives the 3 notes of a student…
-
0
votes1
answer39
viewsUnknown terms pointer in C
The first output of the printf is coming out a strange number, I think %p would be the address of the pointer would not be, the result gave 0060FEFC? in the second output *p + 2 = i + 2 I understand…
-
0
votes0
answers33
viewsDifference of results between sum with pivot and sum of counters
Hello, I would like a support to understand why the following two querys produce different results. The strategy I searched with them is the same, to count and group Sip results with different…
-
0
votes1
answer29
viewsJava - Uninitialized "x" variable
I’m having a question: The code is as follows:: package yan.exercises.java.struct.repeat; import java.util.Scanner; public class exe2 { public static void main(String[] args) { Scanner scan = new…
-
-1
votes1
answer78
viewsWeapon w = new Weapon(42); is that correct?
Had this question in a programming test Consider the Abstract Weapon class. Does the code line below present an error? Justify your answer. Weapon w = new Weapon(42); That is my answer and the…
structured-programmingasked 7 years ago Rodrigo Carvalho 3 -
-1
votes1
answer63
viewsLength and width calculation
Hello, I’m developing an application in Octave, which is very similar to Mathlab and C, which calculates the height and width of an object, which in this case is a seed. The program receives an…
-
-1
votes2
answers164
viewsHow to get the form data without using Submit?
So I have a question here. I needed to take the data related to a form and send to my Ajax automatically (in a structured way), without pressing any Ubmit button or using an onClick function. I…
-
-1
votes1
answer31
viewsPython3 - How to stop asking for a certain number?
I know that for the present code it is necessary to use a repeating structure, and it can be while one of these. But I couldn’t link such a command to my code. In order to facilitate understanding,…
-
-2
votes1
answer62
viewsSelection of a non-random number in a variable C#
My question is the following proposed exercise: "Task: Write an algorithm in Visualg or C# that takes two positive integer values (x and y) and tell if x is divisible by y. Let’s focus on the…
-
-2
votes1
answer35
viewsConst int instead of number in the vector in C
This exercise required to store 4 grades of 4 students and then media put on a vector and present, well, I declared the matrix and instead of typing [4][4] I put two variables const int worth 4, and…
-
-4
votes1
answer60
viewsUpdate the database by clicking object without refresh
It is the following guys I have a table of data as you can see below, in it has the icon of an eye, of which when clicked makes a direction to another page passing the "id" of the file via url and…
structured-programmingasked 7 years, 2 months ago Danilo Henriq 13