Computer Notes, Programming codes, Hardware and Networking Tip, Entertainment, Biography, Internet Tip, Tech News, Latest Technology, YouTube,

Articles by "print patterns qbasic"
About RAM Advantages of multiprocessing system Associative memory Binary Number System CA CA Notes Change drive icon change pendrive icon Computer Abbreviation Computer Architecture Computer fundamental MCQ Computer Generation Computer generation computer notes Computer MCQ Computer Network MCQ Computer Operator MCQ Critical Section Critical section in OS Database connectivity in java Deadlock avoidance Deadlock detection algorithm Deadlock Detection and Recovery Deadlock detection method Deadlock Handling Deadlock in OS Deadlock Prevention Deadlock Recovery define object and class Define system cell Descrete Structure Device Driver Device driver in computer device driver in os DFA DFA contains with DFA ends with dfa examples dijkstra's algorithm Discrete Structure Discrete Structure graph theory Download JDBC Driver Download MySql Download PUBG DS DS Notes FCFS Job Scheduling Algorithm Finding shortest path Finite Sate Automata Flynn's Classifications fragmentation in computer fragmentation in harddisk fragmentation in os fragmented memory Full form related to computer Generations of operations Generations of OS Graph theory ICT 1st semester notes Instruction Address Modes Java java array declaration java class and object example Java Database connectivity example java event handling example program Java JDBC Java JMenuBar Java JSP program example java notes java program methods example Java program to create class and object java program to create methods java program to print even number between any two numbers Java programming java programming notes Java programs Java question answer java swing example java swing program to calculate simple interest Java Tutorials JSP program learn qbasic Lekh MCQ MCQ Computer MCQ Operating System memory fragmentation MICT 1st semester notes mict 1st semester operating system notes MICT first semester notes Multiprocessing mutex in os Necessary conditions for deadlock Number System Operating System Operating system notes OS OS Notes OS Numeric pattern printing program in qbasic patterns in qbasic Pipeline Hazards Pipelining Pipelining concept prime or composite in qbasic print patterns qbasic print series in qbasic Printing Series in qbasic PUBG PUBG Mobile PUBG PC PUBG Story qbasic qbasic code qbasic for class 10 qbasic for class 8 qbasic for class 9 qbasic for school QBASIC Pattern printing qbasic pattern printing program qbasic pattern printing programs qbasic pattern types qbasic patterns qbasic programming tutorials qbasic programs qbasic sequence printing programs qbasic tutorials Race Condition in Operating system reverse order in qbasic RISC and CISC RISC Pipeline Scheduling algorithm segmentation in operating system segmentation in os semaphore and mutex Semaphore concept in os Semaphore in os semaphore in os notes semaphore meaning sequential programs in qbasic series in qbasic series printing programs in qbasic shell in operating system shell in os shortest path shortest path algorithm simple interest program in java swing System Bus System Cell Teach Blog Tech Blog Tech School technical school The Shell in Operating system types of fragmentation Types of Multiprocessor types of operating system Types of pipeline hazards View Connected Wifi password Virtual Memory Virtual memory in OS Von Neumann's architecture What is associative memory? what is class? What is computer system? What is Fragmentation? What is jsp? what is object? What is process? What is segmentation What is System Cell What is Thread? what is virtual memory in computer What is virtual memory? पब्जी गेम


1)
PROGRAMMING
PROGRAMMIN
PROGRAMMI
PROGRAMM
PROGRAM
PROGRA
PROGR
PROG
PRO
PR
P

CLS
a$ = "PROGRAMMING"
FOR i = LEN(a$) TO 1 STEP -1
    PRINT LEFT$(a$, i)
NEXT i
END
2)
5
55
555
5555
55555


CLS
n = 5
FOR i = 1 TO 5
    PRINT n
    n = n * 10 + 5
NEXT i
END
3)
  P
 EPA
NEPAL




CLS
S$ = "NEPAL"
r = 1
t = 10
FOR i = 3 TO 1 STEP -1
    PRINT TAB(t); MID$(S$, i, r)
    r = r + 2
    t = t - 1
NEXT i
END
4)

123456787654321
 1234567654321
  12345654321
   123454321
    1234321
     12321
      121
       1


CLS
n# = 11111111
s = 10
FOR i = 1 TO 8
    PRINT SPACE$(s); n# * n#
    n# = n# \ 10
    s = s + 1
NEXT i
END
5)

1
2 3
4 5 6
7 8 9 10
11 12 13 14 15



CLS
c = 1
FOR i = 1 TO 5
    FOR j = 1 TO i
        PRINT c;
        c = c + 1
    NEXT j
    PRINT
