History of Coding
- 92Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
How were punch cards used in the textile industry during the 1800s?
92 questions
- 1
How were punch cards used in the textile industry during the 1800s?
Model answer
Holes in punch cards instructed machines where to place threads, allowing complicated textile designs to be produced repeatedly and faster than by hand.
Explanation
Punch cards provided mechanical instructions for creating patterns in rugs, blankets, and other textiles.
- 2
What connection did Charles Babbage make between textile punch cards and computing?
Model answer
In 1822, Babbage proposed using punch cards to control a calculating machine.
Explanation
Punch cards were already being used to control textile machines, inspiring Babbage to apply the same idea to computation.
- 3
Why was Babbage's proposed calculating machine not built in the 1800s?
Model answer
It was not built because the necessary technology was unavailable or too expensive.
Explanation
Although Babbage developed the concept, practical limitations prevented construction of the machine at that time.
- 4
What did Ada Lovelace contribute to Babbage's work?
Model answer
While translating Babbage's writings in 1842, Lovelace added a note describing a mathematical procedure that is considered an early computer algorithm.
Explanation
Her additional note went beyond translation and described how the proposed machine could perform calculations.
- 5
Why is Ada Lovelace often considered the first computer programmer?
Model answer
She created instructions for a theoretical calculating machine, making her work an early example of computer programming.
Explanation
Lovelace's algorithmic notes were written before a functioning general-purpose computer existed.
- 6
What did Ada Lovelace predict about the future capabilities of computers?
Model answer
She predicted that computers could eventually play music and chess, but she believed they would not think independently.
Explanation
Her predictions distinguished between computers manipulating symbols and computers possessing independent thought.
- 7
What problem did Herman Hollerith solve with his punch-card tabulating machine?
Model answer
He used punch cards to process United States Census data more quickly and to sort information into categories.
Explanation
The machine reduced census processing time from about eight years to about two years.
- 8
How did Hollerith's machine perform different tasks without being reconstructed?
Model answer
Its programs and data were represented on punch cards, allowing the machine to perform different operations by using different cards.
Explanation
The cards encoded instructions and information through patterns of holes.
- 9
Why was sorting punch-card data important for the Census?
Model answer
It allowed census information to be organized by categories such as household size and state, enabling faster statistical calculations.
Explanation
Sorting made it possible to analyze large amounts of population data efficiently.
- 10
What were human computers before electronic computers became capable of complex calculations?
Model answer
Human computers were teams of people who performed separate mathematical calculations manually and combined the results.
Explanation
They calculated problems such as flight trajectories and spaceflight data when machines could not yet handle the entire process.
- 11
How did binary differ from the decimal system?
Model answer
Decimal uses ten digits, from 0 through 9, whereas binary uses only 0 and 1.
Explanation
Decimal is base 10, while binary is base 2.
- 12
Why does the decimal system use positional notation?
Model answer
When the available digits are exhausted, a new position is added to represent a larger place value.
Explanation
In decimal, positions increase from right to left as powers of 10, such as ones, tens, and hundreds.
- 13
How do positional values increase in the decimal system?
Model answer
Moving one position to the left multiplies the place value by 10.
Explanation
The positions represent 100, 101, 102, and higher powers of 10.
- 14
How do positional values increase in the binary system?
Model answer
Moving one position to the left multiplies the place value by 2.
Explanation
Binary positions represent powers of 2, beginning with 20=1 on the right.
- 15
What do 0 and 1 represent in a computer's binary system?
Model answer
0 represents an off state and 1 represents an on state.
Explanation
These values can correspond to electronic switches with lower or higher electrical states.
- 16
Convert the binary number 101 to decimal.
Model answer
1012=1(22)+0(21)+1(20)=4+1=5.
Explanation
Only the first and last positions are on, contributing 4 and 1.
- 17
Convert the binary number 100001 to decimal.
Model answer
1000012=1(25)+1(20)=32+1=33.
Explanation
The leftmost 1 represents 32, and the rightmost 1 represents 1.
- 18
Why can binary numbers become longer than decimal numbers for the same value?
Model answer
Binary has only two possible digits, so it requires more positions to represent values that decimal can express with ten digits.
Explanation
The limited digit set makes binary representations longer as values increase.
- 19
What is ASCII used for?
Model answer
ASCII is a table that translates numerical computer codes into readable characters such as letters and punctuation.
Explanation
For example, the decimal value 33 represents an exclamation mark in ASCII.
- 20
What does the binary value 1001000 represent in ASCII?
Model answer
It represents the decimal value 72, which is the ASCII code for the capital letter H.
Explanation
ASCII connects binary-derived numerical values with human-readable characters.
- 21
Why must computers convert data into binary?
Model answer
Computers operate through electronic switches and therefore represent information as on and off states, encoded as 1 and 0.
Explanation
Text, numbers, images, sound, video, and animations are all converted into binary before processing.
- 22
How does a computer represent a digital image?
Model answer
It represents the image as binary data describing individual pixels, colors, and other visual information.
Explanation
Every pixel and color must be encoded as information that the processor can manipulate.
- 23
What is Boolean logic?
Model answer
Boolean logic is a system based on true-or-false values, which correspond in computing to conditions such as on/off or 1/0.
Explanation
George Boole's algebraic logic provided a mathematical foundation for reasoning with two possible states.
- 24
How are punch cards related to binary logic?
Model answer
A hole represents an on or 1 state, while the absence of a hole represents an off or 0 state.
Explanation
Punch cards mechanically encoded the same two-state logic later represented electronically.
- 25
What is coding?
Model answer
Coding is writing instructions in a structured language that can be translated into binary so a computer knows what to do.
Explanation
Computers do not determine their own tasks; they follow explicit instructions supplied through code.
- 26
What is machine code?
Model answer
Machine code is a low-level language containing instructions that directly tell computer hardware how to perform calculations, manage values, and store data.
Explanation
It is the lowest-level form of instructions used by a computer's hardware.
- 27
Why is programming directly in machine code uncommon?
Model answer
Machine code can be efficient, but it is extremely difficult for people to write and understand.
Explanation
Higher-level languages make programming easier by hiding much of the binary-level detail.
- 28
Describe the general path from human-readable code to computer output.
Model answer
Code is interpreted or compiled, translated into machine language, sent to the processor and other hardware, and then returned as an understandable result such as text, an image, or sound.
Explanation
The computer transforms human instructions into hardware operations and converts the results into usable output.
- 29
What role can assembly language play in program execution?
Model answer
Assembly language can serve as an intermediate representation between human-readable code and machine language.
Explanation
It expresses instructions in a form closer to the hardware before final translation into machine code.
- 30
What is compiled code?
Model answer
Compiled code is converted in its entirety into machine code before the program is executed.
Explanation
This can improve execution efficiency but can make debugging and development more difficult.
- 31
What is interpreted code?
Model answer
Interpreted code is translated and executed incrementally, often line by line, by an intermediary program.
Explanation
This approach generally makes debugging easier but adds an extra translation step during execution.
- 32
Compare compiled and interpreted code in terms of debugging and execution.
Model answer
Compiled code may execute more efficiently but is harder to troubleshoot as a whole, while interpreted code is easier to debug but may execute more slowly because translation occurs during execution.
Explanation
The two methods trade some execution efficiency for development convenience.
- 33
What is a procedural programming paradigm?
Model answer
Procedural programming organizes a program as a sequence of logical instructions that the computer follows step by step.
Explanation
The program generally proceeds along a relatively direct control path.
- 34
What is object-oriented programming?
Model answer
Object-oriented programming organizes code into reusable objects or groups that can be assembled and used to perform related tasks.
Explanation
This structure can reduce development time and cost by encouraging code reuse.
- 35
Why can object-oriented programming reduce development costs?
Model answer
Reusable code components reduce the amount of code that must be written and make programs easier to organize and extend.
Explanation
Developers can reuse established objects rather than recreating every function from the beginning.
- 36
How do procedural and object-oriented programming differ in organization?
Model answer
Procedural programming emphasizes a step-by-step sequence, whereas object-oriented programming groups related data and behavior into reusable components.
Explanation
The paradigms structure program logic in different ways even though both can solve computational problems.
- 37
Which programming languages were identified as examples of procedural languages?
Model answer
C, Fortran, and COBOL were identified as examples of procedural languages.
Explanation
These languages commonly organize instructions in a more sequential style.
- 38
Which programming languages were identified as examples of object-oriented languages?
Model answer
Java, C++, Ruby, and Python were identified as examples of object-oriented languages.
Explanation
These languages support organizing programs into reusable objects or components.
- 39
What was Konrad Zuse's Z3?
Model answer
The Z3, completed in 1941, was an early electromechanical computer designed to run programs stored on punched film.
Explanation
It was built in Germany and was reportedly used for aerodynamic calculations by the German army.
- 40
What happened to the original Z3?
Model answer
The original machine was destroyed by a bomb in 1943, and a later replica was built from Zuse's plans.
Explanation
The replica preserved the design after the original computer was lost.
- 41
What was the Mark I?
Model answer
The Mark I was an early electromechanical computer project developed in the United States and built by IBM in the 1940s.
Explanation
It was developed during the same general period as other early electromechanical computing projects.
- 42
Why was ENIAC significant in computer history?
Model answer
ENIAC was a room-sized electronic computer that used approximately 18,000 vacuum tubes.
Explanation
It represented a major shift from electromechanical switching to electronic computation.
- 43
How was ENIAC programmed?
Model answer
ENIAC was programmed manually by connecting wires to plug boards according to detailed schematics.
Explanation
Changing tasks required rearranging the plugs and testing the result with a sample problem.
- 44
Why did changing an ENIAC program take substantial effort?
Model answer
Each calculation required the plug-board connections to be reset into precise positions and checked before execution.
Explanation
Programming was a physical reconfiguration process rather than simply entering new software.
- 45
What was the ACE?
Model answer
The ACE, or Automatic Computing Engine, was an early electronic stored-program computer built in Britain with code designed by Alan Turing.
Explanation
Its stored-program design represented an important step beyond manually configured machines.
- 46
Why was UNIVAC important in 1951?
Model answer
UNIVAC helped demonstrate the practical value of computers and became known for correctly predicting the 1952 election from supplied data.
Explanation
Its prediction caused the public and press to take computers more seriously.
- 47
What storage technology did UNIVAC use instead of punch cards?
Model answer
UNIVAC used magnetic tape to store data.
Explanation
Magnetic tape was a major change from earlier punched-card storage methods.
- 48
What were vacuum tubes, and what were their main disadvantages?
Model answer
Vacuum tubes were electronic components that represented on and off states, but they were large, inefficient, energy-intensive, and produced substantial heat.
Explanation
Early computers required thousands of vacuum tubes, making them difficult and expensive to operate.
- 49
How did transistors improve on vacuum tubes?
Model answer
Transistors performed similar switching functions on a much smaller scale using semiconductor materials.
Explanation
Their smaller size enabled devices such as handheld transistor radios.
- 50
What is an integrated circuit?
Model answer
An integrated circuit, or chip, links many tiny transistors together on a small board to perform one or more tasks.
Explanation
Integrated circuits allowed computing components to become much smaller and more powerful.
- 51
Why did the development of integrated circuits matter for modern computing?
Model answer
They enabled millions of microscopic on/off transistors to be placed together, greatly increasing capability while reducing size.
Explanation
This technology remains central to modern processors and electronic devices.
- 52
What was significant about the Datapoint 2200?
Model answer
Introduced around 1970, it was identified as one of the first personal computers and included a built-in screen.
Explanation
It helped move computing away from large centralized systems toward personal devices.
- 53
What was the Altair 8800?
Model answer
The Altair 8800 was an early personal mini-computer kit that rivaled commercial models and could be assembled for home use.
Explanation
It made computer ownership more accessible to individuals rather than only large organizations.
- 54
How did Paul Allen and Bill Gates respond to the Altair 8800?
Model answer
They wrote software for the Altair using BASIC and formed Microsoft in 1975.
Explanation
The Altair created an opportunity for software development aimed at personal computers.
- 55
What was notable about the Apple I?
Model answer
The Apple I, developed by Steve Jobs and Steve Wozniak, was identified as the first computer with a single circuit board.
Explanation
It was an important early product in Apple's development of personal computers.
- 56
What enabled IBM personal computers to gain widespread professional adoption in the 1980s?
Model answer
They became smaller, more affordable, and functional enough for professional offices, while using Microsoft's MS-DOS.
Explanation
The IBM PC helped establish personal computers as standard business tools.
- 57
What is a graphical user interface?
Model answer
A graphical user interface, or GUI, lets users interact with icons and a pointer instead of entering every command as text.
Explanation
Apple's Lisa introduced an early GUI, which was later adopted by Microsoft Windows and Macintosh systems.
- 58
What was the purpose of a modem in early personal computing?
Model answer
A modem allowed a computer to connect to other computers over telephone lines.
Explanation
Modems provided an early method for accessing online services and the Internet.
- 59
What limitations did early dial-up Internet connections have?
Model answer
They used ordinary telephone lines, were very slow, reached about 56 kilobits per second, and were poorly suited for streaming video.
Explanation
The limitations of dial-up were reduced when broadband technologies such as cable and DSL became common.
- 60
Why did broadband help the Internet expand?
Model answer
Broadband connections were faster than dial-up and made activities such as richer web use and video streaming more practical.
Explanation
Cable and DSL services helped transform the Internet into a mainstream service.
- 61
How did smartphones change the role of computers after 2007?
Model answer
Smartphones placed many computer functions in a portable, battery-powered device that could be used while traveling.
Explanation
Users could send email, check information, play games, and perform other tasks without remaining at a desktop.
- 62
What is cloud computing?
Model answer
Cloud computing stores data and runs applications through networks of computers, usually maintained by a large provider with redundant backups.
Explanation
Cloud services allow users to access documents, pictures, videos, and applications without storing everything locally.
- 63
Why are redundant backups important in cloud computing?
Model answer
Redundant backups improve reliability by keeping additional copies of data in multiple locations.
Explanation
If one computer or location fails, another copy can preserve access to the user's information.
- 64
How do applications such as Google Docs illustrate cloud computing?
Model answer
They allow users to create and store documents through an online service rather than relying entirely on locally installed software.
Explanation
The application and data are accessed through networked computers in the cloud.
- 65
What historical pattern in computing does the movement toward cloud services illustrate?
Model answer
Computing has shifted from centralized systems to personal computers and then back toward network-based centralized services.
Explanation
The location of processing and storage has changed repeatedly as technology evolved.
- 66
What is Fortran?
Model answer
Fortran is a high-level programming language created by John Backus for IBM in 1954 and became an early commercially successful language.
Explanation
It was designed to make programming more practical than writing directly in machine code.
- 67
Why is Fortran still used in some organizations?
Model answer
Some older systems, especially large corporate or banking systems, still depend on it, making replacement expensive or impractical.
Explanation
Older languages can remain valuable because the systems built with them are difficult to replace.
- 68
What is COBOL?
Model answer
COBOL, or Common Business-Oriented Language, is an early user-friendly programming language designed for business computing.
Explanation
Grace Hopper led the team associated with its development, and it became an industry leader alongside Fortran.
- 69
What is Python commonly used for?
Model answer
Python is used in software development, scientific computing, data mining, machine learning, and artificial intelligence.
Explanation
Its broad use and relatively accessible syntax have made it popular in education and industry.
- 70
What is Java known for, and where is it used?
Model answer
Java is a widely used language designed for portability, often summarized as “write once, run anywhere”; it is used in Android applications and many large organizations.
Explanation
Java also appears in software such as Minecraft, OpenOffice, and parts of Gmail.
- 71
How does JavaScript differ from Java?
Model answer
JavaScript is a lightweight scripting language commonly used to make web pages interactive, whereas Java is a more complex general-purpose language used for larger compiled applications.
Explanation
Despite their similar names, Java and JavaScript are separate languages with different common roles.
- 72
What is Kotlin used for?
Model answer
Kotlin is an alternative to Java used in applications and services such as Pinterest, Netflix, and Uber.
Explanation
It was presented as a newer language that some developers consider more efficient than Java for certain applications.
- 73
What is C++ used for?
Model answer
C++ is a powerful, relatively complex language used in systems and applications such as Microsoft Windows and Google Chrome.
Explanation
Its performance and capabilities continue to make it valuable for demanding software.
- 74
What is C# commonly associated with?
Model answer
C# is used with Microsoft's .NET platform and the Unity game engine, as well as for custom business applications.
Explanation
It is common in large organizations and in software development for games and internal tools.
- 75
Why can older programming languages such as Perl and Fortran remain valuable?
Model answer
Organizations may still depend on older systems and find replacing them too expensive or disruptive.
Explanation
Therefore, programmers who maintain legacy systems can remain in demand even when a language is no longer fashionable.
- 76
What is Swift used for?
Model answer
Swift is used to develop software for Apple's platforms, including macOS, iOS, and watchOS.
Explanation
It is particularly relevant for developers working within the Apple ecosystem.
- 77
What are Rust's main characteristics and potential applications?
Model answer
Rust is a relatively difficult but highly efficient low-level language that may be useful for demanding applications such as virtual reality.
Explanation
Its efficiency makes it potentially valuable where substantial processing power is required.
- 78
What is Go designed to handle particularly well?
Model answer
Go is designed to use the capabilities of multi-core processors efficiently.
Explanation
This makes it potentially useful for games and highly analytical programs.
- 79
What role does HTML5 play in web development?
Model answer
HTML5 provides the basic structure and content of web pages and works with CSS and JavaScript.
Explanation
It helps organize what appears on the web, while CSS handles presentation and JavaScript adds interaction.
- 80
What is Angular?
Model answer
Angular is a client-side JavaScript framework used to build interactive web applications.
Explanation
It was introduced by Google and is used by organizations such as UPS, E*TRADE, and AT&T.
- 81
What is Ruby on Rails?
Model answer
Ruby on Rails is a web application framework used to build applications that operate through websites.
Explanation
It serves a role similar to other web frameworks and has been used by services such as Kickstarter and GitHub.
- 82
What is SQL used for?
Model answer
SQL is database technology used to store and manipulate information.
Explanation
Because databases are central to many applications, SQL remains an important computing skill.
- 83
How does PHP relate to databases?
Model answer
PHP can be used to interact with databases such as MySQL.
Explanation
It helps web applications retrieve, modify, and work with stored information.
- 84
What are technology stacks used for?
Model answer
Stacks combine technologies used to develop and operate web applications.
Explanation
Examples mentioned include MEAN and LAMP, which provide combinations of tools for applications delivered through the web.
- 85
Why is reliable code increasingly important?
Model answer
As software controls aircraft, vehicles, medical procedures, and military systems, errors in code can directly affect human safety and lives.
Explanation
Greater dependence on automated systems requires code to be accurate, dependable, and carefully tested.
- 86
What is artificial intelligence in the context of the presentation?
Model answer
Artificial intelligence refers to computer systems that can perform tasks involving analysis, decision-making, or problem-solving that traditionally required human thinking.
Explanation
The presentation connects AI with machine learning and increasingly autonomous systems.
- 87
How can machine learning change the role of computer systems?
Model answer
Machine learning can allow systems to become more capable by learning from data and improving their ability to solve problems.
Explanation
This differs from systems that only follow fixed instructions supplied in advance.
- 88
Why must AI systems include safeguards?
Model answer
Safeguards are needed to reduce harmful behavior and manage the risks created when software makes decisions affecting people.
Explanation
The presentation emphasizes that good code and protective controls are necessary as automated systems become more powerful.
- 89
How can computer systems both reduce and preserve bias?
Model answer
Computers can analyze problems without human emotion or personal judgment, but their results may still reflect biases built into their data or original code.
Explanation
The neutrality of computation does not automatically eliminate bias introduced by programmers or training information.
- 90
Why is coding presented as a growing career field?
Model answer
The increasing use of software, automation, cloud services, and artificial intelligence creates continuing demand for people who can develop and maintain code.
Explanation
The presentation describes a large gap between the number of computing-related jobs and the number of qualified graduates.
- 91
What personal qualities may help someone succeed in coding?
Model answer
Concentration, logical thinking, and the ability to work carefully with code can help someone succeed in the field.
Explanation
The material notes that coding can be difficult because of its logical demands and often requires sustained focus.
- 92
Why can learning one programming language make it easier to learn another?
Model answer
Programming languages often share underlying logic, theories, and some similar commands.
Explanation
Once a learner understands fundamental programming concepts, transferring those skills to another language becomes easier.

Ask anything
We've read this whole study set, so questions about it get the best answers.