Introduction to Computing

Chapter 1
Computing Foundations and Digital Literacy

Bachelor Program in Mechatronics Engineering
Introduction to Computing   •   Bachelor

Computing Foundations and Digital Literacy

Introduction

Computing is the study and practical use of machines, algorithms, data, and communication systems to represent, process, store, and exchange information. For mechatronics engineers, computing is not limited to programming. It includes the digital systems that connect sensors, controllers, actuators, manufacturing equipment, engineering software, databases, and human users.

A modern automated production cell illustrates this integration. Sensors measure position, temperature, or force; a controller processes those measurements; software determines a response; actuators move or adjust machinery; and a network transfers data to supervisory systems. Understanding the relationship among these elements is essential before studying microcontrollers, programmable logic controllers, robotics, computer-aided engineering, or artificial intelligence.

Digital literacy is the ability to use digital technologies effectively, critically, securely, and ethically. It includes understanding computer terminology, evaluating information, managing data, communicating through digital systems, protecting credentials, and recognizing the limitations of automated decisions.

Learning Objectives

By the end of this chapter, students should be able to:

  1. Define fundamental computing terminology accurately.
  2. Describe major stages in the historical development of computing.
  3. Classify computers according to purpose, capacity, architecture, and use.
  4. Explain the components and purpose of an information system.
  5. Distinguish hardware, software, data, procedures, people, and networks.
  6. Explain how operating systems and application programs interact with hardware.
  7. Apply systems thinking to digital engineering workflows.
  8. Identify cybersecurity, ethical, and governance responsibilities.
  9. Relate computing foundations to contemporary mechatronics applications.

1. Fundamental Concepts and Terminology

A computer is a programmable electronic or electromechanical system that accepts input, processes it according to instructions, stores data, and produces output. The classic input–process–output model is useful, but it is incomplete unless storage, communication, feedback, and human interaction are also considered.

Data are recorded representations of facts, measurements, symbols, or observations. A temperature reading, an image, a binary value, and a production serial number are all data. Information is data interpreted in a context so that it has meaning. A temperature value becomes information when it is associated with a machine, time, unit, and operating limit. Knowledge involves understanding relationships and procedures that support action or judgment.

Computers represent information using bits. A bit has one of two logical states, conventionally represented as 0 or 1. A group of eight bits is a byte. Prefixes such as kilobyte, megabyte, and gigabyte describe storage capacity, although decimal and binary conventions must be distinguished. In SI usage, 1 kilobyte is commonly 1,000 bytes; in binary measurement, 1 kibibyte is 1,024 bytes.

A program is a sequence of instructions that directs a computer. An algorithm is a finite, ordered procedure for solving a problem or performing a task. An algorithm may be implemented as software, but an algorithm is an abstract method rather than a particular code listing. A programming language provides rules for expressing algorithms in a form that can be translated into machine-executable instructions.

The central processing unit (CPU) executes instructions and performs operations. It commonly includes an arithmetic and logic unit, control circuitry, registers, and interfaces to memory. Random-access memory (RAM) holds instructions and data currently being used. RAM is normally volatile: its contents are lost when power is removed. Non-volatile storage, such as solid-state drives or magnetic disks, retains data without continuous power.

An operating system (OS) manages hardware resources and provides common services for application programs. Examples of its responsibilities include process management, memory management, file management, device control, user accounts, and security enforcement. An application such as a computer-aided design package uses operating-system services rather than directly controlling every hardware component.

A network connects computing devices so that they can exchange data and share resources. The Internet is a global interconnection of networks. The World Wide Web is a service that operates over the Internet using technologies such as web browsers, web servers, and HTTP. These terms are related but not synonymous.

2. Historical Development of Computing

The history of computing reflects a gradual movement from manual calculation to programmable, networked, and intelligent systems.

Early tools such as counting boards and the abacus supported arithmetic. Mechanical calculators later used gears and levers. In the nineteenth century, Charles Babbage proposed the Difference Engine and Analytical Engine. The Analytical Engine contained ideas analogous to a processor, memory, input, and output, although it was not completed as a practical general-purpose computer. Ada Lovelace’s notes on the Analytical Engine are often recognized as an early example of computer programming concepts.

Electromechanical systems, including relay-based machines, were followed by electronic computers using vacuum tubes during the 1940s. These machines were large, expensive, energy-intensive, and difficult to maintain. The invention of the transistor provided smaller, more reliable, and more efficient switching devices. Integrated circuits then placed many electronic components on a single semiconductor chip.

