+ Link For Assignments, GDBs & Online Quizzes Solution |
+ Link For Past Papers, Solved MCQs, Short Notes & More |
Assignment No. 01 |
Total Marks: 20
Due Date: 18/05/2016 |
|
Instructions Please read the following instructions carefully before solving & submitting assignment: It should be clear that your assignment will not get any credit if:
Uploading instructionsYour submission must include:
Assignment submission through email is NOT acceptable ObjectiveThe objective of this assignment is
Note: Your answer must follow the below given specifications.
Lectures Covered: This assignment covers Lecture # 01 - 12 Deadline Your assignment must be uploaded/submitted at or before 18/05/2016.
Question: 01 10( 2+2+2+2+2) marks
The study of programming languages can be divided into the assessment of their syntax and semantics while different constructs are the building blocks of these languages. You are required to differentiate between syntax and semantics in your own words and write the syntax and semantics for the following constructs.
Note: Do not specific to any language; you may use any language for syntax (or use general syntax).
Question: 02 10 (05 + 05) marks
SNOBOL language is mainly designed for string manipulation and handling, therefore, it has rich string manipulation mechanism and operators.
Note: You need to write the code in an MS word file, furthermore, you do not need to compile programs, however they should be correct syntactically.
=====================================Ended=======================================
For any query about the assignment, contact at CS508@vu.edu.pk
GOOD LUCK
|
||
|
Tags:
+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)
+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)b. Write a program in SNOBOL which define a variable and store the string “I am a student of MCS”. Use pattern matching operator and GOTO statement to print “Pattern found” if the pattern matched otherwise “Pattern not found” on the console.
Answer:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("I am a student of MCS");
goto End;
NotFound:
Console.WriteLine("Pattern not found!");
End:
Console.ReadKey();
}
}
}
can u please upload the complete solution?
thanxxxxxxxxxxxxxxxxxxxxxxx alot this really safe me
u have complete solution that i made with my own but i upload only a program because it is the hardest part of the assignment. Baqi khud se banao bhei
yar semantic kia ha while ka syntax to likh liya ha lekin semantic smjh ni a rhi bta do plz
can you please upload question 2 (a) part. i only need that part.
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { Console.WriteLine("I am a student of MCS"); goto End; NotFound: Console.WriteLine("Pattern not found!"); End: Console.ReadKey(); } } } Read more at http://vustudents.ning.com/forum/topics/cs508-assignment-no-01-spri...
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We are user-generated contents site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post