Showing posts with label flowchart. Show all posts
Showing posts with label flowchart. Show all posts

Monday, August 22, 2011

Web Publishing And Imlementation of PPT


Programming Practices & Techniques: Chapter-3

Q1. What is Boolean Algebra?
Q2. What approaches are followed to develop a truth table?
Q3. Truth table is used for what purpose?
Q4. Explain the more widely used techniques in input editing.
Q5. How an error message can be displayed when a sequence error or invalid data is fund?
Q6. What techniques are used to detect end of data?
Q7. Develop the truth table for the following expressions:
(A)   (NOT A OR B) OR C (B) A AND (B AND NOT C)

Q8.  Suppose a list of student records (roll, name, GPA, passing year) is given in a file. Find those students whose GPA is 5.0 and passing year is 2010. Define the structure chart and pseudo code.
Q9. Assume that the file being processed contains records of 500 students with the following Characteristics:

Characteristics:                                         Number
CGP<5                                                         350
Passing year=2010                                  250

Which comparison you will do first according to question no 8 & why?

Programming Practices & Techniques: Chapter 4

Q1. What is decision table?
Q2. What are the two problems in decision table?
Q3. Explain redundancy problems of decision table with example.
Q4. Explain contradiction problem of decision table with example.
Q5. Describe extended entry decision table with example.
Q6. A shoe company wants a list of Shoe number in descending order for females of size 6 and color black. You have to prepare the following:
a) Truth table b) Structure Chart c) Pseudo code d) Flowchart e) Decision table

Saturday, August 20, 2011

Computer programming

What is Programming?
A computer program consists of a group of instructions for a computer  that cause it to perform a desired task. 
The computer program is a means to an end. The end will normally be defined as information that is a needed to solve a problem. The programming process is therefore, a problem-solving process, 

and it consists of the following activities:
      Defining the problem
      Preparing an algorithm
      Preparing a program flowchart
      Coding the program
      Debugging and Testing
      Documenting
Defining the Problem:
The definition of the problem begins with a statement of the desired output. Unless this statement is correct and clear, all succeeding activities will be of doubtful value. The statement should be in writing so that misunderstandings can be minimized.
Preparing an Algorithm:
Once the problem has been defined, we can prepare an algorithm (a description of the sequence of steps required to solve a problem). In defining an algorithm that will work on a computer, we must consider the computer’s limited capabilities:
# A computer can perform arithmetic operations (usually limited to addition, subtraction, multiplication, and division).
# It can compare two things and on the basis of the result of the comparison, choose among alternative courses of action.
# It can move data about in its memory
# The computer can also input data and output result.