The microprocessor integrated much of the central processing unit onto one chip. This development enabled personal computers, embedded controllers, and later mobile devices. As processing, memory, and communication became inexpensive, computing moved into vehicles, appliances, industrial equipment, medical devices, and manufacturing systems.

A simplified historical sequence is:

PeriodDominant developmentMain consequence
Early historyManual and mechanical calculationStructured arithmetic
1940s–1950sVacuum-tube electronic computersHigh-speed numerical processing
1950s–1960sTransistors and early integrated circuitsGreater reliability and reduced size
1970s–1980sMicroprocessors and personal computersWider access to programmable computing
1990s–2000sInternet and the WebGlobal communication and information sharing
2010s–presentCloud, mobile, embedded, and AI systemsUbiquitous and connected computing

Historical progress is not simply a story of faster processors. It also involves improved software, standards, interfaces, networks, data practices, and social institutions. A technically powerful computer has little practical value without appropriate programs, reliable data, trained users, and a valid purpose.

3. Classifying Computers

Computers can be classified in several ways, and no single classification is sufficient for every purpose.

3.1 Classification by purpose

A general-purpose computer can execute many types of programs, such as a desktop workstation or laptop. A special-purpose computer is designed for a narrower task. An embedded motor controller, digital thermostat, or automotive airbag controller is special-purpose, although it may perform several related functions.

3.2 Classification by scale and capacity

Personal computers support individual users. Workstations provide enhanced processing or graphics capability for engineering and scientific applications. Servers provide services to other computers, such as file storage, databases, authentication, or web delivery. Mainframes support large-scale transaction processing and many simultaneous users. Supercomputers are optimized for extremely demanding scientific or engineering calculations.

These categories overlap. A modern cloud platform may combine thousands of ordinary servers to provide capabilities associated with very large systems. Therefore, capacity should be evaluated using measurable characteristics such as processing performance, memory, storage, reliability, scalability, and network throughput rather than labels alone.

3.3 Classification by architecture and application

An embedded system is a computing system integrated into a larger product or process. It often has limited resources, a defined function, and requirements for predictable timing. A real-time system must respond within specified timing constraints. In a hard real-time system, missing a deadline may cause unacceptable failure; in a soft real-time system, a late response degrades performance but may not be catastrophic.

A parallel computer performs parts of a problem simultaneously using multiple processing elements. A distributed system uses multiple networked computers that cooperate, often across locations. A cyber-physical system combines computation, communication, and physical processes through sensing and actuation. Industrial automation, autonomous vehicles, and smart energy systems are examples.

4. Information Systems and Systems Thinking

An information system is an organized combination of people, processes, data, hardware, software, and communication technologies that collects, transforms, stores, and distributes information. It is broader than a computer program.

A manufacturing information system may include sensors, programmable logic controllers, production databases, operator interfaces, maintenance procedures, network infrastructure, and personnel. Its purpose may be to coordinate production, monitor quality, support maintenance, and provide traceability.

The main components are:

ComponentRole in an information systemEngineering example
PeopleOperate, maintain, design, and govern the systemTechnician, operator, engineer
ProceduresDefine how work and decisions are performedCalibration procedure
DataRepresent observations, states, and recordsVibration measurements
HardwareSense, compute, store, display, and communicateSensor, PLC, server
SoftwareImplements logic and user functionsControl program, database application
NetworksTransfer data among componentsIndustrial Ethernet

Systems thinking examines a system as a set of interacting elements rather than isolated parts. It asks: What is the system boundary? What are the inputs and outputs? Which components depend on one another? Where are feedback loops? What constraints and failure modes exist?

A control system demonstrates feedback. A sensor measures an actual output, a controller compares it with a desired value, and an actuator changes the physical process. The result is measured again. This loop can improve accuracy, but it can also create instability if sensing, computation, actuation, or timing is poorly designed.

Systems thinking also distinguishes functional requirements from non-functional requirements. A functional requirement states what a system must do, such as detect an object and stop a conveyor. Non-functional requirements state qualities or constraints, such as response time, safety, availability, maintainability, security, or energy consumption.

5. Hardware–Software Relationships

Hardware and software are interdependent. Hardware provides physical resources; software provides instructions and abstractions that use those resources. Neither is sufficient by itself for most useful computing tasks.

A typical execution path is:

  1. An application requests a service.
  2. The operating system interprets the request and manages permissions and resources.
  3. Device drivers translate general commands into device-specific operations.
  4. Hardware performs computation, storage, sensing, or communication.
  5. Results return through the operating system to the application or user.

