Cprog9 ch01
Cprog9 ch01
Chapter 1
Introduction to Computers
and C
• Certain C functions take their input from stdin (the standard input stream),
which is normally the keyboard
• Data is often output to stdout (the standard output stream), which is normally
the computer screen
• Data also may be output to devices such as disks and printers
• Today’s fastest Internet speeds are on the order of billions of bits per second, with
trillion-bits-per-second (terabit) speeds already being tested
– In 2020, Australian researchers successfully tested a 44.2 terrabits per second
Internet connection
• A R P A NET main benefit proved to be the capability for quick and easy
communication via what came to be known as electronic mail (e-mail)
• Billions of people worldwide now use the Internet to communicate quickly and easily
• The protocol (set of rules) for communicating over the A R P A NET became known
as the Transmission Control Protocol (T C P)
• Ensured that messages, consisting of sequentially numbered pieces called packets,
were properly delivered from sender to receiver, arrived intact and were assembled
in the correct order
The Internet: A Network of Networks
• In parallel with the early evolution of the Internet, organizations worldwide
were implementing their own networks
• One challenge was to enable these different networks to communicate with
each other
• ARPA accomplished this by developing the Internet Protocol (IP), which
created a true “network of networks,” the Internet’s current architecture
• The combined set of protocols is now called TCP/IP
• Businesses rapidly realized that, by using the Internet, they could improve
their operations and offer new and better services to their clients
• As a result of their investments, Internet bandwidth—the information-carrying
capacity of communications lines—has increased tremendously, while
hardware costs have plummeted
The World Wide Web: Making the Internet User-Friendly
• The World Wide Web (simply called “the web”) is a collection of hardware
and software associated with the Internet that allows computer users to
locate and view documents on almost any subject
• 1989, Tim Berners-Lee of CERN (the European Organization for Nuclear
Research) began developing HyperText Markup Language (H TML)—
the technology for sharing information via “hyperlinked” text documents
• Also wrote communication protocols such as HyperText Transfer
Protocol (HTTP) to form the backbone of his new hypertext information
system
• In 19 94, Berners-Lee founded the World Wide Web Consortium
• Design patterns
– Proven architectures for constructing flexible and maintainable object-
oriented software
– The field of design patterns tries to enumerate those recurring patterns,
encouraging software designers to reuse them to develop better-quality
software using less time, money and effort.
• Software Development Kits (SDKs)
– The tools and documentation that developers use to program
applications.
How Big Is Big Data?
• Data is now as crucial as writing programs
• According to IBM, approximately 2.5 quintillion bytes (2.5
exabytes) of data are created daily, and 90% of the
world’s data was created in the last two years
• According to IDC, the global data supply will reach 175
zettabytes (equal to 175 trillion gigabytes or 175 billion
terabytes) annually by 2025
How Big Is Big Data? Megabytes (MB)
• According to a recent article, energy use for processing data in 2015 was
growing at 20% per year and consuming approximately three to five percent
of the world’s power
– Total data-processing power consumption could reach 20% by 2025
• It’s crucial for businesses, governments, the military, and even individuals to
get a handle on all this data
• Big data’s appeal to big business is undeniable, given the rapidly
accelerating accomplishments
• Many companies are making significant investments and getting valuable
results through technologies like big data, machine learning and natural-
language processing
• This is forcing competitors to invest as well, rapidly increasing the need for
computing professionals with computer-science and data-science experience
• This growth is likely to continue for many years