Sunday, December 13, 2015

ADVANCED RUBY,2010 Question Paper,M. C. M. (Semester - III),University Of Pune Question Paper

ADVANCED RUBY,2010 Question Paper,M. C. M. (Semester - III),University Of Pune Question Paper
University Of Pune Question Paper
M. C. M. (Semester - III) Examination - 2010
ADVANCED RUBY
(New 2008 Pattern)
Time : 3 Hours] [Max. Marks : 70
Q.1) (A) Write short notes : (Any Five) [30]
(a) Database Relationships
(b) Plugins
(c) Layouts in Rails
(d) MVC Architecture in Rails
(e) Label and Radiobutton widget in RubyTK
(f) Threading
(g) MessageBox widget with example
(B) Solve the following : (Any Five) [40]
(a) Write migration for creating table ‘Customer’ having
cust_id, firstname, lastname, cust_name, creditcardno,
created_at, updated_at columns.
(b) Write rhtml code for creating login page. After submitting
login form it should call create action of session controller.
(c) Write callback method in customer model which will update
cust_name as follows :
If first name is ‘Abhinav’ and last name is ‘Bindra’, then
cust_name should be ‘AbhinavBindra’.
(d) Create a TK window that has 2 check boxes “RUBY”
and “JAVA”, a label and a button “Select”. The label should
change its caption according to the selection.
(e) Using Ruby Socket API, write a client that passes a string
to the server and server responds by sending length of the
string to the client.
(f) Write a SOAP Server and SOAP Client such that server
defines a method that accepts a number as a parameter
and returns whether the number is odd or even. Client
invokes this method and prints result returned by the server.

Saturday, November 28, 2015

ADVANCED RUBY,University Of Pune Question Paper,M. C. M. (Semester - III),2012 Question Paper

ADVANCED RUBY,University Of Pune Question Paper,M. C. M. (Semester - III),2012 Question Paper
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.

Search Everything Here