A device driver is software that enables an operating system to communicate with a particular hardware device. Firmware is software stored in non-volatile memory that provides low-level control of a device. The distinction between firmware and software is practical rather than absolute; firmware is generally closely tied to hardware and updated less frequently.

The relationship can be represented as layers:

Computing system layers Users and engineering processes Application software Operating system and drivers Firmware and runtime environment Processors, memory, devices, networks
Layered relationship between users, applications, operating systems, firmware, and hardware
Figure: Layered relationship between users, applications, operating systems, firmware, and hardware

Figure: Abstraction layers connecting engineering users and applications to computing hardware.

Abstraction reduces complexity. An engineer can save a file without knowing the electrical states of a storage device. However, abstraction can hide important limitations. A software application may appear to respond instantly on a desktop but fail to meet timing requirements on an embedded controller. Engineers must therefore understand both the benefits and boundaries of abstraction.

6. Digital Workflows in Engineering

A digital workflow is a connected sequence in which information is created, transformed, verified, communicated, and archived. A typical mechatronics workflow may include requirements definition, system modeling, component selection, programming, simulation, fabrication, testing, deployment, monitoring, and maintenance.

Data should retain its context throughout the workflow. Important metadata include units, coordinate systems, timestamps, sensor identity, revision number, calibration status, and responsible person. Without metadata, a numerical value may be impossible to interpret reliably.

Version control supports traceability by recording changes to source code, design files, configuration, and documentation. A good workflow separates development, testing, and production environments. It also includes backups, change approval, verification, and rollback procedures.

A digital thread links information across lifecycle stages. For example, a requirement for positioning accuracy can be connected to a CAD design, controller settings, test data, maintenance history, and acceptance report. Such connections reduce duplicated data entry and improve accountability.

7. Digital Literacy, Cybersecurity, and Ethics

Digital competence includes critical evaluation. Users should question whether data are complete, current, representative, and obtained through valid methods. A graph may be visually persuasive while using misleading scales or omitting relevant cases. An AI-generated answer may be fluent but incorrect, biased, or unsupported.

Cybersecurity protects confidentiality, integrity, and availability. Confidentiality prevents unauthorized disclosure; integrity protects data and systems from unauthorized alteration; availability ensures that authorized users can access services when required. Industrial systems also require safety considerations because a cyber incident may cause physical harm.

Basic practices include unique passwords, multi-factor authentication, least-privilege access, timely updates, tested backups, secure configuration, network segmentation, phishing awareness, and incident reporting. Safety-critical systems should not rely on a single unverified digital signal or an untested software update.

Ethical engineering requires attention to privacy, accessibility, fairness, accountability, sustainability, and professional competence. Data collected from workers or users should have a legitimate purpose and appropriate protection. Automated decisions should be explainable enough for affected stakeholders to challenge errors. Engineers remain responsible for systems they design; responsibility cannot be transferred simply by claiming that a computer or AI system produced the result.

8. Contemporary Applications in Mechatronics

Computing is central to:

  • Robotics: motion planning, kinematic computation, sensing, and control.
  • Industrial automation: PLC logic, human–machine interfaces, supervisory control, and production databases.
  • Digital twins: computational models linked to data from physical assets.
  • Predictive maintenance: analysis of vibration, temperature, current, or acoustic signals to estimate equipment condition.
  • Computer vision: image acquisition and classification for inspection and guidance.
  • Autonomous systems: sensor fusion, localization, planning, decision-making, and safe actuation.
  • Additive manufacturing: digital models, slicing software, machine control, and process monitoring.
  • Internet of Things: networked sensors and devices that exchange data with local or cloud services.

Artificial intelligence is useful when patterns are difficult to specify with fixed rules, but it introduces risks. Training data may be incomplete or biased; models may fail under conditions unlike their training examples; and performance may be difficult to explain. In engineering, AI should be validated against defined requirements, monitored after deployment, and combined with safeguards and human oversight where consequences are significant.

Applied Case: Digitizing a Small Conveyor Inspection Cell

Background

This illustrative case concerns a small manufacturing cell that conveys molded components past a camera. An operator previously inspected parts manually and recorded results on paper.

Problem

The process produced inconsistent inspection decisions, offered limited traceability, and delayed identification of defective batches. Management proposed a camera-based digital inspection system.

Analysis

