UNIHIVE

Study Hub UNIPORT ENG 213.1

ENG 213.1 · Computer Programming for Engineers

Computers, computing and engineering

What a computer does, its parts, and how engineers use computing for calculation, design, simulation and control.

Our notes

2 min read

What a computer is

A computer is an electronic machine that accepts data (input), processes it by following stored instructions (a program), stores data and results, and gives output. It works very fast and accurately but only does what the program says.

Parts of a computer system

PartRoleExamples
Input devicesbring data inkeyboard, mouse, sensors, scanners
Central processing unit (CPU)control unit + arithmetic logic unit; runs instructionsIntel, AMD, ARM chips
Main memory (RAM)holds the running program and its data; lost when power goes8 GB RAM
Storagekeeps files permanentlySSD, hard disk, flash drive, cloud
Output devicesshow or send resultsscreen, printer, plotter, actuators
Softwareprogramsoperating system, compilers, applications

Hardware and software

  • System software: operating systems (Windows, Linux, Android), compilers, utilities.
  • Application software: spreadsheets, CAD packages, simulation tools, your own programs.

Data in a computer

Everything is stored as binary (0 and 1). 8 bits = 1 byte. Integers are stored exactly within a range; real numbers are stored in floating point with limited precision (about 7 significant digits for single precision, 15-16 for double). This matters for engineering accuracy.

How engineers use computing

UseExamples
Calculationbeam deflections, pipe flow, load flow in power systems
Design (CAD)drawings, 3D models
Analysis and simulationfinite element stress analysis, computational fluid dynamics, circuit simulation
Data acquisitionlogging temperatures and pressures in a plant or lab
ControlPLCs and microcontrollers running machines, robots
Optimisationchoosing the cheapest safe design
Documentation and communicationreports, spreadsheets, project scheduling

Why engineers still write programs

Ready-made packages cannot do everything. A short program can repeat a calculation thousands of times, test many design options, process lab data, or solve an equation that has no neat formula. Fortran ("FORmula TRANslation", first released by IBM in 1957) was designed for exactly this kind of numerical work and is still used in weather forecasting, CFD and structural codes.

Exams usually ask

  • Describe the components of a computer system.
  • Discuss the uses of computers in engineering.

Common mistake

Thinking the computer "understands" the problem. It only follows instructions; a wrong formula in the program gives wrong answers very fast.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

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.

All ENG 213.1 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.