Gw Basic Programs For 10th Class
Notes For Computer Science 10th Class BISE. What are modes of BASIC? Ans: GW BASIC operates in two Modes 1. It is used for typing a program in BASIC. Jun 08, 2016 Problem solving In GW Basic when we write a computer program GW BASIC, our main task is to solve the problem with the help of computer.. The procedure in w.

Problem solving In GW Basic when we write a computer program GW BASIC, our main task is to solve the problem with the help of computer. The procedure in which we write the program is called programming.
Problem solving is not a single procedure is it process which contain many task in it Why we use flow chart in GW Basic Now here we will see that what kind of symbol use and their functionality also.With the help of flow chart the programmer can easily find out the solution of a problem We simply can say that the representation of a program by using symbol is called flowchart. What is Terminal symbol: – This is the symbol that is used to show the starting and ending of a program for more just click on follwoing link.
Gw Basic Programs For 10th Class In Urdu

Using almost the same program you can find the Greatest number and the Smallest number. You just have to sort the array in ASCENDING order first, then the 1st element of array will be the smallest and the last element of array will be the greatest or largest element (because the array is already sorted and we know that the smallest element comes at the 1st position and largest element will be at the last position of array).
Code with some modification (highlighted text) is shown below: 10 DIM NUM(5) 20 FOR K=0 TO 4 30 INPUT NUM(K) 40 NEXT K 50 FOR I=1 TO 4 60 FOR J=0 TO 4-I 70 IF NUM(J) NUM(J+1) THEN LET TMP=NUM(J):NUM(J)=NUM(J+1):NUM(J+1)=TMP 80 NEXT J 90 NEXT I 100 PRINT 'NUMBERS IN ASCENDING ORDER ARE' 110 FOR H=0 TO 4 120 PRINT NUM(H) 130 NEXT H 140 PRINT 'THE SMALLEST ELEMENT IS ';NUM(0) 150 PRINT 'THE LARGEST ELEMENT IS ';NUM(4) 160 END Output.