The system boundary included the conveyor, presence sensor, camera, lighting, controller, reject actuator, operator interface, production database, and network. Functional requirements included detecting each part, classifying it, rejecting defective parts, and recording a result. Non-functional requirements included safe operation, timing consistency, maintainability, cybersecurity, and data retention.

The team identified a critical dependency: classification was reliable only when the part was correctly positioned and illumination was stable. They also identified failure modes such as a blocked camera, network loss, sensor misalignment, and an actuator that failed to reject a part.

Approach and Solution

A sensor triggered image acquisition. The controller associated each image with a part identifier and passed it to the vision application. The application returned a classification and confidence value. The controller then activated the reject mechanism at the correct conveyor position. Results were stored with timestamps, product identifiers, software revision, and operator or maintenance status.

The design included a manual safe-stop circuit independent of the vision algorithm, a local fallback mode for temporary network loss, access control, daily inspection of lighting, and periodic validation using known reference parts. Operators were trained to investigate low-confidence results rather than treating every automated classification as unquestionably correct.

Outcome

The digital workflow improved traceability and reduced repetitive manual recording. More importantly, the project team could identify when the system was outside its validated operating conditions. The system did not eliminate human responsibility; it changed the human role from inspecting every part to supervising performance, responding to exceptions, and maintaining the process.

Learning Points

  1. An information system includes people, procedures, and governance, not only devices.
  2. Requirements must include timing, safety, security, and maintainability.
  3. Data quality depends on sensing conditions and metadata.
  4. Automation requires validation, monitoring, and failure planning.
  5. Digital transformation succeeds when it improves the whole process rather than merely adding software.

Challenges and Limitations

Computing systems have finite resources and imperfect interfaces. Sensors introduce noise and bias; networks introduce delay and possible failure; software contains defects; databases may contain inconsistent records; and users may misunderstand outputs. Faster computation does not automatically produce better decisions.

Interoperability is another challenge. Devices may use incompatible protocols, naming conventions, units, or data models. Legacy equipment may be reliable but difficult to connect securely. Cloud services can provide scalability but may introduce dependence on connectivity, vendors, jurisdictional rules, and external availability.

Digital systems also consume energy and materials. Data centers, electronic devices, and network infrastructure have environmental impacts. Sustainable engineering considers useful service, equipment lifetime, repairability, energy consumption, and responsible disposal.

Best Practices for Beginning Engineers

  • Define the system boundary and requirements before selecting technology.
  • Record units, assumptions, versions, and sources for engineering data.
  • Separate data, software, configuration, and documentation, while linking them through version control.
  • Test normal, abnormal, and failure conditions.
  • Use least-privilege access and maintain reliable backups.
  • Treat safety and cybersecurity as design requirements, not final inspections.
  • Verify AI or automated outputs against independent evidence.
  • Communicate limitations clearly to operators, managers, and other engineers.
  • Design for maintainability, interoperability, accessibility, and eventual decommissioning.

Chapter Summary

Computing provides the conceptual and technical foundation for modern mechatronics. Computers represent and process data through hardware and software, while information systems combine technology with people, procedures, networks, and organizational purposes. Computing developed from mechanical calculation to electronic, personal, networked, embedded, cloud, and AI-enabled systems. Computers may be classified by purpose, capacity, architecture, and application, but practical evaluation requires attention to performance, timing, reliability, scalability, and security.

Hardware and software operate through layers of abstraction, including applications, operating systems, drivers, firmware, and physical devices. Systems thinking helps engineers analyze boundaries, dependencies, feedback, requirements, and failure modes. Digital workflows require traceability, metadata, version control, verification, and lifecycle management. Digital literacy also includes cybersecurity, ethical judgment, critical evaluation of information, and responsible use of AI. In mechatronics, these foundations support robotics, industrial automation, inspection, predictive maintenance, digital twins, and cyber-physical systems.

Key Terms

Algorithm: A finite, ordered procedure for solving a problem.

Application software: Software designed to perform user or engineering tasks.

Bit: The smallest conventional unit of digital information, with a binary state.

Computer: A programmable system that processes, stores, and communicates information.

Cyber-physical system: A system combining computation, communication, sensing, and physical processes.

Data: Recorded representations of facts, measurements, symbols, or observations.

Digital literacy: The ability to use digital technologies effectively, critically, securely, and ethically.

Embedded system: A computer integrated into a larger product or process.

Firmware: Low-level software closely associated with hardware.

Hardware: The physical components of a computing system.

Information system: People, processes, data, hardware, software, and networks organized to produce useful information.

