0% found this document useful (0 votes)
35 views

Introduction To Computer Basic and Programming

The document provides an introduction to basic computer concepts and programming, defining a computer as an electronic machine that can store and organize information to perform operations. It describes the core components of a computer system including hardware, software, and how a computer processes instructions. Additionally, it covers fundamental programming concepts such as languages, compilers, procedural versus object-oriented programming, and different types of software.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

Introduction To Computer Basic and Programming

The document provides an introduction to basic computer concepts and programming, defining a computer as an electronic machine that can store and organize information to perform operations. It describes the core components of a computer system including hardware, software, and how a computer processes instructions. Additionally, it covers fundamental programming concepts such as languages, compilers, procedural versus object-oriented programming, and different types of software.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 11

Introduction to Computer Basic and Programming

Dream Land School

Presenter By----
Mr. Manab Kumar Das
Fundamental concept :

COMPUTER: Common Operating Machine Purposely used for Technological and Educational Research

What is COMPUTER?

It is an electronic machine where we can store the information in a organize


way as we can easily retrieve or update the information or we can say
a computer is a machine that can be instructed to perform of arithmetic or
logical operations by giving some set of input with the help of
some programming.

Components of computer system:

1. Hard ware component (Input and output devices, memory etc.)


2. Software components ( System, application and utility software)
How Computer process the instructions?
What is Language?
Language is nothing but a way of communication or information exchange
procedure between two different entities.

What is program?
Programs are the set of instructions given by a programmer to the computer in
high level language and get a desired output. Any programming language uses
a compiler to translate the high level program into machine code before
executing any instructions.
  Compute (A+B)*C
Ins-1: sum=A+B
Ins-2: multiplication=sum*C

What is a Compiler?
  Compiler is a computer program that reads a program written in one language,
which is called the source language, and translates it in to another language,
which is called the target language. Most often, the source language is a high
level language and the target language is a low level language or machine.
How a Computer Solves a Problem through any programming Language?

Solving a problem on a computer involves the following activities:

 Step-1. Define the problem.


Step-2. Analyze the problem.
Step-3. Develop an algorithm for solving the problem.
Step-4. Write the computer program that implements the algorithm.
Step-5. Test and debug to find the errors in the program.
Step-6. Execute the program.

Types of Programming Language

1. Procedural Oriented Programming Language (C, Pascal etc.)


2. Object Oriented Programming Language ( JAVA, C++, Python etc.)
Difference between Procedural and Objected oriented programming Language ?

Key Object Oriented Programming Procedural Oriented Programming


(OOP) (POP)
 
Definition Object-oriented Programming is a On other hand Procedural Oriented
programming language that uses Programming is a programming language
classes and objects to create models that follows a step-by-step approach to
based on the real world environment. break down a task into a collection of
variables and through a sequence of
instructions.
Access In OOPs access modifiers are On other hand no such modifiers are
modifiers introduced namely as Private, public, introduced in POP.
and Protected.

Security Due to data hiding property OOPs is On other hand POP is less secure as
more secure than POP. compare to OOPs.

Complexity Here new data objects can be created Here data adding process is not simple I
easily from existing objects so program POP.
modification is very easy.
 Example-1 : How execute a program in procedural language (C) and Object Oriented Programming

#include <h>
void main() stdio.
{
int length, width, area;
printf("Enter length of two side\n: ");
scanf("%d%d", &length,&width);
area = a * b;
printf("\nArea of square is %d\n", area);
}

--------------------------------------------------------------------------------------------------
//import.java.lang

class AreaOfRectangle2
{
public static void main (String[] args)
{
int length = 5;
int width = 10;
int area = length*width;
System.out.println("Area of Rectangle is:"+area);
}
}
Program editor,
where we write
down the
source code

Output Screen
What is Operating System?
An operating system acts as an intermediary between the user of a
computer and computer hardware. The purpose of an operating
system is to provide an environment in which a user can execute
programs in a convenient and efficient manner.  An operating system
is software that manages computer hardware.
Function of Operating System

1. System Performance
2. Memory Management
3. Resource Allocation
4. Processor Management
5. File Management 
6. Resource and Information Searing
What is Software?
Software is a set of programs, which is designed to perform a well-defined
function. Where as A program is a sequence of instructions written to solve a
particular problem.

Different types of Software


• Application Software. ...
• System Software. ...
• Programming Software.
• Utility Software

You might also like