Active Members
TodayLast 7 Daysmore...



Resources » Articles/Knowledge Sharing » Syllabus

Syllabus of University of Pune MCM Semester II-CORE RUBY


Posted Date:     Category: Syllabus    
Author: Member Level: Gold    Points: 2



 

CORE RUBY [204]

Fundamentals– What is Ruby; Ruby download and installation; irb and SciTE; Free
format; Case sensitive; Comments; Statement delimiters; Documentation; Operators
(with precedence and associativity rules); Ruby editors; .rb file; Concept of an object and
that everything is an object in Ruby; Object class and its methods; Usage of puts, gets
methods; Ruby conventions; Garbage collection (3 lectures)
Variables and Constants– Name characters; Variables – local, instance, class, global;
Constants naming, rules and concept of scope operator ::; Naming conventions;
Dynamically typed; Usage of method type (2 lectures)
Numbers– Concept and usage with Class Numeric, Float, Integer, Fixnum and Bignum
(1 lecture)
Strings– String literals using single- and double-quotes and their differences; Usage of
#{expression}; Conversions using .to_i, .to_f, .to_s; Usage of <<; Concept of symbols;
Class String methods like chomp, reverse, length, upcase, downcase, swapcase,
capitalize, strip, length, index, slice, upcase!, downcase!, swapcase! and capitalize!.
(4 lectures)
Random Numbers– rand method (1 lecture)
Arrays– Concept; Class Array methods like delete, sort, length and each using do end
(2 lectures)
Concept of Ranges and Hashes (2 lecture)
Constructs– if else end elsif; while end; case when end (1 lecture)
Regular Expressions– Simple examples (2 lectures)
Methods– Writing own methods using def end; class and instance methods (with getter
and setter); return and concept of value returned by last statement in a method; variable
number of parameters using * (3 lectures)
Code Blocks– Using do end and { }; Usage of yield method; Concept of Proc and it’s
method call; lambda (3 lectures)
File I/O– File class and its method open (3 lectures)
Writing a class– Standard class Class; initialize; new methods; Access modifiers private
and protected; Usage of attr_reader, attr_writer, attr_accessor; Concept of inheritance and
using <; Using super (4 lectures)
Concept of Duck Typing (1 lecture)
Modules – Examples of writing a module; Usage of require and include; Concept of
mix-ins (1 lecture)
Exception handling– Exception class and its hierarchy; begin rescue ensure end;
(2 lectures)
Concept of Unit Testing (2 lectures)
Standard Classes and Modules– Usage of Dir, Time, Thread, Range, IO, Module, GC,
Kernel, Math – usage (3 lectures)

Recommended Books:
a. Programming Ruby by Dave Thomas
b. Learn to Program by Chris Pine
c. Ruby For Rails by David Black
d. Beginning Ruby by Peter Cooper

Reference http://www.unipune.ernet.in/stud_info/Syllabi/Syllabus_2008.html





Did you like this resource? Share it with your friends and show your love!





Responses to "Syllabus of University of Pune MCM Semester II-CORE RUBY "

No responses found. Be the first to respond...

Feedbacks      

Post Comment:




  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)



    Type the numbers and letters shown on the left.


    Next Resource: Syllabus of University of Pune MCM Semester II-Basic JAVA
    Previous Resource: Syllabus of University of Pune MCM Semester II-OBJECT ORIENTED PROGRAMMING USING C++
    Return to Resources
    Post New Resource
    Category: Syllabus


    Post resources and earn money!
     
    More Resources
    Popular Tags   Tag posting guidelines   Search Tags  
    Syllabus  .  

    Awards & Gifts
    ISC Technologies, Kochi - India. Copyright © All Rights Reserved.