<?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 1  Solution and Discussion]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/535/cs508-assignment-no-01-solution-and-discussion">CS508 Assignment No. 01 Solution and Discussion</a></p>
<p dir="auto">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 or ditto copied from 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.</p>
<p dir="auto">Submission details<br />
Following files must be submitted in a single zip or rar file.<br />
Code file(.sno file)<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 />
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>
<p dir="auto">Objective<br />
The objective of this assignment is to give hands on practice on Snobol programming language.</p>
<p dir="auto">Lectures Covered: This assignment covers Lecture # 1 - 9</p>
<p dir="auto">You are required to create a Snobol Console Program.<br />
You will use Snobol4 Compiler to compile Snobol code, if you are using a 64-bit operating system then Snobol4 compiler will not work directly you need to use DOSBox to run the compiler and compiler code.(Tutorial document has already been uploaded on Lms on how to compile code in DOSBox).<br />
Please note that you cannot use any online compiler.<br />
Problem Statement:<br />
You need to create a console application in Snobol which will execute nested loop based on your student id.<br />
Last four digits of your id will be used in both loops.<br />
For example, if your id is bc120401122 then outer loop will execute 11 times and inner loop will execute 22 times.<br />
First print your id on top of the console screen.<br />
Then inside both loops print no of times the loop has executed.<br />
You can hardcode your id in your code or take input from user.<br />
Make sure to write your id on top of the program otherwise your assignment will not be accepted.</p>
]]></description><link>https://community.secnto.com//topic/1803/cs508-assignment-1-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 01:19:20 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/1803.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 29 May 2020 08:53:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS508 Assignment 1  Solution and Discussion on Sat, 13 Jun 2020 12:03:15 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://www.youtube.com/watch?v=suvkPZTheK0" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.youtube.com/watch?v=suvkPZTheK0</a></p>
<pre><code>Solution 100%
outer = 1
OUTLOOP
	OUTPUT = 'Outer ' outer
	outer = outer + 1
	iner = 1
INLOOP
	OUTPUT = 'Iner ' iner
	iner = iner + 1
	LE(iner, 22) : S(INLOOP)
	LE(outer, 11) : S(OUTLOOP)
	OUTPUT = 'My id is BC120401122'
END





</code></pre>
]]></description><link>https://community.secnto.com//post/5054</link><guid isPermaLink="true">https://community.secnto.com//post/5054</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Sat, 13 Jun 2020 12:03:15 GMT</pubDate></item><item><title><![CDATA[Reply to CS508 Assignment 1  Solution and Discussion on Fri, 29 May 2020 09:00:49 GMT]]></title><description><![CDATA[<p dir="auto">Put this file in Code file(.sno file)</p>
<pre><code>	OUTPUT = 'VUID is: Bc150403729 '
  	Out_N = 1

OLOOP
  	OUTPUT = 'Outer Loop No =' Out_N
  	Out_N = Out_N + 1
  	Inn_N = 1
  	LE(Out_N, 37) : S(ILOOP)
ILOOP
 	OUTPUT = 'Inner Loop No = ' Inn_N
 	Inn_N = Inn_N + 1
 	LE(Inn_N, 29)  : S(ILOOP)
 	LE(Out_N, 37)  : F(OUT)
 	LE(Inn_N, 29)  : F(OLOOP)
OUT
END 			
</code></pre>
]]></description><link>https://community.secnto.com//post/5038</link><guid isPermaLink="true">https://community.secnto.com//post/5038</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Fri, 29 May 2020 09:00:49 GMT</pubDate></item></channel></rss>