Software Engineering
Software engineering
01/12/2022
Software Design Principles
Software design principles are concerned with providing means to handle the complexity of the design process effectively. Effectively managing the complexity will not only reduce the effort needed for design but can also reduce the scope of introducing errors during design.
Following are the principles of Software Design
Software Design Principles
Problem Partitioning
For small problem, we can handle the entire problem at once but for the significant problem, divide the problems and conquer the problem it means to divide the problem into smaller pieces so that each piece can be captured separately.
For software design, the goal is to divide the problem into manageable pieces.
Benefits of Problem Partitioning
Software is easy to understand
Software becomes simple
Software is easy to test
Software is easy to modify
Software is easy to maintain
Software is easy to expand
These pieces cannot be entirely independent of each other as they together form the system. They have to cooperate and communicate to solve the problem. This communication adds complexity.
What are the basic fundamental concepts of programming?
Irrespective of the programming language you choose to learn, the basic concepts of programming are similar across languages. Some of these concepts include:
Variable Declaration
Basic Syntax
Data Type and Structures
Flow Control Structures (Conditionals and loops)
Functional Programming
Object-Oriented Programming
Debugging
IDEs and Coding Environments
In the next section of this shot, you will be given a brief introduction to these concepts.
Variable declaration
Variables are containers for storing data values, a memory location for a data type. Variables are created using a declaration or keyword that varies across languages.
Variable names are usually alphanumeric, that is, they contain a-z and 0-9. They can also include special characters like underscore or the dollar sign.
Variables can hold values of any data type supported by the programming language. This value may change during program ex*****on.
Basic syntax
Every programming language has its syntax, and you must learn the fundamental syntax of the language you are learning.
Syntax refers to the set of rules that define the structure of a language. It is almost impossible to read or understand a programming language without its syntax.
For example, let us declare a variable named greet and assign the value “Hello World” to it:
C++
JavaScript
Java
Python
12345678910
using namespace std;
int main() {
// your code goes here
string greet;
greet = "Hello World";
cout
10/10/2022
Do you know?
07/10/2021
Basic programing
Click here to claim your Sponsored Listing.
Category
Contact the university
Telephone
Website
Address
Raya
Addis Ababa
ADDIS