- 74
- 115 780
PLK computer SIR
Nepal
Приєднався 9 чер 2020
Hi, its me PLK computer SIR.
Name Initials and Name initials with Surname using QBASIC | Grade-9 Computer Science
1. Write QBASIC Program to print initial letters of an entered name for example , P. L. K. for Purushottam Lal Karn.
Answer:
CLS
INPUT "ENTER FULL NAME";N$
N$ = LTRIM$(N$)
I$ = LEFT$(N$, 1)
FOR P = 1 TO LEN(N$)
C$ = MID$(N$, P, 1)
IF C$=" " THEN
I$ = I$ + ". " + MID$(N$, P + 1, 1)
END IF
NEXT P
PRINT I$+"."
END
__________________________________________________________________________
2. Write QBASIC Program to print the initials of a name with the surname For example, P. L. Karn for Purushottam Lal Karn.
Answer:
CLS
INPUT "ENTER FULL NAME";N$
N$ = LTRIM$(N$)
I$ = LEFT$(N$, 1)
FOR P = 1 TO LEN(N$)
C$ = MID$(N$, P, 1)
IF C$=" " THEN
I$ = I$ + ". " + MID$(N$, P + 1, 1)
END IF
NEXT P
FOR L= LEN(N$) TO 1 STEP-1
K$ = MID$(N$, L, 1)
B = B + 1
IF K$=" " THEN
J$ = J$ + RIGHT$(N$, B-2)
EXIT FOR
END IF
NEXT L
PRINT I$+J$
END
END
_______________________________________________________________
Answer:
CLS
INPUT "ENTER FULL NAME";N$
N$ = LTRIM$(N$)
I$ = LEFT$(N$, 1)
FOR P = 1 TO LEN(N$)
C$ = MID$(N$, P, 1)
IF C$=" " THEN
I$ = I$ + ". " + MID$(N$, P + 1, 1)
END IF
NEXT P
PRINT I$+"."
END
__________________________________________________________________________
2. Write QBASIC Program to print the initials of a name with the surname For example, P. L. Karn for Purushottam Lal Karn.
Answer:
CLS
INPUT "ENTER FULL NAME";N$
N$ = LTRIM$(N$)
I$ = LEFT$(N$, 1)
FOR P = 1 TO LEN(N$)
C$ = MID$(N$, P, 1)
IF C$=" " THEN
I$ = I$ + ". " + MID$(N$, P + 1, 1)
END IF
NEXT P
FOR L= LEN(N$) TO 1 STEP-1
K$ = MID$(N$, L, 1)
B = B + 1
IF K$=" " THEN
J$ = J$ + RIGHT$(N$, B-2)
EXIT FOR
END IF
NEXT L
PRINT I$+J$
END
END
_______________________________________________________________
Переглядів: 1 999
Відео
QBASIC String Pattern | Grade -9 Computer Science
Переглядів 8583 роки тому
QBASIC program to display: a BB ccc DDDD eeeee Answer:
Inspirational Short Story 1 | How to fly an aero plane | Little knowledge effect
Переглядів 4953 роки тому
Moral of the story: Little knowledge is dangerous.
HTML List | Ordered List | Unordered List | Definition List |
Переглядів 2423 роки тому
HTML List | Ordered List | Unordered List | Definition List | ►Subscribe : ua-cam.com/users/plkcomputersir #PLKcomputerSIR
Create a News Letter using Microsoft Word
Переглядів 1273 роки тому
How to Create News Letter using Microsoft Word. Subscribe PLK Computer SIR channel for more such videos.
1's and 2's Complement for Binary Subtraction
Переглядів 1,4 тис.4 роки тому
1's and 2's Complement for Binary Subtraction ►Subscribe : ua-cam.com/users/plkcomputersir
C program to find commission amount on the basis of sales amount
Переглядів 6 тис.4 роки тому
C program to find commission amount on the basis of sales amount ►Subscribe : ua-cam.com/users/plkcomputersir
C program to find profit or loss
Переглядів 2514 роки тому
C program to find profit or loss ►Subscribe : ua-cam.com/users/plkcomputersir
C program to find the middle number among three different numbers
Переглядів 8 тис.4 роки тому
C program to find the middle number among three different numbers ►Subscribe : ua-cam.com/users/plkcomputersir
C Program to test whether the supplied number is positive, negative or zero
Переглядів 1284 роки тому
C Program to test whether the supplied number is positive, negative or zero ►Subscribe : ua-cam.com/users/plkcomputersir
C program to find greatest among four numbers
Переглядів 1,2 тис.4 роки тому
C program to find greatest among four numbers ►Subscribe : ua-cam.com/users/plkcomputersir
C Program to find greatest || smallest among three numbers
Переглядів 1,1 тис.4 роки тому
C Program to find greatest || smallest among three numbers ►Subscribe : ua-cam.com/users/plkcomputersir
C Program to find smaller || greater among two numbers
Переглядів 4434 роки тому
C program to find smaller || greater among two numbers ►Subscribe : ua-cam.com/users/plkcomputersir
C program to check student is pass or fail in computer science if pass mark is 40
Переглядів 7824 роки тому
C program to check student is pass or fail in computer science if pass mark is 40
SEE Computer | Debug - QBASIC Program Correction | 2 Marks | Grade 10
Переглядів 2 тис.4 роки тому
SEE Computer | Debug - QBASIC Program Correction | 2 Marks | Grade 10
Grade 9 | Analytical QBASIC Program | 2 Marks
Переглядів 2 тис.4 роки тому
Grade 9 | Analytical QBASIC Program | 2 Marks
Grade 9 | Debugging of QBASIC Program | 2 Marks
Переглядів 8 тис.4 роки тому
Grade 9 | Debugging of QBASIC Program | 2 Marks
Grade 10 | Analytical QBASIC Program | 2 marks SEE
Переглядів 7474 роки тому
Grade 10 | Analytical QBASIC Program | 2 marks SEE
Output of QBASIC | Grade - 9 | PLK computer SIR
Переглядів 7 тис.4 роки тому
Output of QBASIC | Grade - 9 | PLK computer SIR
How to convert handwritten work in pdf || PLK computer SIR
Переглядів 7494 роки тому
How to convert handwritten work in pdf || PLK computer SIR
C Program to test given number is even or odd || divisible by 7 or not
Переглядів 1864 роки тому
C Program to test given number is even or odd || divisible by 7 or not
C Program to convert minutes into hour and minutes
Переглядів 5 тис.4 роки тому
C Program to convert minutes into hour and minutes
C Program to find remainder of two numbers
Переглядів 9304 роки тому
C Program to find remainder of two numbers
C Program to find square of a given number
Переглядів 3454 роки тому
C Program to find square of a given number
MS Access | Table | Query | Form | Report
Переглядів 3,4 тис.4 роки тому
MS Access | Table | Query | Form | Report
How to join and upload assignments in Google Classroom
Переглядів 3054 роки тому
How to join and upload assignments in Google Classroom
W sirrrrrrrrrrrrrrrrrrrrrrrrr
Thank you it helped me understand the concept 🎉
Good job sir ❤
😒 nothing goes understand
Yesko pdf 🎉
Plk sir best teacher
Like who are watching this video before one day of exam 😅😅😂😂
I am here😂
That's me 😅
I am watching this at the day of exam before 2 hr
I'm watching 2 hours before exam
I'm cooked
Big respect to you
What what correction यहाँ made okkaaayyy😅😅😅😂😂😂😂
Sir kati okay bhannu bhako
Thank you sir❤❤❤❤
tysm sir xoxo
Sir explain to kariya thik se program mere pass bhi hai
Sir Plz make a same video using nested if else statement within 2 days plzzz sir please
Thank you sir cprogramming bata kasto question important hunxa sir exam based 😢
wow sir 🔥🔥❣❣
Thankyou sir❤
Sir love your accent...!!!🥳🫶
Sir, can you solve this? 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
Sir luv from rkl india I totally understood the concept
Thank you sir for this video
sir you forget to give the value of sum in the last program.
app ko name?
Thanks it was too much helpful for me. It was being very difficult for me to understand this in the class but now i completely got it. You are brilliant.
Man this is very helpful than you very much ❤️ but no hate I'm pretty confused some of your accent I can clearly understand, sorry
Thank you sir. You are humbly requested to make such video
sir j gareni english chei na bolnu aru ta thik xa
15:50 thumbnail part
Thank you 😀😀😀😀😀😀😀😀
Thanks sir ! keep going ..
Dherai ok na vannu hajur plz
Okyy
Thank you sir❤
sir please video of arrays
😍😍😍
thanks purosottam budo
Really!
teacher lai respect garna sikh kya
Bhai cool banna khoje jasto xa....
Thank you so much and you speak to us to nicely.
THANK YOU SIR!!!
Im Hardik Shrestha
Thanks for this sir☺️
Sir I need solution plz
thank you sir
Love from mars 🥳
Thanks teacher
Thank you sir !!
sir thank you so much . learning from you seems very interesting and simple . love from india.
As a computer teacher,Inspired and learned alot from you sir..... student centric programming pedagogy....wow
Sir i want to contact you.i found such great notes of computer in google of class 9,10,11,12.firstly thanku sir for your help.your notes really help me.i contact you but no response came.!!
Man it helped me love from UK🇬🇧
Great Video! 🙏
why you have write .2f plz
.2f will fix the decimal point eg. 3.14 . If you write simply %f will give the result upto 6 decimal place like 0.123456