<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Liudmyla</title>
    <description>The latest articles on DEV Community by Liudmyla (@liudmyla).</description>
    <link>https://dev.to/liudmyla</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F935741%2Fb14f9903-6f4d-4141-87fa-af92b2cee49c.png</url>
      <title>DEV Community: Liudmyla</title>
      <link>https://dev.to/liudmyla</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/liudmyla"/>
    <language>en</language>
    <item>
      <title>Codecademy. Project #1: Software Development Concepts</title>
      <dc:creator>Liudmyla</dc:creator>
      <pubDate>Sat, 01 Oct 2022 21:44:32 +0000</pubDate>
      <link>https://dev.to/liudmyla/codecademy-project-1-software-development-concepts-37l5</link>
      <guid>https://dev.to/liudmyla/codecademy-project-1-software-development-concepts-37l5</guid>
      <description>&lt;p&gt;Hi! I started studying a new profession for myself in the field of IT. I decided to start with a course "Introduction on IT" on the website "Codecademy". In order to receive a course completion certificate, I have to complete Software Development Concepts project. &lt;br&gt;
The main task is a creation design a pattern searching algorithm. For example, we use this algorithm to search for a word in a specific body of text, like a dictionary or а website.The implementation of the project is divided into several steps. I suggest you take a closer look.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 1. Plan and write the algorithm&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Task:&lt;/em&gt; "Take two string values called text and pattern. Search through the value of text to check if the value pattern can be found within text. Notify the user if pattern was found in text or not."&lt;br&gt;
&lt;em&gt;Solution:&lt;/em&gt; I will write down the algorithm and all actions related to it in a notebook:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a string variable named "text" and input the value of the text that we plan to search through&lt;/li&gt;
&lt;li&gt;Create a string variable named "pattern" and input the value of the pattern that we are looking for in the text&lt;/li&gt;
&lt;li&gt;Create a "match_count" variable and set it to 0&lt;/li&gt;
&lt;li&gt;Decision: Have we finished searching the text value?

&lt;ul&gt;
&lt;li&gt;If no, continue to step 5&lt;/li&gt;
&lt;li&gt;If yes, continue to step 7&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Iterate to the next word in the "text" variable&lt;/li&gt;
&lt;li&gt;Compare value of "text" to the value of "pattern". 
Decision: are they equal?

&lt;ul&gt;
&lt;li&gt;If yes, go to step 7&lt;/li&gt;
&lt;li&gt;If no, go back to step 5&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If match count is equal to the length of the pattern:
pattern found! 
otherwise:
pattern not found! &lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 2. Draw a flowchart&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Task:&lt;/em&gt; "Match each step from the previous task to an appropriate shape and then connect all these shapes together to create a flowchart."&lt;br&gt;
&lt;em&gt;Solution:&lt;/em&gt; I am attaching my flowchart.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uuYmlCmh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/igyr0fwcsbu5xk8jpx8i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uuYmlCmh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/igyr0fwcsbu5xk8jpx8i.png" alt="Image description" width="880" height="624"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 3.Test the Chart&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Task:&lt;/em&gt; "Test your solution by going through your flowchart with the following values&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;text = "ERROR: Invalid function arguments"; pattern = "ERROR"&lt;/li&gt;
&lt;li&gt;text = "ERROR: Out of memory"; pattern = "network"&lt;/li&gt;
&lt;li&gt;text = "ERROR: The file is write-protected"; pattern = "protected"
&lt;em&gt;Solution:&lt;/em&gt; I will conduct an analysis inputs to make sure it works as expected.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 4. Produce the Pseudocode&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Task:&lt;/em&gt; "Using the finely-tuned flowchart as a guide, get more technical by creating the pseudocode that corresponds to the previous steps and flowchart."&lt;br&gt;
&lt;em&gt;Solution:&lt;/em&gt; I am creating a pseudocode that looks as shown below.&lt;/p&gt;

&lt;p&gt;define text&lt;br&gt;
define pattern&lt;br&gt;
create a match_count variable and set it to 0&lt;br&gt;
if the entire text hasn't been searched:&lt;br&gt;
  iterate to the next character of the text&lt;br&gt;
  if the entire pattern hasn't been searched:&lt;br&gt;
   if this character from the pattern is equal to the character from text:&lt;br&gt;
increment the match_count variable&lt;br&gt;
    if match_count is equal to the length of the pattern:&lt;br&gt;
   pattern found! &lt;br&gt;
otherwise:&lt;br&gt;
  pattern not found! &lt;/p&gt;

&lt;p&gt;Thank you for reading my article to the end! This is my first project, so it is interesting and difficult for me at the same time. I would appreciate your suggestions for improving my template.&lt;/p&gt;

</description>
      <category>career</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
