Series / Pattern Problems

  1. To generate the given pattern. (Qbasic Code)
    C
    CO
    COM
    COMP
    COMPU
    COMPUT
    COMPUTE
    COMPUTER 
  2. To display the series- 1,2,3,4,…..10. (Qbasic Code) 
  3. To display the pattern. (Qbasic Code)
    *   *   *   *  *
     *              *
       *          *
         *      *
             *
  4. To display the pattern. (Qbasic Code)
    CO
       OM
          MP
              PU
                 UT
                     TE
                        ER
  5. To display the pattern. (Qbasic Code)
    G
    OGR
    ROGRA
    PROGRAM
  6. To display the pattern. (Qbasic Code)
    PROGRAM
    ROGRA
    OGR
  7. To display the series- 1,2,4,8,16,……upto 10th term. (Qbasic Code)
  8. To display the series 1, 8, 27 …… upto 10th term. (Qbasic Code)
  9. To display the series 2, 8, 18, 32… upto 10th term. (Qbasic Code)
  10. To display the series- 1,4,9,16…… upto 10th term (Qbasic Code)
  11. To display the numbers -10, -5, 0, 5, 10 …. upto 10th term. (Qbasic Code)
  12. To print the sum of even numbers from 0 to 50. (Qbasic Code)
  13. To print the sum of square of odd numbers up to 100. (Qbasic Code)
  14. To find the sum of the series 1, 2, 3, …..10. (Qbasic Code)
  15. To input the first term, common difference and final term of the series and display the series. (Qbasic Code)
  16. To print the sum of the numbers from 1 to 50 which are divisible by 5 and 7. (Qbasic Code)
  17. To print the series 5, 7, 10, 14, 19 …… upto 10th term. (Qbasic Code)
  18. To display the series- 2,4,16,256…..upto 5th term.(i.e square of presiding number.) (Qbasic Code)
  19. To generate the series-  2, 22, 222, 2222, 22222 (Qbasic Code)
  20. To generate the numbers.  1, 22, 333, 4444, 55555 (Qbasic Code)
  21. To generate the pattern. 1 12 123 1234 12345 (Qbasic Code)
  22. To generate the pattern 12345 1234 123 12 1 (Qbasic Code)
  23. To display the series 2, 3, 5, 8, 13 … upto 10th terms. (Qbasic Code)
  24. To generate the series. 1 12 123 1234 12345 (Qbasic Code)
  25. To generate Fibonacci series- [i.e. the series in which every number is the sum of the previous two except for the first two number: [1,1,2,3,5,8,12,…..] (Qbasic Code)
  26. To generate the series 20, 18.5, 15,  13.5, ….. upto 10th term. (Qbasic Code)
  27. To print the given series. (Qbasic Code)
    11111
    1111
    111
    11
    1
  28. To display the following pattern (Qbasic Code)
        1
        121
        123121
        1234321
        123454321
    • To display the following pattern (Qbasic Code)3
      33
      333
      3333
      33333
    •  To display the pattern. (Qbasic Code)
      1
      212
      32123
      4321234
      543212345 
    • To display the pattern. (Qbasic Code)
       123454321
       1234321
       12321
       121
       1 
    • To display the pattern. (Qbasic Code)
      123456789
      1234567
      12345
      123
      1  
    • To display the pattern. (Qbasic Code)
      50
      48 50
      46 48 50
      44 46 48 50
      42 44 46 48 50
    • To display the pattern. (Qbasic Code)
      1 2 3 4 5
      2 4 6 8 10
      3 6 9 12 15
      4 8 12 16 20
      5 10 15 20 25
    • To display the pattern. (Qbasic Code)
      5
      54
      543
      5432
      54321
    • To display the pattern. (Qbasic Code)
      5
      44
      333
      2222
      11111
    • To display the pattern. (Qbasic Code)
      54321
      5432
      543
      54
    • To display the pattern. (Qbasic Code)
      1
      10
      101
      1010
      10101 
    • To display the pattern. (Qbasic Code)
      0
      12
      345
      6789  
    • To display the pattern. (Qbasic Code)
      1
      2 3
      4 5 6
      7 8 9 10
      11 12 13 14 15 
    • To display the pattern. (Qbasic Code)
      1/2
      2/3
      3/4
      ……
      ….. 10th term.
    • To display the series- 7, 5, 3, 2 (Qbasic Code)
    • To display the series, 3, 12, 27, ……. 10th term. (Qbasic Code) 
    • To generate the series, 1, 3, 6, 10, 15 ….. upto 10th term. (Qbasic Code)
    • To display 7, 22, 11, 34, 17, 52, 26, 13, 40, 20 (Qbasic Code
    • To display the series 2, 1, 3, 4, 7, 11, 18 … upto 10th term. (Qbasic Code)
    • To display the series (8, 27, 64, 125, 216) using READ DATA. (Qbasic Code
    • To display the series-  8, 27, 64, 125, 216.  (Qbasic Code)
    • To display the series- 81, 64, 49, ..... , 1. (Qbasic Code)
    Practice Questions
    1. To print the square of first 10 odd numbers with their sum.
    2. To find the smallest number number from the 5 numbers input.
    3. To generate the series- 2, 8, 18, 32, …….. upto 10th term.
    4. To find the sum of the series- 1,2,3,…..10.
    5. To display series- 5,6,9,14,21 upto 10th term
    6. To display the series- 1,4,7,10 upto 10th term. 
    7. To print the given series upto 10th term. (1, 11, 111, 1111, 11111 .....)

    Share :

    Facebook Twitter Google+
    Back To Top

    facebook main

    counter

    Powered by Blogger.