University Of Pune Question Paper
M. C. M. (Semester - III) Examination - 2012
ADVANCED RUBY
(New 2008 Pattern)
Time : 3 Hours] [Max. Marks : 70
Instructions :
(1) Question Nos. 1 and 2 are compulsory.
(2) Figures to the right show marks.
Q.l) Solve any four : [40]
(a) Write a program that accept Date_Of_Birth of user and calculate
the age of the user. Create a method on SOAP Server. SOAP
Client invokes this method and print age of user.
(b) Write a ToolKit Program that create MSEB BILL API.
(c) Using Ruby Socket API, write a client that passes two string
to the server and server responds by sending length of the string
to the client and display concatenated string.
(d) Write migration for creating table 'BOOK' having book_id,
book_name, author, publication, date_of_published, volume and
pages.
(e) Write a ruby script with multiple views when user enter time,
if it is less than 12 O’clock it will display message “goto work”
if it is greater than 12 O'clock then it will display message “go
for lunch”.
(f) Write a program in rails that accept customer_id and pin from
user if customer_id or pin is wrong it will return the nil object.
If customer_id and pin is right it will display the welcome
message. Create authentication method in model to verify
customer_id and pin of user.
Q.2) Solve any five : [30]
(a) What is Action Controller ?
(b) Explain TCP/IP and Port.
(c) Explain Web Scaffolding with suitable example.
(d) Define Relationships in Database.
(e) Explain Custom Validation with suitable example.
(f) Explain Render Method with suitable example.
(g) Explain Rails Development Environment.
M. C. M. (Semester - III) Examination - 2012
ADVANCED RUBY
(New 2008 Pattern)
Time : 3 Hours] [Max. Marks : 70
Instructions :
(1) Question Nos. 1 and 2 are compulsory.
(2) Figures to the right show marks.
Q.l) Solve any four : [40]
(a) Write a program that accept Date_Of_Birth of user and calculate
the age of the user. Create a method on SOAP Server. SOAP
Client invokes this method and print age of user.
(b) Write a ToolKit Program that create MSEB BILL API.
(c) Using Ruby Socket API, write a client that passes two string
to the server and server responds by sending length of the string
to the client and display concatenated string.
(d) Write migration for creating table 'BOOK' having book_id,
book_name, author, publication, date_of_published, volume and
pages.
(e) Write a ruby script with multiple views when user enter time,
if it is less than 12 O’clock it will display message “goto work”
if it is greater than 12 O'clock then it will display message “go
for lunch”.
(f) Write a program in rails that accept customer_id and pin from
user if customer_id or pin is wrong it will return the nil object.
If customer_id and pin is right it will display the welcome
message. Create authentication method in model to verify
customer_id and pin of user.
Q.2) Solve any five : [30]
(a) What is Action Controller ?
(b) Explain TCP/IP and Port.
(c) Explain Web Scaffolding with suitable example.
(d) Define Relationships in Database.
(e) Explain Custom Validation with suitable example.
(f) Explain Render Method with suitable example.
(g) Explain Rails Development Environment.
0 comments:
Pen down your valuable important comments below