Operating system: Software that manages hardware resources and provides services to applications.

Program: Instructions expressed for execution by a computer.

Real-time system: A system whose correctness includes meeting specified timing constraints.

Systems thinking: Analysis of interacting components, relationships, boundaries, and feedback within a whole system.

Software: Programs and related instructions that direct computing operations.

Storage: Non-volatile or persistent recording of data and programs.

Version control: A method for recording and managing changes to digital files.

Review Questions

Short Answer Questions

  1. Distinguish data from information using an engineering example.
  2. What are the principal responsibilities of an operating system?
  3. Define an embedded system and provide one mechatronics example.
  4. Why are metadata important in an engineering digital workflow?
  5. Name the three objectives represented by confidentiality, integrity, and availability.

Long Answer Questions

  1. Explain the historical development of computing from mechanical calculators to contemporary cyber-physical systems.
  2. Compare general-purpose, special-purpose, embedded, distributed, and real-time computers.
  3. Explain the relationship among applications, operating systems, drivers, firmware, and hardware.
  4. Discuss how systems thinking improves the design of an automated manufacturing cell.
  5. Evaluate the benefits and limitations of AI in engineering applications.

Analytical / Application Questions

  1. Design a high-level information system for monitoring the vibration of an industrial motor. Identify people, procedures, data, hardware, software, networks, requirements, and likely failure modes.
  2. A camera-inspection system produces inconsistent results only during night shifts. Analyze possible causes involving data quality, hardware, software, procedures, and human factors, and propose a verification plan.
  3. An autonomous mobile robot loses network connectivity in part of a factory. Apply systems thinking to distinguish safety-critical functions from non-critical services and propose a safe fallback strategy.

Multiple Choice Questions with Answers

Question 1

Which statement best distinguishes data from information?

A. Data are always numerical, whereas information is always textual.

B. Data are recorded representations, whereas information is interpreted data with context and meaning.

C. Data are processed by hardware, whereas information is processed only by people.

D. Data are permanent, whereas information is always temporary.

Correct Answer: B. Data are recorded representations, whereas information is interpreted data with context and meaning.

Question 2

Which component normally manages memory, files, processes, and device access?

A. Operating system

B. Camera sensor

C. Application database

D. Actuator

Correct Answer: A. Operating system

Question 3

Which is the best example of an embedded system?

A. A general web search engine

B. A spreadsheet on a laptop

C. A motor controller integrated into a robotic arm

D. A printed maintenance manual

Correct Answer: C. A motor controller integrated into a robotic arm

Question 4

What is the principal purpose of metadata in an engineering data set?

A. To increase processor clock speed

B. To describe context such as units, time, source, and revision

C. To replace all validation testing

D. To convert hardware into software

Correct Answer: B. To describe context such as units, time, source, and revision

Question 5

Which statement about the Internet and the World Wide Web is correct?

A. They are exactly the same system.

B. The Web is a service that operates over the Internet.

C. The Internet is a single application within a web browser.

D. The Web can operate only without networks.

Correct Answer: B. The Web is a service that operates over the Internet.

Question 6

In a hard real-time system, failure to meet a specified deadline is generally treated as:

A. A cosmetic issue only

B. An acceptable improvement in performance

C. A potentially unacceptable system failure

D. Evidence that storage capacity is excessive

Correct Answer: C. A potentially unacceptable system failure

Question 7

Which cybersecurity objective protects data from unauthorized alteration?

A. Confidentiality

B. Integrity

C. Availability

D. Compression

Correct Answer: B. Integrity

Question 8

Which practice most directly improves traceability of design and program changes?

A. Deleting old versions immediately

B. Using version control with documented revisions

C. Avoiding metadata

D. Allowing anonymous administrative access

Correct Answer: B. Using version control with documented revisions

Question 9

Why should an AI-based engineering system be validated after deployment?

A. Because operating conditions and data may differ from training conditions.

B. Because AI systems cannot process any numerical data.

C. Because validation makes cybersecurity unnecessary.

D. Because automated systems never require requirements.

Correct Answer: A. Because operating conditions and data may differ from training conditions.

Question 10

A manufacturing information system includes sensors, software, procedures, operators, and databases. What does this demonstrate?

A. An information system is broader than a computer program.

B. Hardware is unnecessary in engineering systems.

C. Procedures cannot affect system performance.

D. Data have no relationship to people.

Correct Answer: A. An information system is broader than a computer program.

Introduction to Computing
Chapter 1 of 15