Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Basic Word Nps

Basic Word Nps

Ratings: (0)|Views: 6|Likes:
Published by habeebschool6026

More info:

Published by: habeebschool6026 on Sep 17, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

06/16/2009

pdf

text

original

 
 10 CLS20 INPUT "Enter Your Name" ; NAM$ :CLS30 PRINT TAB(37) "Practical No. 1(A) " : PRINT TAB(36)"====================="40 PRINT TAB(25) "PRINTING YOUR NAME USING FOR-NEXTSTATEMENT"50 PRINT TAB(25) "*******************************************"60 PRINT:PRINT70 PRINT TAB(32) "SERIAL No." TAB(56) " NAME "80 PRINT TAB(32) "==========" TAB(56) " ===== " : PRINT90 FOR A = 1 TO 10100 PRINT TAB(36) A TAB(57) NAM$110 NEXT A120 ENDOk 10 CLS20 INPUT "ENTE YOUR NAME : " ; NAM$ : CLS30 PRINT TAB(39) "PRACTICAL No. 1(b) " : PRINT TAB(39)"======================": PRINT40 PRINT TAB(28) " PRINTING NAME USING IF THEN ELSESTATEMENT "50 PRINT TAB(28) " ****************************************** "60 PRINT:PRINT70 PRINT TAB(32) " SERIAL No. " ; TAB(56) " NAME "80 PRINT TAB(32) " ========== " ; TAB(55) " ====== "90 LET ADD = ADD + 1100 PRINT TAB(36) ADD ; TAB(58) NAM$110 IF ADD = 10 THEN END ELSE GOTO 90120 END 10 CLS20 PRINT TAB(36) " PRACTICAL No. 2 " : PRINT TAB(36) "====================== ": PRINT30 PRINT TAB(24) " SQUARE & CUBE OF FIRST TEN NATURALNUMBERS "40 PRINT TAB(24) " ****************************************** " :PRINT:PRINT50 PRINT TAB(29) "NUMBERS" , "SQUARE" , "CUBE" : PRINT60 FOR A = 1 TO 1070 LET SQU = A*A80 LET CUB = A*A*A90 PRINT TAB(30) A , SQU , CUB100 NEXT A110 END 
 
 10 CLS20 INPUT " ENTET ANY TABLE NUMBER " ; TBNO : CLS30 PRINT TAB(33) " PRACTICAL 3(a) " : PRINT TAB(33)"****************" : PRINT :PRINT40 PRINT TAB(23) " MULTIPLICATION OF TABLE UPTILL 10 TIMES "50 PRINT TAB(23) " ======================================= "60 PRINT : PRINT : PRINT70 PRINT TAB(34) " TABLE OF " ; TBNO : PRINT TAB(34)"**************" : PRINT80 FOR B = 1 TO 1090 ANS = TBNO * B100 PRINT TAB(35) TBNO ; "X" ; B "=" ; ANS110 NEXT B120 END 10 CLS20 INPUT " ENTER FIRST NUMBER " ; N130 INPUT " ENTER SECOND NUMBER " ; N240 INPUT " ENTER THIRD NUMBER " ; N350 INPUT " ENTER FOURTH NUMBER " ; N4 : CLS60 LET TOT = N1 + N2 + N3 + N470 LET AVG = TOT / 480 LPRINT TAB(34) "PACTICAL # 3(b)" : LPRINT TAB(33)"=================" : LPRINT90 LPRINT: LPRINT TAB(26) " AVERAGE OF FOUR GIVEN NUMBER "100 LPRINT TAB(25) " ****************************** " : LPRINT :LPRINT110 LPRINT TAB(26) " FIRST INPUTTED No. ------ " ; N1120 LPRINT TAB(26) " SECOND INPUTTED No. ------ " ; N2130 LPRINT TAB(26) " THIRD INPUTTED No. ------ " ; N3140 LPRINT TAB(26) " FOURTH INPUTTED No. ------ " ; N4150 LPRINT : LPRINT : LPRINT160 LPRINT TAB(29) " TOTAL IS -------- " ; TOT170 LPRINT TAB(29) " AVERAGE IS -------- " ; AVG180 END GIVEN NUMBERS IN ASCENDING ORDER 
 
********************************* 10 CLS20 PRINT TAB(34) "PRACTICAL # 4(a)" : PRINT TAB(34)"*****************" : PRINT30 PRINT : PRINT TAB(27) " GIVEN NUMBERS IN ASCENDINGORDER "40 PRINT TAB(27) " *********************************" : PRINT:PRINT50 FOR A = 3 TO 28 STEP 560 PRINT TAB(41) A70 NEXT A80 END GIVEN NUMBERS IN DESCENDING ORDER **********************************10 CLS20 PRINT TAB(34) "PRACTICAL # 4(b)" : PRINT TAB(34)"*****************" : PRINT30 PRINT : PRINT TAB(27) " GIVEN NUMBERS IN DESCENDINGORDER "40 PRINT TAB(27) " **********************************" : PRINT:PRINT50 FOR A = 28 TO 3 STEP -560 PRINT TAB(41) A70 NEXT A80 END 5 CLS6 PRINT TAB(34) "PRACTICAL # 5" : PRINT TAB(34)"*****************" : PRINT10 REM *** THIS PROGRAMS PRINTS MARK SHEET ***30 INPUT " ENTER STUDENT NAME ----- " ; SNAME$40 INPUT " ENTER STUDENT'S FATHER'S NAME ----- " ; N$50 INPUT " ENTER STUDENT ROLL NUMBER ----- " ; RNO60 INPUT " ENTER STUDENT CLASS ----- " ; CLASS$70 INPUT " ENTER CHEMISTRY MARKS ----- " ; CHEM80 INPUT " ENTER PAK. STUDIES MARKS ----- " ; PKST90 INPUT " ENTER COMPUTER STUDIES MARKS ----- " ; COMST100 INPUT " ENTER SINDHI MARKS ----- " ; SINDI110 INPUT " ENTER ENGLISH MARKS ----- " ; ENG120 LET TM = CHEM + PKST + COMST + SINDI + ENG130 LET PERCENT = TM/500 * 100140 CLS150 PRINT TAB(30) " PRACTICAL # 5 " : PRINT TAB(30)"****************" : PRINTPRINT

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->