Skip to main content

Branching & Simple Looping assignment for VB.Net

Std XI Sc. students,
Write programs using IF ... THEN ... ELSE and GOTO only (i.e. without SELECT CASE or FOR...NEXT)
  1. Prof. Anand is a greaaaat mathematician who is always in search for a particular kind of numbers. So he asks random people on the street to give a number and if they give one which does not satisfy the rules below, he chews their head off (NOT LITERALLY, but by giving a LOOOONG derivation as to how they are wrong). Now the professor has asked you to write a program for him, to save his time. (which he can use more productively to chew people's heads off) His rules are as follows:
    1. The number should be odd
    2. The number should be divisible by 7
    3. The number should be at least 3 digits long
       
  2. The servo controller program (one that controls the movement) for the GMRT telescopes has the logic given below. Write a code which will take the required inputs, take the required decision and message the decided action.
    1. Take the coordinates - Altitude and Azimuth - from the user, in order to point the dish to that direction in the sky
    2. If the angles show that the pointing would be below the horizon, then reject the input coordinates. This would be so if the altitude (measured from horizon upwards) is less than 0 degrees.
    3. If there is a strong wind (as measured by the wind vane, i.e. in our case inputted by the user at the start) i.e., above 40 kph, then ignore the input coordinates and park the dish (i.e., turn the dish to look exactly overhead, that way it is unaffected by the wind), i.e. set the coordinates to: Altitude - 90 deg, Azimuth - 0 deg
    4. If there is no strong wind and the coordinates are above the horizon, then point the dish to the inputted coordinates. (i.e. give the message to the user that it is doing so)
ALL Students - You should have deicided by now, exactly how will you perform your experiments for the P & C projects. You should know the apparatus needed and the procedure. You will get the first lab access in a day or two. From that moment we start marking you out of 30 Mks.
 
 GMRT guys ... we continue work after 2pm
 
 
 
 
  • Radio - The Cantenna "works" but catches not the sky or source, but rather my internet dongle. SO we need to recalc. We dont proceed with horn unless Cantenna works out
  • Gravity - You could use the cloth and ball model to demonstrate the action of gravity (i.e. forming of orbits etc.) provided you make it at least 1m x 1m. Think on those lines. To prove Newton's law of Gravity, you would need to create a long but gradual slope (less than 10 deg with the horizontal) That way you get control on timing accuracy.
  • Astro-Photometry - I need yor power calib today. You could simply use photoshop or any package to give you a relative value of intensity for the bright dots (images) as against the dark background. (values may be within 0 - 255) That way you get a calib for a known source.
  • Colorimetry -
  • Resonance -

Comments

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