MEG 202 · Basic Software Engineering
Our notes
2 min readWhat a computer is
A computer is an electronic machine that accepts input, processes it according to a stored program, stores data and produces output. It is fast, accurate (given correct programs and data), tireless and programmable, but it has no judgment: "garbage in, garbage out".
Classification
- By data handled: digital (discrete values, nearly all modern computers), analogue (continuous quantities, such as old slide rules and mechanical integrators), hybrid.
- By size and power: supercomputers (weather forecasting, simulation), mainframes (banks, airlines), servers, personal computers (desktops, laptops), mobile devices and embedded systems (microcontrollers in cars, washing machines, engine control units, PLCs in factories).
Hardware
- Central processing unit (CPU): the control unit, the arithmetic and logic unit (ALU) and registers.
- Main memory: RAM (volatile, holds running programs and data) and ROM (non-volatile, holds start-up firmware).
- Secondary storage: hard disk drives (HDD), solid-state drives (SSD), flash drives, optical discs, cloud storage.
- Motherboard and buses connect the parts.
Peripherals
Devices attached to the computer:
- Input: keyboard, mouse, touchscreen, scanner, microphone, camera, sensors, barcode readers, data-acquisition cards (for strain gauges or thermocouples in a lab).
- Output: monitor, printer, plotter (engineering drawings), speakers, actuators.
- Input/output and storage: external drives, network cards, modems, USB devices.
They connect through ports (USB, HDMI, Ethernet) or wirelessly (Wi-Fi, Bluetooth), controlled by device drivers.
Software
- System software: the operating system (Windows, Linux, macOS, Android) manages hardware, files, memory and processes; utilities (antivirus, compression); language translators (compilers, interpreters).
- Application software: programs for users' tasks.
Applications in mechanical engineering
- CAD (computer-aided design: AutoCAD, SolidWorks) for drawings and 3-D models.
- CAE: finite element analysis (stress, heat), computational fluid dynamics.
- CAM and CNC machining from CAD models; 3-D printing.
- Spreadsheets and MATLAB/Python for calculations, data analysis and plots.
- Control and instrumentation: embedded controllers, SCADA in plants and pipelines.
- Maintenance management systems, project scheduling, and simulation of manufacturing lines.
Exams usually ask
- Define a computer and describe its main hardware units.
- Classify peripherals with examples.
- Discuss applications of computers in mechanical engineering.
Common mistake
Calling the whole system unit "the CPU". The CPU is the processor chip inside; the case holds many other parts.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Introduction to Computer Science, 1.1 Computer Science
(opens openstax.org in a new tab)
OpenStax, Introduction to Computer Science, 1.1 Computer Science, CC BY-NC-SA 4.0 · licence
-
Computer hardware
(opens en.wikipedia.org in a new tab)
Wikipedia, Computer hardware, CC BY-SA 4.0 · licence
-
Peripheral
(opens en.wikipedia.org in a new tab)
Wikipedia, Peripheral, CC BY-SA 4.0 · licence
-
NOUN CIT 104: Introduction to Computers
NOUN course book (PDF, about 3 MB). Hardware, software and packages.
(opens nou.edu.ng in a new tab)
-
OpenStax, Introduction to Computer Science (whole free textbook)
The whole book, free to read online or download as a PDF (the PDF is large: Wi-Fi).
(opens openstax.org in a new tab)
OpenStax, OpenStax, Introduction to Computer Science (whole free textbook), CC BY-NC-SA 4.0 · licence
Watch
-
M-02. Computer Peripherals and Hardware
24 min · ≈ 108 MB · about ₦61
(opens youtube.com in a new tab)
-
Introduction to Computer Hardware - The Physical Part of the Computer
4 min · ≈ 18 MB · about ₦10
(opens youtube.com in a new tab)
-
What Are Peripheral Devices of a Computer Definition, Examples & Types
5 min · ≈ 23 MB · about ₦13
(opens youtube.com in a new tab)
-
6. Computer Peripherals
6 min · ≈ 27 MB · about ₦15
(opens youtube.com in a new tab)
-
Laptop and Mobile Devices Hardware Components and Configuration | Computer Hardware #cisconetworking
1 h 3 min · ≈ 284 MB · about ₦159
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.