Page 87 - ModularV1.1 _c6_flipbook
P. 87

Periodic Assessment-4

                                                     (Based on chapters 8 & 9)


                 A.  Write the codes in BASIC-256.

                    1.  To print the number from 1 to 20 in reverse order.

                    2.  To find the sum of numbers from 1 to 200.

                 B.  Write a short note on the following.

                    1.  Blogs

                       .........................................................................................................................................................................................
                       .........................................................................................................................................................................................

                    2.  Cloud Storage

                       .........................................................................................................................................................................................

                       .........................................................................................................................................................................................
                    3.  Cyber Security

                       .........................................................................................................................................................................................

                       .........................................................................................................................................................................................

                    4.  Hacking

                       .........................................................................................................................................................................................
                       .........................................................................................................................................................................................

                 C.  Write the output of the following BASIC-256 program.

                    student_marks = 90
                    passing_marks = 50
                    IF(student_marks >= passing_marks)THEN
                    PRINT "Congratulations!!!"

                    PRINT "You have passed the exam"
                    ELSE
                    PRINT "Failed"

                    ....................................................................................................................................................................................................
                    ....................................................................................................................................................................................................

                    ....................................................................................................................................................................................................








                                                                                           Periodic Assessment-4  85
   82   83   84   85   86   87   88   89   90   91   92