A presentation of the central and basic concepts, techniques, and tools of computer science, with the emphasis on presenting a problem-solving approach and on providing a survey of all of the most important topics covered in degree programmes. Scheme is used throughout as the programming language and the author stresses a functional programming approach to create simple functions so as to obtain the desired programming goal. Such simple functions are easily tested individually, which greatly helps in producing programs that work correctly first time. Throughout, the author aids to writing programs, and makes liberal use of boxes with qMistakes to Avoid.q Programming examples include: * abstracting a problem; * creating pseudo code as an intermediate solution; * top-down and bottom-up design; * building procedural and data abstractions; * writing progams in modules which are easily testable. Numerous exercises help readers test their understanding of the material and develop ideas in greater depth, making this an ideal first course for all students coming to computer science for the first time.(define (get-action) (draw hand2) (newline) (display aquot;Your mileage: aquot; ) (display ( data mileage2)) (display aquot; Your state: aquot; ) (display (data a#39;state2)) (newline) (display aquot;Computer mileage: aquot; ) (display (data aquot; mileage1)) (display aquot; Computer state:anbsp;...
|Title||:||Exploring Computer Science with Scheme|
|Publisher||:||Springer Science & Business Media - 2013-04-17|