Computer Science Programming Basics in Ruby: Exploring by Ophir Frieder

By Ophir Frieder

In case you comprehend uncomplicated high-school math, you could speedy study and follow the center thoughts of desktop technological know-how with this concise, hands-on e-book. Led via a staff of specialists, you will quick comprehend the adaptation among computing device technology and laptop programming, and you can learn the way algorithms assist you remedy computing difficulties. each one bankruptcy builds on fabric brought past within the publication, so that you can grasp one middle construction block earlier than relocating directly to the following. you will discover primary subject matters similar to loops, arrays, gadgets, and sessions, utilizing the easy-to-learn Ruby programming language. Then you will positioned every little thing jointly within the final bankruptcy through programming an easy video game of tic-tac-toe.

Show description

Read or Download Computer Science Programming Basics in Ruby: Exploring Concepts and Curriculum with Ruby PDF

Similar web programming books

Learning Ext JS 3.2

The e-book offers lots of enjoyable instance code and screenshots to lead you thru the construction of examples to help with studying. by way of taking a chapter-by-chapter examine every one significant point of the Ext JS framework, the publication enables you to digest the on hand gains in small, simply comprehensible chunks, permitting you to begin utilizing the library on your improvement wishes instantly.

Foundation Flex for Developers: Data-Driven Applications with PHP, ASP.NET, ColdFusion, and LCDS

Flex is the most important and flexible know-how for growing net program front-ends. yet what each strong internet program wishes is a sturdy facts resource, be it XML, or a database. Flex is especially adaptable by way of connecting to info assets, and that's the major concentration of this e-book. In starting place Flex for builders, writer Sas Jacobs assumes that you have got the fundamentals of Flex down already, and explores intimately tips on how to create expert data-centric Flex 2 and Flex three purposes.

Dynamic Web programming and HTML5

With enterprises and contributors more and more depending on the internet, the necessity for powerfuble, well-trained internet builders and maintainers is growing to be. aiding readers grasp internet improvement, Dynamic net Programming and HTML5 covers particular net programming languages, APIs, and coding ideas and gives an in-depth realizing of the underlying suggestions, conception, and ideas.

Beginning HTML5 Media: Make the most of the new video and audio standards for the Web

Starting HTML5 Media, moment variation is a complete advent to HTML5 video and audio. The HTML5 video regular permits browsers to aid audio and video components natively. This makes it really easy for net builders to put up audio and video, integrating either in the basic presentation of web content.

Additional resources for Computer Science Programming Basics in Ruby: Exploring Concepts and Curriculum with Ruby

Sample text

See Chapter 9 for more information. • Constant: A variable that is set once and never changed. • Initialize: To assign a value to a variable when the variable is created. • Data class: Information about the variable that defines the possible values a variable can have and what operations can be performed using it. A more complete de‐ scription is presented in Chapter 8. • Integer: A class that defines a whole number. Ruby recognizes two classes: — Fixnum: An integer with a limited range. In 32-bit systems, the range –2,147,483,648 to 2,147,483,647.

Most com‐ puters have these stored in individually addressable units of eight bits, called bytes. The bytes in turn can be strung together to form longer strings. For historical reasons, a group of two consecutive bytes is called a half word, four bytes (32 bits) are called a word, and 64 bytes are called a double or long word. info | 17 The meaning of the strings of bits is just that—a string of bits. The interpretation of the meaning, however, is dependent on the usage of the string. One important usage is to code an instruction and its parameters.

Scales of magnitude Units Actual size (bytes) Other names Real-world quantities Megabyte (MB) 1,000,000 Million, 106 The King James version of the Bible contains approximately 5 million characters. Mebibyte (MiB) 1,048,576 220 The speed of light is 300 million meters/second. Gigabyte (GB) 1,000,000,000 Billion, 109 At 5% interest, $1 billion would return $50,000,000/ year. 5 times. S. GDP for 2006 was $13 trillion. Tebibyte (TiB) 1,099,511,627,776 240 Global GDP in 2006 was estimated by the World Bank to be $46 trillion.

Download PDF sample

Rated 4.10 of 5 – based on 47 votes