English, asked by donthulacky, 5 months ago

part - A
1) what is computer & explain it's betrifits?
2) List operators in c?
3) write about c'data types?
4) what es algorithm with an exomple?
5) what is flowchart with an example?
Part - B
with
С C​

Answers

Answered by nirankarkothere
0
  • Computer is an electronic data processing device which accepts and stores data input, processes the data input, and generates the output in a required format.

Advantages of Computers

Following list demonstrates the advantages of computers in today’s arena.

High Speed

Computer is a very fast device.

It is capable of performing calculation of very large amount of data.

The computer has units of speed in microsecond, nanosecond, and even the picosecond.

It can perform millions of calculations in a few seconds as compared to man who will spend many months for doing the same task.

2. Accuracy

In addition to being very fast, computers are very accurate.

The calculations are 100% error free.

Computers perform all jobs with 100% accuracy provided that correct input has been given.

3. Storage Capability

Memory is a very important characteristic of computers.

A computer has much more storage capacity than human beings.

It can store large amount of data.

It can store any type of data such as images, videos, text, audio and many others.

4. Diligence

Unlike human beings, a computer is free from monotony, tiredness and lack of concentration.

It can work continuously without any error and boredom.

It can do repeated work with same speed and accuracy.

5. Versatility

A computer is a very versatile machine.

A computer is very flexible in performing the jobs to be done.

This machine can be used to solve the problems related to various fields.

At one instance, it may be solving a complex scientific problem and the very next moment it may be playing a card game.

6. Reliability

A computer is a reliable machine.

Modern electronic components have long lives.

Computers are designed to make maintenance easy.

7. Automation

Computer is an automatic machine.

Automation means ability to perform the given task automatically.

Once a program is given to computer i.e., stored in computer memory, the program and instruction can control the program execution without human interaction.

8. Reduction in Paper Work

The use of computers for data processing in an organization leads to reduction in paper work and results in speeding up a process.

As data in electronic files can be retrieved as and when required, the problem of maintenance of large number of paper files gets reduced.

9. Reduction in Cost

Though the initial investment for installing a computer is high but it substantially reduces the cost of each of its transaction.

An operator is a symbol that tells the compiler to perform specific mathematical or logical functions. C language is rich in built-in operators and provides the following types of operators −

Arithmetic Operators

Relational Operators

Logical Operators

Bitwise Operators

Assignment Operators

Misc Operators

We will, in this chapter, look into the way each operator works.

Arithmetic Operators

The following table shows all the arithmetic operators supported by the C language. Assume variable A holds 10 and variable B holds 20 then −

Show Examples

Operator Description Example

+ Adds two operands. A + B = 30

− Subtracts second operand from the first. A − B = -10

* Multiplies both operands. A * B = 200

/ Divides numerator by de-numerator. B / A = 2

% Modulus Operator and remainder of after an integer division. B % A = 0

++ Increment operator increases the integer value by one. A++ = 11

-- Decrement operator decreases the integer value by one. A-- = 9

  • A data type specifies the type of data that a variable can store such as integer, floating, character, etc.
  • An algorithm is a set of well-defined instructions in sequence to solve a problem.

Step 1: Start

Step 2: Declare variables num1, num2 and sum.

Step 3: Read values num1 and num2.

Step 4: Add num1 and num2 and assign the result to sum.

sum←num1+num2

Step 5: Display sum

Step 6: Stop

  • A flowchart is simply a graphical representation of steps. It shows steps in sequential order and is widely used in presenting the flow of algorithms, workflow or processes. Typically, a flowchart shows the steps as boxes of various kinds, and their order by connecting them with arrows. ex of flow chart is show in upper image

and sorry for let answer

Attachments:
Similar questions