Skip to main content

XI IT Programming Tasks

Hello again!
Its time to get the hang of writing meaningful programs. Try the following:
  1. Simple Calculator: Write a program in VB to mimick a simple business calculator, which has buttons for basic mathematical tasks (+, -, *, / and Square-root) and a text box to allow the user to input the numbers which need to be operated upon and the result thereof.
  2. A Basic Paint Tool: Write a program which allows the user to do the basic paint & draw operations on the form. (Each operation will be run/selected by clicking on the corresponding button)
    • Choose radius using a scrollbar and hence draw a circle (using Circle command) at the point where user clicks the mouse
    • Draw a square of fixed size (using Line command) from the point where the user clicks the mouse
    • Draw an arbitrary shape using the mouse as a pen.
  3. A crypting engine: Write a program which takes an input text from the user and then encodes it in the following way (Caeser code): A-01, B-02, C-03, D-04 ... Z-26; so ABHINAV will look like 01020809130122
  4. A Bouncing Ball: Write a program to simulate a ball bouncing as if it is confined to the boundaries of the form, i.e. when it reaches the edges of the form it reflects according to the laws of momentum conservation (i.e. angle of incidence = angle of reflection). To make the ball move, you may draw a filled circle and redraw it with background color OR you may use a image of a sphere as a ball and move it using the 'top' and 'left' properties. To judge if the ball has reached the edge you should know the pixel boundaries of your form, i.e. if it is 1000 x 1000 or 3000 x 500, etc. (for this use the width property of the form object)
  5. Generate Pascal's Triangle: Write a program to generate Pascal's triangle on the form. It is the arrangement of coefficients of a binomial expansion. (see the description and second diagram on wikipedia at You may limit the rows of the triangle to be up to 6.
  6. Addition of Matrices: Write a program which will add two 3 x 3 matrices whose elements should be taken as inputs in 2 sets of 9 text boxes. (each set arranged like a matrix) Can you upgrade this program (ignore the form) to deal with a larger matrix?


All Time Popular Posts

Annual Day 2023

 After a long hiatus due to covid we finally got most activities on track. The Annual Day function is always a big deal for everyone at Abhinav. It has been a tradition my mother started that the Annual Day will be not a Teacher-managed event, but a Student Initiative. Since when I was a teenager, I was part of this and today 10 years after she passed, I still strive to make it work as she would have. After some hesitation, we began working in early January. I wanted to use an outside choreographer just so that teachers will not be burdened. (They are already struggling with post-covid learning difficulties) But then, an outside guy could never do justice to the Abhinav style of doing things. We always keep in mind that the cultural program should be enjoyable to everyone in the audience and at the same time should display as many of the diverse talents that our students have, as possible.  It was a great relief that my G3 students came to the rescue. Almost all of std 9 and many of st

Are Self-Driving Cars Taking Over Humans?

- Arya Dharmadhikari(Std X, Abhinav Vidyalay) The 21st century has played an important role in the advancement of technologies. This development has even revolutionized the Automobile industry. We have developed from fuel-efficient vehicles to Hybrids and EVs and now we are enhancing self-driving vehicles. Tesla, Waymo, Volvo, GM, BMW, Mercedes are among the few companies that have started testing self-driving cars. The leading among them is Waymo, which has developed level 4 autonomy which we will discuss in the next section. So before reaching levels of autonomy we should understand what self-driving cars are and why we require them. What is a self-driving car? A self-driving car (also called an autonomous vehicle) is a car that is competent in driving itself without any human intervention. The car has sensors, cameras, lasers, radars, GPS, LIDAR through which the Artificial Intelligence senses the surrounding environment, this helps the car to navigate on its path and to detect sig

Dark Matter

  ~Anvi Patil(X th A Abhinav Vidyalay) In the universe, there is about 25% of dark matter and 70% of dark energy but only 5% of it is visible. What is Dark Matter? It is a non-luminous material, which holds two galaxies. This cannot be called a black hole because it does not bend light. Then the question arrives, as it is non-luminous, how did we detect it? As it is not visible, scientists have found indirect methods to find more about it. One such method is by using the Fermi Gamma-Ray Space Telescope . Gamma rays are released when two particles of dark matter collide, Fermi telescope can be used to detect this collision. This topic was discovered by Fritz Zwicky in the 1930s, he discovered that galaxies were rotating at a faster rate than usual. A dark region seen in the foreground of a star field. This dark region could be a dark cloud of gases like hydrogen, left over from the formation of our galaxy Dark matter is called ‘dark’ not because it is ‘black’ but because it does not