<?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: Kartik Kumar</title>
    <description>The latest articles on DEV Community by Kartik Kumar (@kartikjhaba).</description>
    <link>https://dev.to/kartikjhaba</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%2F1944408%2Fdad913af-a9b3-4fd2-81f1-70e758b96b4f.png</url>
      <title>DEV Community: Kartik Kumar</title>
      <link>https://dev.to/kartikjhaba</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kartikjhaba"/>
    <language>en</language>
    <item>
      <title>cs50x week 9 Flask</title>
      <dc:creator>Kartik Kumar</dc:creator>
      <pubDate>Tue, 10 Dec 2024 10:01:06 +0000</pubDate>
      <link>https://dev.to/kartikjhaba/cs50x-week-9-flask-54ca</link>
      <guid>https://dev.to/kartikjhaba/cs50x-week-9-flask-54ca</guid>
      <description>&lt;p&gt;In this week I learned flask microweb framework which is built in python language. It is easy to understand and use.&lt;/p&gt;

&lt;p&gt;Problems:&lt;br&gt;
1) Birthdays : In this problem our task is to get the data from user, store in the database and finally fetch the records and display to the user.&lt;/p&gt;

&lt;p&gt;2) Finance : This problem was also not very much difficult but it was lengthy as I have to create lot of pages as well as tables in database. But the main thing was same storing the data to database and fetching.&lt;/p&gt;

</description>
      <category>cs50</category>
      <category>harvard</category>
      <category>davidjmalan</category>
    </item>
    <item>
      <title>cs50x week 8 HTML CSS JS</title>
      <dc:creator>Kartik Kumar</dc:creator>
      <pubDate>Tue, 10 Dec 2024 09:57:18 +0000</pubDate>
      <link>https://dev.to/kartikjhaba/cs50x-week-8-html-css-js-3op1</link>
      <guid>https://dev.to/kartikjhaba/cs50x-week-8-html-css-js-3op1</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn1qp99odczowy5f729g3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fn1qp99odczowy5f729g3.png" alt="Image description" width="800" height="285"&gt;&lt;/a&gt;&lt;br&gt;
It was a quite easy week for me as I already knew basics of html css and javascript.&lt;/p&gt;

&lt;p&gt;Only static sites were built in this week.&lt;/p&gt;

</description>
      <category>cs50</category>
      <category>harvard</category>
      <category>davidjmalan</category>
    </item>
    <item>
      <title>cs50x week 7 SQL</title>
      <dc:creator>Kartik Kumar</dc:creator>
      <pubDate>Wed, 13 Nov 2024 11:10:20 +0000</pubDate>
      <link>https://dev.to/kartikjhaba/cs50x-week-7-sql-878</link>
      <guid>https://dev.to/kartikjhaba/cs50x-week-7-sql-878</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fct1gw556y98yv0ng7zev.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fct1gw556y98yv0ng7zev.png" alt="Image description" width="800" height="284"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This week is very easy and interesting as we have to just query the data by running the sql commands.&lt;/p&gt;

&lt;p&gt;Problems:&lt;br&gt;
1) Songs - Simple problem&lt;br&gt;
2) Movies - Simple problem&lt;br&gt;
3) Fiftyville - This problem was very interesting till now as it gives the real world problem to solve which is to investigate the crime and find who the real theif is.&lt;/p&gt;

</description>
      <category>cs50</category>
      <category>harvard</category>
      <category>davidjmalan</category>
      <category>webdev</category>
    </item>
    <item>
      <title>cs50x week 6 Python</title>
      <dc:creator>Kartik Kumar</dc:creator>
      <pubDate>Sun, 27 Oct 2024 14:38:27 +0000</pubDate>
      <link>https://dev.to/kartikjhaba/cs50x-week-6-python-3ga6</link>
      <guid>https://dev.to/kartikjhaba/cs50x-week-6-python-3ga6</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsj3xg2ea4ue3llm61ebi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsj3xg2ea4ue3llm61ebi.png" alt="Week 6 completed" width="800" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This week was a transition to a more higher level language than C. Yes I am talking about Python. &lt;/p&gt;

&lt;p&gt;Actually everyone says it is easy but it was hard for me because I had already done C very well and Python is just ruining all those deep concepts. I hope those can relate with me who has done C.&lt;/p&gt;

