Sunday, September 7, 2014

What is meant by programming language syntax? Is is essential to know the syntax to solve a problem in computer.? (Chapter 1)

Q. What is meant by programming language syntax? Is is essential to know the syntax to solve a problem in computer.?
Ans.
Programming language syntax refers to the rules of a programming language that are essential to code a program. These rule should be followed to code a program as error free. If we dont follow these rules, a kind of error known as syntax error occurs and the program does not meet the required solution.

What method should be adopted to solve complex problems? Describe briefly? (Chapter 1)

Q.What method should be adopted to solve complex problems? Describe briefly?
Ans.
To solve complex problems the method of top down design should be adopted.
The process of dividing a problem into sub problems is called 'top down design'. Also , it is known as divide and rule strategy.

What is mean by Analysis? What is its importance in problem solving process.(Chap.1)

Q.What is mean by Analysis? What is its importance in problem solving process.(Chap.1)
Ans.
The process of understanding the problem is known as analysis.  Problem analysis is very important step in solving the problem because without understanding the problem, its solution is not possible.
In this process i.e. analysis, the problem is divided into many pieces then all these sub problem or pieces are solved individually. In this way the process of solving the problem becomes very easy and simple. The process of dividing a problem into sub problems is called 'top down design'. Also , it is known as divide and rule strategy.
While analyzing a problem, following questions are of much significance.
  • How many solutions exist for the given problem.
  • What is the optimal solution.
  • Is the problem solvable on the computer.
  • What are the inputs and outputs.
  • How can a bigger problem be divided into sub problems.

What are the steps in problem solving process?(Chap.1)

Q. What are the steps in problem solving process?(Chap.1)
Ans: Following are the steps in problem solving process.
  1. Problem Identification
  2. Specify Requirements
  3. Analyse the Problem
  4. Design the algorithm and draw flowchart
  5. Write the program or coding
  6. Test and debug the program
  7. Implement the program
  8. Maintain and update the program
  9. Document the program

Saturday, February 12, 2011

Welcom

Aslam o Alaikum

Welcome to computerScience10th Class notes


br