<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SM Consultant</title>
	<atom:link href="https://smconsultant.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://smconsultant.com/</link>
	<description>...empowering customer business</description>
	<lastBuildDate>Sun, 17 Jan 2021 06:34:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://smconsultant.com/wp-content/uploads/2020/11/smc-favicon.png</url>
	<title>SM Consultant</title>
	<link>https://smconsultant.com/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Benefits of Machine Learning in Manufacturing</title>
		<link>https://smconsultant.com/benefits-of-machine-learning-in-manufacturing/</link>
					<comments>https://smconsultant.com/benefits-of-machine-learning-in-manufacturing/#respond</comments>
		
		<dc:creator><![CDATA[Havi J]]></dc:creator>
		<pubDate>Sun, 17 Jan 2021 06:34:06 +0000</pubDate>
				<category><![CDATA[Artificial Intelligence Blog]]></category>
		<category><![CDATA[Case Studies]]></category>
		<guid isPermaLink="false">https://smconsultant.com/?p=17644</guid>

					<description><![CDATA[Introduction Manufacturing the products is very costly as well as a complex process for businesses that are not having the right tools, resources, and equipment to develop their quality products. In the current time, machine learning has become more popular in producing and assembling items, helping in cost reduction and time reduction of the production of a particular product. As a matter of fact, around 40% of the potential value that can be created using analytics today comes from machine]]></description>
										<content:encoded><![CDATA[<h4>Introduction</h4>
<p>Manufacturing the products is very costly as well as a complex process for businesses that are not having the right tools, resources, and equipment to develop their quality products. In the current time, machine learning has become more popular in producing and assembling items, helping in cost reduction and time reduction of the production of a particular product. As a matter of fact, around 40% of the potential value that can be created using analytics today comes from machine learning techniques.</p>
<p>It has been noticed that from the last 5-6 years exceptional technologies can help build rapid and robust models that drive a lot of functional improvements.</p>
<h4>Benefits that ML provides</h4>
<p>Here are some ways through which machine learning is positively impacting the production process and providing benefits to it:</p>
<h5>Improving the process:</h5>
<p>There are three aspects of business namely operation, production, and post-production. Most of the manufacturers are successful in adding machine learning into these three aspects of their businesses. For example – Fanuc is a Japanese manufacturer of robotics and automation technology that included the machine learning process. It uses deep reinforcement learning that is a machine learning solution. Also, it enables and helps the robots to learn new skills very quickly and effectively. It doesn’t need precise and complex programming anymore.</p>
<h5>Product Development:</h5>
<p>Data has proved to be a very important entity as it brought nig opportunities for all the manufacturing companies in their product development process. It helps their businesses to understand customers and their needs and successfully meet their demands. This way, it helped in the overall development of a new and better product for the customer base. This data is valuable as the manufacturers are now able to create a product with an increasing customer value and it reduces the risks that are connected with the introduction of some new products to the potential market. Several actionable insights are taken as they help in strengthening the company’s decision-making process while planning, strategizing, and then modeling the final product.</p>
<h5>Robot:</h5>
<p>Robots are machines that can bring a lot of change in manufacturing. They are very helpful in performing all the daily routine tasks that are complex or too dangerous for humans to perform. Manufacturers these days put more money into robotizing so that they can meet their demands and reduce human errors. These machines end to contribute a lot to the best quality product manufacturing. Every year, the products come to the baseline in order to enhance the product lines.</p>
<h5>Security:</h5>
<p>Machine learning has developed such platforms that have made mobility a lot more secure in a company. The machine learning algorithms make their processes secure and also empower business innovation along with ensuring the smooth development of devices, mobile apps, etc, and data is protected across the organization. It gives on-device security and repairs device and network threats on any device.</p>
<h5>Quality Control:</h5>
<p>Machine learning plays a vital role and acts as a pillar in enhancing the overall quality of every manufacturing process. Its deep-learning neural networks help in the performance, weakness, availability, and quality of assembly equipment of the machine. For example – Siemens is using a neural network so that they can monitor their steel manufacturing and improve their overall efficiency. These kinds of companies invest a lot in machine learning to improve the quality of their operations.</p>
<h5>Supply Chain Management:</h5>
<p>Machine learning technology lends a helping hand to companies. It helps them so that they can maximize their value by improving their inventory management, supply chain management, logistics process, and asset management. It is better if machine learning, IoT, and artificial intelligence integrate. They will then ensure the high-level quality of products. The manufacturers today are finding new ways to combine all these emerging technologies with supply chain visibility, inventory optimization, accuracy, and asset tracking. The machine learning development companies and organizations have developed a supply chain management (SCM) suite. It can monitor each and every step of manufacturing, delivering, and packaging.</p>
<h4>Summarizing the whole scenario</h4>
<p>It is very obvious now at this point that the manufacturing industry is a technically advancing sector. The advantages of the adoption are increased productivity, reduced equipment failures, better distribution, and the introduction of enhanced products. Looking at all these benefits of machine learning in manufacturing, manufacturers around the world have already started investing a large sum of amounts in machine learning solutions. They did it for better efficiency and to empower their processes. The widespread adoption of these solutions will take place slowly. It’s taking place and in a few years, we will definitely see numerous companies leading the way to a smarter way of manufacturing the products we generally use in our life.</p>
<p>Robots and machine learning will transform the manufacturing industry. But, the manufacturing workforce needs to be reskilled to work alongside the newly developed work machines. The machines being used presently need maintenance which increases the downtime and isn’t cost-efficient. Sometimes the approach also seems wrong as the actual problem still hasn’t been solved which was leading to system failure. Getting accurate insights requires a long time. It is not a day’s task and takes years to address the real problem which leads to system failure. Machine learning can be a key as it can alert operators of time before. Also sometimes it can also avoid unplanned downtime of machines which would save a lot of time. The algorithm developed through machine learning will be a huge transformation in the manufacturing sector. It would benefit a lot the manufacturers.</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://smconsultant.com/benefits-of-machine-learning-in-manufacturing/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ways to Improve User Experience with Machine Learning</title>
		<link>https://smconsultant.com/ways-to-improve-user-experience-with-machine-learning/</link>
					<comments>https://smconsultant.com/ways-to-improve-user-experience-with-machine-learning/#respond</comments>
		
		<dc:creator><![CDATA[Havi J]]></dc:creator>
		<pubDate>Sun, 17 Jan 2021 06:33:42 +0000</pubDate>
				<category><![CDATA[Artificial Intelligence Blog]]></category>
		<category><![CDATA[Case Studies]]></category>
		<guid isPermaLink="false">https://smconsultant.com/?p=17857</guid>

					<description><![CDATA[Machine Learning has surely matured a lot over the years. It allows us to gain more insights from all kinds of data that we collect. Moreover, we can also implement machine learning to transform the work of a user experience designer, interaction designer, and product designer. In this article, we will introduce to you the five different types of strategies on how we can use machine learning to improve the overall user experience. Let’s get into it. Offer Next-Level Personalization]]></description>
										<content:encoded><![CDATA[<p>Machine Learning has surely matured a lot over the years. It allows us to gain more insights from all kinds of data that we collect. Moreover, we can also implement machine learning to transform the work of a user experience designer, interaction designer, and product designer. In this article, we will introduce to you the five different types of strategies on how we can use machine learning to improve the overall user experience. Let’s get into it.</p>
<h4>Offer Next-Level Personalization</h4>
<p>Personalization is a hot trend in the year 2020. Machine learning greatly helps businesses to offer next-level personalization to their customers. It provides a more scalable and accurate way for achieving many unique and different experiences for single users. Rather than leaving everyone with just the rule-based personalization, it allows using the algorithms to deliver one-to-one experiences in the form of recommendations for content or product.</p>
<p>Below is a list of personalization examples that are driven by machine learning:</p>
<ul>
<li>Offering applicable discounts through machine learning by creating a personalized reward system.</li>
<li>Personalized emails that recommend products according to the user’s interests based on their previous purchases and search history.</li>
<li>Suggestions of content for blogs that are based on user’s interest that reduces the bounce rate as well as improves the time they spend on a particular website.</li>
</ul>
<h4>Provide Higher Quality Recommendations</h4>
<p>The key for a business to always win is to provide high-quality recommendations that increase their revenue. Even it is beneficial for users as they spend less time searching for products. A study shows that in the year 2018, almost 63% of shoppers preferred product recommendations. This is even higher for millennials. The rate was 69% for those who favored product recommendations and not manually searching for the products.</p>
<p>Collaborative filtering is a method that provides more personalized content recommendations. It offers content suggestions that are based on users with the same taste based on purchases and reviews. Let us take an example of a student and a businessman who have given the same scores to a few restaurants. They share similar tastes. Therefore with the help of machine learning, we can recommend the same restaurant to the student that the businessman has rated 9 or 10.</p>
<h4>Improved Customer Service Quality and Speed</h4>
<p>Companies and businesses can drastically improve the overall user experience by improving customer service speed. Studies showed that 46% of people expect a response in 5 seconds or less when they are using a chatbot, 43% of people expect the same while using online live chat, and 33% of people when they use a phone or a video call. Thus, it is now time to start using machine learning algorithms for faster chatbots. The top use case for the chatbots is answering time-sensitive questions.</p>
<p>Not responding quickly to emergency questions can leave the company behind with a negative user experience. Also, it&#8217;s sometimes impossible for someone to be available all the time to answer difficult problems. Thus, chatbots can quickly learn from previous user interactions. Machine learning algorithms can detect similarities and patterns that allow them to answer the same questions faster in the future. Moreover, they are more scalable than humans. Humans are involved only when the chatbots can’t answer some complex questions. Besides, humans can always feed data into chatbots to improve their question handling.</p>
<h4>Optimize Layout by Analyzing User Behavior</h4>
<p>We can easily optimize the layout of the software and applications by measuring user behavior. For example – we want to optimize the overall layout of an invoice application. The toughest task will be to develop an invoice creation button. We want to check how quickly users can find this specific button. To do this, we can measure the time that users take to press this button. By measuring time only, we can detect wrongly placed buttons and try to optimize the layout.</p>
<p>In short, we can use machine learning to reduce the time that users spend in finding a function and to efficiently do the A/B testing. Moreover, we can spot patterns also where the users often go back to the previous page. This shows that the flow is incorrect and the user expects something better.</p>
<p>In a nutshell, the main aim is to find interactions that are unclear or require a lot of time to complete, those who often affect the user experience negatively. Apart from that, we need to reduce human errors when we navigate the application to create a better product experience. But, don’t change the order of your UI components a lot.</p>
<h4>Sentiment Analysis: Emotion AI</h4>
<p>Lastly, the use of sentiment analysis can give a better picture of the user’s emotions when they interact with a website, advertisement, blog, or product. Measuring emotions also require a facial recognition system. But, you can also use textual analysis to check their feelings. However, this strategy is not possible for checking people’s reactions to certain advertisements.</p>
<p>By judging their response to an advertisement or content, we can create even more engaging advertisements. Often marketing teams create different advertisements according to the user’s wealth, age, and interests.</p>
<p>In short, we can use sentiment analysis to create:</p>
<ul>
<li>Better content that answers every question</li>
<li>Advertisements that interests users</li>
<li>Products that meet users needs precisely</li>
</ul>
<h4>Conclusion</h4>
<p>Machine learning is surely a very great tool to improve the user experience. But, before implementing them, we need to validate every machine learning insight. It is valuable to implement the user testing process for validating the changes. To conclude, both machine learning and user experience designs will keep growing and there is no stopping. There are a lot of benefits when we merge machine learning and user experience design.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://smconsultant.com/ways-to-improve-user-experience-with-machine-learning/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java Basics – Arrays, ways to create objects, command line argument</title>
		<link>https://smconsultant.com/java-basics-arrays-ways-to-create-objects-command-line-argument/</link>
					<comments>https://smconsultant.com/java-basics-arrays-ways-to-create-objects-command-line-argument/#respond</comments>
		
		<dc:creator><![CDATA[Havi J]]></dc:creator>
		<pubDate>Sun, 17 Jan 2021 06:32:29 +0000</pubDate>
				<category><![CDATA[Software Blog]]></category>
		<guid isPermaLink="false">https://smconsultant.com/?p=17898</guid>

					<description><![CDATA[Java Arrays Generally, an array is a collection of the same type of elements that has a contiguous memory location. Java arrays are objects which contain the elements of similar data types. Moreover, all the elements of the array are stored in a contiguous memory location. In short, the array is a data structure where the programmers can store similar elements. However, we can only store a fixed set of elements in the array. These arrays are index-based so the]]></description>
										<content:encoded><![CDATA[<h3><strong>Java Arrays</strong></h3>
<p>Generally, an array is a collection of the same type of elements that has a contiguous memory location. Java arrays are objects which contain the elements of similar data types. Moreover, all the elements of the array are stored in a contiguous memory location. In short, the array is a data structure where the programmers can store similar elements. However, we can only store a fixed set of elements in the array. These arrays are index-based so the first element of an array is always stored at the 0th index; the second element is stored on the first index and so on.</p>
<p>With the help of the length member, we can always get the length of the array. It is not the same with languages like C or C++. There we need to use the size of the operator. We can call arrays in Java as the object of a dynamically generated class. They inherit the object class and then implement the serializable and cloneable interfaces. We can store primitive values as well as objects in the array. In Java programming language, there are two types of arrays. One is a single-dimensional array and another is a multidimensional array.</p>
<h4><strong>Single Dimensional Array</strong></h4>
<p>Its syntax is –</p>
<p>dataType[] arr; (or)</p>
<p>dataType []arr; (or)</p>
<p>dataType arr[];</p>
<p>For instantiation –</p>
<p>arrayRefVar=<strong>new</strong> datatype[size];</p>
<p>Example is given below &#8211;</p>
<p><strong>class</strong> Testarray{</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[]){</p>
<p><strong>int</strong> a[]=<strong>new</strong> <strong>int</strong>[5];//declaration and instantiation</p>
<p>a[0]=10;//initialization</p>
<p>a[1]=20;</p>
<p>a[2]=70;</p>
<p>a[3]=40;</p>
<p>a[4]=50;</p>
<p>//traversing array</p>
<p><strong>for</strong>(<strong>int</strong> i=0;i&lt;a.length;i++)//length is the property of array</p>
<p>System.out.println(a[i]);</p>
<p>}}</p>
<p>Output –</p>
<p>10, 20, 30, 40, 50</p>
<h4><strong>Multidimensional Array</strong></h4>
<p>In this kind of arrays, the data is stored in the form of rows and columns that are based on index and are also known as matrix form arrays. Its syntax is –</p>
<p>dataType[][] arrayRefVar; (or)</p>
<p>dataType [][]arrayRefVar; (or)</p>
<p>dataType arrayRefVar[][]; (or)</p>
<p>dataType []arrayRefVar[];</p>
<p>For instantiating –</p>
<p><strong>int</strong>[][] arr=<strong>new</strong> <strong>int</strong>[3][3];//3 row and 3 column</p>
<p>Example of a multidimensional array –</p>
<p><strong>class</strong> Testarray3{</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[]){</p>
<p>//declaring and initializing 2D array</p>
<p><strong>int</strong> arr[][]={{1,2,3},{2,4,5},{4,4,5}};</p>
<p>//printing 2D array</p>
<p><strong>for</strong>(<strong>int</strong> i=0;i&lt;3;i++){</p>
<p><strong>for</strong>(<strong>int</strong> j=0;j&lt;3;j++){</p>
<p>System.out.print(arr[i][j]+&#8221; &#8220;);</p>
<p>}</p>
<p>System.out.println();</p>
<p>}</p>
<p>}}</p>
<p>Output –</p>
<p>1 2 3</p>
<p>2 4 5</p>
<p>4 4 5</p>
<h3><strong>Ways to create objects in Java</strong></h3>
<p>In Java, objects are a physical and logical entity. However, in Java class is always a logical entity only. Objects have three characteristics. First is the state that represents the data or value of the object, second is its behavior that represents the functionality of the object and last is the Identity that is implemented through a unique ID. There are five ways to create an object in Java they are as follows –</p>
<h4><strong>Java New Operator</strong></h4>
<p>This is a famous way to create a develop an object in Java. a new operator is followed by a call to a constructor that initializes that new object. It takes all the space in the heap while we are creating an object. Its Syntax is –</p>
<p>class_name object_name = <strong>new</strong> class_name()</p>
<p>Example-</p>
<p><strong>public</strong> <strong>class</strong> A</p>
<p>{</p>
<p>String str=&#8221;hello&#8221;;</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[])</p>
<p>{</p>
<p>A obj=<strong>new</strong> A();  //creating object using new keyword</p>
<p>System.out.println(obj.str);</p>
<p>}</p>
<p>}</p>
<p>Output –</p>
<p>hello</p>
<h4><strong>Java Class.newInstance() method</strong></h4>
<p>This is the method of Class class. The Class class belongs to java.lang package. It has the responsibility of creating a new instance of a class that is represented by this Class object. After that, it returns the newly created instance of a particular class. Its Syntax is –</p>
<p><strong>public</strong> T newInstance() <strong>throws</strong> IllegalAcccessException, InstantiationException</p>
<p>It throws an <strong>IllegalAccessException </strong>if the nullary constructor or the class is not accessible. It throws InstantiationException also if the class is representing an abstract class, array class, primitive type, or an interface.</p>
<p>Example –</p>
<p><strong>public</strong> <strong>class</strong> NewInstanceExample</p>
<p>{</p>
<p>String str=&#8221;hello&#8221;;</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[])</p>
<p>{</p>
<p><strong>try</strong></p>
<p>{</p>
<p>//creating object of class</p>
<p>NewInstanceExample obj= NewInstanceExample.<strong>class</strong>.newInstance();</p>
<p>System.out.println(obj.str);</p>
<p>}</p>
<p><strong>catch</strong>(Exception e)</p>
<p>{</p>
<p>e.printStackTrace();</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>Output –</p>
<p>Java NewInstanceExample</p>
<p>hello</p>
<h4><strong>Java newInstance() method of constructor</strong></h4>
<p>The Java constructor class has a method called newInstance() that is similar to the newInstance() method of the Class class. This method belongs to Java.lang.reflect.Constructor class. Both methods reflect two ways of creating an object. As a matter of fact, the Class class&#8217;s newInstance() method uses the method newInstance() of the constructor class. This method then returns a new object that is created by calling the constructor. Its syntax is –</p>
<p><strong>public</strong> T newInstance(Objects&#8230;initargs)</p>
<p>Example –</p>
<p><strong>import</strong> java.lang.reflect.Constructor;</p>
<p><strong>public</strong> <strong>class</strong> NewInstanceExample1</p>
<p>{</p>
<p>String str=&#8221;hello&#8221;;</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[])</p>
<p>{</p>
<p><strong>try</strong></p>
<p>{</p>
<p>Constructor&lt;NewInstanceExample1&gt; obj =NewInstanceExample1.<strong>class</strong>.getConstructor();</p>
<p>NewInstanceExample1 obj1 = obj.newInstance();</p>
<p>System.out.println(obj1.str);</p>
<p>}</p>
<p><strong>catch</strong>(Exception e)</p>
<p>{</p>
<p>e.printStackTrace();</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>Output &#8211; hello</p>
<h4><strong>Java Object.clone() method</strong></h4>
<p>The Java clone() method has the responsibility of creating a copy of an existing object. This method is defined in the object class. Then it returns the clone of this instance. Its Syntax is &#8211;</p>
<p><strong>protected</strong> Object clone() <strong>throws</strong> CloneNotSupportedException</p>
<p>Example –</p>
<p><strong>public</strong> <strong>class</strong> CloneExample <strong>implements</strong> Cloneable</p>
<p>{</p>
<p>//creates and returns a copy of this object</p>
<p><strong>protected</strong> Object clone() <strong>throws</strong> CloneNotSupportedException</p>
<p>{</p>
<p><strong>return</strong> <strong>super</strong>.clone();</p>
<p>}</p>
<p>String name = &#8220;Microprocessor&#8221;;</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args)</p>
<p>{</p>
<p>CloneExample obj1 = <strong>new</strong> CloneExample();     //creating object of class</p>
<p><strong>try</strong></p>
<p>{</p>
<p>CloneExample obj2 = (CloneExample) obj1.clone();</p>
<p>System.out.println(obj1.name);</p>
<p>}</p>
<p><strong>catch</strong> (Exception e)</p>
<p>{</p>
<p>e.printStackTrace();</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>Output &#8211; Microprocessor</p>
<h4><strong>Java Object Serialization and Deserialization</strong></h4>
<p>A class should implement a serializable interface that belongs to the Java.io package. It does not have any field or method. They add special behavior to every class. In Java 8, the marker interface is not used.</p>
<p><strong>Object Serialization &#8211; </strong>We can use the ObjectOutputStream class to serialize an object. It is the process of converting objects into a sequence of bytes. This method accepts objects as a parameter. The signature of the method is –</p>
<p><strong>public</strong> <strong>final</strong> <strong>void</strong> writeObject(Object obj) <strong>throws</strong> IOException</p>
<p><strong>Object Deserialization &#8211; </strong>Deserialization is the process of creating an object from a sequence or series of bytes. The method readObject() reason object from the class ObjectInputStream and then deserializes it. Its method is –</p>
<p><strong>public</strong> <strong>final</strong> Object readObject() <strong>throws</strong> IOException</p>
<h3><strong>Command Line Argument</strong></h3>
<p>Jarv’s command-line argument is a kind of argument that is passed at the time of running a Java program. The arguments that are passed from the console can always be received in the Java program and then they can be used as input. Thus, it provides a better way to check the behavior of a program for various values. You can pass as many numbers of the arguments as you want from the command prompt. Let us understand the command-line argument in Java with the help of an example.</p>
<p>In the below example, we are getting only one argument and then printing it. In order to run the Java program, we must pass at least one argument from the command prompt.</p>
<p><strong>class</strong> CommandLineExample{</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[]){</p>
<p>System. out.println(&#8220;Your first argument is: &#8220;+args[0]);</p>
<p>}  }</p>
<p>Output –</p>
<p>Your first argument is: sono</p>
]]></content:encoded>
					
					<wfw:commentRss>https://smconsultant.com/java-basics-arrays-ways-to-create-objects-command-line-argument/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java Basics – conditional statement, switch statement, loops, break continue statement, and operators</title>
		<link>https://smconsultant.com/java-basics-conditional-statement-switch-statement-loops-break-continue-statement-and-operators/</link>
					<comments>https://smconsultant.com/java-basics-conditional-statement-switch-statement-loops-break-continue-statement-and-operators/#respond</comments>
		
		<dc:creator><![CDATA[Havi J]]></dc:creator>
		<pubDate>Sun, 17 Jan 2021 06:32:06 +0000</pubDate>
				<category><![CDATA[Software Blog]]></category>
		<guid isPermaLink="false">https://smconsultant.com/?p=17888</guid>

					<description><![CDATA[Conditional Statement The Java conditional statement is also known as the Java if-else statement. It is used to test many conditions in a program. It checks the Boolean condition that is true or false. There are four types of if statements in Java are &#8211; if statement, if-else statement, if-else if ladder statement and the nested if statement. If statement  Java programming languages&#8217; if statement test a condition. It is responsible for executing the if block if the given condition]]></description>
										<content:encoded><![CDATA[<h3><strong>Conditional Statement</strong></h3>
<p>The Java conditional statement is also known as the Java if-else statement. It is used to test many conditions in a program. It checks the Boolean condition that is true or false. There are four types of if statements in Java are &#8211; if statement, if-else statement, if-else if ladder statement and the nested if statement.</p>
<h4><strong>If statement </strong></h4>
<p>Java programming languages&#8217; if statement test a condition. It is responsible for executing the if block if the given condition is true. Its Syntax is &#8211;</p>
<p>If(condition){</p>
<p>//Code executed</p>
<p>}</p>
<p>Example –</p>
<p><strong>public</strong> <strong>class</strong> IfExamp {</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</p>
<p>//defining the &#8216;age&#8217; variable</p>
<p><strong>int</strong> age=20;</p>
<p>//check the age</p>
<p><strong>if</strong>(age&gt;18){</p>
<p>System.out.print(&#8220;Age is greater than 18&#8221;);</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>Output &#8211; Age is greater than 18</p>
<h4><strong>If else statement </strong></h4>
<p>Another statement is the if-else statement which also tests a condition. If the condition is true, it executes the if block and if the condition is false then the else block is executed. Its Syntax is &#8211;</p>
<p>If(condition){</p>
<p>//Code if condition true</p>
<p>} Else{</p>
<p>//Code if condition false</p>
<p>}</p>
<p>Example –</p>
<p><strong>public</strong> <strong>class</strong> IfElseExamp {</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</p>
<p>//defining variable</p>
<p><strong>int</strong> number=13;</p>
<p><strong>if</strong>(number%2==0){</p>
<p>System.out.println(&#8220;it is an even number&#8221;);</p>
<p>}<strong>else</strong>{</p>
<p>System.out.println(&#8220;it is an odd number&#8221;);</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>Output – It is an odd number</p>
<h4><strong>If else if statement </strong></h4>
<p>The java’s if else if ladder statement is the one that executes a condition from many statements. Its Syntax is –</p>
<p><strong>if</strong>(condition1){</p>
<p>}<strong>else</strong> <strong>if</strong>(condition2){</p>
<p>}</p>
<p><strong>else</strong> <strong>if</strong>(condition3){</p>
<p>}</p>
<p>&#8230;</p>
<p><strong>else</strong>{</p>
<p>}</p>
<p>Example –</p>
<p><strong>public</strong> <strong>class</strong> PositiveNegativeExamp {</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</p>
<p><strong>int</strong> number=-13;</p>
<p><strong>if</strong>(number&gt;0){</p>
<p>System.out.println(&#8220;Positive&#8221;);</p>
<p>}<strong>else</strong> <strong>if</strong>(number&lt;0){</p>
<p>System.out.println(&#8220;Negative&#8221;);</p>
<p>}<strong>else</strong>{</p>
<p>System.out.println(&#8220;Zero&#8221;);</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>Output &#8211; Negative</p>
<h4><strong>Nested if statement </strong></h4>
<p>The last conditional statement is nested if statement that represents the if block inside another if block. The important thing is that the inner if block condition executes if and only if the outer if block condition is true. Its Syntax is –</p>
<p><strong>if</strong>(condition){</p>
<p>//code to be executed</p>
<p><strong>if</strong>(condition){</p>
<p>//code to be executed</p>
<p>}</p>
<p>}</p>
<p>Example –</p>
<p><strong>public</strong> <strong>class</strong> JavaNestedIfExamp {</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</p>
<p>//Creating two variables for both the age and weight</p>
<p><strong>int</strong> age=20;</p>
<p><strong>int</strong> weight=80;</p>
<p>//applying the condition on age and weight</p>
<p><strong>if</strong>(age&gt;=18){</p>
<p><strong>if</strong>(weight&gt;50){</p>
<p>System.out.println(&#8220;You can donate your blood&#8221;);</p>
<p>}</p>
<p>}</p>
<p>}}</p>
<p>Output &#8211; You can donate your blood</p>
<h3><strong>Switch Statement</strong></h3>
<p>Java programming language has a switch statement that executes one statement from multiple conditions that are given. It is almost similar to the if-else if ladder statement. This switch statement works with integer, long, string, byte, short, enum types, and some wrapper types such as long, byte, int, and short. We can use string also in our switch statement. In short, the switch statement basically tests the equality of one variable against multiple values. Its Syntax is –</p>
<p><strong>switch</strong>(expression){</p>
<p><strong>case</strong> value1:</p>
<p>//code to be executed;</p>
<p><strong>break</strong>;  //optional</p>
<p><strong>case</strong> value2:</p>
<p>//code to be executed;</p>
<p><strong>break</strong>;  //optional</p>
<p>&#8230;&#8230;</p>
<p><strong>default</strong>:</p>
<p>code that is executed if all cases aren’t matched;</p>
<p>}</p>
<p>Example –</p>
<p><strong>public</strong> <strong>class</strong> SwitchExamp {</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</p>
<p><strong>int</strong> number=20;</p>
<p><strong>switch</strong>(number){</p>
<p><strong>case</strong> 10: System.out.println(&#8220;10&#8221;);</p>
<p><strong>case</strong> 20: System.out.println(&#8220;20&#8221;);</p>
<p><strong>case</strong> 30: System.out.println(&#8220;30&#8221;);</p>
<p><strong>default</strong>:System.out.println(&#8220;Not in 10, 20 or 30&#8221;);</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>Output –</p>
<p>20</p>
<p>30</p>
<p>Not in 10, 20 or 30</p>
<h3><strong>Break Continue Statement</strong></h3>
<p>Both the break and continue statements are called the jump statements and they are used to skip a few statements inside a loop or and the loop immediately without even checking the test expression. Both of these statements can be used inside the loop such as do while, for, and while loop.</p>
<h4><strong>Break </strong></h4>
<p>The first is the break statement that is used to terminate from the loop right away. When there is a break statement inside a loop, the loop iteration stops, and then control returns from the loop at that time to the first statement after that loop. In short, the break statements are used only in situations when the programmer is not sure about the exact number of iterations for a loop, or he wants to terminate that loop based on a condition. Its Syntax is &#8211; break;</p>
<p>Example –</p>
<p>class Break {</p>
<p>public static void main(String[] args)</p>
<p>{</p>
<p>// loop is set to run from the numbers 0-9</p>
<p>for (int i = 0; i &lt; 10; i++) {</p>
<p>if (i == 5)</p>
<p>break;</p>
<p>System.out.println(&#8220;i: &#8221; + i);</p>
<p>}</p>
<p>System.out.println(&#8220;Out of Loop&#8221;);</p>
<p>}</p>
<p>}</p>
<p>Output &#8211; i: 0i: 1i: 2i: 3i: 4Out of Loop</p>
<h4><strong>Continue </strong></h4>
<p>The continue statement is used to skip the existing iteration of a particular loop. We can use this statement inside any kind of loop-like for, do-while, and while loop. So, they are used in the situation where the programmer wants to continue the loop but he doesn&#8217;t want the remaining states that are after the continue statement. Its Syntax is &#8211; continue;</p>
<p>Example –</p>
<p>class Continue {</p>
<p>public static void main(String args[])</p>
<p>{</p>
<p>for (int i = 0; i &lt; 10; i++) {</p>
<p>// If the number is 2</p>
<p>// skip and continue</p>
<p>if (i == 2)</p>
<p>continue;</p>
<p>System.out.print(i + &#8221; &#8220;);</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>Output – 0 1 2 3 4 5 6 7 8 9</p>
<h3><strong>Loops</strong></h3>
<p>In Java language, the loops are used for executing some of the instructions as well as functions repeatedly when some of the conditions become true. There are three kinds of loops in this language that is for loop, while loop, and do-while loop.</p>
<h4><strong>For loop </strong></h4>
<p>This loop is used to iterate a certain part of the program a few times. It is recommended to the programmers to use the for loop if the number of iterations is fixed. For loop is of three types in java namely simple for loop, for each or enhanced for loop and labeled for a loop. Its Syntax is –</p>
<p>for(initialization;condition;incr/decr){</p>
<p>//statement or code to be executed</p>
<p>}</p>
<p>Example –</p>
<p><strong>public</strong> <strong>class</strong> ForExamp {</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</p>
<p>//Code of Java for loop</p>
<p><strong>for</strong>(<strong>int</strong> i=1;i&lt;=10;i++){</p>
<p>System.out.println(i);</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>Output &#8211; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10</p>
<h4><strong>While loop </strong></h4>
<p>Do while loop is used by the programmers to iterate a specific part of the program several times. It is recommended to use this loop when the number of iteration is not fixed. Its Syntax is –</p>
<p><strong>while</strong>(condition){</p>
<p>//code to be executed</p>
<p>}</p>
<p>Example –</p>
<p><strong>public</strong> <strong>class</strong> WhileExamp {</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</p>
<p><strong>int</strong> i=1;</p>
<p><strong>while</strong>(i&lt;=10){</p>
<p>System.out.println(i);</p>
<p>i++;</p>
<p>}</p>
<p>}</p>
<p>}</p>
<p>Output – 1, 2, 3, 4, 5, 6, 7, 8, 9, 10</p>
<h4><strong>Do-while </strong><strong>loop </strong></h4>
<p>We can use the do-while loop in Java to iterate a part of the program several times too. It is recommended for programmers to use this loop when the number of iterations is not fixed and when they must have to execute this loop at least once in the program. This loop is executed at least once in the program because then the condition is checked after the loop body. Its Syntax is –</p>
<p><strong>do</strong>{</p>
<p>//code to be executed</p>
<p>}<strong>while</strong>(condition);</p>
<p>Example –</p>
<p><strong>public</strong> <strong>class</strong> DoWhileExamp {</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args) {</p>
<p><strong>int</strong> i=1;</p>
<p><strong>do</strong>{</p>
<p>System.out.println(i);</p>
<p>i++;</p>
<p>}<strong>while</strong>(i&lt;=10);</p>
<p>}</p>
<p>}</p>
<p>Output &#8211; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10</p>
<h3><strong>Operators</strong></h3>
<p>The operators in Java are symbols that are used to perform certain operations. For example: +, /, *, &#8211; etc. There are a lot of operators in the Java programming language like the unary operator, arithmetic operator, relational operator, bitwise operator, assignment operator, shift operator, ternary operator, and the logical operator. Given below are the examples of all the operators that will help you understand them better.</p>
<h4><strong>Unary operator &#8211; </strong></h4>
<p><strong>class</strong> OperatorExamp{</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[]){</p>
<p><strong>int</strong> x=10;</p>
<p>System.out.println(x++);//10 (11)</p>
<p>System.out.println(++x);//12</p>
<p>System.out.println(x&#8211;);//12 (11)</p>
<p>System.out.println(&#8211;x);//10</p>
<p>}}</p>
<p>Output – 10,12,12,10</p>
<h4><strong>Arithmetic operator – </strong></h4>
<p><strong>class</strong> OperatorExamp{</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[]){</p>
<p>System.out.println(10*10/5+3-1*4/2);</p>
<p>}}</p>
<p>Output &#8211; 21</p>
<h4><strong>Relational operator &#8211;</strong></h4>
<p>public class Example {</p>
<p>public static void main(String args[]) {</p>
<p>int a = 10;</p>
<p>int b = 20;</p>
<p>System.out.println(&#8220;a == b = &#8221; + (a == b) );</p>
<p>System.out.println(&#8220;a != b = &#8221; + (a != b) );</p>
<p>System.out.println(&#8220;a &gt; b = &#8221; + (a &gt; b) );</p>
<p>System.out.println(&#8220;a &lt; b = &#8221; + (a &lt; b) );</p>
<p>System.out.println(&#8220;b &gt;= a = &#8221; + (b &gt;= a) );</p>
<p>System.out.println(&#8220;b &lt;= a = &#8221; + (b &lt;= a) );</p>
<p>}</p>
<p>}</p>
<p>Output &#8211; a == b = falsea != b = truea &gt; b = falsea &lt; b = trueb &gt;= a = trueb &lt;= a = false</p>
<h4><strong>Bitwise operator – </strong></h4>
<p>They are used to perform the operations on the individual bits. Example –</p>
<p>Take the number 35. In binary, it will be – 00100011. Then converted in decimal, it will be 220.</p>
<h4><strong>Assignment operator – </strong></h4>
<p><strong>class</strong> OperatorExample{</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[]){</p>
<p><strong>short</strong> a=10;</p>
<p><strong>short</strong> b=10;</p>
<p>a=(<strong>short</strong>)(a+b);//20 which is int now converted to short</p>
<p>System.out.println(a);</p>
<p>}}</p>
<p>Output &#8211; 20</p>
<h4><strong>Shift operator </strong></h4>
<p>This is left shift operator example.</p>
<p><strong>class</strong> OperatorExamp{</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[]){</p>
<p>System.out.println(10&lt;&lt;2);//10*2^2=10*4=40</p>
<p>System.out.println(10&lt;&lt;3);//10*2^3=10*8=80</p>
<p>System.out.println(20&lt;&lt;2);//20*2^2=20*4=80</p>
<p>System.out.println(15&lt;&lt;4);//15*2^4=15*16=240</p>
<p>}}</p>
<p>Output – 40, 80, 80, 240</p>
<h4><strong>Ternary operator &#8211; </strong></h4>
<p><strong>class</strong> OperatorExamp{</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[]){</p>
<p><strong>int</strong> a=2;</p>
<p><strong>int</strong> b=5;</p>
<p><strong>int</strong> min=(a&lt;b)?a:b;</p>
<p>System.out.println(min);</p>
<p>}}</p>
<p>Output &#8211; 2</p>
<h4><strong>Logical operator – </strong></h4>
<p>class Main {</p>
<p>public static void main(String[] args) {</p>
<p>System.out.println((5 &gt; 3) &amp;&amp; (8 &gt; 5));</p>
<p>// true</p>
<p>System.out.println((5 &gt; 3) &amp;&amp; (8 &lt; 5));</p>
<p>// false</p>
<p>System.out.println((5 &lt; 3) || (8 &gt; 5));</p>
<p>// true</p>
<p>System.out.println((5 &gt; 3) || (8 &lt; 5));</p>
<p>// true</p>
<p>System.out.println((5 &lt; 3) || (8 &lt; 5));</p>
<p>// false</p>
<p>System.out.println(!(5 == 3));</p>
<p>// true</p>
<p>System.out.println(!(5 &gt; 3));</p>
<p>// false</p>
<p>}}</p>
]]></content:encoded>
					
					<wfw:commentRss>https://smconsultant.com/java-basics-conditional-statement-switch-statement-loops-break-continue-statement-and-operators/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java Basics – Overview, Features, JVM and more</title>
		<link>https://smconsultant.com/java-basics-overview-features-jvm-and-more/</link>
					<comments>https://smconsultant.com/java-basics-overview-features-jvm-and-more/#respond</comments>
		
		<dc:creator><![CDATA[Havi J]]></dc:creator>
		<pubDate>Sun, 17 Jan 2021 06:31:57 +0000</pubDate>
				<category><![CDATA[Software Blog]]></category>
		<guid isPermaLink="false">https://smconsultant.com/?p=17863</guid>

					<description><![CDATA[Overview The famous Java programming language was developed by Sun microsystems which were then initiated by James Gosling. It was released in the year 1995 and it acted as the main component of the Sun microsystem&#8217;s Java platform. Java SE 8 is the latest release of Java&#8217;s standard edition. As Java advanced and gained widespread popularity around the globe, many configurations were built then in order to suit different types of platforms. There are many examples such as J2ME for]]></description>
										<content:encoded><![CDATA[<h3>Overview</h3>
<p>The famous Java programming language was developed by Sun microsystems which were then initiated by James Gosling. It was released in the year 1995 and it acted as the main component of the Sun microsystem&#8217;s Java platform. Java SE 8 is the latest release of Java&#8217;s standard edition. As Java advanced and gained widespread popularity around the globe, many configurations were built then in order to suit different types of platforms.</p>
<p>There are many examples such as J2ME for mobile applications and J2EE for enterprise applications. The two versions of this language were renamed as Java EE, Java ME, and Java SE respectively. It is a write-once and runs anywhere type of language. The language Java is preferred by many people around the world because of its large number of features such as it is object-oriented, platform-independent, simple, secure, architecture-neutral, portable, robust, multithreaded, integrated, high-performance, distributed, and dynamic.</p>
<h3><strong>Features</strong></h3>
<p>In the previous section, we talked about what is Java and what are its different features. Now, in this section, we will discuss in detail those features. The features are as follows –</p>
<h4>Object-oriented</h4>
<p>Java is a programming language in which everything is an object. It can be very easily extended because it is based on the model of the object.</p>
<h4><strong>Platform independent</strong></h4>
<p>When we compile Java, it does not get compiled into a platform-specific machine. This happens in other programming languages such as C and C++. However, Java is rather into platform-independent bytecode. The bytecode is generally distributed over the web and then it is interpreted by the JVM on which platform it is running on.</p>
<h4><strong>Simple</strong></h4>
<p>Java is easy to learn. Even if you understand all the basic concepts of OOP Java, it will be very easy to master this language.</p>
<h4><strong>Secure</strong></h4>
<p>Java has a unique security feature that allows us to develop virus-free and tamper-free systems. Its authentication techniques are completely based on public-key encryption.</p>
<h4><strong>Architecture neutral </strong></h4>
<p>An architecture-neutral object file format is generated by the Java compiler and that makes the compiled code execute on different processes and that too with the presence of the Java runtime system.</p>
<h4><strong>Portable</strong></h4>
<p>Since Java is architecture-neutral and it has no implementation-dependent aspects of any specification, it makes it portable. Java compiler is written in ANSI C. It has a clean portability boundary that is a POSIX subset.</p>
<h4><strong>Robust </strong></h4>
<p>Java language mainly emphasizes the compile-time error checking as well as the runtime checking as it makes an effort to eliminate all the errors.</p>
<h4><strong>Multithreaded</strong></h4>
<p>Java is multithreaded which means that it is possible to write programs that can easily perform management tasks at once. It enables the developers to create interactive applications that run smoothly.</p>
<h4><strong>Interpreted </strong></h4>
<p>Java&#8217;s byte code translates to native machine instructions. It is not stored anywhere. Its development processes are quick as well as analytical as the linking is a lightweight and incremental process.</p>
<h4><strong>High performance</strong></h4>
<p>Java enables high performance because it uses just in time compilers.</p>
<h4><strong>Distributed</strong></h4>
<p>Java is specifically designed for the distributed environment of the internet.</p>
<h4><strong>Dynamic</strong></h4>
<p>Java is more dynamic than other languages such as C and C++. It is designed in a way that it adapts to a changing environment. Its programs can easily carry a large amount of runtime information. That information can be used to verify and then resolve access to several objects at the runtime.</p>
<h3><strong>Introduction to JVM</strong></h3>
<p>JVM stands for Java virtual machine and it has many different implementations that are there to the specs. Many organizations such as Oracle and IBM have their own JVM. JVM is a kind of a virtual machine or an abstract computer that has its own ISA, memory, heap, stack, etc. It runs on the host operating system and then it places its demands for the resources to it. The different operations that are defined inside the specs are as follows &#8211;</p>
<ul>
<li>Public design and private implementation</li>
<li>The class file format</li>
<li>Class libraries</li>
<li>Data types</li>
<li>Instruction set summary</li>
<li>Primitive types and values</li>
<li>Exceptions</li>
<li>Reference types and values</li>
<li>Special methods</li>
<li>Runtime data areas</li>
<li>Floating-point arithmetic</li>
<li>Frames</li>
<li>Representation of objects</li>
</ul>
<h3><strong>My first Java Program </strong></h3>
<p>For creating a Java program you need to install the Java development kit, set the path of the bin directory, create the Java program, and then compile and run it. The latest create our first Java program. Go through the following code to create it.</p>
<p>Class JavaFirst{</p>
<p>public static void main(String args[]){</p>
<p>System.out.println(&#8220;Hello Java&#8221;);</p>
<p>}</p>
<p>}</p>
<p>Output: Hello Java</p>
<h3><strong>Variables in Java</strong></h3>
<p>A variable in Java is a container that holds a value while your Java program is being executed. The variable is assigned with a certain data type. Variable is basically the name of a memory location full stop there are three kinds of a variable in this programming language that is the local, instance, and static variables.</p>
<p><strong>Local variable</strong> &#8211; My local variable is a kind of variable that is declared inside the body of the method. We can use it only in that method and the other methods in the class are not even aware that this variable exists.</p>
<p><strong>Instance variable</strong> &#8211; This kind of variable is declared inside the class but outside the method&#8217;s body. It cannot be declared as static. It is called so because its value is instance specific and it cannot be shared among other instances.</p>
<p><strong>Static variable</strong> &#8211; it is declared as static and it cannot be local. We can create a single copy of this variable and then can share it among other instances of the class.</p>
<h3><strong>Data types and Identifiers </strong></h3>
<p>Data types in java are classified into two categories that are the primitive data types and non-primitive data types.</p>
<ol>
<li><strong>Primitive Data Types – </strong>There are 8 kinds of primitive data types namely byte, short, int, long, float, double, char, and Boolean. Once we declare them, we can&#8217;t change them. However, its value can change.</li>
<li><strong>Non-primitive Data Types – </strong>A non-primitive data type is also known as a reference data type and it is used to refer to an object. It is specifically declared and it can never be changed. The objects can be an instance of an entity or any class.</li>
</ol>
<p><strong>Identifiers</strong> &#8211; The components of Java require names. We use the name for classes, interfaces, variables, and methods and they are known as identifiers.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://smconsultant.com/java-basics-overview-features-jvm-and-more/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Understanding the Importance of Oracle ERP Cloud Training</title>
		<link>https://smconsultant.com/understanding-the-importance-of-oracle-erp-cloud-training/</link>
					<comments>https://smconsultant.com/understanding-the-importance-of-oracle-erp-cloud-training/#respond</comments>
		
		<dc:creator><![CDATA[Havi J]]></dc:creator>
		<pubDate>Sun, 17 Jan 2021 06:31:14 +0000</pubDate>
				<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[Oracle Cloud Applications Blog]]></category>
		<guid isPermaLink="false">https://smconsultant.com/?p=17746</guid>

					<description><![CDATA[What is Oracle ERP Cloud? Oracle ERP Cloud or enterprise resource planning is a type of software that many organizations and companies use to manage their day-to-day business activities. It includes accounting, risk management, compliance, procurement, supply chain operations, and project management. This complete ERP suite also has enterprise performance management. This particular software helps in planning, budgeting, predicting, and reporting on an organization or company’s financial results. The enterprise resource planning systems tie together the business processes and allow]]></description>
										<content:encoded><![CDATA[<h4>What is Oracle ERP Cloud?</h4>
<p>Oracle ERP Cloud or enterprise resource planning is a type of software that many organizations and companies use to manage their day-to-day business activities. It includes accounting, risk management, compliance, procurement, supply chain operations, and project management. This complete ERP suite also has enterprise performance management. This particular software helps in planning, budgeting, predicting, and reporting on an organization or company’s financial results. The enterprise resource planning systems tie together the business processes and allow the flow of data between them.</p>
<h4>What are its functions?</h4>
<p>These Enterprise resource management systems collect the organization’s shared transactional data from different sources and then eliminate all the data duplication and provide the data integrity with the only source of truth. Nowadays, enterprise resource management systems are very critical for managing the hundreds and thousands of businesses of every size and in every industry. For all of these companies, the ERP system is as important as electricity to keep the lights on. But all these capabilities and functions that the Oracle ERP Cloud has can be used correctly and properly. This will happen only when the company’s employees will get good training in it.</p>
<p>These kinds of systems are designed around a defined data structure that has a common database. This then makes sure that all the information that is being used across the organization are normalized and are based on common definitions as well as user experiences. The core constructs interconnect with the business processes that are driven by the workflows across every business department such as finance, operations, marketing, engineering, human resources, etc. It connects the systems and the people who use those systems. As put simply, Oracle enterprise resource management cloud is the vehicle that integrates people, technologies, and processes across a modern organization.</p>
<p>It is very critical to make sure that the users commit to all the changes that lead to a successful digital adoption when we talk about the thing that makes the Oracle ERP Cloud implementation successful. In the below section, we will go over all the reasons why companies and organizations need to include an Oracle ERP Cloud training strategy into their every implementation project.</p>
<h4>What is the need for Oracle ERP Cloud Training?</h4>
<p>All of the Oracle Cloud Applications including ERP Cloud, HCM Cloud, SCM, CX, EPM Cloud are complete, innovative, as well as proven solutions. They validate modern business transformations in the companies. But there is only one thing that will determine if your implementations are useful or not. It is whether the users will adopt the technology or not. Many companies rushed into transforming their business through the cloud but without proper training strategies in place. Later, they found themselves dealing with ROI and also with poor performance. All of this happened because of poor user adoption.</p>
<p>Driving the cloud adaption is a challenging task. This can be a big commitment to ensuring the adoption of the Oracle ERP Cloud or any other cloud solution and this is because of the main two reasons which are as follows:</p>
<ul>
<li>It is a very major change when a company moves from on-premise to a cloud-based application. It needs a shift in the mindset of everyone. For taking full advantage of all the abilities that Oracle ERP Cloud delivers, companies and organizations need to adjust all of their business processes and policies. Then they need to adopt new ones. While they are focusing on improving their business, all of these changes implemented will change the way people do their everyday work.</li>
<li>It takes a lot of time to master the Oracle ERP Cloud.  It is because it is a robust software suite with a lot of fields and screens.  This cloud serves a large variety of business functions as well as roles.</li>
</ul>
<h4>Benefits of establishing Oracle ERP Cloud Training</h4>
<p>In the year 2017, there was an IDC report. It was on the impacts of training on the acceleration of the cloud strategy. It stated the clear advantages for the companies that invest in training programs for the cloud. And also the companies that don’t. If talking about the companies that train their core teams well, they achieved almost about 90% of their business as well as their project milestones. However, the rate was 50% attainment for the untrained teams. When we look into the user adoption, about 82% of the organizations who had well-trained teams reported great satisfaction with the adoption rate of their solutions. However, the rate was only 60% for those organizations that didn&#8217;t get training. This makes a huge difference.</p>
<p>We can say that Oracle’s ERP Cloud is just as good as the people using it. It will not take much time for its features and capabilities that it provides to become useless. It will happen if the employees and other staff will not know how to use them correctly. All the applications of Oracle Cloud have an instinctive user interface but that’s only one thing. To be effective and expert in any technology, you and everyone else needs to be trained in that particular technology. Now, the following are some benefits that Oracle ERP Cloud provides when we deploy it:</p>
<ol>
<li>Facilitate your business transformation</li>
<li>Improve User Adoption Rates</li>
<li>Secure the processes</li>
<li>Shorten time-to-competency</li>
<li>Increase productivity</li>
<li>Simplify user experience to reduce resistance to change</li>
<li>Make users more autonomous and efficient</li>
<li>Accelerate onboarding and increase ROI</li>
<li>Accelerate user adoption</li>
</ol>
<h4>Conclusion</h4>
<p>As the number of companies moving to Oracle Cloud Applications increase, like the ERP Cloud, one thing remains precise. It is that the staff needs to be empowered to embody the change. You can do it with the help of training and change management. A very well planned ERP Cloud training planning and strategy can help make and not break your overall ERP Cloud implementation.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://smconsultant.com/understanding-the-importance-of-oracle-erp-cloud-training/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Types of User Acceptance Testing – Website Development</title>
		<link>https://smconsultant.com/types-of-user-acceptance-testing-website-development/</link>
					<comments>https://smconsultant.com/types-of-user-acceptance-testing-website-development/#respond</comments>
		
		<dc:creator><![CDATA[Havi J]]></dc:creator>
		<pubDate>Sun, 17 Jan 2021 06:30:44 +0000</pubDate>
				<category><![CDATA[Case Studies]]></category>
		<guid isPermaLink="false">https://smconsultant.com/?p=17847</guid>

					<description><![CDATA[In the process of developing a software product, software testing is very important. It makes sure and upholds the overall quality of the product. Several phases in the testing process are integration testing, acceptance testing, unit testing, system testing, and lastly the user acceptance testing which has a very significant role. What is UAT? User Acceptance Testing is the last stage in the process of software testing. This process plays a crucial role because it validates whether the business requirements]]></description>
										<content:encoded><![CDATA[<p>In the process of developing a software product, software testing is very important. It makes sure and upholds the overall quality of the product. Several phases in the testing process are integration testing, acceptance testing, unit testing, system testing, and lastly the user acceptance testing which has a very significant role.</p>
<h4>What is UAT?</h4>
<p>User Acceptance Testing is the last stage in the process of software testing. This process plays a crucial role because it validates whether the business requirements have been fulfilled or not before releasing the developed product. Moreover, the UAT testing meaning can be defined also as the methodology of the user where the software developed is tested by the business users in order to validate whether the software is working as per the specifications that are defined or not. This is also known as beta testing or application testing or also commonly called end-user testing.</p>
<p>This process is taken up before releasing the new software product in the market. This step is done to make sure if the product is complete according to all the functional specifications or not that is defined by the owner. If the owner won’t take up this process, their business will suffer from many significant losses due to the post-release issues.</p>
<h4>Why is it essential?</h4>
<p>UAT is a significant step that must be taken by the client, stakeholder, business owner, product owner, or the intended user. This has to be done in order to have a good understanding of the product or the software developed. The business user firstly verifies and validates the developed system before sending it to the production environment. The various stakeholders in this process are the QA lead, Test manager, business analyst, product owner, and requirement specialist.</p>
<p>User Acceptance Testing makes sure if the developed software can be effectively used to support all the daily operations and works of the business as per the user. Primarily, the owner of the product verifies if his solution works without any defects. Then, he confirms whether it meets the required needs or not. If it identifies any bugs, then the QA team fixes them up and tests them again. Therefore, it is an important step for the development of software products as businesses tend to have significant losses if any post-production issue occurs.</p>
<h4>Benefits</h4>
<p>Until now, we have come across about what is user acceptance testing and why is it so essential for all businesses. In the coming sections, we will talk about the benefits that it gives and what are its types. The benefits of user acceptance testing for businesses are as follows:</p>
<ul>
<li>It validates whether all the requirements are met or not as defined.</li>
<li>UTA reduces the risks of finding several defects post-production.</li>
<li>This helps in identifying all the bugs that were left during the integration testing.</li>
<li>It identifies the behavior of the application that is developed as visualized by the end-user or the product owner who has to use the software.</li>
<li>This testing ensures that the application works well and meets all the conditions and requirements.</li>
</ul>
<h4>Types</h4>
<p>The types in User Acceptance Testing are as follows:</p>
<h5>Alpha and Beta Testing:</h5>
<p>Both alpha and beta testing approaches in UAT are done before releasing the final software for the customers. Alpha testing is the one that is practiced in the very early phase of development with the help of teams. Before finally releasing the software, the user groups conduct the testing in a development environment. Feedback received help the teams to fix bugs and improve the product quality.</p>
<p>On the other hand, beta testing is done in the customer environment that involves customers for testing. The feedback from it enhances the quality of the software.</p>
<h5>Regulation Acceptance Testing:</h5>
<p>It is also known as compliance acceptance testing. RAT is a method to validate whether a development application complies with all the rules and regulations that are set by the government. It is one of the most important testing practices. The software is tested for its compliance with the guidelines given by the prevailing authority.</p>
<h5>Contract Acceptance Testing:</h5>
<p>This is a type of UAT testing approach in which the developed software is tested against all the critical criteria and specifications which have been already defined while the contract is made.</p>
<h5>Business Acceptance Testing:</h5>
<p>This is a UAT testing type that helps the businesses validate if their software satisfies specifications or requirements that are set by the business or not.</p>
<h5>Operational Acceptance Testing:</h5>
<p>Operational Acceptance Testing is also known as Production Acceptance Testing. It helps in assuring whether there is a popular workflow for the developed software that is its stability, reliability, compatibility, etc.</p>
<h5>Black Box Testing:</h5>
<p>In this, the teams analyze a few functionalities of the application without actually knowing its internal code structure. It is categorized under functional testing and it uses the same principles that the end-user is unaware of the codebase. It ensures that the developed software meets the business requirements.</p>
<h4>Conclusion</h4>
<p>Every business is now in a need of high-quality software as well as faster releases to beat their competition. Software testing is very important for software product development. And, essentially the user acceptance testing should be taken up by the product or the business owner. Leverage the very next generation and independent software testing service providers those who really make sure that quality software is delivered with the most careful UAT test plans. Thus, it guides all the businesses through. With this testing approach, every business can be assured of their products that meet their every requirement. Then they are finally ready to be moved to the production process.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://smconsultant.com/types-of-user-acceptance-testing-website-development/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to handle change management in digital transformation</title>
		<link>https://smconsultant.com/how-to-handle-change-management-in-digital-transformation/</link>
					<comments>https://smconsultant.com/how-to-handle-change-management-in-digital-transformation/#respond</comments>
		
		<dc:creator><![CDATA[Havi J]]></dc:creator>
		<pubDate>Sun, 17 Jan 2021 06:30:00 +0000</pubDate>
				<category><![CDATA[Case Studies]]></category>
		<guid isPermaLink="false">https://smconsultant.com/?p=17674</guid>

					<description><![CDATA[You might want to ask if whether your company is ready for the digital transformation or not. If you want your business to survive in today’s highly competitive environment and grow in the long-term then it must transform itself and adapt to the increasing expectations of the customers and all the technological changes that are happening in society. The digital transformation encourages the companies and organizations to choose the technology that is right for them and find out what technologies]]></description>
										<content:encoded><![CDATA[<p>You might want to ask if whether your company is ready for the digital transformation or not. If you want your business to survive in today’s highly competitive environment and grow in the long-term then it must transform itself and adapt to the increasing expectations of the customers and all the technological changes that are happening in society.</p>
<p>The digital transformation encourages the companies and organizations to choose the technology that is right for them and find out what technologies no longer are useful for them and need to be replaced or updated. The management needs to increase their productivity rates and embrace all the technological advancements so that they can bring better results in the business operations.</p>
<p>It always seems very challenging when we start a new project. Besides, digital transformation is not some exception. It is the nature of the processes that tell us that remarkable changes are coming. When it is rightly done, it radically modifies the way an organization works and handles all kinds of challenges that come in the way. Digital transformation is not only about installing new software. It is basically the reorganization of how one does things and how people need to cooperate.</p>
<p>Bringing digital transformation is a bit analytical. Many types of research show that the companies doing it properly tend to win market share while the other companies get a negative ROI for all of their investments. For implementing and bringing digital transformation to your company, it will be a wise choice to rely on change management.</p>
<h4>Change management will transform</h4>
<p>The advancement of change management has always been related to technology-driven developments as well as transformation in large companies. Every day, new organizations are bringing digital change and in order to meet the new challenges, they need to improve the role of change management. Such kind of issues involves a deeper and broader human impact that is connected with digitization and also the implementation methods like user experience and design thinking. Digital transformation needs an algorithm. There is a common scheme of change management using the C-suite and get to all the levels of management. Such processes don’t have track records. Also, the changes that they bring are huge.</p>
<h4>Put important things first</h4>
<p>Earlier, all the focus was on the process of bringing the technology, and then it was on the influence that it had on the staff. A change management plan was made only after seeing the evaluation of impacts. However, nowadays it is a top priority to talk about future changes with the people before implementing any digital transformation. It is done to increase loyalty around the things that are about to happen and make people excited about the changes.</p>
<h4>Build C-suite support</h4>
<p>Getting good support is important for all the changes to be realized. The businesses that face difficulties in this new digital world can easily get the build support that they need to succeed. Most of the companies that feel the impact of this climate is ready for it. But on the other hand, the companies who don’t think about the effects can be more resistant to all the changes. To get the management on board, it is important if change managers understand the pain points and offer practical solutions. You can implement transformation slowly. There is no need for dramatic modification at all. This gives everyone the chance to adapt to change and consider it as something good rather than as a challenge.</p>
<h4>Understand the technology</h4>
<p>One of the most difficult things, when there is a digital implementation, is to explain to the employees how this transformation will change the way they work and ensuring them that they can continue to do their jobs. That’s when advisors are useful for the companies. They provide all the employees training programs so that they can understand the new processes in a better way.</p>
<h4>Create a strategy</h4>
<p>Planning is a significant step. Companies need to be vigorous with their strategies. There are always risks when you spend hours creating a plan. However, digital transformation needs flexibility. Thus, if there is a signal that the company needs change for future developments then you should reconsider all your plans. Otherwise, you will see yourself spending time on useless things.</p>
<h4>Realize all the changes</h4>
<p>If you do it correctly, digitalization will bring a lot of transparency working in a collaborative function. But, it doesn’t always come easily. That is why change management for this process includes creating a dialogue about the technology as well as all the modifications of the processes in various teams. You need to initiate real conversations about what kind of future is waiting. Give the staff the chance to express their worries. At last, it is up to the change managers that they can see those changes as an amazing environment for innovation.</p>
<h4>Conclusion</h4>
<p>The process of digital transformation is a very complex task for change managers and employees. You should implement this change slowly after the right strategic planning. You need to have clarity for the result. This way you can get every member of your staff to move in the same direction. And also there should always be a little place for flexibility.</p>
<p>Make several cultural changes and education the characteristics of this transformation a highlight of your overall plan. It is essential to guarantee that every member of the company is on board. The staff members need to be aware of all the changes that it brings. In this way they can consider digital transformation as a good thing. So it&#8217;s better for the companies if they don’t forget to explain the kind of improvements in the vision during the transformation process.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://smconsultant.com/how-to-handle-change-management-in-digital-transformation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Java Basics – Static and Initializer Block, Type Casting, String Handling</title>
		<link>https://smconsultant.com/java-basics-static-and-initializer-block-type-casting-string-handling/</link>
					<comments>https://smconsultant.com/java-basics-static-and-initializer-block-type-casting-string-handling/#respond</comments>
		
		<dc:creator><![CDATA[Havi J]]></dc:creator>
		<pubDate>Sun, 17 Jan 2021 06:29:47 +0000</pubDate>
				<category><![CDATA[Software Blog]]></category>
		<guid isPermaLink="false">https://smconsultant.com/?p=17877</guid>

					<description><![CDATA[The Static and Initializer Block In Java programming language, the static keyword is used for memory management mainly. The static keyword is used along with variables, nested class, methods, and blocks. It is a set of statements in a program that are executed by the Java virtual machine before the main method. When the class loading starts and if the programmer wants to perform a specific task then he or she can define the task inside this static block. This]]></description>
										<content:encoded><![CDATA[<h3><strong>The Static and Initializer Block</strong></h3>
<p>In Java programming language, the static keyword is used for memory management mainly. The static keyword is used along with variables, nested class, methods, and blocks. It is a set of statements in a program that are executed by the Java virtual machine before the main method. When the class loading starts and if the programmer wants to perform a specific task then he or she can define the task inside this static block. This task will be then executed when the class will be loading. Besides, we can define as many static blocks in a class as we want and these blocks will be always executed from the top to the bottom. Let us understand this with the help of an example.</p>
<p>When we execute a program, the static block is executed before the main method. All the statements that have been written inside this static block will be executed first. However, both are static.</p>
<p>Class Staticexample</p>
<p>{</p>
<p>Static</p>
<p>{</p>
<p>System.out.println(“Welcome everyone”);</p>
<p>System.out.println(“This is a static block”);</p>
<p>}</p>
<p>Public static void main(String args[])</p>
<p>{</p>
<p>System.out.println(“This is the main() method”);</p>
<p>}</p>
<p>}</p>
<p><strong>Output – </strong></p>
<p>Welcome everyone</p>
<p>This is a static block</p>
<p>This is the main() method</p>
<h4><strong>Initializer</strong></h4>
<p>Now, on the other hand, the initializer block in Java is used to initial all the instance data members. This block is executed whenever an object is developed or created. The initializer block is basically copied into the Java compiler and then it is copied to every constructor. The initialization block is then executed before the code in the constructor. We can have both the static as well as the initializer block in the Java program. But the static block will execute first before the initializer block.</p>
<p>class Initializer{</p>
<p>{</p>
<p>System.out.println(&#8220;Welcome everyone.&#8221;);</p>
<p>System.out.println(&#8220;This is the Initializer block&#8221;);</p>
<p>}</p>
<p>public Initializer()</p>
<p>{</p>
<p>System.out.println(&#8220;Default Constructor is invoked&#8221;);</p>
<p>}</p>
<p>public static void main(String args[])</p>
<p>{                        Initializer obj = new Initializer();</p>
<p>System.out.println(&#8220;This is the main() method&#8221;);</p>
<p>}}</p>
<p><strong>Output – </strong></p>
<p>Welcome everyone.</p>
<p>This is the Initializer block</p>
<p>Default Constructor is invoked</p>
<p>This is the main() method</p>
<h3><strong>Type Casting</strong></h3>
<p>In Java, type casting is a process or method that transforms a data type into another data type. It transforms them in both ways are manually as well as automatically. The compiler does the automatic conversion and the programmer performs the manual conversion. In this section, we will not discuss type casting and its type with some examples.</p>
<p>It is clear from the above section that converting a value from one data type to another is type casting. Type casting is of two types that is the widening type casting and narrowing type casting.</p>
<h4><strong>Widening Type Casting – </strong></h4>
<p>Converting or transforming a lower data type into a higher data type is called the widening type casting. However, the widening type casting is also known as the implicit conversion or casting down. It can be done automatically and it is safe as there is no chance to lose all your data. It takes place when:</p>
<ul>
<li>Both the data types should be compatible with one another.</li>
<li>The type target should be larger than the source type.</li>
</ul>
<p>For example, if you want to convert between numeric data types to a character or boolean then it cannot be done automatically. The Boolean and character data type is also not compatible with one another.</p>
<p><strong>public</strong> <strong>class</strong> WideningExample</p>
<p>{</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String[] args)</p>
<p>{</p>
<p><strong>int</strong> x = 7;</p>
<p>//automatically converts integer type into long type</p>
<p><strong>long</strong> y = x;</p>
<p>//automatically converts long type into float type</p>
<p><strong>float</strong> z = y;</p>
<p>System.out.println(&#8220;Before conversion, int value &#8220;+x);</p>
<p>System.out.println(&#8220;After conversion, long value &#8220;+y);</p>
<p>System.out.println(&#8220;After conversion, float value &#8220;+z);</p>
<p>}</p>
<p>}</p>
<p>Output –</p>
<p>Before conversion, the value is: 7</p>
<p>After conversion, the long value is: 7</p>
<p>After conversion, the float value is: 7.0</p>
<h4><strong>Narrowing Type Casting – </strong></h4>
<p>Converting or transforming a higher data type into a lower data type is the narrowing type casting. Although, it is also called the explicit conversion or casting up. The programmers do this type of type casting manually. If type casting is not performed then the compiler reports a compile-time error. In the below example, we have performed this type casting twice. First, we converted the double type into long, and then the long data type was converted into the int data type.</p>
<p><strong>public</strong> <strong>class</strong> NarrowingExample</p>
<p>{</p>
<p><strong>public</strong> <strong>static</strong> <strong>void</strong> main(String args[])</p>
<p>{</p>
<p><strong>double</strong> d = 166.66;</p>
<p>//converting the double data type into the long data type</p>
<p><strong>long</strong> l = (<strong>long</strong>)d;</p>
<p>//converting the long data type into the int data type</p>
<p><strong>int</strong> i = (<strong>int</strong>)l;</p>
<p>System.out.println(&#8220;Before conversion: &#8220;+d);</p>
<p>//fractional part lost</p>
<p>System.out.println(&#8220;After conversion into long type: &#8220;+l);</p>
<p>//fractional part lost</p>
<p>System.out.println(&#8220;After conversion into int type: &#8220;+i);</p>
<p>}</p>
<p>}</p>
<p>Output –</p>
<p>Before conversion: 166.66</p>
<p>After conversion into long type: 166</p>
<p>After conversion into int type: 166</p>
<h3><strong>String Handling</strong></h3>
<p>Strings are widely used in the Java programming language. Also, strings are a sequence of characters. In this language, we usually treat strings as objects. Moreover, the Java programming language platform offers the string class to develop and manipulate the strings. Therefore, the direct way to generate a string is to write the below code –</p>
<p>String example = “Hey, my name is Mark Joseph.”;</p>
<p>Whenever the compiler detects a string in the code, it creates a string object with its given value in the case, “Hey, my name is Mark.”</p>
<p>Example –</p>
<p>Public class String {</p>
<p>Public static void main(String args[]) {</p>
<p>Char[] = markArray = {‘m’,’a’,’r’,’k’};</p>
<p>String markString = new String(markArray);</p>
<p>System.out.println(markString);</p>
<p>}</p>
<p>}</p>
<p>The output will be &#8211; mark</p>
]]></content:encoded>
					
					<wfw:commentRss>https://smconsultant.com/java-basics-static-and-initializer-block-type-casting-string-handling/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Lists, Loops, strings, and dictionaries in python</title>
		<link>https://smconsultant.com/lists-loops-strings-and-dictionaries-in-python/</link>
					<comments>https://smconsultant.com/lists-loops-strings-and-dictionaries-in-python/#respond</comments>
		
		<dc:creator><![CDATA[Havi J]]></dc:creator>
		<pubDate>Sun, 17 Jan 2021 06:29:03 +0000</pubDate>
				<category><![CDATA[Software Blog]]></category>
		<guid isPermaLink="false">https://smconsultant.com/?p=17377</guid>

					<description><![CDATA[Dating back to 1991, python computer programming language is considered a gap-filler and a way out to write a script that automates the boring stuff. It is also considered as a language that rapidly prototypes the applications that will be implemented in other languages available. However, over a few years, this language has emerged as a first-class citizen in data analysis, software development, and infrastructure management. It is not a back-room utility language anymore. Python is a major part of]]></description>
										<content:encoded><![CDATA[<p>Dating back to 1991, python computer programming language is considered a gap-filler and a way out to write a script that automates the boring stuff. It is also considered as a language that rapidly prototypes the applications that will be implemented in other languages available. However, over a few years, this language has emerged as a first-class citizen in data analysis, software development, and infrastructure management. It is not a back-room utility language anymore. Python is a major part of web application development and system management. Also, it is a key driver of the increase in machine intelligence and big data analytics. In this article, we will learn about python’s lists, loops, strings, and dictionaries.</p>
<h4>Lists</h4>
<p>The list is the most flexible data type that is available in python. It can be easily written as a list of values or items between square brackets. We need to separate them with a comma. However, one of the important things in a list is that the values in it need not be of the same type. For example – list1 = [‘physics’, ‘biology’, 2020]. List indices always start at 0 and we can slice or concatenate them. We can access the values in a list and can update or delete them accordingly.</p>
<p><strong>Built-in functions and methods</strong></p>
<ol>
<li>cmp(list2,list3) – compares all the elements of both the lists.</li>
<li>Len(list) – it tells the total length of a particular list.</li>
<li>Max(list) – it returns the item from the list with the maximum value.</li>
<li>Min(list) – returns item which has the minimum value.</li>
<li>List(seq) – converts a given tuple to a list.</li>
<li>append(object1) – appends the object objec1 to the list.</li>
<li>count(objec1) – returns the count of how many times that object has occurred on the list.</li>
<li>extend(seq) – it appends the contents of seq to the list.</li>
<li>index(objec1) – returns the lowest index in the list that objec1 appears.</li>
<li>insert(index, objec1) – this inserts the object objec1 in the list at the offset index.</li>
<li><a href="https://www.tutorialspoint.com/python/list_pop.htm">pop(objec1=list[-1])</a> – removes and returns the last object from the list.</li>
<li><a href="https://www.tutorialspoint.com/python/list_remove.htm">remove(objec1)</a> – it removes the object objec1 from the list.</li>
<li><a href="https://www.tutorialspoint.com/python/list_reverse.htm">reverse()</a> – it reverses the objects of a list in place.</li>
<li><a href="https://www.tutorialspoint.com/python/list_sort.htm">sort([func])</a> – it sorts all the objects of the list.</li>
</ol>
<h4>Loops</h4>
<p>Usually, we execute the statements sequentially. In a function, the first statement is executed, then the second statement is executed and the same goes on. But then, there may be a situation when you need to execute a certain block of code more than once. For this purpose, programming languages provide you with various control structures that allow for more complicated execution paths. A loop statement is the one that allows the programmers to execute a statement or a group of statements multiple times. Python provides us with the following types of loops for handling our looping requirements.</p>
<ul>
<li>While loop – This loop statement repeats a particular statement or a group of statements while the given condition is true. It tests the given condition before actually executing the loop body.</li>
<li>For loop – For loop executes a sequence of statements several times and also abbreviates the code that manages the variable of the loop.</li>
<li>Nested loop – The programmers can use one or more than one loop inside any other for, while, or do-while loop.</li>
</ul>
<h4>Strings</h4>
<p>The string is the most popular data type in the python programming language. We can easily create them by enclosing all the characters in quotes. One important thing to remember is that python treats both the single and double quotes equally. Creating strings in a program is as simple as assigning a particular value to a variable. We can always access the values in the strings and can update the existing string by reassigning a given variable to another string. The newly assigned value can be related to the previous value or a very different string altogether. Python is a language that doesn’t support the character type string. We treat them as strings of length one. Thus, often we can also consider as a substring.</p>
<p><strong>Main built-in string methods</strong></p>
<ol>
<li><a href="https://www.tutorialspoint.com/python/string_capitalize.htm">capitalize()</a> – capitalizes the first letter of a string.</li>
<li><a href="https://www.tutorialspoint.com/python/string_center.htm">center(width, fillchar)</a> – this method returns a space-padded string with an original string centered to a total width of the columns.</li>
<li><a href="https://www.tutorialspoint.com/python/string_count.htm">count(str1, beg= 0,end=len(string))</a> – it counts how many times do str1 occurs in a string.</li>
<li><a href="https://www.tutorialspoint.com/python/string_decode.htm">decode(encoding=&#8217;UTF-8&#8242;,errors=&#8217;strict&#8217;)</a> – it decodes the given string using codec that is registered for encoding.</li>
<li><a href="https://www.tutorialspoint.com/python/string_encode.htm">encode(encoding=&#8217;UTF-8&#8242;,errors=&#8217;strict&#8217;)</a> – this method returns encoded version of string.</li>
</ol>
<h4>Dictionaries</h4>
<p>In a dictionary, the keys are separated from their values by a colon. The items or values are separated by commas and the whole thing is enclosed by curly braces. We can write an empty dictionary without any items in it with just curly braces like {}. The keys are always unique in a dictionary whereas it is not the case with the values. The values can be of any type in the dictionary but the keys should always be of an immutable data type like tuples, strings, or numbers. We can access the values in a dictionary and can update and delete the elements just like a list.</p>
<p><strong>Built-in dictionary functions and methods</strong></p>
<ol>
<li><a href="https://www.tutorialspoint.com/python/dictionary_cmp.htm">cmp(dict2, dict4)</a> – compares the elements of both dictionaries.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_len.htm">len(dict1)</a> – gives the total length of a dictionary.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_str.htm">str(dict1)</a> – it produces a printable string representation of a particular dictionary.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_type.htm">type(variable)</a> – the type of passed variable is returned with this.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_clear.htm">clear()</a> – removes all the elements.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_copy.htm">copy()</a> – returns a copy of the dictionary.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_fromkeys.htm">fromkeys()</a> – creates a new dictionary with the keys.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_get.htm">get(key, default=None)</a> – returns value or default if the key is not present in the dictionary.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_has_key.htm">has_key(key)</a> – returns true if the key is present, else false.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_items.htm">items()</a> – returns a whole list of tuple pairs of the dictionary.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_keys.htm">keys()</a> – returns the list of all the keys.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_setdefault.htm">setdefault(key, default=None)</a> – it is similar to get(). But, it will set dict[key] to default if the key is not present in dict.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_update.htm">update(dict4)</a> – it adds dictionary dict4’s key-value pairs to the dict.</li>
<li><a href="https://www.tutorialspoint.com/python/dictionary_values.htm">values()</a> – returns the list of dictionary dict’s values.</li>
</ol>
]]></content:encoded>
					
					<wfw:commentRss>https://smconsultant.com/lists-loops-strings-and-dictionaries-in-python/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
