Thursday, August 16, 2012

Objective-C




I. Description

  •  Object-oriented programming language
  •  Strict Superset of C:
    • C with some new additional constructs
    • C code compiles as Objective-C code
    • C libraries can be linked and used natively from Objective-c
  • Adds Objected-oriented features to C
    • Defining classes
    • Implementing methods
    • Instantiating classes and objects
    • Ivoking class and object methods
    • Protocols, categories, selectors, forwarding

II. History

         
         Objective-C is a general-purpose, high-level, object oriented language which lies on top of the C language that adds Smalltalk-style messaging. Its primary use in modern computing is on Mac OS X as a desktop language and also on iPhone OS. It was originally the main language for NeXTSTEP OS, also known as the operating system Apple bought and descended Mac OS X from, which explains why its primary home today lays on Apple's operating systems.

         Objective-C was created primarily by Brad Cox and Tom Love in the early 1980s at their company Stepstone. Both had been introduced to Smalltalk while at ITT Corporation's Programming Technology Center in 1981. The earliest work on Objective-C traces back to around that time.
Because Objective-C is a strict superset of C, we are free to use C in an Objective-C file and it will compile fine. Because any compiler of Objective-C will also compile any straight C code passed into it, we have all the power of C along with the power of objects provided by Objective-C.


III. Syntax


Sample Program in Objective-C




IV. Insights

"Shedding Light on Objective-C and Cocoa"
Jon Manning and Paris Buttfield-Addison share their insight on Objective-C
"Advantages of Using Objective-C over C++"
People talk about how great Objective-C is over C++
 Sir Duldulao on Objective-C via Facebook




V. Project

Building Calculator Using Objective-C Tutorial
Coding of calculator app with GUI(Graphical User Interface) Using GNUStep GORM



VI. Group Members

CMSC 124 T-7L
Paul Elessar Caceres (2009-10232)
John Carlos Gambol (2009-26302)
Berlyn Motel (2009-18986)
Mary Grace Primavera (2009-32348)
Graycel Santos (2009-32132)


VI. References

www.gnustep.org
www.slideshare.net
en.wikipedia.org/wiki/Objective-c
mobile.tutsplus.com
www.otierney.net
www.gnustep.org/experience/Gorm.html
cocoadevcentral.com
developer.apple.com
www.dailymotion.com

Wednesday, August 15, 2012


SCHEME is a functional programming language and one of the two main dialects of the programming language Lisp. Unlike Common Lisp, the other main dialect, Scheme follows a minimalist design philosophy specifying a small standard core with powerful tools for language extension. Its compactness and elegance have made it popular with educators, language designers, programmers, implementors, and hobbyists. The language's diverse appeal is seen as a strong point, though the consequently wide divergence between implementations is seen as one of the language's weak points.


--------------------------------------------------------

Origin
    
       Scheme started as an attempt to understand Carl Hewitt's actor model, for which purpose Steele and Sussman wrote a "tiny Lisp interpreter" using MacLisp and then "added mechanisms for creating actors and sending messages." Scheme was originally called "Schemer", in the tradition of other Lisp-derived languages like Planner or Conniver. The current name resulted from the authors' use of the ITS Operating System, which limited filenames to two components of at most six characters each. Currently, "Schemer" is commonly used to refer to a Scheme programmer.

---------------------------------------------------------------------------------------------

Features


  • Scheme is a functional programming language.
  • Implements proper tail recursion.
  • Uses prefix notation.
  • Unnamed functions can be named using the keyword lambda.
  • Has The ability to handle numbers of different numeric types (e.g. integer, rational, complex, real) and exactness (i.e. exact and inexact).
  • Scheme supports continuations. Continuations represent the "future" of computation at a particular point in program execution.
--------------------------------------------------------

Data Types
  • Characters: #\a #\A #\b #\B #\space #\newline.
  • Strings: "A little string".
  • Arrays (called vectors): #(1 2 "string" #\x 5).
  • Lists: (a little (list of) (lists)).
  • Numbers: 47 1/3 2.3 4.3e14 1+3i.
  • Functions (also called procedures).
  • Booleans: #t #f.
  • Ports (e.g. open files).
  • Symbols: this-is-a-symbol foo a32 c$23*4&7+3-is-a-symbol-too!.
--------------------------------------------------------------------------------------------

SAMPLE HELLO WORLD




----------------------------------------------------------------------------------------------
TESTIMONIALS



----------------------------------------------------------------------------------------------

REFERENCES

-> http://en.wikipedia.org/wiki/Scheme_(programming_language)
-> http://groups.engin.umd.umich.edu/CIS/course.des/cis400/scheme/hellow.html
-> http://infohost.nmt.edu/tcc/help/lang/lisp/intro.txt

----------------------------------------------------------------------------------------------

CMSC124 T-3L
MOGOL, Frances Marie 2010-08179
RELANO, Julianne Paulene M. 2010-37798
TENEDERO, Sheena A. 2010-34779