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.

Views: 2688

Attachments:

Replies to This Discussion

run your same file of code in cmd.

it will run.

then make changes according to assignment.

your name

your vu id

solution only for 200 Rs

if u want .me will send u free

fellows discussion is always better

send me ur no bro

just kidding 

Sir has uploaded a new link for help: http://vulms.vu.edu.pk/Courses/CS508/Downloads/TEST.ZIP

but em so confuse how to open that???? Any one has idea?

maria whats problem you are facing?

Question 2 

OUTPUT = 'Hafiz Muhammad Imran'
OUTPUT = 'PC130200019'
END

Question 3 File is attached 

Attachments:

Please tell how to run this program in command prompt? I have Windows 8. I am not getting it. Shoudl I required to install some software as well? 

just wait a mint i will show u thorught photo within few mints

just Right the Property of ur CMD and go to the Start in and the Tye file name where you have save the snobol4.exe,

now you will type the code in the CMD

SNOBOL4 TEST /q; 

and you will show the result 

RSS

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

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