<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shubham Kumar on Medium]]></title>
        <description><![CDATA[Stories by Shubham Kumar on Medium]]></description>
        <link>https://medium.com/@subham2401?source=rss-7064056cbf7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ua457PN9HC7aG_-b39kByA.jpeg</url>
            <title>Stories by Shubham Kumar on Medium</title>
            <link>https://medium.com/@subham2401?source=rss-7064056cbf7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 00:15:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@subham2401/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Cloud data Reporting ~ DATA STUDIO]]></title>
            <link>https://medium.com/@subham2401/cloud-data-reporting-data-studio-331f94bbffcd?source=rss-7064056cbf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/331f94bbffcd</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[google-analytics]]></category>
            <category><![CDATA[google-data-studio]]></category>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Sun, 18 Aug 2019 13:44:18 GMT</pubDate>
            <atom:updated>2019-11-18T13:42:57.789Z</atom:updated>
            <content:encoded><![CDATA[<h3>DATA STUDIO</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*MFMVgn3AXrf_Ydh2dCUPzw.png" /></figure><p>Connectivity has given power to companies born in the <strong>modern era</strong> as <strong>data</strong> emerges as <strong>one of the most important</strong> assets today.</p><p>Having data is one thing !!!🙄</p><p>Accessing data is another thing….🤷‍♂️</p><p>Understanding and analyzing data is an art …😎</p><p>but to visualize data💭😥 ? Well, that&#39;s a level of mastery that most people never reach.</p><p>Don’t worry Google has a tool that can help you to visualize data and that&#39;s DATA STUDIO !!!!!</p><p>Come on let&#39;s learn about Data Studio …….</p><h4><a href="https://datastudio.google.com/overview"><strong>Google Data Studio</strong></a> is a dashboard and reporting tool that is easy to use, customize, and share. It allows you to transform your data into appealing and informative reports for your audience.</h4><p>It’s better that you follow steps with me for better understanding …</p><p>Let&#39;s begin😎</p><p>Step 1: Open <a href="https://datastudio.google.com/overview">Data Studio</a></p><p>Step 2: Click on <strong>use it for free !!</strong> Login using your email id and password</p><p>Step 3: Click on the Blank Report →</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PTwfV8mRejspihaWxMN60Q.png" /><figcaption>Data Studio — Creating new Report</figcaption></figure><p>Step 4: Change the name of the sheet to → <em>Practise Session (No.1)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DUYqNQgAUgbGBwWYzo4eEw.png" /><figcaption>Data Studio — Blank Page</figcaption></figure><h4>Select a data source (No.3) as shown in the above image</h4><p>Click on → <strong>ADD TO REPORT </strong><em>it will look something like this</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LqYnnd_4YNrahQTUJ_vC4A.png" /></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FWZ4M8M2VbauEo%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2FWZ4M8M2VbauEo&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2Fv1.Y2lkPTc5MGI3NjExNGMwN2RmZTM4MDQ1MjYyOTI4YWZjODc4MjQ4M2I1MjNlN2JhZWQxOSZjdD1n%2FWZ4M8M2VbauEo%2F200.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="247" frameborder="0" scrolling="no"><a href="https://medium.com/media/911ac77fe772d18c714ec62ffe6c84f6/href">https://medium.com/media/911ac77fe772d18c714ec62ffe6c84f6/href</a></iframe><h3>→ Add chart</h3><figure><img alt="Icon look something like this" src="https://cdn-images-1.medium.com/max/133/1*6hTI5jYq3ct4ajfpw8fgsg.png" /></figure><p>click on add a chart and you will see a list of widgets which you can use ……see the BAR section and select the first graph it may take time to load and the graph will be there in a flash that’s the high speed of Google it looks something like this on your screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QX04OJixUsih9TMo6O_Ffg.png" /><figcaption>Cloud Reporting — Data Studio</figcaption></figure><p>On the right-hand side see the DATA and STYLE</p><p><strong>Date Source</strong> → It is like a table where you have multiple rows and columns which consists of multiple data.</p><p><strong>Blend Data</strong> → we will talk about this a bit later🙈🙈.</p><p><strong>Dimension</strong> → Dimensions are data categories. Dimension values (the data contained by the dimension) are names, descriptions or other characteristics of a category. In the example above, Country Code.</p><p>If you wanna change and dimension just click on the dimension and drag to the place you wanna put it simple <strong>DRAG and DROP !!!.</strong></p><p><strong>Metric</strong> → Metrics measure the things contained in dimensions. In Data Studio, metrics values are always aggregated: given metric X, the value can be a sum (total of all values of X), a count (how many X?), a ratio (X/sum of X), etc. See below for more on aggregation.</p><p>Metrics are always numbers. Dimensions can be any other kind of data, including unaggregated numbers, dates, text, and boolean (true/false) values.</p><p>Sort → As the name suggests it will sort the data accordingly.</p><p>You can explore the STYLE section and if you find any difficulty then you can share your problem in the comment section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*1rT915Ov-WwEZB-hjBOTOA.gif" /></figure><h3>→ Community Visualization and Components</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/221/1*RRRulY30s7Db73PwCF6Ylw.png" /><figcaption>Community visualization and component icon</figcaption></figure><p>Data Studio Community Visualizations allow you to build and use your own custom visualizations in Data Studio. Community visualizations offer:</p><ol><li>The flexibility to use any visualization library and custom JavaScript and CSS for your visualization.</li><li>The capability to define which style elements your visualization requires in the Data Studio property panel.</li><li>An event-driven model that posts data and style information to your visualization as users interact with the report.</li></ol><p>Steps to create your own community visualizations ✔</p><p><a href="https://codelabs.developers.google.com/codelabs/community-visualization/#0">Create Custom Javascript Visualizations in Data Studio</a></p><h3>→ Date Range</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/74/1*SGm2zYkOkLeglYItYlnr7w.png" /></figure><p>It helps you to manage the data from a particular range ……when you click on the data range a window pop up on the right side of the screen to select the <strong>Auto range date → again click on the auto range date </strong>and you will see a variety of list appears through which you can select the date range this gives the flexibility to manage your data.</p><h3>→ Filter Control</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/60/1*Kr9fHVTNgPEhu53_k9hiWw.png" /></figure><p>Filter controls give viewers a way to focus on subsets of the data. Viewers can use the filter control to select one or more dimension values from a list by which to filter the report. For example, a filter control based on the <em>Country </em>dimension<em> </em>lets viewers limit the records displayed in charts to selected countries.</p><h3>→ Data Control</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/61/1*rvKU_CeD4a3KWWwTEpqsBA.png" /></figure><p>The data control gives viewers a way to select the account that provides the data they want to see in a report. This makes it easy for you to share reports with viewers who want to use that report with their own data. Using data control eliminates the need to create separate reports and data sources for your various accounts.</p><p>Here are some graphs which you can make you can also view by clicking the</p><h4><strong>🤷‍♀️ —— — — —👉— —</strong><a href="https://datastudio.google.com/open/1R5-dhhnSthn5Cc9ngLGKRuEIomTNmz4G"><strong> link</strong></a><strong> ——👈 — — —— — 🤷‍♀️</strong></h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatastudio.google.com%2Fembed%2Freporting%2F1R5-dhhnSthn5Cc9ngLGKRuEIomTNmz4G%2Fpage%2Fu6fw%3Ffeature%3Doembed&amp;dntp=1&amp;url=https%3A%2F%2Fdatastudio.google.com%2Fembed%2Freporting%2F1R5-dhhnSthn5Cc9ngLGKRuEIomTNmz4G%2Fpage%2Fu6fw&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=google" width="1200" height="3435" frameborder="0" scrolling="no"><a href="https://medium.com/media/2567a3516b26a64827f2419f917dc242/href">https://medium.com/media/2567a3516b26a64827f2419f917dc242/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*tkcfNhpNMRq2W27STiO9GQ.gif" /></figure><h3><strong>→ Blend Data</strong></h3><p>By default, charts in Data Studio get their information from a single data source. Blending lets you create charts based on multiple data sources, called a <em>blended data source</em>. For example, you can blend two different Google Analytics data sources to measure the performance of your app and website in a single visualization.</p><p>Blending can reveal valuable relationships between your data sets. Creating blended charts directly in Data Studio removes the need to manipulate your data in other applications first, saving you time and effort.</p><h3>How blending works</h3><p>You create a blended data source by joining the records in one data source to the records of up to 4 other data sources. To join the data, each data source in the blend must share a set of one or more dimensions, known as a <em>join key</em>. Blended data sources include all the records from the leftmost data source in the <em>Blend Data</em> panel and the records from the data sources to the right that share the same values across the join key.</p><p>For example, the screenshot below shows the <em>Blend Data</em> panel with 3 data sources: Website A, Website B, and Mobile Apps A. The join key is the <em>Source</em> dimension. The blended data source created from this includes all the records from Website A, along with any records from Website B and Mobile Apps A that share the same <em>Source values</em> as Website A.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/0*awWQ15DOyG6aXBFV" /></figure><h3>Blending is a left outer join</h3><p>In data science terms, a blended data source is the product of a <em>left outer join </em>operation. In a left outer join of table A and table B, the result is all the records of Data source A and those records in Data source B that share the same key values.</p><p>The diagram below illustrates a left outer join of data sources A and B. The blended data source includes all the records contained by the green circle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/285/0*SJ0CWFnlYjiFpEHP" /></figure><h3>Blended data sources are report-only</h3><p>Blended data sources only exist in reports: you won’t see them in your DATA SOURCES Home page. You can, however, manage them via the Resources → Manage blended data menu.</p><h3>Blending may return more rows than the original data</h3><p>Blended data sources include all the records from the leftmost data source in the <em>Blend Data</em> panel, as well as all the records from the data sources to the right that share the same values across the join key. When there are multiple matches for the join condition, this can result in more rows appearing in the blended data than exist in the leftmost data source.</p><h3>Blend using multiple dimensions</h3><p>You can blend data sources using multiple dimensions as the join key. Each data source in the blend must have the same set of dimensions used in the key. Here’s an example →</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/441/0*X4Zrcf_am_EAijkL" /></figure><p>In this blend, only the records from Store Orders that match both Sales Rep ID and Region in Sales Reps will be included in the data source.</p><h3>Blend a data source with itself</h3><p>You can blend a data source with itself. To do this, add the same data source more than once in the <em>Blend Data panel</em>.</p><p>→ For example, the Google Analytics connector contains metrics for <em>1-day active users</em>, <em>7-day active users</em>, and <em>28-day active users</em>. But, due to a limitation of Analytics, you can only have one of these metrics in a chart at a time. By joining the same Analytics data source with itself, you can add each of these metrics to the blended data source. You can then compare each of these active users metrics in the same chart.</p><h3>Manage blended data sources</h3><p>Blended data sources in a report are listed in the DATA tab of the Properties panel, under Component Data Sources.</p><p>You can check the status of and remove blended data sources using the Resources → Manage blended data menu.</p><p>Removing a blended data source will break any charts that depend on it, but will not remove the underlying data sources themselves. Any data sources you’ve added will still be attached to the report.</p><h3>Limits of blending data</h3><p>→ Blended data sources belong to the report in which they were created. To reuse a blended data source in another report, copy and paste a component with blended data into the new report.</p><p>→ You can blend up to 5 data sources in a chart.</p><p>→ Blending data currently only supports left outer join operations.</p><p>For more detailed explanation on blend data, you can visit this blog ⬇⬇⬇⬇⬇⬇</p><p><a href="https://www.e-nor.com/blog/data-studio/data-blending-now-available-in-data-studio">https://www.e-nor.com/blog/data-studio/data-blending-now-available-in-data-studio</a></p><p>→ Let me know if this blog helped you in anyway ………..😍😜</p><p>→ → If you wanna know anything more let me know in the comment section.</p><p>→ → → Follow me for more updates 👈😊.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=331f94bbffcd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon Campus Online Test Questions]]></title>
            <link>https://medium.com/@subham2401/amazon-campus-online-test-questions-ac68e110ba4d?source=rss-7064056cbf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac68e110ba4d</guid>
            <category><![CDATA[college]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[technical-writing]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Sun, 17 Feb 2019 11:54:42 GMT</pubDate>
            <atom:updated>2020-07-29T05:29:49.827Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s6a3d4xKVuKij605" /></figure><blockquote><strong>Role: Software Development Engineer</strong></blockquote><blockquote><strong>Job Profile:</strong> Passionate, hard-working, and talented Software Development Engineer who can build innovative &amp; mission critical system software applications &amp; tools. You will have an enormous opportunity to make a large impact on the design, architecture, and development of consumer products. You will be responsible for the delivery and support of large-scale, multi-tiered, distributed software applications and tools.</blockquote><h3><strong>Eligibility Criteria →</strong></h3><p>→60% or 6 CGPA and above candidates</p><p>→B.Tech/ M.tech — CSE/IT/ECE/EEE</p><p>→MCA</p><h3><strong>Job Location →</strong></h3><p>→Bangalore →Hyderabad →Chennai →Delhi</p><h3>Pay Package →</h3><p>SDE OFFER Component Package (INR) Base 13,00,000</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*u3KF44MlYCFqfdOMXgHldQ.gif" /></figure><blockquote><strong>1st Year Sign-On → 3,50,000</strong></blockquote><blockquote><strong>2nd Year Sign-On → 2,25,000</strong></blockquote><p>RSU Value vested over 4 Years</p><p>Year 1–5%</p><p>Year 2–15%</p><p>Year 3–40%</p><p>Year 4–40%</p><h3><strong>Test Process →</strong></h3><blockquote><strong>20 Objective (Tech MCQ)</strong></blockquote><blockquote><strong>2 Programming</strong></blockquote><p><em>Allowed programming languages</em></p><p>C,C#,C++,C++14,Clojure,DErlang,F#,Go,Groovy,Haskell,Java,Java 8,JavaScript(Node.js),JavaScript(Rhino),Julia,Kotlin,Lisp,Lisp (SBCL), Lua,OCaml,Objective-C,Octave,PHP,Pascal,Perl,Python,Python 3,R(RScript),Racket,Ruby,Rust,Scala,Swift,Visual Basic</p><h3>List of questions which were asked during the online test →</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F5494180&amp;url=https%3A%2F%2Ftenor.com%2Fview%2F300-leonidas-spartan-sparta-this-is-sparta-gif-5494180&amp;image=https%3A%2F%2Fmedia.tenor.com%2Fimages%2Fc0d61321a8b69da0951056c1b2dda2b3%2Fraw&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/4b8f1c27d20b34b88d304bfddeac4d11/href">https://medium.com/media/4b8f1c27d20b34b88d304bfddeac4d11/href</a></iframe><p>1. Which of the following is an inorder traversal of a tree whose postorder traversal is 10, 9, 23, 22, 27, 25, 15, 50, 95, 60,40, 29?</p><h4>a)9,10, 15, 22, 23, 25, 27, 29, 40, 50, 60, 95<br>b)9,10, 15, 22, 40, 50, 60, 95, 23, 25, 27, 29<br>c)29, 15, 9, 10, 25, 22, 23, 27, 40, 60, 50, 95<br>d)95, 50, 60, 40, 27, 23, 22, 25, 10, 9, 15, 29</h4><p>Ans:a</p><p><strong>Explanation:</strong></p><p><a href="https://www.geeksforgeeks.org/print-postorder-from-given-inorder-and-preorder-traversals/">Print Postorder traversal from given Inorder and Preorder traversals - GeeksforGeeks</a></p><p>2. In OOP, a friend function of a class has exclusive access to which members of that class?</p><h4>a)Private &amp; protected members<br>b)Public &amp; protected members<br>c)Private &amp; public members<br>d)Private members<br>e)Protected members</h4><p>Ans : a</p><p><strong>Explanation :</strong></p><p><a href="https://www.programiz.com/cpp-programming/friend-function-class">C++ Friend Functions and Friend Classes: A Complete Guide - Programiz</a></p><p>3.In Networking, which of the following is NOT an example of application layer protocol?</p><h4>a)HTTP<br>b)SMTP<br>c)FTP<br>d)TCP</h4><p>Ans:d</p><p><strong>Explanation :</strong></p><p><a href="https://www.geeksforgeeks.org/protocols-application-layer/">Protocols in Application Layer - GeeksforGeeks</a></p><p>4. If a machine needs 200 seconds to sort 200 bills by using bubble sort, how many bills will it sort in 800 seconds?</p><h4>a)400<br>b)800<br>c)750<br>d)1000</h4><p>Ans:b</p><p><strong>Explanation:</strong></p><p>Sorting 200 bills make the comparison as 2008* 199/2 = 19900 comparison.</p><p>In 800 sec, it will sort 80000 comparisons 800= 4x200,</p><p>find n, n (n-1)/2 = 80,000, so n= 400.</p><p>400 bills will be sorted in 800 seconds.</p><p>5.If the disk queue of I/O block requests is 98,37,14,124,65,67 with the disk head initially at 32 how many disk moves are required when FCFS is used?</p><h4>a) 310<br>b) 315<br>c) 321<br>d) 324</h4><p>Ans: c</p><p><strong>Explanation:</strong> Total disk movement = 66 + 61 + 23 + 110 + 59 + 2 = 321.</p><p>6. In which of the following page-replacement policies does Belady’s anomaly occur?</p><h4>a)FIFO<br>b) Optimal<br>c)LRU<br>d)MRU</h4><p>Ans:a</p><p><strong>Explanation:</strong> Belady’s anomaly proves that it is possible to have more page faults when increasing the number of page frames while using the First in First Out (FIFO) page replacement algorithm.</p><p>7. In OOP, which of the following is used to achieve runtime polymorphism?</p><h4>a) A friend function<br>b) A virtual function<br>c)Operator overloading<br>d)Function overloading</h4><p>Ans:b</p><p><strong>Explanation:</strong></p><p><a href="https://www.geeksforgeeks.org/polymorphism-in-c/">Polymorphism in C++ - GeeksforGeeks</a></p><p>8.In OOP, which of the following concepts allows a class object to be used inside another class?</p><h4>a)Encapsulation<br>b)Abstraction<br>c)Composition<br>d)Inheritance</h4><p>Ans:c</p><p><strong>Explanation:</strong> In real-life, complex objects are often built from smaller, simpler objects. For example, a car is built using a metal frame, an engine, some tires, a transmission, a steering wheel, and a large number of other parts. A personal computer is built from a CPU, a motherboard, some memory, etc.. Even you are built from smaller parts: you have a head, a body, some legs, arms, and so on. This process of building complex objects from simpler ones is called composition</p><p>9.In an operating system, which of the following system programs combines the separately compiled modules of a program into a suitable form for execution?</p><h4>a)Assembler<br>b)Linking loader<br>c)Cross compiler<br>d)Load and go</h4><p>Ans : b</p><p>10. In SQL, which of the following commands is used to add a column to a table in a database?</p><h4>a)ALTER TABLE &lt;table name&gt; ADD &lt;column name&gt;<br>b)MODIFY TABLE &lt;table name&gt; ADD &lt;column name&gt;<br>c)MODIFY TABLE &lt;table name&gt; INSERT &lt;column name&gt;<br>d)ALTER TABLE &lt;table name&gt; INSERT &lt;column name&gt;</h4><p>Ans:a</p><p><strong>Explanation:</strong></p><p><a href="https://www.w3schools.com/sql/sql_alter.asp">SQL ALTER TABLE Statement</a></p><p>11. What is the postfix expression for the following prefix expression:<br>*+pq-rs</p><h4>a)pq + rs-*<br>b)pqrs +-*<br>c)pq + rs *-<br>d)pq+-rs*</h4><p>Ans:a</p><p><strong>Explanation:</strong></p><p><a href="https://www.geeksforgeeks.org/prefix-postfix-conversion/">Prefix to Postfix Conversion - GeeksforGeeks</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*tuWnoUUY6s2eV0X6PehIRA.jpeg" /></figure><p>12.In Networking, which of the following defines the purpose of Ping?</p><h4>a) It measures the round-trip time.<br>b) It reports packet loss.<br>c) It reports latency.<br>d) All of these</h4><p>Ans:b</p><p>13. How many nodes does a complete binary tree with N leaves contain?</p><h4>a)2N<br>b) N<br>c) 2N-1<br>d) N-1<br>e) 2(N-1)</h4><p>Ans:c</p><p><strong>Explanation:</strong></p><p><a href="https://www.geeksforgeeks.org/binary-tree-set-2-properties/">Binary Tree | Set 2 (Properties) - GeeksforGeeks</a></p><p>14. Which of the following system programs joins individually compiled modules of a program to form an executable module?</p><h4>a)Assembler<br>b)Linking loader<br>c)Cross compiler<br>d)Load and go</h4><p>Ans: b</p><p>15. Which of these is an expression for runtime in T(n) for the following recurrence: T(n)=4T (n/ 2) + n²</p><h4>a)O(n²)<br>b)O(nlogn)<br>c)O(n²logn)<br>d)O(nIog²n)</h4><p>Ans:c</p><p><strong>Explanation:</strong></p><pre>T(n) = 4T(n/2) + n2<br>     = n2 + 4[4T(n/4) + n²/4]<br>     = 2n2 + 16T(n/4) <br>     = ... <br>     = k⋅n2 + 4kT(n/2k) <br>     = ...</pre><p>The process stops when 2k reaches n.<br>⇒ k = log2n<br>⇒ T(n) = O(n2logn)</p><p>16. An operating system uses FIFO policy for page replacement. It has 4-page frames, with no pages loaded at the start. The system first accesses 100 distinct pages in a specific order and then accesses the same 100 pages in the reverse order. How many page faults will occur?</p><h4>a)199<br>b)197<br>c)200<br>d)196</h4><p>Ans:d</p><p><strong>Explanation:</strong> Access to 100 pages will cause 100-page faults. When these pages are accessed in reverse order, the first four accesses will not cause a page fault. All other access to pages will cause page faults. So the total number of page faults will be 100 + 96.</p><p>17.In C, which of the following bitwise operators is used to turn off a specific bit in a number?</p><h4>a) &amp;&amp;<br>b) &amp;<br>c) ||<br>d) !</h4><p>Ans:b</p><p>18. In networking, why does the internet protocol use the time-to-live field in the IP datagram header?</p><h4>a)To ensure packets reach their destination within the specified time<br>b)To discard packets that reach later than the specified time<br>c)To limit the time for which a packet gets queued in intermediate routers<br>d)To prevent packets from endlessly circulating on the Internet or other networks.</h4><p>Ans:c</p><p><strong>Explanation:</strong></p><p><a href="https://searchnetworking.techtarget.com/definition/time-to-live">What is time-to-live (TTL)? - Definition from WhatIs.com</a></p><p>19.In C, which of the following expressions is used to represent the a[w][x][y][z] array element as a pointer expression?</p><h4>a) ((a+w)+x+y+z)<br>b) ((((a+w)+x)+y)+z)<br>c) *(*(*(*(a+w)+x)+y)+z)<br>d) (((a+w)+x)+y+z)</h4><p>Ans:c</p><p><strong>Explanation:</strong> like for a[i]=*(a+i)<br>similarly the above expression will be given by *(*(*(*(a+i)+j)+k)+l)</p><p>20.S and Q are two semaphores initialized to</p><p>1. Statements processed by a process P0 are as follows: wait(S) ;<br>wait (Q);………Signal (S); Signal (Q); Statements processed by a process P1 are as follows: wait(Q); wait(s); ……signal(Q); signal(S);<br>What does this result in?</p><h4>a)Semaphore<br>b)Deadlock<br>c)Signal<br>d)Interrupt</h4><p>Ans:b</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*3hDUrPQuSfbpT654PXptPg.jpeg" /></figure><h3>Coding Questions →</h3><p><strong>Profit Sort :</strong></p><p>You are given the profit of a company for N days and Q queries are prepared on this file. Each query contains two integers L and R.</p><p><strong>Write a program to calculate the number of days on which the profit fall between the range L and R (both inclusive).</strong></p><blockquote>Input format</blockquote><blockquote>* First line: N<br>* Second line: N space-separated integers(denoting the profit for each day)<br>* Third line: Q<br>* First line in each query: L and R</blockquote><p><strong>Output Format</strong></p><p><strong>Print the number of days on which the profit is greater than or equal to L and less than or equal to R</strong></p><p>Constraints</p><p>1&lt;N&lt;10⁵<br>1&lt;Profit for each day &lt;10⁷<br>1&lt;Q&lt;10⁵<br>1&lt;L, R&lt;10⁵</p><blockquote>Sample Input <br>5<br>23 13 10 2 33<br>5<br>7 11<br>10 30<br>1 10<br>2 40<br>5 6</blockquote><p><strong>Explanation:</strong></p><p>For First Query, we have profits of value 10 in the given range.<br>For Second Query, we have profits of value 10,13,23 in the given range.<br>For Third Query, we have profits of value 2,10 in the given range.<br>For Fourth Query, we have profits in the given range.<br>For Fifth Query, we have no profits in the given range</p><blockquote><strong>Sample Output:</strong></blockquote><blockquote>1 3 2 5 0</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FMLHzHuG02FVUQ%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FMLHzHuG02FVUQ%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FMLHzHuG02FVUQ%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/031820c8a371503a5be3c44577c38e5c/href">https://medium.com/media/031820c8a371503a5be3c44577c38e5c/href</a></iframe><blockquote>ANS :</blockquote><blockquote>#include&lt;stdio.h&gt;<br>cons int MAXSIZE=100005<br>int solve (int N, int profit[MAXSIZE],int l, int r)<br>{<br>int count_number=0;<br>int j;<br>for(j=0; j&lt;N;j++)<br>{<br>if(profit[j]&gt;= l &amp;&amp; profit[j]&lt;=r)<br>{<br>count_number++;<br>}</blockquote><blockquote>return count_number;<br>}</blockquote><blockquote>}</blockquote><blockquote>int main()<br>{<br>int n;<br>scanf(“%d”, &amp;n);<br>int profit[MAXSIZE];<br>for(int i=0;i&lt;n;i++)<br>scanf(“%d”,&amp;profit[i]);<br>int q;<br>scanf(“%d”,&amp;q);<br>while(q — )<br>{<br>int l,r;<br>scanf(“%d%d”,&amp;l,&amp;r);<br>printf(“%d\n”,solve(n,profit,l,r));</blockquote><blockquote>}<br>return 0;</blockquote><blockquote>}</blockquote><p>If you liked it press the clap icon as many times you can and also don’t forget to FOLLOW for more updates💖.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac68e110ba4d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to prepare for various MNCs]]></title>
            <link>https://medium.com/@subham2401/how-to-prepare-for-various-mncs-451547d6f20c?source=rss-7064056cbf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/451547d6f20c</guid>
            <category><![CDATA[cognizant]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[infosys]]></category>
            <category><![CDATA[ct]]></category>
            <category><![CDATA[wipro]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Mon, 14 Jan 2019 17:10:39 GMT</pubDate>
            <atom:updated>2019-01-14T17:30:49.980Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*WqMjNyZD12ltjgvtw71Ucw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*NeOe38l2g90GszEbvDpNqw.jpeg" /></figure><p>We take admission in colleges to fulfil one of the most desired dreams- get a job in a reputed company. As we all know, to fulfill this dream, we need to hone our skills and work hard.</p><p>But this doesn&#39;t always give you success, as one more thing is required- that is good planning and smart studies.</p><h4><strong><em>“You have to dream before your dreams can come true”.</em></strong></h4><p>Imminent start in your final year😢 many of us are confused about</p><p>What to study………………🤷‍♂️?</p><p>How to study……………….🙄?</p><p>What should be our plans….😪?</p><p>How will I get a job in various organization……..🙈?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*azUL9--YfI1qRmbqX10jKg.jpeg" /><figcaption><strong>Confused about what to study🤷‍♀</strong></figcaption></figure><p><strong><em>Don’t worry you will get your desired job</em></strong> by simply practising some questions which were recently asked by the various organization here are some pool of question to practice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*ZO47GmZknaUIUvznd-pjmA.png" /></figure><p><strong>Follow this approach this will definitely help you to get your desired job</strong>. First of all, we will start with coding questions which were asked in MNCs like Infosys, Wipro, TCS, Cognizant.</p><blockquote><strong>Here are some list of coding questions which can be asked during the session 2019–2020.</strong></blockquote><h3>1. TATA CONSULTANCY SERVICE (TCS)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eRe1x_QkWInC6NI7QLXcmg.png" /></figure><h3><strong>TCS………….……PACKAGE →3.4LPA………….………</strong></h3><blockquote><strong>Exam Pattern →</strong></blockquote><p><strong><em>English:</em></strong></p><ol><li>10 questions to be solved in 10 minutes.</li><li>Cloze passage testing students on their use of basic grammar and Vocabulary appeared.</li><li>The difficulty level of the questions ranged from easy to medium, based on student accounts.</li><li>Students who learned grammar topics handled by FACE found the questions to be extremely easy.</li></ol><p><strong><em>Quantitative Aptitude:</em></strong></p><ol><li>20 questions to be solved in 40 minutes.</li><li>15 questions from Standard and 5 from Advanced.</li><li>Standard questions ranged in the easy-to-medium difficulty level, while Advanced questions were challenging for most students.</li><li>Most questions appeared from topics such as Percentages, Time and Work, Time Speed Distance, Geometry and Functions.</li></ol><p><strong><em>Programming Concepts and Coding:</em></strong></p><ol><li>Programming concepts had 10 questions (7 in standard and 3 in Advanced) to be solved in 20 minutes.</li><li>Coding had 1 problem statement to be solved in 20 minutes. Choice of languages was C, C++, Java, Python and PERL.</li><li>Basic sorting algorithms and intermediate output based questions were tested in Programming Concepts.</li><li>The Coding question was based on standard input/output and not on Commandline argument.</li></ol><p><a href="https://www.geeksforgeeks.org/tcs-ninja-interview-experience/">TCS Ninja Interview Experience - GeeksforGeeks</a></p><h3><strong>List of questions which were asked before →</strong></h3><blockquote><strong><em>1.1 </em></strong>→ Find the 15th term of the series?</blockquote><p><strong>0,0,7,6,14,12,21,18, 28</strong></p><blockquote>1.2 → Find the nth term of the series.</blockquote><p><strong>1,1,2,3,4,9,8,27,16,81,32,243,….</strong></p><blockquote>1.3 → Consider the following series:</blockquote><p><strong>1,1,2,3,4,9,8,27,16,81,32,243,64,729,128,2187…</strong></p><p>This series is a mixture of 2 series — all the odd terms in this series form a geometric series and all the even terms form yet another geometric series. Write a program to find the Nth term in the series.</p><p>The value N is a positive integer that should be read from STDIN. The Nth term that is calculated by the program should be written to STDOUT. Other than the value of the nth term, no other character/string or message should be written to STDOUT. For example, if N=16, the 16th term in the series is 2187, so only value 2187 should be printed to STDOUT.</p><blockquote>1.4 → Given a series whose even term creates a separate geometric series and odd term creates another geometric series. Program in any language to find the nth term. Where u may consider that n not greater than 30.</blockquote><blockquote>1.5 → Consider the below series :</blockquote><p><strong>0,0,2,1,4,2,6,3,8,4,10,5,12,6,14,7,16,8</strong></p><p>This series is a mixture of 2 series all the odd terms in this series form even numbers in ascending order and every even term is derived from the previous term using the formula (x/2)</p><p><strong>Write a program to find the nth term in this series.</strong></p><p>The value n is a positive integer that should be read from STDIN the nth term that is calculated by the program should be written to STDOUT. Other than the value of the nth term no other characters /strings or message should be written to STDOUT.</p><p>For example, if n=10, the 10th term in the series is to be derived from the 9th term in the series. The 9th term is 8 so the 10th term is (8/2)=4. Only the value 4 should be printed to STDOUT.</p><p>You can assume that the n will not exceed 20,000.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F3572867&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Ffriends-gif-3572867&amp;image=https%3A%2F%2Fmedia.tenor.com%2Fimages%2Fb1dbdb97ad16c2e01bea1094e11eb8b9%2Fraw&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/5daf18df106f1497de0e15b03856ab6a/href">https://medium.com/media/5daf18df106f1497de0e15b03856ab6a/href</a></iframe><blockquote>1.6 → The program will recieve 3 English words inputs from STDIN</blockquote><ol><li>These three words will be read one at a time, in three separate line</li><li>The first word should be changed like all vowels should be replaced by $</li><li>The second word should be changed like all consonants should be replaced by #</li><li>The third word should be changed like all char should be converted to upper case</li><li>Then concatenate the three words and print them</li></ol><p>Other than these concatenated words, no other characters/string should or message should be written to STDOUT</p><p><strong>For example, if you print how are you then output should be h$wa#eYOU.</strong></p><p>You can assume that the input of each word will not exceed more than 5 chars</p><blockquote>1.7 → Replacing multiple occurrences of characters by a single character and printing in reverse order if</blockquote><h4>input:aaaaEEeeecccCCCGEExffe</h4><h4>output:efxEGCceEa</h4><h3>2. WIPRO</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*XKAvDsHykTOQCF2YZm7VUA.png" /></figure><p><strong>Wipro Aptitude Test Pattern for 2018 is fairly simple there are two variations.</strong></p><h3><strong>Wipro Turbo………….Package →6 LPA…………………</strong></h3><h3><strong>Wipro ……………..….Package →3.3 LPA………………</strong>.</h3><blockquote>Exam Pattern</blockquote><p><strong>1.Written Test</strong></p><p>1.1 <em>Verbal and Analytical Section</em></p><p>→Aptitude</p><p>→Logical Reasoning</p><p>→Verbal English</p><p><strong>2.Coding</strong></p><p><strong>3.Essay Writing</strong></p><p><strong>→ →Technical Interview</strong></p><p><strong>→ → HR Interview</strong></p><h3><strong>List of questions which were asked before →</strong></h3><blockquote>2.1 → <strong>Find the distinct elements in a given array.(Assume size of an array n&lt;=20)</strong></blockquote><p><strong>Input:</strong></p><p>9 = size of an array</p><p>2 3 4 5 6 1 2 3 4 = array elements</p><p><strong>Output:</strong></p><p>2 3 4 5 6 1</p><blockquote>2.2 → <strong>Program to sort array in ascending &amp; descending order.</strong></blockquote><p><strong>Input:</strong><br>5<br>8 6 9 2 7<br><strong>Output:</strong><br>2 6 7 8 9<br>9 8 7 6 2</p><blockquote>2.3 → <strong>Sort first half of an array in ascending and second half in descending order.</strong></blockquote><p><strong>Example 1:</strong><br><strong>Input:</strong><br> 8<br>2 4 7 9 3 1 6 8<br><strong>Output:</strong><br> 1 2 3 4 9 8 7 6<br><strong>Example 2:</strong><br><strong>Input:</strong><br>6<br>1 2 3 4 5 6<br><strong>Output:</strong><br>1 2 3 6 5 4</p><blockquote>2.4 → <strong>Print the below pattern</strong></blockquote><p><strong>Input:</strong><br> 3 4<br><strong>Output:</strong><br> 3<br> 44<br> 555<br> 6666<br> 555<br> 44<br> 3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/207/1*Qx7jWqMqDNetBAhpyd-hhQ.png" /></figure><p><strong>Input :</strong><br> 4 4<br><strong>Output:</strong><br> 4<br> 55<br> 666<br> 7777<br> 666<br> 55<br> 4</p><blockquote>2.5 → <strong>Print the following pattern</strong></blockquote><p><strong>Input :</strong><br>3<br><strong>Output:</strong><br>1<br>2*2<br>3*3*3<br>3*3*3<br>2*2<br>1</p><p><strong>Input :</strong><br>4<br><strong>Output:</strong><br>1<br>2*2<br>3*3*3<br>4*4*4*4<br>4*4*4*4<br>3*3*3<br>2*2<br>1</p><blockquote>2.6 → <strong>Print the below pattern</strong></blockquote><p><strong>Input:</strong><br>5<br><strong>Output:</strong><br>1<br>3*2<br>4*5*6<br>10*9*8*7<br>11*12*13*14*15</p><blockquote>2.7 → <strong>Print the below pattern</strong></blockquote><p><strong>Input:</strong><br>3<br><strong>Output:</strong><br>3 3 3<br>3 1 3<br>3 2 3<br>3 3 3</p><blockquote>2.8 → <strong>Paranthesis checker: </strong>Check whether the given expression is valid or not(only parenthesis symbol).</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*91_4pAol6gbs3j--ZxrJgw.jpeg" /><figcaption>Hell !!! Lots of Questions to practise😪</figcaption></figure><p><strong>Test Case: 1</strong><br>Input: “(( ))”<br>Output: Valid<br><strong>Test Case: 2</strong><br>Input: “()(“<br>Output: Invalid</p><ul><li><a href="http://prepinsta.com/wipro-interview-experience/">Wipro Interview Experience for On Campus and Off Campus | PrepInsta</a></li><li><a href="http://prepinsta.com/wipro-turbo-syllabus/">Wipro Turbo Syllabus 2018 Aptitude Test Written Online Pattern | PrepInsta</a></li></ul><h3>3.Cognizant</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b4EehSZ4L-y8xEa6mgCzGQ.png" /></figure><h3><strong>Cognizant majorly hire for these roles →</strong></h3><h3><strong>Programmer Analyst…PACKAGE →3.38 LPA……….</strong></h3><h3>Associate………….……PACKAGE →6.5 LPA……..….</h3><h3>Analyst Trainee ……..…PACKAGE →2.53 LPA……….</h3><blockquote>Exam Pattern →</blockquote><p>→Logical Reasoning</p><p><strong>Questions — 14………Time — 14 mins</strong></p><p>→Quantitative Aptitude</p><p><strong>Questions — 16…….….Time — 16 mins</strong></p><p>→Verbal Ability</p><p><strong>Questions — 25………..Time — 25 mins</strong></p><p>→Automata Fix</p><p><strong>Questions — 7………….Time — 20 mins</strong></p><h3>List of questions which were asked before →</h3><blockquote>3.1 → <strong>Check for syntax error/ logical error and correct the error to get the desired output.</strong></blockquote><p>Given n, print from n to 0<br>int main()<br>{<br> int n;<br> scanf(“%d”, &amp;n);<br> unsigned int i = n;<br> while(i &gt;= 0)<br> {<br> printf(“%d\n”, i);<br> i–;<br> }<br> return 0;<br>}</p><p><strong>Input: 4</strong><br><strong>Output: Infinite loop</strong></p><blockquote><strong>Answer:</strong> Error — Logical error<br>unsigned int i = n; unsigned integer ranges from 0 to 65535, which will be taken in the cyclic order. So i– will keep repeating in a cyclic way. The loop will never be terminated. So it should be written as <strong>int i = n;</strong></blockquote><blockquote>3.2 → <strong>Find the factorial of a given number.</strong></blockquote><p>int main()<br>{<br>long int fact = 1, n, i;<br>scanf(“%d”, &amp;n);</p><p>for(i =1; i &lt;= n; i++)<br>{<br>fact = fact * i;<br>}<br>printf(“%d”, fact);<br>return 0;<br>}</p><p><strong>Input: 20</strong><br><strong>Output: -2102132736</strong></p><blockquote><strong>Answer:</strong> Error — Logical error<br>The fact and n are declared as long int, so in scanf and printf %ld should be used in place of %d.</blockquote><blockquote>3.3 → <strong>Check whether the below program print the below pattern</strong></blockquote><p><strong><em>1111<br>222<br>33</em></strong></p><p>void main()<br>{<br> int i, j, n; <br> scanf(“%d”, &amp;n);<br> for(i = 1; i&lt;n; i++) <br> { <br> for(j = 1; j&lt;n; j++) <br> { <br> printf(“%d”, i); <br> } <br> printf(“\n”); <br> }<br>}</p><p><strong>Input: 3</strong><br><strong>Output:</strong><br><strong>111</strong><br><strong>222</strong><br><strong>333</strong></p><blockquote><strong>Answer:</strong> Error: Logical error<br>The inner for loop has to be written in this way: <strong>for(j = i-1; j&lt;n; j++)</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*5NF5lUQMVbkG1hGsB9go2A.png" /></figure><blockquote>3.4 →<strong> Find the greatest of three numbers.</strong></blockquote><p>int main()<br>{<br> int num1, num2, num3;<br> scanf(“%d %d %d”, &amp;num1,&amp;num2,&amp;num3);<br> if (num1 &gt; num2) &amp;&amp; (num1 &gt; num3)<br> { <br> printf(“%d”, num1); <br> } <br> elseif(num2&gt;num3)<br> { <br> printf(“%d”, num2) <br> }<br> else<br> { <br> printf(“%d”, num3); <br> } <br> return 0;<br>}</p><blockquote><strong>Answer:</strong> Error: Syntax error<br>if (num1 &gt; num2) &amp;&amp; (num1 &gt; num3) à it has to be written as if ((num1 &gt; num2) &amp;&amp; (num1 &gt; num3)) and this line <strong>elseif</strong>(num2&gt;num3) should be rewritten as <strong>else if</strong>(num2&gt;num3)</blockquote><blockquote>3.5 → <strong>Fix the error, recompile and match against the output provided.</strong></blockquote><p>int main(void)<br>{<br>printf(“This is a \”buggy” program\n”);<br> return 0;<br>}</p><blockquote><strong>Corrected program:</strong><br>int main(void)<br>{<br> printf(“This is a \”buggy\” program\n”);<br> return 0;<br>}</blockquote><blockquote>3.6 → <strong>Code reuse: </strong>Convert Binary to Decimal by using the existing function.</blockquote><p>void binarytodecimal(number)<br>{<br> // Type your code here<br>}<br>void main()<br>{<br> int num;<br> scanf(“%d”, &amp;num);<br> printf(“%d”, binarytodecimal(num);<br>}</p><blockquote><strong>Answer:</strong><br>void binarytodecimal(number)<br>{<br> int dval=0, base=1, rem;<br> while(number &gt; 0)<br> {<br> rem = number % 10;<br> dval = dval + rem * base;<br> num = number / 10;<br> base = base * 2;<br> }<br> return dval;<br>}</blockquote><blockquote>3.7 → <strong>Print the prime numbers from an array up to given value n by using existing function.</strong></blockquote><p>int isprime(int num)<br>{<br>// type your code here <br>}<br>int main()<br>{<br>int n, m, arr[100], size=0, i;<br>scanf(“%d”, &amp;n);<br>for(m = 2; m &lt;= n; m++)<br>{<br>if(isprime(m))<br>{<br> arr[size++]= m;<br>}<br>}<br>for(i = 0; i &lt; size; i++)<br>{<br>printf(“%d\n”, arr[i]);<br>}<br>return 0;<br>}</p><blockquote><strong>Answer:</strong><br>int isprime(int num)<br>{ <br> int i;<br> int isprime = 1;<br> for(i = 2; i &lt;= num / 2; i++) <br> { <br> if(num % i == 0) <br> { <br> isprime = 0; <br> break; <br> }<br> } <br> return isprime;<br> }</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/182/1*fR6ty7UhFPQ0iplZXsbiRg.jpeg" /><figcaption>When you finally complete your coding 😎</figcaption></figure><p><a href="https://www.geeksforgeeks.org/cognizant-placement-experience-2018/">Cognizant Placement Experience 2018 - GeeksforGeeks</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F4572653&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Ffriends-joey-tribbiani-matt-le-blanc-im-so-confused-confused-gif-4572653&amp;image=https%3A%2F%2Fmedia.tenor.com%2Fimages%2F9281ae0136d781e54de7fb57df4b6efe%2Fraw&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/fe4d8793059342d211600bf926033e1b/href">https://medium.com/media/fe4d8793059342d211600bf926033e1b/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*eZRDH9iN1Luu_LY6J97N7A.jpeg" /><figcaption>Don’t know how to solve these questions</figcaption></figure><h3>Here are some set of links you can refer to solve these kinds of problems →</h3><ul><li><a href="https://practice.geeksforgeeks.org/company-tags">Programming Problems grouped by Company &amp; Topic Tags | Practice | GeeksforGeeks</a></li><li><a href="https://www.geeksforgeeks.org/data-structures/">Data Structures Tutorial - GeeksforGeeks</a></li><li><a href="https://www.hackerearth.com/practice/">Programming Tutorials, Coding Problems and Practice Questions</a></li></ul><h3>For Pattern Printing →</h3><ul><li><a href="https://www.programiz.com/c-programming/examples/pyramid-pattern">C Programs To Print Triangle, Pyramid, Pascal&#39;s Triangle, Floyd&#39;s Triangle and So On</a></li><li><a href="http://scanftree.com/programs/c/programs-to-print-pyramid-patterns-in-c-part-1/">Print Patterns in C : part 1 | Basic , medium ,expert programs example in c,java,c/++</a></li><li><a href="https://www.topjavatutorial.com/java/java-programs/25-java-programs-printing-number-character-patterns/">25+ Java pattern programs for printing Number, Character Patterns - Top Java Tutorial</a></li></ul><h3>For learning JAVA online →</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fvideoseries%3Flist%3DPLcj5PWxT3sFQqY7BheqtR9fUsPUv4I8sB&amp;url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLcj5PWxT3sFQqY7BheqtR9fUsPUv4I8sB&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FeTXd89t8ngI%2Fhqdefault.jpg%3Fsqp%3D-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ%3D%3D%26rs%3DAOn4CLBF3jboUyM4Nr1wFeuj3WdYJtAYlw&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="853" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3082154a9be30d5282fc8309898a2116/href">https://medium.com/media/3082154a9be30d5282fc8309898a2116/href</a></iframe><p>Always think you are ……</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F6117320&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fthe-best-gif-6117320&amp;image=https%3A%2F%2Fmedia.tenor.com%2Fimages%2F4ba618133d859f59c58f2ecd98748e7b%2Ftenor.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/b84c8e82b027b62e248c3e6b81a7396a/href">https://medium.com/media/b84c8e82b027b62e248c3e6b81a7396a/href</a></iframe><p>IF YOU LIKED THIS follow for more updates AND press the clap icon as many times as you can.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=451547d6f20c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Journey to Google India Challenge Scholarship]]></title>
            <link>https://medium.com/@subham2401/journey-to-google-india-challenge-scholarship-59126f7ec4f1?source=rss-7064056cbf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/59126f7ec4f1</guid>
            <category><![CDATA[android]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[udacity]]></category>
            <category><![CDATA[scholarship]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Sun, 29 Apr 2018 15:25:46 GMT</pubDate>
            <atom:updated>2018-04-29T17:39:39.858Z</atom:updated>
            <content:encoded><![CDATA[<p><em>I am a proud recipient of the Google India Challenge Scholarship, Android Developers Track a</em>nd as it’s almost to end I can <em>say one thing for sure that I learned Android the right way.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/505/1*7rvHmR3mGoEySCblpbYWSg.png" /></figure><h3>Did I know Android already?</h3><p>Yes, I have started learning Android before I got the scholarship.I had tried to develop some sort of application to learn more about Android but at that particular time was not exactly I was just copying either from GITHUB or StackOverflow.</p><p>After I received mail for UDACITY for Android Developer Track I just followed the videos then I got to know the real dept of knowledge about android how different modules function works.</p><h3>Development is just cramming a bunch of APIs right?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/781/1*6azmfqvBPUsx_Z6CxZr9Ug.jpeg" /></figure><p>This is something that a lot of people will say to you, at least for someone like me belonging to a land of competitive coders, but I can safely say this is the biggest myth there is. Not just about android but about development in general people tend to put it as cramming a bunch of api calls and using them to make stuff. That may be true for someone who just want to “make apps” but not someone who is interested in actually learning. There are so many intriguing concepts in Android from activity life cycle to Constraint Layouts to Fragments and so much more. Throughout my journey with my scholarship course never once any of my mentors used the phrase <strong><em>Memorize this</em></strong>, I repeat <strong><em>not once</em></strong>.</p><h3><strong>Why this Scholarship ?</strong></h3><p>The best way to learn about something is being a part of a group of people who have same interest and goals as you, that’s common knowledge right? Well that applies here as well. The slack and forum community has been so supportive that you can get any doubt resolved in minutes. The best part is that it’s not just the mentors but other students as well would help you, review your code, answer your questions and help you with coursework. Throughout the scholarship I never felt like watching a bunch of videos in my room, but like I was a part of something, and that gives me more incentive than anything else to continue learning.</p><p>Special thanks to <a href="https://www.linkedin.com/in/akshit94/">Akshit Jain</a> (Student Experience Lead — Android at Udacity India) for supporting and motivating us.</p><h3><strong>So how does this community work Exactly?</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/281/1*cbmGjdewV8rjj_GkkDSJ7Q.png" /></figure><p>Well it starts with slack, we have channels for everything from announcements to each individual lecture, from quizzes to collaborative projects and lot more . We even have ama sessions where we can ask our doubts directly. Mentors are really active on slack and i haven’t had to wait more than 5–10 mins to get the answer to any of my queries. Then we have forums, which like slack we can use to get doubts cleared or even better showcase our work to the community. I have come across some very inspiring projects through the forum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*LmIMc8mqJLQTRtFtOKdPVg.png" /></figure><p>Even i came to know about Google Summer of Code from this particular scholarship.</p><h3>Conclusion</h3><p><strong><em>Being a part of this scholarship for over 2 months now I can say that I have made less apps than I was making before but about the ones that I do make I can explain what every single of the code exactly does.</em></strong></p><p>Here is link of my project which i developed</p><p><a href="https://lnkd.in/fH9a2V7">Udacity_Scholarship_Project.mp4</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59126f7ec4f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Developer Student Club?]]></title>
            <link>https://medium.com/@subham2401/developer-student-club-by-subham-kumar-8f674a0f0aa4?source=rss-7064056cbf7------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f674a0f0aa4</guid>
            <category><![CDATA[developer-student-club]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[google-developer]]></category>
            <dc:creator><![CDATA[Shubham Kumar]]></dc:creator>
            <pubDate>Fri, 02 Mar 2018 12:45:16 GMT</pubDate>
            <atom:updated>2020-04-29T07:27:54.162Z</atom:updated>
            <content:encoded><![CDATA[<p>DSC is a Google Developers program for university students, designed to help them build their mobile and web development skills and knowledge. It is open to any student, ranging from novice developers who are just starting, to advanced developers who want to further their skills. It is intended to be a space for students to learn and collaborate as they solve mobile and web development problems.</p><p>Developer Student Clubs (DSC) are community groups for students from any academic background in their undergraduate or graduate term. By joining a DSC, students build their professional and personal networks, get access to Google developer resources, and work together to build solutions for local problems in a peer-to-peer learning environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a1Sy9bAOy6vZzILhvhSYjA.png" /></figure><p><strong>What is the role of a Lead?</strong></p><ul><li>Set up the Developer Student Club on campus.</li><li>Organize and teach mobile development to fellow students.</li><li>Enable more students to be trainers and support them in conducting sessions.</li><li>Identify local organizations that can benefit from mobile solutions, and facilitate solution development initiatives.</li><li>Host showcases and other sessions to highlight the solutions.</li></ul><p><strong>Interested in learning more?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MOs76l3D2aPnfkSTlekkbg.jpeg" /></figure><p>I am Subham Kumar one of the 200 lead from 98 cities across 178 colleges in India. Our target is to train 2 million developers across India.</p><p>There are many impact stories of this program which will be uploaded on YouTube Channel.</p><p>One thing which I personally learned from this program is that “<strong>If you can create an impact on anyone’s life with your knowledge by training them and making them successful along with yourself then you have achieved most priceless thing in life</strong>”.</p><p>If you are facing any queries</p><p>Connect me via:</p><p><strong>Email Id</strong>: walkytalkyshubham@gmail.com</p><p><strong>Linkedin Id</strong>: <a href="https://www.linkedin.com/in/subham-kumar-542837136/">https://www.linkedin.com/in/subham-kumar-542837136/</a></p><p><strong>Twitter:</strong> @subham2401</p><p><strong>Quora:</strong><a href="https://www.quora.com/profile/Shubham-Kumar-2370">https://www.quora.com/profile/Shubham-Kumar-2370</a></p><p><strong>Instagram:</strong> <a href="https://www.instagram.com/shubham_2401/">https://www.instagram.com/shubham_2401/</a></p><p><strong>Facebook:</strong> <a href="https://www.facebook.com/walkytalkyshubham">https://www.facebook.com/walkytalkyshubham</a></p><h3><strong>Edit 1:</strong></h3><p><strong><em>Questions asked during the interview process:</em></strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.quora.com%2Fwidgets%2Fembed_iframe%3Fpath%3D%2FWhat-are-the-questions-asked-by-Google-during-its-telephonic-interview-for-its-developer-student-club%2Fanswer%2FShubham-Kumar-2370&amp;url=https%3A%2F%2Fwww.quora.com%2FWhat-are-the-questions-asked-by-Google-during-its-telephonic-interview-for-its-developer-student-club%2Fanswer%2FShubham-Kumar-2370&amp;image=https%3A%2F%2Fwww.quora.com%2Fstatic%2Fimages%2Flogo%2Fwordmark_default.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=quora" width="560" height="560" frameborder="0" scrolling="no"><a href="https://medium.com/media/d4fe3b865e9abdce21ec43c4d243c309/href">https://medium.com/media/d4fe3b865e9abdce21ec43c4d243c309/href</a></iframe><blockquote><strong>DSC Summit Video:</strong></blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F5HStQYsx5FE%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D5HStQYsx5FE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F5HStQYsx5FE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/092c9c745e26d49b1f15ed966482e8cb/href">https://medium.com/media/092c9c745e26d49b1f15ed966482e8cb/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FwTLe8nwJ_Lw%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DwTLe8nwJ_Lw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FwTLe8nwJ_Lw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/097ed3fa65d02d68ca72ac4caf495d76/href">https://medium.com/media/097ed3fa65d02d68ca72ac4caf495d76/href</a></iframe><blockquote><strong>DSC Community Page :</strong></blockquote><p><a href="https://developers.google.com/community/dsc/">Developer community programs | Students</a></p><blockquote>WANNA BE A LEAD TO YOUR CAMPUS !!!! Apply Here</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdocs.google.com%2Fforms%2Fd%2Fe%2F1FAIpQLSebHQB2PwsgFytP2LyGqiNMQ7mgJLUXM2vLiJi7awFJNrJ8Vg%2Fviewform%3Fembedded%3Dtrue&amp;display_name=Google+Docs&amp;url=https%3A%2F%2Fdocs.google.com%2Fforms%2Fd%2Fe%2F1FAIpQLSebHQB2PwsgFytP2LyGqiNMQ7mgJLUXM2vLiJi7awFJNrJ8Vg%2Fviewform&amp;image=https%3A%2F%2Flh5.googleusercontent.com%2FpKLGOU8Jqln7bvox-k1phO0MgFSCJ_eyLFl8Bw1ykr1F1YZA2Tnbu-OYpPmHpWdcr3wIK9c%3Dw1200-h630-p&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;scroll=auto&amp;schema=google" width="760" height="675" frameborder="0" scrolling="no"><a href="https://medium.com/media/bc705970dccf65db57bdbfef8c2a78aa/href">https://medium.com/media/bc705970dccf65db57bdbfef8c2a78aa/href</a></iframe><p><a href="https://developers.google.com/community/dsc/organizers/">DSC Organizers | DSC | Google Developers</a></p><blockquote>Find out whether DSC is in your campus or country</blockquote><p><a href="https://developers.google.com/community/dsc/directory/">DSC | Google Developers</a></p><p>EDIT 2 :</p><blockquote><strong>LATEST INTERVIEW QUESTIONS ASKED DURING 2020–2021 LEADS</strong></blockquote><p>1. Give your brief introduction and tell me something about the projects you have done until now.</p><p>2. Do you know anything about DSC?</p><p>3. What is GITHUB and have you ever used it.</p><p>4. Uses of Github</p><p>5. Then come whatever you have said in the video about your interest.</p><p>Follow for more UPDATES !!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f674a0f0aa4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>