ITE 12 Topic1
ITE 12 Topic1
• Operating System (OS) – Software that Manages and Controls the computer Hardware
Ex: Linux, Windows, Mac, Unix
• Input and Output – allows user to interact with the computer by providing input.
Ex. Mouse, Keyboard, Monitor, Printer
• Central Processing Unit (CPU) - the "brain" of the computer, responsible for executing instructions
and performing calculations
Ex. Intel, AMD
Basic computer concepts
Computer Languages
• Also known as programming languages, are a means of communication between humans and computers.
Machine language - It consists of binary code (0s and 1s) that directly represents the instructions a computer’s
central processing unit (CPU) can execute.
High-Level Languages - High-level languages are designed to be more human-readable and easier to use than
low-level languages.
Scripting Languages - Used for automating tasks and building web applications.
Object-Oriented Languages - focus on modeling real-world objects as software objects.
Machine Learning and Data Science Languages - popular for statistical analysis and data science
Quantum Computing Languages - used for developing algorithms for quantum computers
Web Development Languages - HTML (HyperText Markup Language) and CSS (Cascading Style Sheets) are
essential for building web pages.
Database Languages - SQL (Structured Query Language) is used for managing and querying relational databases.
History of C Programming Languages
Flow Charting
Simple Complex
Pseudo - Coding
• A textual technique used to plan and outline the logic of a program using
human-readable language, typically in plain English or a simplified
programming language.
Example
Designing Algorithm
What is Algorithm?
C Programming
is a widely used and influential programming language known for its simplicity,
efficiency, and versatility. It serves as a foundation for many other programming
languages and has a long history in the world of computing
History
Characteristics:
•It is a middle-level language, combining high-level language features with low-level hardware access.
•C is known for its simplicity, which allows for efficient and concise code.
Introduction to C Programming
Key Features:
Portability:
C programs can be compiled and run on various computer platforms with minor modifications,
making it a portable language.
Efficiency:
C allows for low-level memory management and direct hardware access, making it highly efficient.
Extensibility:
C allows developers to write their own functions and libraries, extending its capabilities.
Wide Usage:
C is used in operating systems, embedded systems, game development, and many other applications.
Introduction to C Programming
Basic Syntax:
•C programs consist of functions, which are blocks of code that perform specific tasks.
•Variables are declared with a data type, such as int, float, or char.
Example Program:
• #include <stdio.h> - is a preprocessor directive that includes the standard input/output library.
• int main() - defines the main function, where program execution starts.
• printf("Hello, World!\n"); - prints the text "Hello, World!" to the console.
• return 0; - indicates a successful program completion.
Introduction to C Programming
Development Tools
• C programs can be written using a text editor and compiled using a C compiler.
Popular C compilers include GCC (GNU Compiler Collection) and Microsoft Visual C++.
https://www.online-ide.com/
Introduction to C Programming
Objective:
The objective of this assignment is to design a flowchart and create an algorithm for
a basic calculator that can perform addition, multiplication, division and subtraction operations.