&lt;p&gt;Anyway I completed.&lt;/p&gt;

&lt;p&gt;Problem sets:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;All the problems were same as in the C except the last one DNA.&lt;/li&gt;
&lt;li&gt;DNA : This problem was challenging to me because of the new syntax of the python language.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>cs50</category>
      <category>davidjmalan</category>
      <category>harvard</category>
      <category>python</category>
    </item>
    <item>
      <title>cs50x week5 Data Structures</title>
      <dc:creator>Kartik Kumar</dc:creator>
      <pubDate>Mon, 14 Oct 2024 23:50:31 +0000</pubDate>
      <link>https://dev.to/kartikjhaba/cs50x-week5-data-structures-42bd</link>
      <guid>https://dev.to/kartikjhaba/cs50x-week5-data-structures-42bd</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzjy2gi4ypk7ein1g1wle.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzjy2gi4ypk7ein1g1wle.png" alt="week5 completed" width="800" height="287"&gt;&lt;/a&gt;&lt;br&gt;
What I learned till now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Till now I am done with the c language.&lt;/li&gt;
&lt;li&gt;Be slow and try to understand the problem first completely, then take pen and paper and brainstorm a little bit &amp;amp; then jump onto the computer to write code.&lt;/li&gt;
&lt;li&gt;Pseudo code really Helps!&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Problem sets:&lt;br&gt;
1) inheritance - Found difficult to me, maybe because I was too busy in other work related to my college so not able to focus properly on that problem. &lt;br&gt;
2) speller - Problem was easy to solve but hard to understand but finally did that.&lt;/p&gt;

</description>
      <category>cs50</category>
      <category>harvard</category>
      <category>davidjmalan</category>
      <category>computerscience</category>
    </item>
    <item>
      <title>cs50x week4 Memory</title>
      <dc:creator>Kartik Kumar</dc:creator>
      <pubDate>Mon, 30 Sep 2024 09:23:02 +0000</pubDate>
      <link>https://dev.to/kartikjhaba/cs50x-week4-memory-4ojf</link>
      <guid>https://dev.to/kartikjhaba/cs50x-week4-memory-4ojf</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2x5qei668r5olou48r58.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2x5qei668r5olou48r58.png" alt="week4"&gt;&lt;/a&gt;&lt;br&gt;
This week lecture took me 3-4 times of watching again and again to understand the concept of pointers(basically file pointers).&lt;br&gt;
The Practice Problems were also too much harder than the previous weeks.&lt;/p&gt;

