V.V.P Engineering College Programming for Problem Solving
CHAPTER NO: 1 INTRODUCTION TO COMPUTER AND PROGRAMMING
1 Explain block diagram of computer with all its components.
2 What is software? Explain Types of software.
C 3
4
5
What is hardware?
Explain types of languages in detail.
What is flow chart? Explain different symbols of flowchart.
6 Explain flowchart with suitable example.
7 Explain algorithm with example.
Q Explain block diagram of computer with all its components.
Q-1
Answer:
There are five main component of computer.
1) Input Device
2) CPU
3) Primary Memory
4) Secondary Memory
5) Output Device
Block diagram of computer is shown below.
Central Processing Unit (CPU)
ALU CU
Input Device Output Device
Primary Memory
(Ex. Keyboard, (Ex. Monitor,
(RAM, ROM)
Mouse etc.) Printer etc.)
Secondary Memory
(HDD, Pen drive etc.)
Chapter No: 1
, V.V.P Engineering College Programming for Problem Solving
1) Input Device:
• Input device is used to get the data from user.
• All the data from input devices must be entered into Primary Memory.
• When user enters data through keyboard, which are into user language must
be converted into binary language.
• So, Input device is bridge between user and computer.
• Example: keyboard, mouse, scanner, joy stick, light pen etc.
2) CPU:
• CPU – Central Processing Unit
• It is the brain of computer.
• CPU is divided into two main parts.
I) ALU
II) CU
CPU = ALU + CU
I) ALU – Arithmetic & Logical Unit
• As the name suggest it is used to perform arithmetic and logical
operation on data which is come from primary memory (RAM).
• Data is processed on ALU and generate the result which is again
transfer from ALU to RAM.
II) CU – Control Unit
• This unit does not take part into any calculation or operation.
• As the name, it is used to control the devices like input device,
output device and primary memory.
3) Primary Memory:
All the data, whether it will from input device or from secondary memory must
come into primary memory.
There are two types of primary memory:
I) RAM
II) ROM
I) RAM:
• RAM – Random Access Memory
Chapter No: 1
CHAPTER NO: 1 INTRODUCTION TO COMPUTER AND PROGRAMMING
1 Explain block diagram of computer with all its components.
2 What is software? Explain Types of software.
C 3
4
5
What is hardware?
Explain types of languages in detail.
What is flow chart? Explain different symbols of flowchart.
6 Explain flowchart with suitable example.
7 Explain algorithm with example.
Q Explain block diagram of computer with all its components.
Q-1
Answer:
There are five main component of computer.
1) Input Device
2) CPU
3) Primary Memory
4) Secondary Memory
5) Output Device
Block diagram of computer is shown below.
Central Processing Unit (CPU)
ALU CU
Input Device Output Device
Primary Memory
(Ex. Keyboard, (Ex. Monitor,
(RAM, ROM)
Mouse etc.) Printer etc.)
Secondary Memory
(HDD, Pen drive etc.)
Chapter No: 1
, V.V.P Engineering College Programming for Problem Solving
1) Input Device:
• Input device is used to get the data from user.
• All the data from input devices must be entered into Primary Memory.
• When user enters data through keyboard, which are into user language must
be converted into binary language.
• So, Input device is bridge between user and computer.
• Example: keyboard, mouse, scanner, joy stick, light pen etc.
2) CPU:
• CPU – Central Processing Unit
• It is the brain of computer.
• CPU is divided into two main parts.
I) ALU
II) CU
CPU = ALU + CU
I) ALU – Arithmetic & Logical Unit
• As the name suggest it is used to perform arithmetic and logical
operation on data which is come from primary memory (RAM).
• Data is processed on ALU and generate the result which is again
transfer from ALU to RAM.
II) CU – Control Unit
• This unit does not take part into any calculation or operation.
• As the name, it is used to control the devices like input device,
output device and primary memory.
3) Primary Memory:
All the data, whether it will from input device or from secondary memory must
come into primary memory.
There are two types of primary memory:
I) RAM
II) ROM
I) RAM:
• RAM – Random Access Memory
Chapter No: 1