<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Polepalli Sampada on Medium]]></title>
        <description><![CDATA[Stories by Polepalli Sampada on Medium]]></description>
        <link>https://medium.com/@sampadapolepalli7?source=rss-73cd6f501dbf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Polepalli Sampada on Medium</title>
            <link>https://medium.com/@sampadapolepalli7?source=rss-73cd6f501dbf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:37:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sampadapolepalli7/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[.NET fullstack training…]]></title>
            <link>https://medium.com/@sampadapolepalli7/net-fullstack-training-685870893fbc?source=rss-73cd6f501dbf------2</link>
            <guid isPermaLink="false">https://medium.com/p/685870893fbc</guid>
            <dc:creator><![CDATA[Polepalli Sampada]]></dc:creator>
            <pubDate>Tue, 27 Sep 2022 04:17:27 GMT</pubDate>
            <atom:updated>2022-10-21T15:36:56.514Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction to HTML &amp; CSS</strong></p><p>Hypertext Markup Language(HTML) is used to design webpages, describes the structure of web page and consists of elements which tell the browser how to display the content and it is case-sensitive language.</p><p>There are many tags available in HTML and basic tags are:</p><ol><li>&lt;html&gt; … &lt;/html&gt; — The root element</li></ol><p>2. &lt;head&gt; … &lt;/head&gt; — The document head</p><p>3. &lt;title&gt; … &lt;/title&gt; — The page title</p><p>4. &lt;body&gt; … &lt;/body&gt; — The page’s content</p><p>5. &lt;h1&gt; … &lt;/h1&gt; — A section heading</p><p>6. &lt;p&gt; … &lt;/p&gt; — A paragraph</p><p>7. &lt;a&gt; … &lt;/a&gt; — A link</p><p>8. &lt;img&gt; — An image</p><p>9. &lt;div&gt; … &lt;/div&gt; — A block-level container for content</p><p>10. &lt;span&gt; … &lt;/span&gt; — An inline container for content</p><p>Formatting elements were designed to display special types of text:</p><ol><li>&lt;b&gt; — Bold text</li></ol><p>2. &lt;strong&gt; — Important text</p><p>3. &lt;i&gt; — Italic text</p><p>4. &lt;em&gt; — Emphasized text</p><p>5. &lt;mark&gt; — Marked text</p><p>6. &lt;small&gt; — Smaller text</p><p>7. &lt;del&gt; — Deleted text</p><p>8. &lt;ins&gt; — Inserted text</p><p>9. &lt;sub&gt; — Subscript text</p><p>10. &lt;sup&gt; — Superscript text</p><p>HTML LISTS</p><ol><li>Ordered list(OL)</li></ol><p>2. Unordered list(UL)</p><p>3. Definition list(DL)</p><p>An ordered HTML list:</p><ol><li>First item</li><li>Second item</li><li>Third item</li><li>Fourth item</li></ol><p>An unordered HTML list:</p><ul><li>Item</li><li>Item</li><li>Item</li><li>Item</li></ul><p>The 3 HTML description list tags are given below:</p><p>&lt;dl&gt; tag defines the description list.</p><p>&lt;dt&gt; tag defines data term.</p><p>&lt;dd&gt; tag defines data definition (description).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*rm42k2Wws11Gkjgg.jpg" /></figure><p>HTML BLOCK ELEMENTS AND INLINE ELEMENTS</p><p>There are two display values: block and inline</p><p>A block-level element always starts on a new line and takes up the full width available. An inline element does not start on a new line and it only takes up as much width as necessary. The &lt;div&gt; element is a block-level and is often used as a container for other HTML elements. The &lt;span&gt; element is an inline container used to mark up a part of a text, or a<br>part of a document.</p><p>HTML emojis:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*1CU9bmmd9GF6_nPG.png" /></figure><p>HTML FORMS</p><p>An HTML form is a section of a document which contains controls such as text<br>fields, password fields, checkboxes, radio buttons, submit button, menus etc.</p><p>An HTML form facilitates the user to enter data that is to be sent to the server for<br>processing such as name, email address, password, phone number, etc. .</p><p>HTML Form Syntax</p><p>&lt;form action=”server url” method=”get|post”&gt;</p><p>//input controls e.g. textfield, textarea, radiobutton, button</p><p>&lt;/form&gt;</p><p><strong>JAVASCRIPT:</strong></p><p>JavaScript is a programming language that adds interactivity to your website. This happens in games, in the behavior of responses when buttons are pressed or with data entry on forms; with dynamic styling; with animation, etc.</p><p>Variables are containers that store values. You start by declaring a variable with the let keyword, followed by the name you give to the variable:</p><pre>let myVariable = &#39;Bob&#39;;</pre><p>Datatypes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0Z9aX-ax4O7S9pOq.jpg" /></figure><p>Comments: Comments are snippets of text that can be added along with code. The browser ignores text marked as comments. You can write comments in JavaScript just as you can in CSS:</p><pre>/*<br>Everything in between is a comment.<br>*/</pre><p>Operators:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/0*aB7X08pPMkVEW3kx.png" /></figure><p>Conditional statements: Conditionals are code structures used to test if an expression returns true or not. A very common form of conditionals is the if...else statement. For example:</p><pre>let iceCream = &#39;chocolate&#39;;<br>if (iceCream === &#39;chocolate&#39;) {<br>  alert(&#39;Yay, I love chocolate ice cream!&#39;);<br>} else {<br>  alert(&#39;Awwww, but chocolate is my favorite…&#39;);<br>}</pre><p>Functions: These are a way of packaging functionality that you wish to reuse. It’s possible to define a body of code as a function that executes when you call the function name in your code. This is a good alternative to repeatedly writing the same code. You have already seen some uses of functions. For example:</p><pre>let myVariable = document.querySelector(&#39;h1&#39;);<br>alert(&#39;hello!&#39;);</pre><p>These functions, document.querySelector and alert, are built into the browser.</p><p>If you see something which looks like a variable name, but it’s followed by parentheses — () —it is likely a function. Functions often take arguments: bits of data they need to do their job. Arguments go inside the parentheses, separated by commas if there is more than one argument.</p><p>For example, the alert() function makes a pop-up box appear inside the browser window, but we need to give it a string as an argument to tell the function what message to display. You can also define your own functions. In the next example, we create a simple function which takes two numbers as arguments and multiplies them:</p><pre>function multiply(num1,num2) {<br>  let result = num1 * num2;<br>  return result;<br>}</pre><p>Try running this in the console; then test with several arguments. For example:</p><pre>multiply(4, 7);</pre><p>Events: Real interactivity on a website requires event handlers. These are code structures that listen for activity in the browser, and run code in response. The most obvious example is handling the click event, which is fired by the browser when you click on something with your mouse. To demonstrate this, enter the following into your console, then click on the current webpage:</p><pre>document.querySelector(&#39;html&#39;).addEventListener(&#39;click&#39;, function () {<br>  alert(&#39;Ouch! Stop poking me!&#39;);<br>});</pre><p>There are many ways to attach an event handler to an element. Here we select the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html">&lt;html&gt;</a> element. We then call its addEventListener(); function, passing in the name of the event to listen to (&#39;click&#39;) and a function to run when the event happens.</p><p>Note that</p><pre>document.querySelector(&#39;html&#39;).addEventListener(&#39;click&#39;, function () {<br>  alert(&#39;Ouch! Stop poking me!&#39;);<br>});</pre><p>is equivalent to</p><pre>let myHTML = document.querySelector(&#39;html&#39;);<br>myHTML.addEventListener(&#39;click&#39;, function () {<br>  alert(&#39;Ouch! Stop poking me!&#39;);<br>});</pre><p>It’s just shorter.</p><p>This is the task we have done in JavaScript in our training.</p><ul><li><a href="https://github.com/Sampada7059/.Net-tasks/blob/master/OOPs.html">.Net-tasks/OOPs.html at master · Sampada7059/.Net-tasks</a></li><li><a href="https://github.com/Sampada7059/.Net-tasks/blob/master/Task%204.html">.Net-tasks/Task 4.html at master · Sampada7059/.Net-tasks</a></li></ul><h3><strong>BOOTSTRAP</strong></h3><p>If you’re doing anything web related, chances are you’ve heard about Bootstrap. Bootstrap is a powerful toolkit — a collection of HTML, CSS, and JavaScript tools for creating and building web pages and web applications. It is a free and open source project, hosted on GitHub, and originally created by (and for) Twitter.</p><p>Web designers and web developers like bootstrap because it is flexible and easy to work with. Its main advantages are that it is responsive by design, it maintains wide browser compatibility, it offers consistent design by using re-usable components, and it is very easy to use and quick to learn. It offers rich extensibility using JavaScript, coming with built-in support for jQuery plugins and a programmatic JavaScript API.</p><p>Basic Bootstrap HTML Template</p><p>A basic Bootstrap HTML template should look something like this:</p><pre>&lt;!DOCTYPE html&gt;<br>&lt;html lang=&quot;en&quot;&gt;<br>  &lt;head&gt;<br>    &lt;meta charset=&quot;utf-8&quot;&gt;<br>    &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;<br>    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&gt;<br>    &lt;title&gt;Bootstrap Template&lt;/title&gt;<br>    &lt;link href=&quot;css/bootstrap.min.css&quot; rel=&quot;stylesheet&quot;&gt;<br>  &lt;/head&gt;<br>  &lt;body&gt;<br>    &lt;h1&gt;Hello, world!&lt;/h1&gt;<br>    &lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js&quot;&gt;&lt;/script&gt;<br>    &lt;script src=&quot;js/bootstrap.min.js&quot;&gt;&lt;/script&gt;<br>  &lt;/body&gt;<br>&lt;/html&gt;</pre><p>It is important to start any HTML with a HTML 5 Doctype declaration, so that browsers know what kind of a document they can expect. The head contains three important &lt;meta&gt; tags that must be declared first, and any additional head tags must be added after these. Although, this is not very important if you are targeting only modern browsers.</p><p>JavaScript files are added to the end of the body to allow the web page to load visibly before any JavaScript is executed. jQuery is needed for Bootstrap plugins, and needs to load before bootstrap.js</p><p>We are taught by many concepts like creating forms, buttons, button groups, button dropdowns, images , icons and navbars.</p><p>This is the website I have created using Bootstrap, HTML &amp; CSS</p><p><a href="https://github.com/Sampada7059/.Net-tasks/blob/master/Task-5.html">.Net-tasks/Task-5.html at master · Sampada7059/.Net-tasks</a></p><h3><strong>Angular Framework:</strong></h3><p>Angular is a platform and framework for building single-page client applications using HTML and TypeScript. Angular is written in TypeScript. It implements core and optional functionality as a set of TypeScript libraries that you import into your applications.</p><p>Frameworks in general boost web development efficiency and performance by providing a consistent structure so that developers don’t have to keep rebuilding code from scratch. Frameworks are time savers that offer developers a host of extra features that can be added to software without requiring extra effort.</p><p>JavaScript is the most commonly used client-side scripting language. It is written into HTML documents to enable interactions with web pages in many unique ways. As a relatively easy-to-learn language with pervasive support, it is well-suited to develop modern applications.</p><p>Selector: It is the CSS selector that identifies this component in a template. This corresponds to the HTML tag that is included in the parent component. You can create your own HTML tag. However, the same has to be included in the parent component. <br>Template: It is an inline-defined template for the view. The template can be used to define some markup. The markup could typically include some headings or paragraphs that are displayed on the UI. <br>TemplateUrl: It is the URL for the external file containing the template for the view. <br>Styles: These are inline-defined styles to be applied to the component’s view. <br>styleUrls: List of URLs to stylesheets to be applied to the component’s view. Providers: It is an array where certain services can be registered for the component.<br>Animations: Animations can be listed for the components</p><p>Properties:</p><p>Interpolation Binding<br>Interpolation is a procedure that allows the user to bind a value to the user interface element. Interpolation binds the data one-way, which means that data moves in one direction from the components to HTML elements.</p><p>Property Binding<br>Property binding is a one-way data binding mechanism that allows you to set the properties for HTML elements. It involves updating a property value in the component and binding the value to an HTML element in the same view. We use property binding for toggle functionality and sharing data between components. It uses the &amp;quot;[]&amp;quot; syntax for data binding.</p><p>Event Binding<br>Event binding type is when information flows from the view to the component when an event is triggered. The event could be a mouse click or keypress. The view sends the data to update the component. Unsurprisingly, it is the exact opposite of property binding, where the data goes from the component to the view.</p><p>Two-way Data Binding</p><p>As the name suggests, two-way binding is a mechanism where data flows from the component to the view and back. This binding ensures that the component and view are always in sync. Any changes made on either end are immediately reflected on both. The general syntax to denote two-way data binding is a combination of Square brackets and parentheses &amp;quot;[()]&amp;quot;.</p><p>NgIf: This directive is used when you want to display or remove an element based on a condition.</p><p>The syntax is: *ngIf=”&lt;condition&gt;”</p><p>NgFor: This directive is getting used to iterate through collection. The syntax is:</p><p>&lt;ul *ngFor =&quot; let n of newcars&quot;&gt;</p><p>NgSwitch</p><p>NgSwitch is like the JavaScript switch statement. It displays one element from among several possible elements, based on a switch condition. Angular puts only the selected element into the DOM.</p><p>NgSwitch is actually a set of three, cooperating directives: NgSwitch, NgSwitchCase, and NgSwitchDefault as in the following example.</p><p>The syntax is:</p><pre>&lt;ul *ngFor=&quot; let c of newcars&quot; [ngSwitch]=&quot;c.name&quot;&gt;</pre><pre>            &lt;li *ngSwitchCase=&quot;&#39;city&#39;&quot; class=&quot;blue-text text-darken-2&quot;&gt;{{ c.name }} {{ c.average }}<br>            &lt;/li&gt;<br>            &lt;li *ngSwitchCase=&quot;&#39;polo&#39;&quot; class=&quot;blue-text text-darken-2&quot;&gt;{{ c.name }} {{ c.average }}<br>            &lt;/li&gt;</pre><pre>            &lt;li *ngSwitchDefault class=&quot;text-success&quot;&gt;{{ c.name }} {{ c.average }}<br>            &lt;/li&gt;</pre><pre>        &lt;/ul&gt;</pre><p>What are pipes?</p><p>A pipe is a data transformer like the following illustration explains it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uTZWoxTuxC-E-c_t.png" /></figure><p>A pipe takes in data as input and transforms it into an output. The pipe’s purpose is to allow the transformation of an existing value and reusability.{{ input <strong>|</strong> <strong>pipeName </strong>}}</p><p>Custom pipe:</p><p>import { Pipe, PipeTransform } from ‘@angular/core’;</p><p>@Pipe({name: ‘customFileSizePipe’})</p><p>export class FileSizePipe implements PipeTransform {</p><p>transform(size: number, extension: string = ‘MB’): string {</p><p>return (size / (1024 * 1024)).toFixed(2) + extension;</p><p>}</p><p>}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*TCuAM10OLXMQ5joGKCb8oQ.png" /><figcaption>Using *NgFor items are displayed in website</figcaption></figure><p><strong>JSON File:</strong> The json filter converts a JavaScript object into a JSON string. This filter can be useful when debugging your applications. The JavaScript object can be any kind of JavaScript object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Hk4FDnod486N4FNr0XEXNg.png" /><figcaption>Using JSON object, components are added in the website</figcaption></figure><p>In the above picture, toggle effect is also applied to show and hide the details of the products.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*-jkqlmMndI-FUaQvwfxULQ.png" /><figcaption>ADS are also inserted in the website using iframes</figcaption></figure><p><strong>Service component:</strong></p><p>Service is a piece of reusable code with a focused purpose. A code that you will use across multiple components in your application. Our components need to access the data. You can write data access code in each Component, but this is very inefficient and breaks the rule of single responsibility. The Component should focus on presenting the data to the user. The task of receiving data from the back-end server should be delegated to another class. We call a class a service class because it provides each Component with the data it needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*KCSrRWh6-y1KmwmHBNfGUA.png" /><figcaption>Using service component contact details are displayed in the website</figcaption></figure><p><strong>CRUD operation:</strong> CRUD is an acronym that comes from the world of computer programming and refers to the four functions that are considered necessary to implement a persistent storage application: <strong>create</strong>, <strong>read</strong>, <strong>update </strong>and <strong>delete</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*38FQFhZtxO_fb4Mn8yrPOQ.png" /><figcaption>Using CRUD, component details are added in the website</figcaption></figure><p>By using various concepts of Angular, a small website and that is the given task in the training.</p><p><a href="https://github.com/Sampada7059/angular_app">GitHub - Sampada7059/angular_app</a></p><p>I also implemented add to cart functionality in my web page as a part of task using service component.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*xBtArepUuihovG5ZvhumiA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*6NVNAW8wIGFA300nRmubAQ.png" /><figcaption>This is cart in which products are added</figcaption></figure><p>When we click the Shop More option, we navigate to the above mentioned products list and when we click Check Out option, through razor pay link payment details are shown.</p><p>Web page is deployed in Heroku and Firebase and we can see that in below images,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*0apC39rsGXyZ18EX5kZyvA.png" /><figcaption>Firebase deployment</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*PxFyVs_f0DMWn6fPj-orPw.png" /><figcaption>Heroku deployment</figcaption></figure><p><a href="https://github.com/Sampada7059/angular_app">GitHub - Sampada7059/angular_app</a></p><p>In the above GitHub link, I uploaded my angular code of the website.</p><h3>C#:</h3><p>C# is object oriented programming language. It provides a lot of features that are given below.<br>1. Simple<br>2. Modern programming language<br>3. Object oriented<br>4. Type safe<br>5. Interoperability<br>6. Scalable and Updateable<br>7. Component oriented<br>8. Structured programming language<br>9. Rich Library<br>10. Fast speed</p><p><strong>C# Variables: </strong>A variable is a name given to a storage area that is used to store values of various data types. Each variable in C# needs to have a specific type, which determines the size and layout of the variable’s memory. For example, a variable can be of the type String, which means that it will be used to store a string value. Based on the data type, specific operations can be carried out on the variable.</p><p>For instance, if we had an Integer variable, then operations such as addition and subtraction can be carried out on the variable. One can declare multiple variables in a program.</p><p><strong>What are Data Types in C#?</strong></p><p>The C# language comes with a set of Basic data types. These data types are used to build values which are used within an application.</p><p><strong>1) Integer</strong></p><p>An Integer data types are used to work with numbers. In this case, the numbers are whole numbers like 10, 20 or 30. In C#, the datatype is denoted by the <strong>Int32 keyword</strong>.</p><p><strong>2) Double</strong></p><p>A double data type is used to work with decimals. In this case, the numbers are whole numbers like 10.11, 20.22 or 30.33. In C#, the datatype is denoted by the keyword “<strong>Double</strong>“.</p><p><strong>3) Boolean</strong></p><p>A boolean data type is used to work with Boolean values of <strong>true and false</strong>. In C#, the datatype is denoted by the Boolean keyword. Below is an example of this datatype can be used.</p><p><strong>4) String</strong></p><p>A String data type is used to work with String values. In C#, the datatype is denoted by the keyword ‘String’.</p><p>Looping statements and decision making statements are similar to other programming languages and only syntax of the print statements changes in the c#.</p><p><strong>C# Enumeration: </strong>An enumeration is used in any programming language to define a constant set of values. For example, the days of the week can be defined as an enumeration and used anywhere in the program. In C#, the enumeration is defined with the help of the keyword ‘enum’.</p><p>Let’s see an example of how we can use the ‘enum’ keyword. In our example, we will define an enumeration called days, which will be used to store the days of the week. For each example, we will modify just the main function in our Program.cs file.</p><pre>using System;<br>using System.Collections.Generic;<br>using System.Linq;<br>using System.Text;<br>using System.Threading.Tasks;<br>namespace DemoApplication<br>{<br> class Program <br> {<br>  enum Days{Sun,Mon,tue,Wed,thu,Fri,Sat};<br>  <br>  static void Main(string[] args) <br>  {<br>   Console.Write(Days.Sun);<br>   <br>   Console.ReadKey();<br>  }<br> }<br>}</pre><p>Output: sun</p><p><strong>C# Arrays:</strong></p><ul><li>In C#, all arrays are dynamically allocated.</li><li>Since arrays are objects in C#, we can find their length using member length. This is different from C/C++ where we find length using sizeof operator.</li><li>A C# array variable can also be declared like other variables with [] after the data type.</li><li>The variables in the array are ordered and each has an index beginning from 0.</li><li>C# array is an object of base type <strong>System.Array</strong>.</li><li>Default values of numeric array and reference type elements are set to be respectively zero and null.</li><li>A jagged array elements are reference types and are initialized to null.</li><li>Array elements can be of any type, including an array type.</li><li>Array types are reference types which are derived from the abstract base type Array. These types implement <strong>IEnumerable</strong> and for it, they use foreach iteration on all arrays in C#.</li></ul><p><strong>Syntax :</strong></p><pre>&lt; Data Type &gt; [ ] &lt; Name_Array &gt;</pre><p><strong>Here,</strong><br>&lt; Data Type &gt; : It define the element type of the array.<br>[ ] : It define the size of the array.<br>&lt; Name_Array &gt; : It is the Name of array.</p><p><strong>Array Initialization</strong></p><p><strong>Syntax :</strong></p><pre>type [ ] &lt; Name_Array &gt; = new &lt; datatype &gt; [size];<br>//1-D array<br>int[] Array1 = new int[5];</pre><p><strong>Multidimensional Arrays</strong></p><pre>int[, ] array = new int[4, 2];</pre><p><strong>Jagged Arrays</strong></p><p>An array whose elements are arrays is known as Jagged arrays it means “<strong>array of arrays</strong>“. The jagged array elements may be of different dimensions and sizes.</p><p><strong>int</strong>[][] arr1 = { <strong>new int</strong>[] { 1, 3, 5, 7, 9 },</p><p><strong>new int</strong>[] { 2, 4, 6, 8 } };</p><p><strong>Param Array</strong></p><p>At times, while declaring a method, you are not sure of the number of arguments passed as a parameter. C# param arrays (or parameter arrays) come into help at such times.</p><p><strong>Out:</strong> The <strong><em>out</em></strong> is a keyword in C# which is used for the passing the arguments to methods as a reference type. It is generally used when a method returns multiple values.</p><p>Below are the examples:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*vfjubyJmZ8a-suhZnAwK2A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*0441wDKlJh5tBNyPuUXHuQ.png" /></figure><p><strong>Access Specifiers:</strong></p><p><strong>Public Access Specifier : </strong>It allows a class to expose its member variables and member functions to other functions and objects.</p><p><strong>Private Access Specifier: </strong>Private access specifier allows a class to hide its member variables and member functions from other functions and objects. Only functions of the same class can access its private members.</p><p><strong>Protected Access Specifier: </strong>Protected access specifier allows a child class to access the member variables and member functions of its base class.</p><p><strong>Internal Access Specifier: </strong>Internal access specifier allows a class to expose its member variables and member functions to other functions and objects in the current assembly.</p><p><strong>Protected Internal Access Specifier: </strong>The protected internal access specifier allows a class to hide its member variables and member functions from other class objects and functions, except a child class within the same application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/685/0*54vWBN5-KKtYeffw.png" /></figure><p><strong>Nullable:</strong> Nullable is a concept that allows a type to hold an additional value null.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/0*_su5Ywc4nRTCFVve.png" /></figure><p><strong>Structures: </strong>The <strong>struct</strong> keyword is used for creating a structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/693/0*NnMTEq9F6deSA6U1.png" /></figure><p><strong>Constructors: </strong>A constructor is a special method of the class which gets automatically invoked whenever an instance of the class is created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/0*mlQi50UH6Ov4wAUO.png" /></figure><p><strong>Encapsulation:</strong> Wrapping up of data into a single entity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/0*k0eg-Z1r8hK7T31z.png" /></figure><p><strong>Polymorphism:</strong> Same method many forms.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/293/0*MDSWIHtNuJo6jvIU.png" /></figure><p>One parameter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/280/0*ftZi3pdn2PrMfzY-.png" /></figure><p>No parameter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/483/0*D7jQqviBLbZ8X0aA.png" /></figure><p>2 Parameters</p><p><strong>Inheritance</strong>: One object acquires all the properties and behaviors of its parent object automatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/0*vnb-oA0zYouLzFoe.png" /></figure><p>Abstraction: Hiding the internal details of the process to end user.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/0*FrPoiNj9A0G6YIFj.png" /></figure><p><strong>Interface: </strong>Interface is a blueprint of a class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/0*Yv1mb_dG2KCYgSoj.png" /></figure><p>Exception: Exception is a response to an exceptional circumstance that arises while a program is running.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/0*O4Dbra5letrTLw_b.png" /></figure><p><strong>Delegates: </strong>Delegate declaration determines the methods that can be referenced by the delegate. A delegate can refer to a method, which has the same signature as that of the delegate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/0*uCoy57KmPtuDf6E_.png" /></figure><p><strong>Namespace: </strong>The namespace keyword is used to declare a scope that contains a set of related objects.</p><p><strong>Files</strong>:</p><p><strong>Collections: </strong>Collections standardize the way of which the objects are handled by your program. In other words, it contains a set of classes to contain elements in a generalized manner.</p><p><strong>Generic:</strong> Generic means the general form, not specific. In C#, generic means not specific to a particular data type. C# allows you to define generic classes, interfaces, abstract classes, fields, methods, static methods, properties, events, delegates, and operators using the type parameter and without the specific data type.</p><p><strong>GitHub Link:</strong></p><p><a href="https://github.com/Sampada7059/My_cSharp">GitHub - Sampada7059/My_cSharp</a></p><h3>SQL</h3><p>SQL is a standard language for accessing and manipulating databases.</p><p><strong>What Can SQL do?</strong></p><ul><li>SQL can execute queries against a database</li><li>SQL can retrieve data from a database</li><li>SQL can insert records in a database</li><li>SQL can update records in a database</li><li>SQL can delete records from a database</li><li>SQL can create new databases</li><li>SQL can create new tables in a database</li><li>SQL can create stored procedures in a database</li><li>SQL can create views in a database</li><li>SQL can set permissions on tables, procedures, and views</li></ul><p><strong>DML(Data Manipulation language):</strong></p><ol><li>Insert =&gt;insert into Employee values(101, “IT”)</li><li>Update =&gt;update Employee set EAge=25 where EID=010</li><li>Delete =&gt; delete from Employee where EID=009</li></ol><p><strong>DQL(Data Query Language):</strong></p><ol><li>Selected column =&gt; select EName, EDesignation from Employee</li><li>Column alias(give a name to the column temporarily) =&gt;select EName as Name, EDesignation as Designation from Employee</li><li>Where =&gt; select *from Employee where EDeptNo = 104</li><li>relational/ logical → select * from Employee where EDeptNo &gt; 102 and EAge &gt; 23</li><li>Like =&gt;select * from Employee where EName like ‘S%’(Start letter S), ‘_e%’(Second letter is e), ‘___’(3 letter name), ‘[PS]%’(Name start with P and S), ‘[A-N]%’(A-N start letter), not like ‘[A-N]%’( other than A-N start words)</li><li>Distinct =&gt;select distinct EDesignation from Employee</li></ol><p><strong>DDL(Data Definition Language)</strong></p><ol><li>Create → create table demo</li><li>Alter → alter table demo add Dept varchar(25)</li><li>Update → update demo set Dept=109 where id&lt; 2</li><li>Drop(it used to delete the column or table) → alter table demo drop column name (for the table deletion we use alter along with drop)…. drop table demo (it delete the table)</li></ol><p><strong>Order by</strong></p><p>We are able to order the rows of columns according to ascending or descending according to our need. But by default it is in ascending order.</p><ol><li>For Single column: select * from Employee Order by EDeptNo desc (it will arrange the EDeptNo column in descending order)</li><li>For Multiple column: select * from Employee Order by EDeptNo, EAge (it will arrange the EDeptNo first to Ascending order then it will arrange the EAge)</li></ol><p><strong>Steps to push the code of SQL to the GitHub:</strong></p><ol><li>Go to the saved SQL file folder, right click → git bash (it will open the command prompt)</li><li>git init (create a local repository)</li><li>git add .</li><li>git commit -m ‘commit’</li><li>git status</li><li>In GitHub account create a repository manually (it is remote repository) give name to repository like TE_SQL, repository should be public and Readme.md file should be ticked the create. Open that file and copy paste that link in the command prompt.</li><li>git remote add login origin (paste link).git</li><li>git push origin master (it will create a repository and push the SQL code to GitHub)</li><li>If we modify the code or we want to push another set of SQL code to GitHub then go for these 3 steps<br>* git add .<br>* git commit -m ‘commit’<br>* git push origin master</li></ol><p><strong>Aggregate function</strong></p><p>These functions helps in the calculating operations like sum, count, min, max, avg etc. select avg(EAge) as ‘Average Age’ from Employee ( it calculates the average age of employees and displays it in the Average Age column).</p><p><strong>Group by</strong></p><p>It helps to group the column element to our requirements select EDesignation, as ‘Average Age’ from Employee group by EDesignation (it group the EDesignation people by calculating average age to their respective Designations like it calculates average of the Senior employee age separately and Junior employee separately).</p><p><strong>Having clause</strong></p><p>Apply condition to the group by using the Having clause select EDesignation, as ‘Average Age’ from Employee group by EDesignation having avg(EAge)&gt;23 (it groups based on the requirement and it prints only the &gt;23 age group peoples).</p><p><strong>Between And</strong></p><p>It prints the range between given conditions like select * from Employee where EDeptNo between 101 and 104 (it will print the Department number people between 101 and 104). If we use not between then it prints other than that range.</p><p><strong>In and Not in:</strong></p><p>It just prints the mentioned numbers select * from Employee where EDeptNo IN(101,103)[it prints the 101 and 103 peoples]. If we use not in then it will print other than 103 and 101 people.</p><p><strong>Schema</strong></p><p>In SQL it has a default schema for all created tables i.e. dbo. But we are able to create a schema separately for each table. For example we want an Registration table for Staff, Non Staff and Students separately. At that time we create a schema so it help full to call the particular table using created schema name like Staff is a created schema then we can create a table Staff.Registration for staffs, NonStaff.Registration for non staffs and for students Student.Registration</p><p>drop table Staff.Registration<br>drop schema if exists Staff</p><p>By using drop we can delete table.</p><p><strong>Cascading Referential Integrity</strong></p><p>We create two tables connected with Foreign key. If we want to delete or update the parent table it is not possible to do, but we want to delete that particular column or update the element in the table. At that time we go for this Referential integrity.</p><p><strong>Step 1: </strong>No Action while delete/update<br>delete from customers where CID=101<br>update customers set CID=1001 where CID=101</p><p><strong>Step 2: </strong>on delete cascade on update cascade<br>alter table orders drop constraint [FK__Orders__CID__45F365D3](copy paste the order table key)<br>alter table orders add constraint Orders_CID foreign key(CID) references customers(CID) on delete cascade on update cascade;</p><p>update customers set CID=1001 where CID=101<br>delete from customers where CID=1001<br>(this will delete/update the parent table but it will effect to the child table also)</p><p>If we want to modify only the parent table then we should follow the next step</p><p><strong>Step 3: </strong>on delete set null on update set null<br>alter table orders drop constraint Orders_CID<br>alter table orders add constraint Orders_CID foreign key(CID) references customers(CID) on delete set null on update set null;</p><p>alter table orders drop constraint [Orders_OrderID]<br>update customers set CID=1001 where CID=101<br>delete from customers where CID=102<br>(this will update and delete the parent table but in child table replace with a null value)</p><p>If we don’t want the null value to be substituted while change in the parent table the we go to next step</p><p><strong>Step 4:</strong> on delete set default on update set default</p><p>we cannot delete or update the row which is having default value.</p><p><strong>Joins</strong></p><p><strong>Inner: </strong>It retrieves the common set of values from both the tables.<br>select s.SID,s.SName,sd.DID,sd.DName,sd.DHead<br>from Students as s inner join Student_Dept as sd on s.SDept=sd.DID; (this type sd.DID or s.SName is called as table alias)<br>It gives the output like below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jCJLdebrprfVgW4v.jpg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/0*qGiKoXvdmRgjIPZc.png" /></figure><p><strong>Outer: </strong>In this there are three types : left, right and full. In the above Students and Students_Dept table left is Students table and right is Students_Dept.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/0*0KUxPUd_jBWa5D0k.png" /></figure><p><strong>a) Left Join:</strong> All the rows from the left table and replace the non-matching values with NULL in the right table.</p><p>select s.SID, s.SName, sd.DID, sd.DName, sd.DHead from Students as s LEFT join Student_Dept as sd on s.SDept=sd.DID;</p><p><strong>b) Right Join: </strong>All the rows from the right table and replace the non-matching values with NULL in the left table.</p><p>select s.SID, s.SName, sd.DID, sd.DName, sd.DHead from Students as s right join Student_Dept as sd on s.SDept=sd.DID;</p><p><strong>c) Full Join: </strong>All the rows from the right table AND left table and replace the non-matching values with NULL in the both tables.</p><p><strong>Difference between left and right join</strong></p><p>select s.SID, s.SName, sd.DID, sd.DName, sd.DHead from Students as s FULL join Student_Dept as sd on s.SDept=sd.DID;<strong>Multiple Join: </strong>To show the joining of multiple tables means 3 tables, create another table Student_Rep and insert SRep in Students table.<br>select s.SID,s.SName,s.SRep,sd.DID,sd.DName,sd.DHead from Students as s<br>inner join Student_Dept as sd on s.SDept=sd.DID<br>inner join Student_Rep as sr on s.SRep=sr.SName</p><p>Student table after adding SRep column</p><p>If we join three tables with the help of inner join it shows output like below i.e. it retrieves the common set of values from the 3 tables (Students, Student_Dept and Student_Rep).</p><p><strong>Self: </strong>The SELF JOIN in SQL, as its name implies, is used to join a table to itself. This means that each row in a table is joined to itself and every other row in that table. However, referencing the same table more than once within a single query will result in an error. To avoid this, SQL SELF JOIN aliases are used.</p><p><strong>Cross: </strong>The CROSS JOIN is used to generate a paired combination of each row of the first table with each row of the second table. This join type is also known as cartesian join.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rV3-YAHU4tw8IWCB.png" /></figure><p><strong>Sequences: </strong>A sequence in SQL is a<strong> user-defined schema-bound object</strong> that generates a set or sequence of numbers in which their orders are important. Some database applications may require unique values in each row of a table. In these cases, sequences come handy for the easy generation of values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mE2eDajUVdZcfIMl.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8Jwtd_0KEEIDDw6X.png" /></figure><p><strong>Result of sequence</strong>: We can truncate<strong>[</strong>TRUNCATE TABLE removes all rows from a table, but the table structure and its columns, constraints, indexes, and so on remain] the table by using ‘truncate table demo1’ this command. Truncate command is used to purge a table of all of its rows, regardless of whether or not any conditions are met. TRUNCATE is faster than DELETE , as it doesn’t scan every record before removing it. TRUNCATE TABLE locks the whole table to remove data from a table; thus, this command also uses less transaction space than DELETE . Unlike DELETE , TRUNCATE does not return the number of rows deleted from the table. We are able to<strong> alter</strong> the sequence and reset the value. If we use this ‘alter sequence TraineeID restart with 1000 increment by 1’ command in the above example then the result is TraineeID will start from 1000 for TName and it will increment.</p><p>It is also possible to <strong>drop</strong> the sequence by using ‘drop sequence TraineeID’.</p><p><strong>Index:</strong> An index is a schema object. It is used by the server to speed up the retrieval of rows by using a pointer. It can reduce disk I/O(input/output) by using a rapid path access method to locate data quickly. There are two types: clustered and non clustered.</p><p><strong>Clustered index: </strong>Whenever a primary key is created automatically clustered index is created. Leaf node → The data which is stored in structured format. That particular table is known as a clustered table. Create a index for table →<br>create clustered index ind_TID on demo(TID)</p><p><strong>Non Clustered: </strong>Whenever a unique key is created automatically a non clustered index is created. This data is stored in the unstructured format.</p><p>We can have only one clustered index for a table, if we want more than one index we go for a non clustered index. Using below command<br>create index ind_TName on demo(TName) [it create a non clustered index to the table demo of column TName]</p><p><strong>Filtered index:</strong> We use an index like a filter using the where keyword.<br>create index ind_EDes on Employee(EDesignation) where EDesignation=’Trainee’ [it create a index called ind_EDes for the Employee table of EDesgination column which contains a Trainee as a designation]<br>select * from Employee where EDesignation=’Trainee’</p><p><strong>Synonyms: </strong>It is an alias/ alternative name for our table, view, procedure, function, trigger etc. Like giving another name to the table.<br>create synonym dep for Department<br>select * from dep<br>select * from Department [both select statements give the same answer].<br>To retrieve the details of synonyms we should type</p><p>select * from sys.synonmys.</p><p>From this command we get ID’s, type, created date etc.</p><p><strong>View: </strong>It is a virtual table which depends on another table. There are two types: 1. System view(SQL server views) 2. User-defined view(custom view). This custom view is further divided into two types i.e. simple and complex views.</p><p><strong>Simple views:</strong> It affects the Single table.<br>create view Emp_View as select * from Employee where EDesignation = ‘Trainee’ [ it will create a view for the Trainee of the Employee table]<br>select * from Emp_view [retrieve the view]<br>If we insert a value to the view then it will reflect the changes in the original table. We can also update the values of view and we are able to delete the view also.</p><p><strong>Complex view:</strong> It takes more than one table and it affects both the tables.<br>create view Student_Dep as<br>select s.SID,s.SName,s.SRep,sd.DID,sd.DName,sd.DHead<br>from Students as s<br>inner join Student_Dept as sd on s.SDept=sd.DID [ here we can observe the multiple table i.e. Student_Dept and Students table are joined]<br>select * from Student_Dep<br>In this we can update the value of view but we can’t delete or insert a value to the view. Because two tables are connected to each other. If we update the value then it reflects in the view, Students, Student_Dept table.</p><p><strong>Functions (System functions):</strong></p><ol><li><strong>cost( ):</strong> select cast(‘2022–10–06’ as datetime) → 2022–10–06 09:00:00</li><li><strong>convert( ):</strong> select convert(int, 12.365) → 12</li><li><strong>coalesce( ):</strong> select coalesce(null, null, ‘SQL’, null, ‘server’) → SQL [Emits the first not null value]</li><li><strong>current_user( ): </strong>select current_user [ gives the current user of the database]</li><li><strong>IIF:</strong> select IIF(10&gt;5, ‘yes’, ‘no’) as result → yes [ it is like if statement working as ternary operator]</li><li><strong>choose( ): </strong>select choose(3, ‘C#’, ‘SQL’, ‘ANGULAR’, ‘PYTHON’, ‘C++’) → ANGULAR [based on the index(3) it choose the value]</li></ol><p><strong>Case statement: </strong>It is used in multiple conditions. In this there are 2 types: Simple and Searched</p><p><strong>Simple: </strong>It is like comparing the value to the table value<br>select EID, EName, EDesignation,<br>case EDesignation<br>When ‘Junior’ then ‘Junior — 6 month exp’<br>When ‘Senior’ then ‘Senior — 1 year exp’<br>else ‘ Under training’<br>end as ‘Designation details’ from Employee</p><p><strong>Searched:</strong> Here we use a condition using operators like =, ≤, ≥ etc.<br>select EID, EName, EDesignation,<br>case<br>when EDesignation=‘Junior’ then ‘Junior — 6 month exp’<br>when EDesignation=‘Senior’ then ‘Senior — 1 year exp’<br>else ‘ Under training’<br>end as ‘Designation details’ from Employee</p><p><strong>Subquery: </strong>Query within a query like a nested query. In this we are able to perform select, insert, update, delete statements etc. Two category outer query( Main query) and inner query(Nested query). We are able to have a maximum of 32 levels of query.</p><p><strong>Select clause</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FJWx3MQ1yGdghJal.png" /></figure><p><strong>Where clause</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dCwW5_poRcdEowiY.png" /></figure><p><strong>From clause</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HHNt0Lmb8NnM7dGZ.png" /></figure><p><strong>Insert statement</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8EO4UrFCbc1VPE_c.png" /></figure><p><strong>Update statement</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qu-0rahSuozZk6Np.png" /></figure><p><strong>Delete statement</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/0*iDVk4Q7SIXt9oMA9.png" /></figure><p><strong>Types of Subqueries: </strong>In this there are 2 types: Independent nested query and Dependent nested query.</p><p><strong>Independent nested query: </strong>In this we perform IN, NOT IN, ANY, ALL. We already see the working of IN so NOT IN is opposite to that. So we need not go through that concept again so we look into the ANY and ALL type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*grQjZ5SidP7968JG.png" /></figure><p><strong>Dependent nested query: </strong>It is also known as correlated subquery. In this we look into the working of exists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YcIXzsfgrRX_GEZK.png" /></figure><p><strong>Extension of Group by clause</strong></p><p><strong>Grouping set:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2bE8_Ly-blYsmMkH.png" /></figure><p><strong>Roll up:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gEwH998OuUp2UDtp.png" /></figure><p><strong>Cube:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Az0QBrRCz_7vNtAs.png" /></figure><p><strong>Functions (User-defined functions): </strong>We look into the pre-defined or system function on 6/10/2022 so today we see about the User-defined functions. In user defined functions there are 2 types: 1. Scalar and 2. Table value. This Table value is further divided into two types: Inline table-value and Multi-statement table-value.</p><p><strong>Scalar: </strong>It returns the single value and we use a returns keyword with any datatype. In SQL parameters are created using @ symbol. These parameters are called table variables in SQL. A created function can be used anywhere in the database. To understand the scalar function we create a function to find the square of a variable we name the function as Fn_square.</p><p>Begin and End act as curly brackets in SQL. We use the Fn_square function in the demo table to calculate the TID square and for the EID of the Employee also we find the square. Then we create another scalar function to calculate the date difference. It is possible to use a where and select clause along with the scalar function.</p><p><strong>Table-valued:</strong> The returns keyword is used. But it returns the value in the table format. In this there are 2 types</p><ol><li><strong>Inline Table-valued:</strong> For the inline no need to begin and end. In this we can update the value.</li></ol><p>2. <strong>Multi Table-valued: </strong>In the inline table-valued function we are not able to change the column name, but in this we can change the name of the result column. Update is not possible in the multi table-valued function. For the multi table-valued function Begin and End is required. To understand the working of multi table-valued functions we take one example.</p><p><strong>Stored Procedure: </strong>It combines all the sets of queries which are frequently accessed into a Stored Procedure(Select, Insert, Delete, Update). From this we can save time so that it improves the performance. The values are stored in the form of pre-compiled code. Stored procedure is created in the input/output parameter. Stored procedures are also called Sub-routine or Sub-program. In the Stored Procedure 2 types: System and User-defined procedures. Now we look into the User-defined procedures.</p><p><strong>Procedure with no parameter:</strong> In below example no parameter is passed. We use an exec or execute keyword to execute the procedure. When we execute the procedure it gives the output with the total number of employees through counting from EDeptNo and groups them according to the designation of Employee table.</p><p><strong>Procedure with input parameter: </strong>If we did not specify the input keyword by default it takes it as input. In the below example we use a parameter as input. When the procedure is executed at that time John is passed as input to the procedure sp_EmpByName. Using the select statement it gives the details of John.</p><p><strong>Procedure with output parameter:</strong> In this we must specify the output keyword if not take it as input. We declare any variable using the Declare keyword. When the procedure is executed at that time through count it counts the number of employees in the Employee table and it passes that value to the totalemp parameter as output. That is stored in the declared variable Result. Then we print that result using the Print statement.</p><p><strong>Temporary procedures: </strong>Temporary procedures are created and declared in the tempdb in the system database. Once a query/session is closed then this temporary procedure will be deleted from the database. There are two types of temporary procedures 1. Global[It can be used in any service] and 2. local[It is for a single particular service]. All database objects created for temporary purposes are prefixed with #[local] or ##[global].</p><p><strong>Advantages of Procedures:<br></strong>1.<strong> </strong>Reduce Network Traffic<br>2. Improved Performance<br>3. Reusable<br>4. Secure the information</p><p><strong>Triggers: </strong>A trigger is a special type of stored procedure that automatically runs when an event occurs in the database server. We can observe the types in trigger<br>1. DDL triggers → CREATE,ALTER,DROP<br>2. DML triggers → INSERT,UPDATE,DELETE<br>3. CLR triggers → INSERT,UPDATE,DELETE<br>4. Logon triggers →Used in login form like just for admin login.<br>In this triggers we have two categories: Instead Of and After</p><ol><li><strong>DML trigger:</strong> In below example we are denied the insert statement using trigger. It is also possible to deny the update as well as for the delete[ In For insert we must type update delete then it denies the update and deletion]. When the insert is performed for the applied trigger, at that time it restricts the insert and gives a message like ‘You cannot insert into the demo table’.</li></ol><p><strong>DDL trigger: </strong>It is similar to DML trigger like in DML trigger we cannot delete, update, insert a value to the table. But using DDL triggers we denied the insert, update and delete a table from the database. In this there are two types: Database Scope[For particular database] and Server Scope[It is applied to all the database present in the server]</p><p><strong>Database Scope: </strong>In this we denied the table creation , alter table and also drop of table for one particular database.</p><p><strong>Server Scope:</strong> In this we denied the table creation , alter table and also drop of table for all the databases present in server.</p><p>It is possible to <strong>enable</strong> and <strong>disable </strong>the trigger using the enable and disable keyword followed by the trigger name.</p><p>Two categories of trigger i.e. Instead of and After.</p><p><strong>Instead of: </strong>If we want to perform a select operation instead of insert operation we go for the Instead of keyword like below code. If we insert a value to the demo it gives output of the demo table without adding value to the table.</p><p><strong>After:</strong> It is like after some operation if we want some statement to be displayed or some other operation needs to be done then we go for this After trigger. Like you can see in below code After inserting a value to the demo1 table it prints a statement like ‘After Trigger’.</p><p><strong>Transactions: </strong>A transaction is the logical work unit that performs a single activity or multiple activities in a database. Transactions may consist of a single read, write, delete, or update operations or a combination of these. Suppose that, when we want to withdraw money from the ATM, the ATM application will achieve this operation in three steps. As a first step, the application will check the balance of the account, and then it will deduct the money from the source account. Along with these two processes, it will keep the log of this money withdrawing activity. We can relate this transaction process in debit and credit also. Now we look into the ACID property of transaction</p><p><strong>ACID property</strong></p><p><strong>A</strong>tomicity: Success[commit] or Failure[Rollback] of transaction.<br><strong>C</strong>onsistency: Based on the state[success/failure] of the transaction it reflects in the database.<br><strong>I</strong>solation: If there are multiple transactions each transaction must be independent.<br><strong>D</strong>urability: It does permanent change in the database</p><p><strong>Types of Transaction</strong></p><p>1.<strong>Auto-commit transaction:</strong> It is the default transaction taking place when you do the view, select, delete or any operation in the database.</p><p>2. <strong>Explicit transaction:</strong> Keywords are associated with it, like Commit, Rollback or Savepoint.</p><p><strong>Commit: </strong>In below example we can see the commit keyword. It actually does the commit or adding operation what we mention in the transaction. So it will insert a value to the demo1 table and remove the value from the demo1 table.</p><p><strong>Rollback: </strong>In below example we use a rollback keyword so the insertion and deletion of value to the table does not take place.</p><p><strong>Savepoint: </strong>We can see the working of savepoint in the below example. If we don’t use a save point there then the insert, update and delete all three commands do not affect the table. But if we use savepoint after update at that time when rollback occurs it will stop at the update line means insert and update will execute but it will not execute the deletion it will rollback to savepoint</p><p>3.<strong> Implicit:</strong> If we execute the first line of below code it gives the output as OFF. Because for implicit we have manually ON the transaction. If we @@ means we represent that table variable as global.</p><p><strong>Mark:</strong> It is like a description about the transaction. These marks are stored in the transaction log with a name and in the dbo. logmarkhistory table of the msdb database. In the below example we use a mark with content ‘INSERTION &amp; UPDATION IN DEMO1’. Here in this example we give a name to the transaction as insertupdate_demo1.</p><p><strong>Exception handling: </strong>We perform exception handling in SQL along with Raiserror. We first see the example for exception handling along with the procedure. If we pass the num2 as 0 then it displays the error message with severity and state like ‘Cannot Divide By Zero level 16, state 127’.</p><p><strong>Raiserror:</strong> It is a keyword which gives an error message with severity and state. It has 3 parameter.<br><strong>1. MESSAGE</strong> → Message what we want to display, it is mentioned in the united comma (‘ ’).<strong>2. SEVERITY</strong> → It has 0 TO 24 levels<br>* 0–9 -&gt; Error is Not severe, It is like error status information .<br>* 11–16 -&gt; Runtime errors, error messages are created by the user.<br>* 17–19 -&gt; Errors that cannot be rectified by the developer and redirected to the system administrator.<br>* 20–24 -&gt; Fatal errors, this is the Most severe one.<br>3. STATE → It has 0–127 states. It does not matter that much to the message. But the severity is related, when we give the level to the message it must be related to the error.</p><h3>.NETCORE</h3><ol><li>Create Asp.NET Core 6.0 app in visual studio</li><li>Open visual studio 2022. Create a new project.</li><li>Select the option as Manage NUGet Packages.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*A84LpOTbD6aKVqEc.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3q-KL032KTX2yWqW.png" /></figure><p>4. Install the 2 packages as shown in Screenshot.</p><p>5. Scaffold DbContext“Server=(give sql server); Database=MyfirstcoreMVC; Trusted_Connection=True;” Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models.</p><p>6. Write the code as per your requirements.</p><p><strong>My work:</strong></p><p><strong>DATA FIRST APPROACH</strong></p><p>We can add, update, delete and check info.</p><p>By using bootstrap and font awesome will get such a look.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*zKH56z0mmWSpPjiHFf5hPA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*ktggprhc-cAfCiOE9RswNg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*CrFhN5RzVnN3qnNGyb1XVQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*qMAQ3dZQEuMhLQp37Jvljw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*56GMVJtV6zEK9V2DQSQpeQ.png" /></figure><p><strong>CODE FIRST APPROACH</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*V4rPKrImN6GfnGQRZ9OmeQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Yp2sZrsVXR4j7BlCe5Hm5A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*czBNrnMbaLpFvi_tr6aaYA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*8Rs8yXcAGCvsEX6rn_u89g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*2IOFuy6leEk6AXRkRRUjrQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*_6octZXO_MaNJcGNHeEn9Q.png" /></figure><p><strong>API:</strong></p><p>What is API?</p><p>A <strong>web API</strong> is an application programming interface for either a webserver or a web browser. It is a development concept, usually limited to a web application’s client-side and thus usually does not include web server or browser implementation details such as SAPIs or APIs unless publicly accessible by a remote web application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PoEeUgMFtG4gDwYB.png" /></figure><p>My work:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*cLBtm6Er40s3TkZCk0bCGA.png" /></figure><h3>REACT FRAMEWORK</h3><p>React is a JavaScript library for building user interfaces. React is used to build single-page applications. React allows us to create reusable UI components.</p><p>React, sometimes referred to as a frontend JavaScript framework, is a JavaScript library created by Facebook. React is a tool for building UI components. JSX is a JavaScript syntactic extension. It is a term used in React to describe how the user interface should seem. You can write HTML structures in the same file as JavaScript code by utilizing JSX.</p><p>The Virtual DOM is React’s lightweight version of the Real DOM. Real DOM manipulation is substantially slower than virtual DOM manipulation. When an object state changes, Virtual DOM updates only that object in the real DOM rather than all of them.</p><p>React employs one-way data binding, all activities stay modular and quick. React applications are straightforward and easy to test.</p><p>The create-react-app tool is an officially supported way to create React applications.</p><p>Node.js is required to use create-react-app.</p><p><strong>React Component Life-Cycle</strong><br>In ReactJS, the creation process of every component includes several<br>lifecycle methods. These methods, together stated as component’s lifecycle.<br>Four phases of the components life cycle are as follows:<br> 1)Initial Phase<br> 2)Mounting Phase<br> 3)Updating Phase<br> 4)Unmounting Phase</p><p>Initial Phase : It is termed as the birth phase of the lifecycle of a ReactJS component. In this phase, the component includes the initial state and default props. These default properties happen in the component’s constructor. This phase occurs only once and includes the following methods:<br>1. getDefaultProps()</p><p>2. getInitialState()</p><p>Mounting Phase<br>In this phase, there is the creation of a component’s instance and inserted it into the DOM. It includes the following methods:<br>1. componentWillMount()</p><p>2. shouldComponentUpdate()</p><p>3. render()</p><p>Updating Phase<br>It is the next phase of the React component lifecycle. Here, we get<br>new Props and change State. This phase also allows you to handle the<br>interaction with the user and provide communication with the hierarchy of<br>components.</p><ol><li>componentWillReceiveProps()</li><li>shouldComponentUpdate()</li><li>render()</li><li>componentDidUpdate()</li></ol><p>Unmounting Phase<br>It is the final phase of the React component lifecycle. This method is called<br>whenever the instance of the component is destroyed and unmounted from<br>the DOM. This phase includes only one method which is given below:<br>1. componentWillUnmount()</p><p><strong>Components</strong></p><p>Components are the building blocks that comprise a React application representing a part of the user interface.</p><p>Here are some of the features of Components — <br> Re-usability — A component used in one area of the application can be<br>reused in another area. This helps speed up the development process.<br> Nested Components — A component can contain several other<br>components.<br> Render method — In its minimal form, a component must define a render<br>method that specifies how the component renders to the DOM.<br> Passing properties — A component can also receive props. These are<br>properties passed by its parent to specify values.</p><p>FUNCTIONAL COMPONENT</p><pre>import React from &#39;react.&#39;<br>export default function Hello() {<br>    return (<br>        &lt;div&gt;<br>            Hello World!<br>        &lt;/div&gt;<br>    )<br>}</pre><p>CLASS COMPONENT</p><pre>import React, { Component } from &#39;react&#39;<br>export default class Hello extends Component {<br>    render() {<br>        return(<br>            &lt;div&gt;<br>            Hello World!<br>            &lt;/div&gt;<br>        )<br>    }<br>}</pre><p><strong>React State</strong></p><p>A state must be kept as simple as possible. It can be set by using the setState() method and calling setState() method triggers UI updates. A state represents the component’s local state or information. It can only be accessed or modified inside the component or by the component directly. To set an initial state before any interaction occurs, we need to use the getInitialState() method.</p><p><strong>Props in React</strong></p><p>Props, short for Properties in React Props, short for properties, allow the user to pass arguments or data to components. These props help make the components more dynamic. Props in a component are read-only and cannot be changed.</p><p><strong>App.js:</strong></p><p>import React, { Component } from ‘react’;</p><p>class App extends React.Component {</p><p>render() {</p><p>return (</p><p>&lt;div&gt;</p><p>&lt;h1&gt; Welcome to { <strong>this</strong>.props.name } &lt;/h1&gt;</p><p>&lt;p&gt; &lt;h4&gt; React is one of the best framework&lt;/h4&gt; &lt;/p&gt;&lt;/div&gt;</p><p>);</p><p>export <strong>default</strong> App;</p><p><strong>Main.js:</strong></p><p>import React from ‘react’;</p><p>import ReactDOM from ‘react-dom’;</p><p>import App from ‘./App.js’;</p><p>ReactDOM.render(&lt;App name = “React!!” /&gt;, document.getElementById(‘app’));</p><p><strong>Props validation</strong></p><p>Props validation is a tool that will help the developers to avoid future bugs and problems. It is a useful way to force the correct usage of your components. It makes your code more readable. React components used special property PropTypes that help you to catch bugs by validating data types of values passed through props, although it is not necessary to define components with propTypes.</p><p>App.propTypes is used for props validation in react component. When some of the props are passed with an invalid type, you will get the warnings on JavaScript console. After specifying the validation patterns, you will set the App.defaultProps.</p><p>Syntax:</p><p>class App extends React.Component {</p><p>render() {}</p><p>}</p><p>Component.propTypes = { /*Definition */};</p><p><strong>React Forms</strong></p><p>Forms are an integral part of any modern web application. It allows the users to interact with the application as well as gather information from the users.</p><p>There are mainly two types of form input in React.</p><ol><li>Uncontrolled component</li><li>Controlled component</li></ol><p>Uncontrolled component</p><p>The uncontrolled input is similar to the traditional HTML form inputs. The DOM itself handles the form data. Here, the HTML elements maintain their own state that will be updated when the input value changes.</p><p>Controlled Component</p><p>In HTML, form elements typically maintain their own state and update it according to the user input. In the controlled component, the input form element is handled by the component rather than the DOM.</p><p><strong>React Keys</strong></p><p>A key is a unique identifier. In React, it is used to identify which items have changed, updated, or deleted from the Lists. It is useful when we dynamically created components or when the users alter the lists. It also helps to determine which components in a collection needs to be re-rendered instead of re-rendering the entire set of components every time.</p><h3>Example</h3><p><strong>const</strong> stringLists = [ ‘Peter’, ‘Sachin’, ‘Kevin’, ‘Dhoni’, ‘Alisa’ ];</p><p><strong>const</strong> updatedLists = stringLists.map((strList)=&gt;{</p><p>&lt;li key={strList.id}&gt; {strList} &lt;/li&gt;;</p><p>});</p><p><strong>React Fragments</strong></p><p>In React, whenever you want to render something on the screen, you need to use a render method inside the component. This render method can return <strong>single</strong> elements or <strong>multiple</strong> elements. The render method will only render a single root node inside it at a time. However, if you want to return multiple elements, the render method will require a ‘<strong>div</strong>’ tag and put the entire content or elements inside it.</p><h3>Example</h3><p>// Rendering with div tag</p><p><strong>class</strong> App <strong>extends</strong> React.Component {</p><p>render() {</p><p><strong>return</strong> (</p><p>&lt;div&gt;</p><p>&lt;h2&gt; Hello World! &lt;/h2&gt;</p><p>&lt;p&gt; Welcome to the JavaTpoint. &lt;/p&gt;</p><p>&lt;/div&gt;</p><p>);</p><p>}</p><p>}</p><p>This extra node to the DOM sometimes results in the wrong formatting of your HTML output and also not loved by the many developers.</p><p>To solve this problem, React introduced <strong>Fragments</strong> from the <strong>16.2</strong> and above version. Fragments allow you to group a list of children without adding extra nodes to the DOM.</p><p>Syntax</p><p>&lt;React.Fragment&gt;</p><p>&lt;h2&gt; child1 &lt;/h2&gt;</p><p>&lt;p&gt; child2 &lt;/p&gt;</p><p>.. ….. …. …</p><p>&lt;/React.Fragment&gt;</p><p><strong>React Router</strong></p><p>Routing is a process in which a user is directed to different pages based on their action or request. ReactJS Router is mainly used for developing Single Page Web Applications. React Router is used to define multiple routes in the application.</p><p>React contains three different packages for routing. These are:</p><ol><li><strong>react-router:</strong> It provides the core routing components and functions for the React Router applications.</li><li><strong>react-router-native:</strong> It is used for mobile applications.</li><li><strong>react-router-dom:</strong> It is used for web applications design.</li></ol><p>There are two types of router components:</p><ul><li><strong>&lt;BrowserRouter&gt;:</strong> It is used for handling the dynamic URL.</li><li><strong>&lt;HashRouter&gt;:</strong> It is used for handling the static request.</li></ul><p><strong>React CSS</strong></p><p>CSS in React is used to style the React App or Component. The <strong>style</strong> attribute is the most used attribute for styling in React applications, which adds dynamically-computed styles at render time. It accepts a JavaScript object in camelCased properties rather than a CSS string. There are many ways available to add styling to your React App or Component with CSS. Here, we are going to discuss mainly <strong>four</strong> ways to style React Components, which are given below:</p><ol><li>Inline Styling</li><li>CSS Stylesheet</li><li>CSS Module</li><li>Styled Components</li></ol><p><strong>React Bootstrap</strong></p><p>Single-page applications gaining popularity over the last few years, so many front-end frameworks have introduced such as Angular, React, Vue.js, Ember, etc. As a result, jQuery is not a necessary requirement for building web apps. Today, React has the most used JavaScript framework for building web applications, and Bootstrap become the most popular CSS framework. So, it is necessary to learn various ways in which Bootstrap can be used in React apps, which is the main aim of this section.</p><p><strong>Adding Bootstrap for React</strong></p><p>We can add Bootstrap to the React app in several ways. The <strong>three</strong> most common ways are given below:</p><ol><li>Using the Bootstrap CDN</li><li>Bootstrap as Dependency</li><li>React Bootstrap Package</li></ol><p><strong>React Map</strong></p><p>A map is a data collection type where data is stored in the form of pairs. It contains a unique key. The value stored in the map must be mapped to the key. We cannot store a duplicate pair in the map(). It is because of the uniqueness of each stored key. It is mainly used for fast searching and looking up data.</p><p><strong>React Table</strong></p><p>A table is an arrangement which organizes information into rows and columns. It is used to store and display data in a structured format.</p><p>The react-table is a lightweight, fast, fully customizable (JSX, templates, state, styles, callbacks), and extendable Datagrid built for React. It is fully controllable via optional props and callbacks.</p><p><strong>React Hooks</strong></p><p>Hooks are the new feature introduced in the React 16.8 version. It allows you to use state and other React features without writing a class. Hooks are the functions which “hook into” React state and lifecycle features from function components. It does not work inside classes.</p><p>Hooks are backward-compatible, which means it does not contain any breaking changes. Also, it does not replace your knowledge of React concepts.</p><p><strong>What is Axios?</strong><br>Axios is an HTTP client library that allows you to make<br>requests to a given endpoint(API). This could be an external API or your own backend Node.js server, for example.<br>By making a request, you expect your API to perform an<br>operation according to the request you made.<br>For example, if you make a GET request, you expect to get back<br>data to display in your application.<br>Why Use Axios in React<br>There are a number of different libraries you can use to make<br>these requests, so why choose Axios?<br>Here are five reasons why you should use Axios as your client<br>to make HTTP requests:<br>1. It has good defaults to work with JSON data. Unlike<br>alternatives such as the Fetch API, you often don&amp;#39;t need<br>to set your headers. Or perform tedious tasks like<br>converting your request body to a JSON string.</p><p>2. Axios has function names that match any HTTP<br>methods. To perform a GET request, you use<br>the .get() method.</p><p>3. Axios does more with less code. Unlike the Fetch API,<br>you only need one .then() callback to access your<br>requested JSON data.</p><p>4. Axios has better error handling. Axios throws 400 and<br>500 range errors for you. Unlike the Fetch API, where<br>you have to check the status code and throw the error<br>yourself.</p><p>5. Axios can be used on the server as well as the client. If<br>you are writing a Node.js application, be aware that<br>Axios can also be used in an environment separate from<br>the browser.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=685870893fbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Starting my journey to corporate world!!]]></title>
            <link>https://medium.com/@sampadapolepalli7/starting-my-journey-to-corporate-world-96a3d5b382cb?source=rss-73cd6f501dbf------2</link>
            <guid isPermaLink="false">https://medium.com/p/96a3d5b382cb</guid>
            <dc:creator><![CDATA[Polepalli Sampada]]></dc:creator>
            <pubDate>Sun, 28 Aug 2022 15:56:35 GMT</pubDate>
            <atom:updated>2022-10-22T05:45:08.300Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Starting my journey to corporate world!!</strong></p><p><strong>Introduction…</strong></p><p>Hello folks! this is Sampada recently finished B.E. in E&amp;C and I would like to share my feelings before joining the corporate.</p><p>Like everyone else I am also excited for my first job and also feeling tensed because we are new to the corporate world. I have several doubts like, whether I can cope up with the work culture of the organization, could I be able to impress my higher authorities, able to adapt to new changes, meet the expectations of the organization and so on. And I want a solution for this. I took some time and I found a solution. It may sound routine but the solution is enjoy and cherish the present moments. Sounds good right! But not only enjoyment, focus and resilience is also very important to achieve our goals at the start of our career. I would like to mention one quote said by Lord Sri Krishna that is, “You are what you believe in. You become that which you believe you can become”. So I decided to face the challenges and be confident as much as possible.</p><p><strong>My journey so far…</strong></p><p>I have gone through soft skills training conducted by my company and I have learnt many things. And those things are email etiquette, work life balance, time management, goal setting, decision making. These things may sound simple but they are not. When we start our journey in the corporate world these things matters a lot. As a fresher dedication and discipline matters a lot!! After this, technical training introduction has done by “<strong>DLithe</strong>”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/0*hRpiuUSgr70BFCrz" /></figure><p>In this session, our trainer Mr. Arun Rajpurohit mentioned some industry segments like Banking, Insurance, Retail, Transportation and Healthcare. I would like to explain those segments in brief. As industry transformation has remarkable changes when we compare past to present, these industry segments plays a major role. Before there was a barter system which is always not possible and now this is replaced by banking system. In that time time transportation services were poor when compared to recent services like Redbus, Abhibus and so on. In this industry has evolved in many segments in a tremendous way.</p><p><strong>Industry segments…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/844/1*NsQZ25L2jhdse0ZC803YXg.png" /></figure><p>Banking: The three main business segments for a bank are retail banking, wholesale banking and wealth management. Retail banking involves deposits, mortgages, loans, and credit cards. Wholesale banking is related to sales, trading, mergers and acquisitions. Wealth management generates revenue through retail brokerage services and asset management. Group banking system is followed by the most companies. In this system, group of banks are brought under the control of a holding company. The holding company controls the affairs of all units in the group. But each bank maintains its separate identity. The purpose of group banking is to unify the management of banks, to achieve economies of large-scale operation to grab more power.</p><p>Insurance: Due to recent pandemic, we all know the importance of health as well as health insurance which plays a very important role to assure the financial help during hard times. Insurance means an arrangement by which a company undertakes to provide a guarantee of compensation for specified loss, damage illness, or death in return for payment of a specified premium. Some of the important insurance types under corporate companies are: Property insurance, Professional liability insurance, Worker’s compensation insurance, Group health insurance, Product liability insurance, Business interruption insurance. There are many benefits of insurance. My company “Tietoevry” provided medical insurance to the employees and I am feeling so grateful to our company for their interest in employees health.</p><p>Retail: It can be defined as final stage of channel where small quantities of goods are sold directly to the consumer for their uses. Retailing act as both a marketing tool for the brands and to exchange important information. It is a great asset to the economy. Whereas corporate retailing involves mediums like chain stores, franchises and merchandising. It mainly focuses on retailing goods of only the parent or partner brand.</p><p>Transportation: Now-a-days, transportation plays a vital role. It also has a major role in the corporate world. This segment physically connects the business to its supply chain partners, such as suppliers and customers and also influences the satisfaction of the customer with the company. It can also represent a substantial cost for the business.</p><p>Healthcare: You may heard the quote saying “Health is Wealth”, it’s true right! Health is very important in everyone’s life as well as in corporate sector. While prioritizing work we may neglect our health. So combination of healthcare sector and corporate sector can help in solving the mentioned problem so it would help in taking care of the healthcare benefits of the employees. In recent years many organizations introduced schemes like insurance policies to employees, which is very beneficial to the employees.</p><p>I was also taught, how <strong>customer experience</strong> and <strong>operational excellence</strong> is essential. You may doubt what are these terms mean (if you are not from corporate/ new to corporate) so I will explain in short.</p><p>So I will give a live example, in last few days I ordered a product from Ajio and I did not like it. So I returned the product but I did not get my refund. After waiting for so long and I spoke with customer care executive and he asked all details of the product and return id in a smooth way and he told that your refund will be done and I received my refund. This is what customer experience means. Customer satisfaction and experience matters a lot for organization to be successful.</p><p>And here we can observe the work done by the customer care executive and this is called operational excellence. He did his duty which results in continuous improvement in an organization. It also involves teamwork, problem solving and leadership and focusing on the customer’s needs and improving the current activities in the workplace. And every time we may not have good experience, sometimes some companies do not give good services. Why Amazon is very popular!! because of its operational experience and its importance to customer experience.</p><p>We also learnt topics like Basics of Computer, Computer architecture, Evolution of standalone to cloud architecture. So we all are familiar that computer is an electronic device which is a combination of hardware and software used to process the data. And computer is very much useful in calculating complex calculations and to solve problems. Basic architecture of the computer follows,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*2aDBlxXB1H1TANIx.png" /></figure><p>Here the Arithmetic/Logic unit performs the mathematical operations and control unit keeps track of all operations in the computer. And data is stored in the memory unit. Through input device, input is taken and output is given through the output device.</p><p><strong>Evolution of standalone applications to cloud…</strong></p><p>A few years back, floppy disks and compact disks were used for storage purpose and after few years pendrives and hard disks were used and even these are replaced with new concept called ‘cloud’. At first there was Mainframe →PC → Network →Internet → Grid Computing → Cloud computing. The cloud computing is latest one. Cloud computing is fifth generation of computing. There, are many new computing paradigms have been developed and adopted, with the emergence of technological advances such as multi-core processors and networked computing environments, to edge closer toward achieving the grand vision of computing. These new computing paradigms are cluster computing, Grid computing, P2P computing, service computing, market oriented computing, and most recently Cloud computing. Cloud computing has become a significant technology trend, driven by big players like Amazon, Microsoft, Google, Salesforce.com, and transforming our current IT industry. Cloud computing has three types of service models and those are : Software-as-a-Service (SaaS), Platform-as-a-Service (PaaS), Infrastructure-as-a-Service (IaaS). There are four deployment models and those are Private cloud, Community cloud, Public cloud and Hybrid cloud.</p><p>Coming to cloud services there are many major cloud service providers like Amazon, IBM, Oracle, Google, Microsoft. But there are also hundreds of other cloud computing providers all over the world. I gathered some information about the services provided by famous cloud service provider i.e., Amazon Web Services (AWS). AWS provides services in various fields like Advertising and Marketing, Financial services, Game tech, Automotive, Government, Healthcare, Industrial, Manufacturing, Media and so on. We can create many things using their services like, launching a web application, build and run applications without servers, to securely store any application’s data, to add intelligence to applications and train ML models and so on.</p><p>What is software engineering?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Lh2WUUbvfARFfyeC.jpg" /></figure><p><strong>Software engineering</strong> is an engineering branch associated with development of software product using well-defined scientific principles, methods and procedures. The outcome of software engineering is an efficient and reliable software product. For effective management of a project, software engineering plays a important role. Why it is important? Answer is simple because of its characteristics like Scalability, Adaptability, Economical cost, dynamic nature, effectiveness and quality management. And while managing and planning a project a proper life cycle model is required to use and that model is called Software Development Life Cycle(SDLC). It is a pictorial and diagrammatic representation of the software life cycle. A life cycle model represents all the methods required to make a software product go through its life cycle stages. Without a life cycle model we cannot achieve development of a product in a systematic and disciplined manner. Suppose when whole project can be divided among team members and team leader assigns different roles to the members of the team then this would be a perfect failure of project. A software life cycle model describes entry and exit criteria for each phase. A phase can begin only if its stage-entry criteria have been fulfilled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Qmu8Xj3rGQ3WmV1S.jpeg" /></figure><p>First accurate planning is required to face the problems faced by target users. And proper analysis has to be taken place by interacting with stakeholders and users to collect project requirements. Then creating the architecture of a software system and its elements. Next building the software using a programming language by developers. Then evaluating quality of software with the aim of finding and fixing bugs and preparing the software to run and operate in a specific environment. Consistently updating and supporting the software after it has been delivered to the market.</p><p>Types of Lifecycles…</p><ol><li>Waterfall model</li><li>V model</li><li>Iterative model</li><li>Agile model</li><li>RAD model</li><li>Incremental model</li></ol><p>Comparison of Lifecycle models</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KFXKRnr2FTL8BUOMazsHbg.png" /></figure><p>Now-a-days, the medical devices industry currently seems to be using the V-Model the most. This makes sense: the patient/medical professional mostly needs accurate information and results. Significant input from external sources is not likely to improve the functioning of the product. Secondly, the requirements need to be precise and well written, given that most developers do not have medical degrees. These two factors go against the Agile tenets of high upfront customer involvement and limited documentation. To ensure accuracy and quality, the main focus from a software perspective is on well-prepared requirements, quality development, and accuracy.</p><p><strong>Requirement Gathering Process…</strong></p><p>Requirement Gathering is the process of understanding what you are trying to build and why you are trying to build and why you are building it. Three main sub-processes of requirement gathering are Requirements elicitation, Requirements documentation and Requirements confirmation. Requirement elicitation is the process of asking for and collecting top-level requirements from all relevant stakeholders. Requirement documentation organizes the input from the requirements elicitation process into whatever format is appropriate for your organization. Requirements confirmation is the process of making sure all stakeholders and team members have a common understanding of what you are trying to build.</p><p><strong>Benefits…</strong></p><ol><li>Greatly improves the chances that customers and users will get what they wanted.</li><li>Decreases the chances of a failed project.</li><li>Reduces the overall cost of the project by catching requirements problems before development begins.</li></ol><p>A 6-step Requirements gathering process…</p><ol><li>Identify the relevant stakeholders.</li><li>Establish project goals and objectives.</li><li>Elicit requirements from stakeholders.</li><li>Document the requirements.</li><li>Confirm the requirements.</li><li>Prioritize the requirements.</li></ol><p><strong>Do you know what is Use case?</strong></p><p>A Use case acts as a software modeling technique that defines the features to be implemented and the resolution of any errors that may be encountered. Use cases define interactions between external actors and the system to attain particular goals. There are three basic elements that make up a use case:</p><ul><li>Actors: Actors are the type of users that interact with the system.</li><li>System: Use cases capture functional requirements that specify the intended behavior of the system.</li><li>Goals: Use cases are typically initiated by a user to fulfill goals describing the activities and variants involved in attaining the goal.</li></ul><p>How to Write<br>Step 1: Name the Use Case</p><p>Step 2: Describe the Scope</p><p>Step 3: Identify the Actors</p><p>Step 4: Establish the Preconditions</p><p>Step 5: Define the Basic Flow</p><p>Step 6: Provide Alternate Flows</p><p>Step 7: Indicate the Post Conditions</p><p>Advantages of Use case diagram:</p><ul><li>Use case help to capture the functional requirements of a system.</li><li>Use cases are traceable.</li><li>Use cases can serve as the basis for the estimating, scheduling, and validating effort.</li></ul><p>Steps to draw the use case diagram:</p><p>Step 1: Identify the system users or actors and categorize them<br>by the level of access to the system.<br> Step 2: Assign roles to every category of users as relevant to the<br>system.<br> Step 3: Define the steps the users should undertake to achieve<br>given goals on the system.<br> Step 4: Identify the goals and create a use case for each.<br> Step 5: Structure all the use cases.<br> Step 6: Review and validate the system actors.</p><p><strong>User story</strong> : It is an informal, general explanation of a software feature written from the perspective of the end user or customer. It helps the product manager and development team shift their focus from writing about the software features to discussing the features.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/0*f6vz-_aJyWPBl9bT.jpg" /></figure><p><strong>Agile methodology…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*vTf2kTMM03z5MF-C.png" /></figure><p>The Agile methodology is a way to manage a project by breaking it up into several phases. It involves constant collaboration with stakeholders and continuous improvement at every stage. Once the work begins, teams cycle through a process of planning, executing, and evaluating. Continuous collaboration is vital, both with team members and project stakeholders. In each Agile team, there are several roles that play an important part in the success of the project. The roles in the Agile team are listed below.</p><p>1. Product Owner</p><p>2. Team Lead/Scrum Master</p><p>3. Development Team Members</p><p>4. Stakeholders</p><p>A Product Owner is a person who has the authority to make decisions and prioritize the product backlog. They are in charge of making sure that the team is working on the right items. The team leader plays an important role in Agile, as they provide leadership and guidance to the team. They are responsible for ensuring that the team is working together to achieve their goals. A development team is a group of people who are responsible for building a product. They may be working in an Agile environment, which means that they are using agile methodologies such as Scrum and Kanban. The development team usually consists of roles such as Developers, Designers, Testers, Quality Assurance (QA). The stakeholders are those who have an interest in the project that is being undertaken. They can be internal or external to the organization, and they may have a financial, operational, or strategic interest in the project.</p><p><strong>Standup Meeting:</strong> A daily stand-up meeting is an opportunity for the project team to discuss a project’s progress at a high level. These meetings last 15 minutes and allow each contributor to report on their accomplishments since the last stand-up meeting. Example: during our training period, our training faculty daily conducts the standup meetings, in which we discuss previous day’s topics, topics that are going to teach and topics that will be taught on the next day. This can be a best example for Standup Meeting.</p><p><strong>Sprint:</strong> Sprint in agile development is known to be specific period of time during which a specific task has to be completed and made ready for the review. Each sprint begins with a planning meeting. During the meeting, the product owner (the person requesting the work) and the development team agree upon exactly what work will be accomplished during the sprint. The development team has the final say when it comes to determining how much work can realistically be accomplished during the sprint, and the product owner has the final say on what criteria need to be met for the work to be approved and accepted. The duration of a sprint is determined by the scrum master. A variety of roles involve in the Sprint and those are Product owner, Scrum master, Scrum team. Product owner represents the business and acts a liaison between development team and customers. Scrum master is the main facilitator for the project’s development team. They manage the process for how information is exchanged during the sprint, including leading stand-up meetings and helping the team stay on track by mediating problems and removing obstacles. Scrum team is group of people responsible for executing the work. Artifacts provide the information that a scrum team needs to understand the product under development, as well as completed and planned activities for the project. Artifacts include: Backlog, Burndown charts, User stories.</p><p><strong>Sprint Workflow and process:</strong></p><p>The sprint workflow is intended to help team members evaluate their work and communicate with each other throughout the entire process.</p><p>Backlog: A list of set tasks that must be completed before the product is released. The backlog is built by the product owner.</p><p>Sprint planning: The team discusses top priority user stories and decides what can be delivered in the sprint.</p><p>Sprint backlog: Agreed upon by the entire team, this list finalizes and defines what the development team will complete during the sprint.</p><p>Sprint: The time frame in which the work must be completed — often 30 days.</p><p>Daily scrum:<strong> </strong>Lead by the scrum master, the team comes together for short daily meetings, in which they discuss what they have completed, what they are working on and any issues that are blocking the work.</p><p>Outcome:<strong> </strong>The outcome of a sprint is a hypothetically usable product. The product owner can decide if the product is ready or if additional features are needed.</p><p>Sprint end : At the end of a sprint, two meetings are held:</p><p>Sprint review: The team shows their work to the product owner.</p><p>Sprint retrospective:<strong> </strong>The team discusses what they can do to improve processes. An important goal is continuous improvement.</p><p><strong>Retrospective meeting</strong></p><p>A retrospective is a meeting held after a product ships to discuss what happened during the product development and release process, with the goal of improving things in the future based on those learnings and conversations. An agile retrospective forces the entire team to pause and reflect on what transpired and discuss what worked and what didn’t during a particular project.</p><p><strong>Task planning</strong></p><p>Task planning is similar to functions topic in the programming in which we divide the code into sub codes similarly in task planning we break down the goals into small tasks. This means figuring out every activity in which order they have to be arranged so that we can achieve our goal and getting them into a manageable plan that that you can use to manage tasks and track progress day-to-day basis.</p><p><strong>Estimation Process</strong></p><ol><li>Identify and select tasks for estimating.</li><li>Collect and analyze task data.</li><li>Identify and select estimation parameters.</li><li>Estimate tasks</li><li>Develop a model that describes tasks by selected parameters.</li><li>Use the model in decision making.</li></ol><p>After knowing all the basics of Software engineering, I also learnt topics like Algorithm, Flowchart and Pseudocode. I will explain them in brief.</p><p><strong>Jira Software</strong></p><p>What is Jira software? The answer is, it is a tool for managing teams for Software development life cycle, bug management, project management, work management and for all the teams in various sectors like HR, marketing, finance etc. I created a free trial account in Atlassian.com. I learnt many things about Jira software like creating a project, creating a issue, creating product backlog, creating a sprint, emailing/sharing a issue etc.</p><p><strong>Algorithm</strong></p><p>Algorithm can be defined as list of instructions that conduct specified actions step by step in either software/hardware. Basically algorithms are more widely used in IT sector. An algorithm could be used for sorting, recommending user content on social media. Examples of various algorithms are: Recursive, Backtracking, Divide and Conquer, Brute-Force and so on.</p><p>Sometimes it is very difficult to write direct program in any language, like we cannot start constructing building without the design of building. In detail, to build a building materials(input) are needed plus instructions on how to start building and the result is the building(output).</p><p>Algorithm for Facebook login page</p><p>Step 1. Start</p><p>Step 2. Enter the Facebook page through website or app</p><p>Step 3. Sign in to the page if you are not a new user by entering mail ID and password and if credentials are matched then sign in is successful</p><p>Step 4. If you are new user to Facebook sign up by entering mail ID and set the password.</p><p>Step 5. Verification mail is sent to registered mail ID</p><p>Step 6. After sign up go to step 3</p><p>Step 7. Stop</p><p><strong>Flowchart</strong></p><p>A flow chart is a graphical representation of an algorithm. These flow charts play a vital role in the programming and or helpful in understanding the logic of the problems. Once the flow chart is drawn, it becomes easy to write the program in any high level language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*mPUwCkRCHHiy1wkZelos-w.png" /></figure><p><strong>Pseudo code</strong></p><p>Pseudo code specifies the steps required to accomplish the goal. It is a type of structured english that is used to specify an algorithm. It cannot be compiled or executed and there are no syntax rules.</p><p>Start</p><p>INPUT the list of Fruits</p><p>Fruits = Mango, Apple, Fig, Banana, Pomegranate</p><p>INPUT the prices of Fruits</p><p>Mango = Rs. 100/Kg, Apple = Rs. 50/Kg, Fig = Rs. 30/Kg, Banana = Rs. 20/Dozen, Pomegranate = Rs. 200/Kg</p><p>GET the type and quantity from user</p><p>IF choice is present in Fruits</p><p>COMPUTE cost = type * (Fruits[i] * price)</p><p>ELSE</p><p>DISPLAY out of stock</p><p>ENDIF</p><p>RETURN cost</p><p>STOP</p><p><strong>Do you want to know about OOPS??</strong></p><p>OOPS is defined as Object Orient Programming. Steve Jobs gave an explanation about oops and I want to share. He said, objects are like people, they are living, breathing things that have knowledge inside them about how to do things and have memory inside them so they can remember things. And rather than interacting with them at a very low level, you interact with them at a very high level of abstraction, like we are doing here.</p><p>Oops provide us a clear modular structure for programs and makes easy to maintain and modify existing code. It also provides good framework for code libraries where supplied software components can be easily adapted and modified by programmer. It is suitable for real world problems and works.</p><p>There are many sub-topics in oops and those are:</p><ol><li>Class</li><li>Object</li><li>Encapsulation</li><li>Abstraction</li><li>Inheritance</li><li>Polymorphism</li></ol><p><strong>Class</strong>: In simple terms class can be defined as the blueprint. For eg. we cannot construct a building without a blueprint. Another example, we all are aware of ice tray and ice cubes, in this case ice tray acts as a class. Without ice tray ice cubes cannot be formed.</p><p><strong>Object: </strong>Object is defined as a real world entity. Eg. in the above mentioned example, building and ice cubes are objects.</p><p><strong>Encapsulation:</strong> Encapsulation is a mechanism where you bind your data and code together as a single unit. It also means to hide your data in order to make it safe from any modification. Eg: a medical capsule, where the drug is always safe inside the capsule. Similarly, through encapsulation the methods and variables of a class are well hidden and safe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*qUwmq4U_F76Xcn_MeLk-0Q.png" /></figure><p><strong>Abstraction:</strong> It basically deals with hiding the details and showing the essential things to the user. Whenever we get a call, we get an option to either pick it up or just reject it. But in reality, there is a lot of code that runs in the background. So you don’t know the internal processing of how a call is generated, that’s the beauty of abstraction. Therefore, abstraction helps to reduce complexity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*GmOVtTEy0XuZnQuUKYnZqQ.gif" /></figure><p><strong>Inheritance:</strong> It is one such concept where the properties of one class can be inherited by the other. It helps to reuse the code and establish a relationship between different classes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/0*cLlNtiJAaK_87tK-.png" /></figure><p>Inheritance is further classified into 4 types:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*83Ensy4taESufZCn.png" /></figure><p><strong>Polymorphism: </strong>Polymorphism means taking many forms, where ‘poly’ means many and ‘morph’ means forms. It is the ability of a variable, function or object to take on multiple forms.</p><h3>DBMS</h3><p>DBMS is database management system. Databases are the collection of data in order to store and retrieve data. The database consists of data which can be a numeric, alphabetic and also alphanumeric form. Analyzing data is a key feature of database management system that is DBMS. DBMS allows the definition, creation, querying, update, and administration of databases. Language supported and widely used for querying and accessing the database is SQL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/0*dDNrD4gE5s50JJhs.png" /></figure><p><strong>DBMS allows users the following tasks:</strong></p><ul><li><strong>Data Definition:</strong> It is used for creation, modification, and removal of definition that defines the organization of data in the database.</li><li><strong>Data Updation:</strong> It is used for the insertion, modification, and deletion of the actual data in the database.</li><li><strong>Data Retrieval:</strong> It is used to retrieve the data from the database which can be used by applications for various purposes.</li><li><strong>User Administration:</strong> It is used for registering and monitoring users, maintain data integrity, enforcing data security, dealing with concurrency control, monitoring performance and recovering information corrupted by unexpected failure.</li></ul><p><strong>What is table/Relation?</strong></p><p>Everything in a relational database is stored in the form of relations. The RDBMS database uses tables to store data. A table is a collection of related data entries and contains rows and columns to store data. Each table represents some real-world objects such as person, place, or event about which information is collected. The organized collection of data into a relational table is known as the logical view of the database.</p><p>A row of a table is also called a record or tuple. It contains the specific information of each entry in the table. It is a horizontal entity in the table. The smallest unit of data in the table is the individual data item. It is stored at the intersection of tuples and attributes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/0*ABePAMjnDryOKPAH" /></figure><p><strong>Structured Query Language:</strong></p><p>SQL is Structured Query Language, which is a computer language for storing, manipulating and retrieving data stored in a relational database.</p><p>SQL is the standard language for Relational Database System. All the Relational Database Management Systems (RDMS) like MySQL, MS Access, Oracle, Sybase, Informix, Postgres and SQL Server use SQL as their standard database language.</p><p>There are various components included in this process.</p><p>These components are −</p><ul><li>Query Dispatcher</li><li>Optimization Engines</li><li>Classic Query Engine</li><li>SQL Query Engine, etc.</li></ul><p>The standard SQL commands to interact with relational databases are CREATE, SELECT, INSERT, UPDATE, DELETE and DROP.</p><p><strong>DDL — Data Definition Language</strong></p><ol><li>CREATE: Creates a new table, a view of a table, or other object in the database.</li></ol><p>2. ALTER: Modifies an existing database object, such as a table.</p><p>3. DROP: Deletes an entire table, a view of a table or other objects in the database.</p><p><strong>DML — Data Manipulation Language</strong></p><ol><li>SELECT</li></ol><p>Retrieves certain records from one or more tables.</p><p>2. INSERT: Creates a record.</p><p>3. UPDATE: Modifies records</p><p>4. DELETE: Deletes records.</p><p><strong>DCL — Data Control Language</strong></p><ol><li>GRANT: Gives a privilege to user.</li></ol><p>2. REVOKE: Takes back privileges granted from user.</p><p><strong>Software Testing</strong></p><p>Software testing is the process of finding errors in the developed product. It also checks whether the real outcomes can match expected results, as well as aids in the identification of defects, missing requirements, or gaps.</p><p>The different types of functional testing include:</p><ul><li>Unit testing. In unit testing, the tester checks individual software components. The aim is to test whether the components behave according to the requirements.</li><li>Integration testing. Integration testing deals with testing individual components or modules after they are combined in a group.</li><li>System testing. Here, the tester executes test cases for verifying the compliance of integrated and completed software along with specifications.</li><li>Sanity testing. This tests logical reasoning related to the working of the program.</li><li>Smoke testing. Smoke testing tests simple and basic functionalities, such as if the user is able to log in or log out.</li><li>Interface testing. These tests check whether the communication between two software systems is correctly carried out.</li><li>Regression testing. This is probably one of the most important testing phases. Here, the old test cases of the entire application are executed after a new functionality has been implemented.</li><li>Beta/acceptance testing. Here, the intended users try the product and report bugs.</li></ul><p>Non-functional testing types include:</p><ul><li>Performance testing. The performance or speed of the application is tested under the required workload.</li><li>Load testing. This tests an application’s behavior under a huge workload. So, if you’re testing a website, load testing checks the site’s functionality and performance under high traffic.</li><li>Stress testing. Stress testing determines software robustness by assessing whether it’s working beyond regular operation.</li><li>Volume testing. This tests the performance of the system by loading the database to an increased volume of data.</li><li>Security testing. Here, test cases are executed to check whether the system is safeguarded against sudden or deliberate attacks from internal and external sources.</li><li>Compatibility testing. Test cases are executed to check whether the application is compatible with varying environments. For example, if you’re testing a web application, compatibility testing deals with how the website works on different browsers or devices.</li><li>Install testing. These tests check if a product works according to expectations after installation.</li><li>Recovery testing. Here, testers determine an application’s capacity to recover from hardware crashes and failures.</li><li>Reliability testing. This procedure checks where an application can perform a particular task without failure within a specific timeframe. For example, suppose you’re testing a cryptocurrency mining application. The scenario where the application can mine continuously for eight hours without crashing might be something you look for during reliability testing.</li><li>Usability testing. Usability testing explores the end-user’s ease of use in terms of learning, operating, and preparing inputs and outputs.</li><li>Compliance testing. This determines the system’s compliance with external and internal standards.</li><li>Localization testing. Here, testers check the behavior of a product according to local or cultural settings and environment.</li></ul><p>Based on the amount of information you know about the product to test it, software testing can be divided into different types: Black-box testing, White-box testing, and Grey-box testing.</p><p><strong>Black-box Testing</strong></p><p>In this type of testing, you have the least amount of information on how the product is built. You don’t know about the structure of the product, its code, or logic. You would use the product as an end user would. Because in black-box testing, you’d have the same amount of information as your customer, it is used for functional testing.</p><p><strong>White-box Testing</strong></p><p>In white-box testing, you have most of the information about the product. White-box testing is mostly used to make the code better. Finding inefficiencies in code, poor coding practices, unnecessary lines of code are identified in this type of testing. Most of the code optimization and security fixes happen as a result of this testing.</p><p><strong>Grey-box Testing</strong></p><p>In this type of testing, you have partial information about the product. This type of testing is helpful to find out bugs that the user wouldn’t know about.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96a3d5b382cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>