&lt;p&gt;Problem sets:&lt;br&gt;
1) Volume = This problem was hard for me because of lack of understanding of file pointers. I watched file pointer video part again and again and understood what the functions actually do and what is the meaning of their arguments.&lt;br&gt;
2) Filter-less = This problem was not that much hard but the subsection(Blur function) of the problem was very very time taking and hard. This function uses the strategy of box blur where we have to calculate the new pixel value from the average of its surrounding pixel's original value including itself.&lt;br&gt;
&lt;strong&gt;-Here is the code which I had implemented to solve this problem with the help of cs50.ai&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// Blur image
void blur(int height, int width, RGBTRIPLE image[height][width])
{
    /*created temproray matrix for storing the new values beacause we have to calcluate the new
     values from the original values in image*/
    RGBTRIPLE temp[height][width];
    for (int i = 0; i &amp;lt; height; i++) // for iterating rows
    {
        for (int j = 0; j &amp;lt; width; j++) // for iterating columns
        {
            //*************************1) HANDLING THE CORNERS***************************
            //----------1.1) for the TOP-LEFT pixel-----------
            if (i == 0 &amp;amp;&amp;amp; j == 0)
            {
                float red = 0.0, green = 0.0, blue = 0.0;
                for (int r = 0; r &amp;lt; 2; r++)
                {
                    for (int c = 0; c &amp;lt; 2; c++)
                    {
                        red = red + image[r][c].rgbtRed;
                        green = green + image[r][c].rgbtGreen;
                        blue = blue + image[r][c].rgbtBlue;
                    }
                }
                temp[i][j].rgbtRed = round(red / 4.0);
                temp[i][j].rgbtGreen = round(green / 4.0);
                temp[i][j].rgbtBlue = round(blue / 4.0);
            } //---------------------------------------------------

            //----------1.2) for TOP-RIGHT pixel------------
            if (i == 0 &amp;amp;&amp;amp; j == (width - 1))
            {
                float red = 0.0, green = 0.0, blue = 0.0;
                for (int r = 0; r &amp;lt; 2; r++)
                {
                    for (int c = (width - 2); c &amp;lt; width; c++)
                    {
                        red = red + image[r][c].rgbtRed;
                        green = green + image[r][c].rgbtGreen;
                        blue = blue + image[r][c].rgbtBlue;
                    }
                }
                temp[i][j].rgbtRed = round(red / 4.0);
                temp[i][j].rgbtGreen = round(green / 4.0);
                temp[i][j].rgbtBlue = round(blue / 4.0);
            } //-----------------------------------------------------

            //----------1.3) for BOTTOM-LEFT pixel------------
            if (i == (height - 1) &amp;amp;&amp;amp; j == 0)
            {
                float red = 0.0, green = 0.0, blue = 0.0;
                for (int r = (height - 2); r &amp;lt; height; r++)
                {
                    for (int c = 0; c &amp;lt; 2; c++)
                    {
                        red = red + image[r][c].rgbtRed;
                        green = green + image[r][c].rgbtGreen;
                        blue = blue + image[r][c].rgbtBlue;
                    }
                }
                temp[i][j].rgbtRed = round(red / 4.0);
                temp[i][j].rgbtGreen = round(green / 4.0);
                temp[i][j].rgbtBlue = round(blue / 4.0);
            } //------------------------------------------------------

            //----------1.4) for BOTTOM-RIGHT pixel------------
            if (i == (height - 1) &amp;amp;&amp;amp; j == (width - 1))
            {
                float red = 0.0, green = 0.0, blue = 0.0;
                for (int r = (height - 2); r &amp;lt; height; r++)
                {
                    for (int c = (width - 2); c &amp;lt; width; c++)
                    {
                        red = red + image[r][c].rgbtRed;
                        green = green + image[r][c].rgbtGreen;
                        blue = blue + image[r][c].rgbtBlue;
                    }
                }
                temp[i][j].rgbtRed = round(red / 4.0);
                temp[i][j].rgbtGreen = round(green / 4.0);
                temp[i][j].rgbtBlue = round(blue / 4.0);
            } //------------------------------------------------------
            //*******************************************************************************

            //*****************************2)HANDLING THE EDGES************************************

            //----------2.1)HANDLING THE TOP ROW EDGES ---------------
            if (i == 0 &amp;amp;&amp;amp; j != 0 &amp;amp;&amp;amp; j != (width - 1))
            {
                float red = 0.0, green = 0.0, blue = 0.0;
                for (int r = i; r &amp;lt; 2; r++)
                {
                    for (int c = (j - 1); c &amp;lt;= (j + 1); c++)
                    {
                        red = red + image[r][c].rgbtRed;
                        green = green + image[r][c].rgbtGreen;
                        blue = blue + image[r][c].rgbtBlue;
                    }
                }
                temp[i][j].rgbtRed = round(red / 6.0);
                temp[i][j].rgbtGreen = round(green / 6.0);
                temp[i][j].rgbtBlue = round(blue / 6.0);
            }
            //----------------------------------------------------

            //----------2.2)HANDLING THE BOTTOM ROW EDGES ---------------
            if (i == (height - 1) &amp;amp;&amp;amp; j != 0 &amp;amp;&amp;amp; j != (width - 1))
            {
                // ex i[4]j[2]
                float red = 0.0, green = 0.0, blue = 0.0;
                for (int r = (i - 1); r &amp;lt; height; r++)
                {
                    for (int c = (j - 1); c &amp;lt;= (j + 1); c++)
                    {
                        red = red + image[r][c].rgbtRed;
                        green = green + image[r][c].rgbtGreen;
                        blue = blue + image[r][c].rgbtBlue;
                    }
                }
                temp[i][j].rgbtRed = round(red / 6.0);
                temp[i][j].rgbtGreen = round(green / 6.0);
                temp[i][j].rgbtBlue = round(blue / 6.0);
            }
            //----------------------------------------------------

            //----------2.3)HANDLING THE LEFT COLUMN EDGES ---------------
            if (i != 0 &amp;amp;&amp;amp; i != (height - 1) &amp;amp;&amp;amp; j == 0)
            {
                // ex i[2]j[0]
                float red = 0.0, green = 0.0, blue = 0.0;
                for (int r = (i - 1); r &amp;lt;= (i + 1); r++)
                {
                    for (int c = 0; c &amp;lt;= (j + 1); c++)
                    {
                        red = red + image[r][c].rgbtRed;
                        green = green + image[r][c].rgbtGreen;
                        blue = blue + image[r][c].rgbtBlue;
                    }
                }
                temp[i][j].rgbtRed = round(red / 6.0);
                temp[i][j].rgbtGreen = round(green / 6.0);
                temp[i][j].rgbtBlue = round(blue / 6.0);
            }
            //----------------------------------------------------
            //----------2.4)HANDLING THE RIGHT COLUMN EDGES ---------------
            if (i != 0 &amp;amp;&amp;amp; i != (height - 1) &amp;amp;&amp;amp; j == (width - 1))
            {
                // ex i[2]j[3]
                float red = 0.0, green = 0.0, blue = 0.0;
                for (int r = (i - 1); r &amp;lt;= (i + 1); r++)
                {
                    for (int c = (j - 1); c &amp;lt; width; c++)
                    {
                        red = red + image[r][c].rgbtRed;
                        green = green + image[r][c].rgbtGreen;
                        blue = blue + image[r][c].rgbtBlue;
                    }
                }
                temp[i][j].rgbtRed = round(red / 6.0);
                temp[i][j].rgbtGreen = round(green / 6.0);
                temp[i][j].rgbtBlue = round(blue / 6.0);
            }
            //----------------------------------------------------

            //*****************HANDLING THE INNER PART************************
            if (i != 0 &amp;amp;&amp;amp; i != (height - 1) &amp;amp;&amp;amp; j != 0 &amp;amp;&amp;amp; j != (width - 1))
            {
                // ex i[3]j[2]
                float red = 0.0, green = 0.0, blue = 0.0;
                for (int r = (i - 1); r &amp;lt;= (i + 1); r++)
                {
                    for (int c = (j - 1); c &amp;lt;= (j + 1); c++)
                    {
                        red = red + image[r][c].rgbtRed;
                        green = green + image[r][c].rgbtGreen;
                        blue = blue + image[r][c].rgbtBlue;
                    }
                }
                temp[i][j].rgbtRed = round(red / 9.0);
                temp[i][j].rgbtGreen = round(green / 9.0);
                temp[i][j].rgbtBlue = round(blue / 9.0);
            }
            //*****************************************************************
        }
    }
    // copying the temp[height][width] to image[height][width]
    for (int i = 0; i &amp;lt; height; i++)
    {
        for (int j = 0; j &amp;lt; width; j++)
        {
            image[i][j].rgbtRed = temp[i][j].rgbtRed;
            image[i][j].rgbtGreen = temp[i][j].rgbtGreen;
            image[i][j].rgbtBlue = temp[i][j].rgbtBlue;
        }
    }
    return;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3)Filter-more = Skipped :-)&lt;br&gt;
