-
Notifications
You must be signed in to change notification settings - Fork 0
/
structural.html
84 lines (80 loc) · 5.39 KB
/
structural.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Code Crush for programming paradigms</title>
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/a076d05399.js"></script>
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
<link rel="manifest" href="favicon/site.webmanifest">
</head>
<body>
<input type="checkbox" id="check">
<label for="check">
<i class="fas fa-bars" id="btn"></i>
<i class="fas fa-times" id="cancel"></i>
</label>
<div class="sidebar">
<header><i class="fab fa-gratipay"></i>Code Crush</header>
<ul>
<li><a href="index.html"><i class="fas fa-home"></i>Home</a></li>
<li><a href="#"><i class="fas fa-link"></i>Structural</a></li>
<li><a href="procedural.html"><i class="fas fa-stream"></i>Procedural</a></li>
<li><a href="objectoriented.html"><i class="fas fa-angle-double-right"></i>Object Oriented</a></li>
<li><a href="eventdriven.html"><i class="far fa-calendar-check"></i>Event Driven</a></li>
<li><a href="declarative.html"><i class="fas fa-sliders-h"></i>Declarative</a></li>
<li><a href="imperative.html"><i class="far fa-envelope"></i>Imperative</a></li>
<li><a href="parallel.html"><i class="fas fa-equals"></i>Parallel</a></li>
<li><a href="concurrent.html"><i class="fas fa-database"></i>Concurrent</a></li>
<li><a href="functional.html"><i class="fas fa-percent"></i>Functional</a></li>
<li><a href="logic.html"><i class="fas fa-sign-in-alt"></i>Logic</a></li>
<li><a href="dependent.html"><i class="fas fa-balance-scale-right"></i>Dependent</a></li>
<li><a href="network.html"><i class="fas fa-wifi"></i>Network</a></li>
<li><a href="symbolic.html"><i class="fas fa-mouse-pointer"></i> Symbolic</a></li>
<li><a href="automata.html"><i class="fas fa-anchor"></i>Automata</a></li>
<li><a href="gui.html"><i class="fas fa-gamepad"></i>GUI</a></li>
</ul>
</div>
<section>
<div class="topnav">
<li><a href="index.html"><i class="fas fa-home"></i> Home</a></li>
<a href="about/index.html"><i class="fas fa-user-circle"></i> About</a>
<a href="https://forms.gle/Dw47JDVJr4tQo7j26"><i class="far fa-bell"></i> Notify</a>
<input type="text" placeholder="Search..">
</div>
<h1>STRUCTURAL PROGRAMMING PARADIGMS</h1>
<div class="main">
<p >Structured Programming Approach, as the word suggests, can be defined as a programming approach in which the program is made as a single structure. It means that the code will execute the instruction by instruction one after the other. It doesn’t support the possibility of jumping from one instruction to some other with the help of any statement like GOTO, etc. Therefore, the instructions in this approach will be executed in a serial and structured manner. The languages that support Structured programming approach are:</p>
<p>C,C++,Java,C# etc....</p>kbd
<p>The structured program mainly consists of three types of elements</p>
<p> 1.Selection Statements<br>
2.Sequence Statements<br>
3.Iteration Statements<br></p>
<p>The structured program consists of well structured and separated modules. But the entry and exit in a Structured program is a single-time event. It means that the program uses single-entry and single-exit elements. Therefore a structured program is well maintained, neat and clean program. This is the reason why the Structured Programming Approach is well accepted in the programming world.</p>
</div>
<div class="main2">
<p> <span style="color:#52D273;font-weight:bold">ADVANTAGES OF STRUCTURED PROGRAMMING APPROACH<br></span>
1. Easier to read and understand<br>
2. User Friendly<br>
3. Easier to Maintain<br>
4. Mainly problem based instead of being machine based<br>
5. Development is easier as it requires less effort and time<br>
6. Easier to Debug<br>
7. Machine-Independent, mostly.<br></p>
</div>
<div class="main3">
<p><span style="color:#E95065;font-weight:bold"> DISADVANTAGES OF STRUCTURED PROGRAMMING APPROACH<br></span>
1.Since it is Machine-Independent, So it takes time to convert into machine code.<br>
2.The converted machine code is not the same as for assembly language.<br>
3.The program depends upon changeable factors like data-types. Therefore it needs to be updated with the need on the go.<br>
4.Usually the development in this approach takes longer time as it is language-dependent. Whereas in the case of assembly language, the development takes lesser time as it is fixed for the machine.<br></p>
</div>
<div class="video">
<iframe width="400" height="300" src="https://www.youtube.com/embed/TmtyFcLWXwo" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<img src="images/structural1.png" alt="paradigm" title="paradigm" width="70%">
</div>
</section>
</body>
</html>