<?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"><channel><title><![CDATA[CS508 Assignment No. 03  Solution and Discussion]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1564567499082-c9f3bcbb-65c5-4ba0-80c0-cc6a98cceaed-image.png" alt="c9f3bcbb-65c5-4ba0-80c0-cc6a98cceaed-image.png" class=" img-fluid img-markdown" /><br />
Assignment No. 03 Semester Spring 2019<br />
CS508-  Modern Programming Languages</p>
<p dir="auto">Total Marks: 20</p>
<p dir="auto">Due Date:    July 31, 2019<br />
Instructions<br />
Please read the following instructions carefully before solving &amp; submitting assignment:<br />
It should be clear that your assignment will not get any credit  if:<br />
•	The assignment is submitted after due date.<br />
•	The submitted assignment does not open or file is corrupt.<br />
•	The assignment is completely or partially copied from (other student, handouts or internet).<br />
•	Student ID is not mentioned in the assignment File or name of file is other than student ID.<br />
•	The assignment is not submitted in .rar format.<br />
Uploading instructions<br />
Your submission must include:<br />
•	Assignment should be in .rar format.<br />
•	Save your assignment with your ID (e.g. bx180200786.rar).<br />
Objective<br />
The objective of this assignment is to give hands on practice on Java programming language.</p>
<p dir="auto">Lectures Covered: This assignment covers Lecture # 27 – 33<br />
Deadline<br />
Your assignment must be uploaded/submitted at or before July 31, 2019.</p>
<p dir="auto">Problem Statement:</p>
<p dir="auto">Make sure to write your id on top of the code file (As shown in the gif file) otherwise your assignment will not be accepted.<br />
Create a console application in java, where you will input a paragraph and also input some words and application will match all the words in the given paragraph to output success or failure for all words.</p>
<ol>
<li>First the paragraph will be inserted.</li>
<li>Next the user will be asked to input words.</li>
<li>Words will be inserted all at once without any space between the words, and words will be comma separated (example shown in the gif file).</li>
<li>The application will check each word in the given paragraph and will output success or frailer for each word on a separate line checking must be case sensitive.<br />
You can install NetBeans IDE or simple java Compiler to develop application.</li>
</ol>
<p dir="auto">Output.gif has been attached with this Assignment file please observe this file carefully your program’s output must be like this output file.<br />
Submission details<br />
<img src="/assets/uploads/files/1564567546486-output.gif" alt="output.gif" class=" img-fluid img-markdown" /><br />
Following Files Must be submitted in a single .zip or .rar file.<br />
•	Code file(s) .java file only<br />
•	A .gif file which shows working of your Application(For Recording .gif a software named Screentogif is uploaded on LMS, or you can use any other gif recording tool as well)<br />
You are not required to submit the complete project, only copy these files from project folder. Please note if you submit doc or txt file you will be awarded 0 marks. Make sure to write your own VU ID in the assignment file(s) otherwise assignment will not be accepted.</p>
<p dir="auto">If you do not submit any of the above mentioned file 50% marks per file will be deducted.</p>
]]></description><link>https://community.secnto.com//topic/240/cs508-assignment-no-03-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 23:01:20 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/240.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 31 Jul 2019 10:06:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS508 Assignment No. 03  Solution and Discussion on Sat, 12 Feb 2022 16:35:20 GMT]]></title><description><![CDATA[<p dir="auto">Assignment Cs508 2022 solution<br />
<a href="https://youtu.be/pYgxFD91Rvk" target="_blank" rel="noopener noreferrer nofollow ugc">https://youtu.be/pYgxFD91Rvk</a></p>
]]></description><link>https://community.secnto.com//post/6946</link><guid isPermaLink="true">https://community.secnto.com//post/6946</guid><dc:creator><![CDATA[cyberian]]></dc:creator><pubDate>Sat, 12 Feb 2022 16:35:20 GMT</pubDate></item><item><title><![CDATA[Reply to CS508 Assignment No. 03  Solution and Discussion on Wed, 31 Jul 2019 10:12:34 GMT]]></title><description><![CDATA[<p dir="auto">CS508 Solution Idea # 3</p>
<pre><code>package main;

import java.util.Scanner;

public class Main {

public static void main(String[] args) {

System.out.println("My ID is bcxxxxxxxxx");
System.out.println("Enter the Input Paragraph");
Scanner s = new Scanner(System.in);
String input = s.nextLine();

System.out.println("Enter the Input Word");
String word = s.nextLine();

String str = "";
int occurance = 0;
for(char c : input.toCharArray()) {
str += c;
if(str.length() == word.length()) {
if(str.equals(word)) {
occurance ++;
}

str = str.substring(1);
}
}

if(occurance &gt; 0)
System.out.println("The word is exist");
else 
System.out.println("The word is not exist");
}
}

</code></pre>
]]></description><link>https://community.secnto.com//post/614</link><guid isPermaLink="true">https://community.secnto.com//post/614</guid><dc:creator><![CDATA[cyberian]]></dc:creator><pubDate>Wed, 31 Jul 2019 10:12:34 GMT</pubDate></item><item><title><![CDATA[Reply to CS508 Assignment No. 03  Solution and Discussion on Wed, 31 Jul 2019 10:10:40 GMT]]></title><description><![CDATA[<p dir="auto">CS 508 Idea Solutoin # 2<br />
<img src="/assets/uploads/files/1564567808545-cs506-solution.gif" alt="CS506 Solution.gif" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.secnto.com//post/613</link><guid isPermaLink="true">https://community.secnto.com//post/613</guid><dc:creator><![CDATA[moaaz]]></dc:creator><pubDate>Wed, 31 Jul 2019 10:10:40 GMT</pubDate></item><item><title><![CDATA[Reply to CS508 Assignment No. 03  Solution and Discussion on Wed, 31 Jul 2019 10:09:24 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1564567714664-de564b29-034d-4813-94b7-5e9ac39ef847-image.png" alt="de564b29-034d-4813-94b7-5e9ac39ef847-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.secnto.com//post/612</link><guid isPermaLink="true">https://community.secnto.com//post/612</guid><dc:creator><![CDATA[moaaz]]></dc:creator><pubDate>Wed, 31 Jul 2019 10:09:24 GMT</pubDate></item></channel></rss>