4)Recover = In this problem I have recovered the jpg images from the card.raw which is a file format used by digital cameras to store back to back images. This uses fat file system in which one block is of 512 bytes and so on. Overall this problem was very interesting and very little hard.&lt;/p&gt;

&lt;p&gt;Lastly the one thing that i learned till now is to write a clear pseudo code, understand the problem and then code it.&lt;/p&gt;

</description>
      <category>cs50</category>
      <category>davidjmalan</category>
      <category>harvarduniversity</category>
      <category>harvard</category>
    </item>
    <item>
      <title>cs50x week3 ALGORITHMS</title>
      <dc:creator>Kartik Kumar</dc:creator>
      <pubDate>Tue, 17 Sep 2024 16:39:33 +0000</pubDate>
      <link>https://dev.to/kartikjhaba/cs50x-week3-learnings--4hp3</link>
      <guid>https://dev.to/kartikjhaba/cs50x-week3-learnings--4hp3</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fst2ws7kpwjcgssnqg0aj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fst2ws7kpwjcgssnqg0aj.png" alt="Week 3 completed" width="800" height="281"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As the weeks are passing, more challenges are coming in solving the problem sets.&lt;br&gt;
This week 3 was about the algorithms. The challenging part for me in this week was to understanding the concept of time complexity notations like BIG O , Omega and theta.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Also got familiar with searching and sorting algorithms.&lt;/strong&gt;&lt;br&gt;
A) Linear search - we compare required element with each element in the list until we found.&lt;/p&gt;

&lt;p&gt;B) Binary search - list must be sorted to apply binary search. then we start from middle and check if the required element is in the left part or right , then again we divide and conquer.&lt;/p&gt;

&lt;p&gt;C) Bubble Sort - We usually bubbles the highest element to the last of the list. Procedure is swapping the adjacent elements if not in order in whole list. Then repeat again but not checking the sorted elements. If no swaps in first pass then elements are sorted.&lt;/p&gt;

&lt;p&gt;D) Selection Sort - In this we search the smallest element from the list of unsorted array and swaps the smallest element with the first element of the unsorted array.&lt;/p&gt;

&lt;p&gt;E) Merge Sort - In this we simply divide the list in two, then sort the left half and then right half and then merge.&lt;/p&gt;

&lt;p&gt;Problem sets:&lt;br&gt;
1) sort =  In this problem , we have to find out from the three sorting programs that which program is using which sorting algorithm by the concept of time complexity.&lt;br&gt;
2) Plurality = In this problem, we just have to create a voting system where n number of voters vote for the x number of candidates and whoever candidate gets more vote is the winner.&lt;br&gt;
3) Runoff = It the another voting system where each voter can vote by setting preferences for the candidates and on the basis of that preferences we have to declare the winner. &lt;br&gt;
4) Tideman = It was another voting system but very confusing so I left it for later.&lt;/p&gt;

</description>
      <category>cs50x</category>
      <category>harvard</category>
      <category>davidjmalan</category>
    </item>
    <item>
      <title>cs50x week2 ARRAYS</title>
      <dc:creator>Kartik Kumar</dc:creator>
      <pubDate>Mon, 09 Sep 2024 10:40:56 +0000</pubDate>
      <link>https://dev.to/kartikjhaba/cs50x-week-2-learnings--14g3</link>
      <guid>https://dev.to/kartikjhaba/cs50x-week-2-learnings--14g3</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcumrughlxrf3eqijiiow.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcumrughlxrf3eqijiiow.png" alt="week 2 complete, lecture 3" width="800" height="285"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This week was based on the arrays. Nothing new about it because I have a good knowledge of what an array or 2d array is.&lt;/p&gt;

&lt;p&gt;-Basically It was a very good revision of my arrays.&lt;/p&gt;

&lt;p&gt;What new I learned??&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Preprocessing, Compiling, Assembling and linking [Also knew about these concepts before but this was deep dive]&lt;/li&gt;
&lt;li&gt;Debugger&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Problem sets:&lt;br&gt;
1) scrabble = It was easy but i was hurrying, but at the end i did it. we just assign some points to the alphabets and calculates the points on the basis of that and declares wins , tie or lose when 2 users enters a word.&lt;br&gt;
2) readibility = In this problem we just finds the readibility level of the text by some algorithms. The thing that i didn't understood first was the average of characters per 100 words.&lt;br&gt;
3) caesar = It was easy. We just have to encrypt the data by the key user enters by just moving that much key forward. ex- key is 2 then a will become c. and if key is 3 then d will become g and so on.&lt;br&gt;
4) substitution = I faced difficulty in it so i left it for later.&lt;/p&gt;

</description>
      <category>cs50</category>
      <category>cs50x</category>
      <category>harvard</category>
      <category>davidjmalan</category>
    </item>
    <item>
      <title>cs50X week1 C</title>
      <dc:creator>Kartik Kumar</dc:creator>
      <pubDate>Tue, 27 Aug 2024 09:33:58 +0000</pubDate>
      <link>https://dev.to/kartikjhaba/cs50x-week1-learnings--37ln</link>
      <guid>https://dev.to/kartikjhaba/cs50x-week1-learnings--37ln</guid>
      <description>&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F22z578nn3rous6ti480z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F22z578nn3rous6ti480z.png" alt="." width="800" height="284"&gt;&lt;/a&gt;&lt;br&gt;