NEXT i
END
5)

1 3 5 7 9
1 3 5 7
1 3 5
1 3
1

CLS
FOR i = 9 TO 1 STEP -2
    FOR j = 1 TO i STEP 2
        PRINT j;
    NEXT j
    PRINT
NEXT i
END
5)

9
9 7 
9 7 5
9 7 5 3 
9 7 5 3 1
CLS
FOR i = 9 TO 1 STEP -2
    FOR j = 9 TO i STEP -2
        PRINT j;
    NEXT j
    PRINT
NEXT i
END
5)

1
1 3
1 3 5
1 3 5 7
1 3 5 7 9
CLS
FOR i = 1 TO 9 STEP 2
    FOR j = 1 TO i STEP 2
        PRINT j;
    NEXT j
    PRINT
NEXT i
ENDa

Patterns in QBASIC SET-1
Visit My YouTube Channel : https://www.youtube.comtechnicalschoolnepal 
Facebook page : www.facebook.com/technicalschoolnepal
Complete QBASIC Course
Go to Practice Time

1)
5
54
543
5432
54321


CLS
FOR i = 5 TO 1 STEP -1
    FOR j = 5 TO i STEP -1
        PRINT j;
    NEXT j
    PRINT
NEXT i
END
2)
54321
5432
543
54
5

CLS
FOR i = 1 TO 5 STEP 1
    FOR j = 5 TO i STEP -1
        PRINT j;
    NEXT j
    PRINT
NEXT i
END
3)
1
12
123
1234
12345


CLS
FOR i = 1 TO 5
    FOR j = 1 TO i
        PRINT j;
    NEXT j
    PRINT
NEXT i
END
4)
12345
1234
123
12
1


CLS
FOR i = 5 TO 1 STEP -1
    FOR j = 1 TO i STEP 1
        PRINT j;
    NEXT j
    PRINT
NEXT i
END
5)
1
22
333
4444
55555


CLS
FOR i = 1 TO 5
    FOR j = 1 TO i
        PRINT i;
    NEXT j
    PRINT
NEXT i
END
6)
55555
4444
333
22
1


CLS
FOR i = 5 TO 1 STEP -1
    FOR j = 1 TO i STEP 1
        PRINT i;
    NEXT j
    PRINT
NEXT i
END
7)
   

    *
   ***
  *****
 *******
*********


CLS
s$ = "*********"
t = 10
FOR i = 1 TO LEN(s$) STEP 2
    PRINT TAB(t); LEFT$(s$, i)
    t = t - 1
NEXT i
END
8)
2
22
222
2222
22222

CLS
n = 2
FOR i = 1 TO 5
    PRINT n
    n = n * 10 + 2
NEXT i
END
9)
1
11
111
1111
11111


CLS
n = 1
FOR i = 1 TO 5
    PRINT n
    n = n * 10 + 1
NEXT i
END
10)
11111
1111
111
11
1


CLS
n = 11111
FOR i = 1 TO 5
    PRINT n
    n = n \ 10
NEXT i
END
11)

R
ER
TER
UTER
PUTER
MPUTER
OMPUTER
COMPUTER
CLS
X$ = "COMPUTER"
FOR i = 1 TO LEN(X$)
    PRINT RIGHT$(X$, i)
NEXT i
END
12)
C
CO
COM
COMP
COMPU
COMPUT
COMPUTE
COMPUTER
CLS
X$ = "COMPUTER"
FOR i = 1 TO LEN(X$)
    PRINT LEFT$(X$, i)
NEXT i
END
13)
*
**
***
****
*****

CLS
a$ = "*****"
FOR i = 1 TO LEN(a$)
    PRINT LEFT$(a$, i)
NEXT i
END
14)

*****
****
***
**
*

CLS
a$ = "*****"
FOR i = LEN(a$) TO 1 STEP -1
    PRINT LEFT$(a$, i)
NEXT i
END
15)
*********
*******
*****
***
*


CLS
a$ = "*********"
FOR i = LEN(a$) TO 1 STEP -2
    PRINT LEFT$(a$, i)
NEXT i
END
16)
*********
 *******
  *****
   ***
    *


CLS
x$ = "*********"
b = 1
t = 20
FOR i = LEN(x$) TO 1 STEP -2
    PRINT TAB(t); MID$(x$, b, i)
    b = b + 1
    t = t + 1
NEXT i
END

Need more patterns ? click here ... (Patterns in QBASIC SET-2)

Visit My YouTube Channel : Technical School

MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget