We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Question # 1                                                                                                                              Marks 5     

 

Identify and correct the errors in the following SNOBOL code lines. If the code is correct just mention that code is correct.

 

  1. var  = 28 * 13+2
  2. This.is.null.string = NULL
  3. MONTH = ‘MAY’
  4. RE-PLACE(STRING, ST1, ST2)
  5. SEAT   = ROWNO + 6 /2

Question # 2                                                                                                                              Marks 10     

 

I) Write down a SNOBOL Program that will display your Name and VU Student ID  [4 Marks]

 

II) Go through the tutorial given at http://vulms.vu.edu.pk/Courses/CS508/Downloads/How%20To%20Run%20A%2... and run your code written in Question # 2 Part I. Then send the screen shot of the output. As shown below [6 Marks]

To produce the above screen shot save code which you have written in question file in a text file, save it as A2.NSO, and then you will run it as mentioned in the tutorial in above link and take its screenshot. After that paste that screen shot in the assignment solution file.

 

Note:-

You will send your solution in word file No need to send .SNO file.


+ 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)


Views: 2610

Attachments:

Replies to This Discussion

plz help i m using win 7 and when i run the cmd and snobol , the window disappear. plz help 

SNOBOL is not working.. m using win 7 ultimate but its saying i cant be install... what to do now guys .. 

apka prblm solve ho wind 7 ka to plz mjhy b btaye ga

Complete Question 2

Check this out is it correct plz comment

Attachments:

Unable to know where to write program..kindly guide me..

write shared code with alterations in txt file.

change its extension to .sno

run it in cmd.

its so easy.. where u got problem???
write program in text file then save as A2.SNO

then open the cmd type SNOBOL4 A2 /q:

press enter it will show result simple 

please yahaaaaan par

OUTPUT =mudasaf perveen

OUTPUT =bs090401846

zra screen shot dekha den thnks

please yahaaaaan par

OUTPUT =mudasaf perveen

OUTPUT =bs090401846

zra screen shot dekha den thnks

 also told me about it,,,, Q no 1 is true and false

  1. var  = 28 * 13+2

There is no space before and after the plus operator.

  1. var  = 28 * 13 + 2

that’s true

  1. This.is.null.string = NULL
  2. There is no need to mention NULL,

But is true.

This.is.null.string =

Now the string is also have a null value.

 

  1. MONTH = ‘MAY’

True.

  1. RE-PLACE(STRING, ST1, ST2)
  2. SEAT  = ROWNO + 6 /2

There should be space after the division operator.

SEAT  = ROWNO + 6 / 2 true now

my SNOBOL is working, i got it...  now i understad the snobol

imran bahi aap skype ya yahoo pay hain?

RSS

Looking For Something? Search Here

Latest Activity

Zohaib Hassan updated their profile
1 hour ago
Mani Siddiqui BS VIII posted discussions
1 hour ago
Mani Siddiqui BS VIII posted a status
"کسی بھی روز مجھے دل سزا سنا دے گا میں خواہشوں کا بہت قتلِ عام کرتا ہوں ,,,!!"
3 hours ago
ღ*`* Mute Kuri *`*ღ liked Ellen Shades's blog post One Lesson Book - The Graphic Design
3 hours ago
Mani Siddiqui BS VIII replied to Mani Siddiqui BS VIII's discussion Ms or Certifications !!!!
5 hours ago
Zohaib Hassan posted a discussion
5 hours ago
Laila kabeer posted a discussion
6 hours ago
Zohaib Hassan replied to Bakhtawar khan's discussion <<<<<hann g>>>>>>>>
7 hours ago

HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.