In the second week I developed new skills like logic building and much more. Started with the c language basic things like --- &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;variables,&lt;/li&gt;
&lt;li&gt;datatypes,&lt;/li&gt;
&lt;li&gt;operators [arithmetic, logical, relational and ternary] , &lt;/li&gt;
&lt;li&gt;functions,&lt;/li&gt;
&lt;li&gt;loops,&lt;/li&gt;
&lt;li&gt;conditionals [If-else and switch]. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I learned how to approach problem :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;First understand the problem thoroughly&lt;/li&gt;
&lt;li&gt;Take pen and paper, spend some time on writing pseudo code for 
that problem.&lt;/li&gt;
&lt;li&gt;Think how to implement that in program.&lt;/li&gt;
&lt;li&gt;Start with small steps. You cannot think all the solution of 
problem before writing code. You must start writing code and 
then the problems start coming so as the ideas to solve them.&lt;/li&gt;
&lt;li&gt;I have to focus more on understanding loops , if-else while 
giving conditions. Sometimes I get confused what the expression
actually mean here.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Lastly but most most important:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;design50 taught me to write the code effectively[use abstraction, comments for future, break tasks into small functions, keep main function clean].&lt;/li&gt;
&lt;li&gt;style50 taught me to write code so it look neat and clean.&lt;/li&gt;
&lt;li&gt;check50 taught me to test my code with different inputs and 
conditions.&lt;/li&gt;
&lt;li&gt;cs50.ai and cs50.dev was very helpful throughout this all.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Problem sets:&lt;br&gt;
1) Hello, world = Very easy, just print "Hello world".&lt;br&gt;
2) Hello, It’s Me = getting name input and printing hello [name]&lt;br&gt;
3) mario-less = Printed right aligned pyramid&lt;br&gt;
4) mario-more = Printed left + right aligned pyramid&lt;br&gt;
5) cash = According to the american currency, we have to tell how many coins will be returned by seeing the change owed.&lt;br&gt;
6) credit = This was very time taking but interesting and taught how the credit card numbers are actually has a mathematical relation between them.&lt;/p&gt;

</description>
      <category>cs50</category>
      <category>harvard</category>
      <category>cs50x</category>
      <category>davidjmalan</category>
    </item>
    <item>
      <title>cs50X week0 SCRATCH</title>
      <dc:creator>Kartik Kumar</dc:creator>
      <pubDate>Sun, 25 Aug 2024 13:54:10 +0000</pubDate>
      <link>https://dev.to/kartikjhaba/cs50x-week0-learnings--2dkk</link>
      <guid>https://dev.to/kartikjhaba/cs50x-week0-learnings--2dkk</guid>
      <description>&lt;p&gt;I have started cs50x course on 15 August which is about &lt;strong&gt;Introduction to computer science&lt;/strong&gt;. I have taken this course because I wanted to improve my core basics in CS and this is provided by the &lt;a href="https://www.linkedin.com/school/harvard-university/" rel="noopener noreferrer"&gt;Harvard University&lt;/a&gt; taught by &lt;a href="https://www.linkedin.com/in/malan/" rel="noopener noreferrer"&gt;David J Malan&lt;/a&gt; which is also providing the certificate upon completion. Before this course, I was in the endless loop of tutorials from the YouTube, which were good but don't provide any step by step guidance due to which I had wasted my lots and lots of time and ended up having expertise in nothing.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl2qwy1l7xhqucmjsuflv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl2qwy1l7xhqucmjsuflv.png" alt="My Scratch game" width="351" height="267"&gt;&lt;/a&gt;&lt;br&gt;
So here is what I have learned after week0 project completion:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Basics about computer [unary, binary 0's and 1's, ASCII, 
UNICODE, How computer store text, images, videos and audios]&lt;/li&gt;
&lt;li&gt;Scratch [a visual programming language]&lt;/li&gt;
&lt;li&gt;Building logic and Ideas&lt;/li&gt;
&lt;li&gt;Abstraction [Hiding the complex parts]&lt;/li&gt;
&lt;li&gt;Ended up with creating a game in scratch named &lt;a href="https://scratch.mit.edu/projects/1057446018" rel="noopener noreferrer"&gt;Bat In Space&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>cs50</category>
      <category>cs50x</category>
      <category>harvard</category>
    </item>
  </channel>
</rss>
