SOFTWARE ENGINEERING

SOFTWARE TESTING

TESTING PRINCIPLES AND CONCEPTS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is a feature of Spaghetti Programming? (Unit 1)
A
Sequece
B
Loops
C
GOTO Statements
D
Branches
Explanation: 

Detailed explanation-1: -Spaghetti code is the general term used for any source code that’s hard to understand because it has no defined structure. While an end user might not see anything wrong with a program, a programmer might find it virtually illegible if the code base’s flow is too convoluted-like a bowl of twisted, tangled spaghetti.

Detailed explanation-2: -Spaghetti code is a slang term used to refer to a tangled web of programming source code where control within a program jumps all over the place and is difficult to follow. Spaghetti code normally has a lot of GOTO statements and is common in old programs, which used such statements extensively.

Detailed explanation-3: -The C# programming language has goto .

There is 1 question to complete.