We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

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.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 2567

.

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

Attachments:

Replies to This Discussion

Qudsia plz help me 

nahi ho raha kuch b aisa, sub kuch rakh lia ha, thak gya ho kr kr k

frnds sb ne file download kr li desktop par or usme apna name and id likh liya k nai...............tell me fast ab me sb ko to screen shot send nai kr skti na its very easy sb log kren jaldi se me age btaun apko ass...........

frnds 2 minute lgen ge ass bnane me so plz don't give up....sb nepehli file kr li ab is file ko desktop par extract kren....

Attachments:

 Qudsia r u there plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help me i have a teamviwer also plz screen shot lay do i don't know how i did....plz hep me

Question 1

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

 

Answer

1. var  = 28 * 13 + 2

2. Second code is correct

3. Third code is correct

4. REPLACE(STRING, ST1, ST2)

5. SEAT = ROW NO + 6 / 2

Question 2

1.Write down a SNOBOL Program that will display your Name and VU Student ID

Answer

            OUTPUT = 'NAME: NAINA'

            OUTPUT = 'ID:   BC12345678'

END

2.Run your code written in Question # 2 Part I. Then send the screen shot of the output.

Answer

Complete_solution_CS508_1

Attachments:

frnds jin students ko code run krne me difficulty ho rai hai wo ye instructions follow kren.......

Open the command prompt 

Enter the command 

D: Press Enter 

Then Etere command CD Users\vu\Desktop\New folder  Press Enter 

(mean the path where u have placed the snobol4.exe file)

Now run the compiler.

Question 1

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

 

Answer

1. var  = 28 * 13 + 2

2. Second code is correct

3. Third code is correct

4. REPLACE(STRING, ST1, ST2)

5. SEAT = ROW NO + 6 / 2

Question 2

1.Write down a SNOBOL Program that will display your Name and VU Student ID

Answer

            OUTPUT = 'NAME: FAISAL'

            OUTPUT = 'ID:   BC12345678'

END

2.Run your code written in Question # 2 Part I. Then send the screen shot of the output.

Answer

frnds ye output hai

file ko desktop par rkh kr ye steps follow kren

cd desktop    press enter

snobol4        press enter

A2 /q       press enter

out put show ho jaye gi uska screenshot le kr word me paste kren....jaldi........fast guyssssssssss

Desktop

Attachments:

RSS

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

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

.