Skip to main content

Posts

XI IT Programming Tasks

Hello again! Its time to get the hang of writing meaningful programs. Try the following: 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. 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. 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 loo

XI IT Assignments - Controls: Events & Properties

Hello Programmers, Run through this tutorial cum assignment to get a hang of various controls, their properties and the most used events associated with these controls. Try the following and send me the answers or the codes (zip all files - frm & vbp - and send) on the mail id: events@abhinav.ac.in Form This is the most basic control. You have already seen some events on this object. What is the sequence in which the events Activate, Load & Open occur? To find out, write a simple code for each of these events to display a msgbox saying that the event has occured. Now run the program. One by one the messages will popup showing you what happens and in which order. What does the KeyPress event do? To find out trap this event, i.e. write a small code at this event, say like - MsgBox "Hello". Now run the program and try pressing a key ... What do the MouseUp and MouseDown events do? Trap these events like described above and find out the difference between the two state

Online lecture assignments for XI Sc

Hello Programmers, To use this medium effectively, refresh this page every 10 min or so for as long as the lecture is in session, since I will update this post time and again. You can also try coming in on NetMeeting (if that works) by reading the instructions on our web . Here you go: Given three numbers a, b & c you can find out which is the largest of them by comparing each number with the others in turn. Can you do this in a program? The logic goes like this: 1. Take a, b, c from the user 2. Is a > b and c ... then a is largest 3. Is b > a and c ... then b is largest 4. If none of the above, then c is largest Now what will you do if you need to find the largest among say a 100 numbers??? Can the same logic work? Using arrays makes life better while computing large data. So try this logic Take the numbers as inputs into an array having an appropriate size, say 'n' define an arbitrary high value - max - maybe 0 Run loop from 0 to n In each iteration, check if the i

Assignments for XI Sc - IT

1. Simple Controls A. Write a program to take the price of raw materials A & B from the user and hence compute the cost price. Show the same to the user in a box and then calculate the selling price with 20% profit added to the cost price. Show the same in a separate box. Use four text boxes and name them properly B. Now add a button to the earlier program so that you can run the calculations when the button is clicked and not at Form_Load or Form_Click. If you dont know about buttons ... look below C. Now add a check box (called AddProfit) to the earlier code / form. Hence change your code so that, it will add the profit to the cost price, only it the AddProfit box is checked (i.e. there is a tick mark in it) else, it should simply show the cost price as selling price About Buttons: Use the toolbox you see on the left, OR open the same from the spanner & hammer icon on the top. Click on the plain rectangle below the "A" icon and to its right. Then drag and drop on

Trapping events - IT assignment for Std XI

Perform these tasks on your PC and give yor answers as comments to this post or as an email to my ID - director@abhinav.ac.in . What is the sequence for the events given below and when do they occur for the given object? a) Textbox - Change, KeyPress, KeyDown, Validate b) Command button - Click, GotFocus, LostFocus, KeyPress c) Combo Box - Change, Click, DblClick, DropDown, Scroll Draw an equilateral triangle (should actually look like it) whose one vertex is the point at which the user clicks on the form. Make a simple calculator which has buttons for different numbers & operations (+, -, *, /, ^) and a box to display the result of each operation as well as each number being typed.

Good show at the Baltic Sea Competition

On the auspices of the UNESCO Philosophy Day (19th Nov), Finland organizes a Philosophy competition for countries around the baltic sea. Since 2008, India also sent entries to this competition. Students are supposed to write an essay on 1 out of 4 topics given in a supervised span of 2 hours. The local organizer is then supposed to select 2 of the best essays and send them across to the Finnish organizers, who then go throug ha rigorous process of filtering the essays, quite similar to the International Philosophy Olympiad and declare the medals. Those who miss the medal by a very short difference are given an Honorable Mention. The result for this year has been good for India with Chitra Adkar (SYJC Ramnarain Ruia College, Matunga) getting Bronze and Prathamesh Kubal (SYJC, Abhinav Vidyalay & Jr. College, Dombivli) getting the Honorable Mention. Details will be shortly put up on the organizers web sites. The topics for essay this year were: 1. ”The misfortune of a republic is whe

International Philosophy Olympiad 2008

Hi all, I am very happy to announce to the Abhinav family that two girls from our school represented India in the Int'l Philosophy Olympiad held at Iasi, Romania between 18th & 22nd May 2008 and that contrary to everyone's expectations, they performed exceedingly well . The overall result was that Vallari Sawant (XI, presently at St. Xavier's College) stood 14th missing the bronze medal by just 0.1 mark, and secured a Honorable Mention for her talent, while Chitra Adkar (X) secured a special award by ranking 23rd from amongst almost 60-odd students from about 24 countries. I must say that this is a incredible achievement for these girls since this is the first time India has participated in this Olympiad organized by the Federation of International Philosophical Societies which runs under the aegis of UNESCO. This was the 16th year of the Olympiad which primarily is a test of talent for high school students in the field of philosophy. What is more interesting is that t

Back to a Summer School

Hello everybody, I had promised people that I would put up the National Science Day movies & pics on the net, but since the 28th Feb celebrations, things have been running at a hectic pace. Many decisions to be taken regarding the coming academic year and the ongoing exams took all of my time. Besides I have to prepare for the next National Astronomy Olympiad scheduled to happen in May. So all you 9th & 11th Std students will have to wait a while longer... In fact some of you could help me make a proper video out of the 30-odd min film I took at the NSD. This could be a good summer activity. So here we are with the summer vacations and the Summer School 2007 . If the prospect of being at school the whole of April sounds too boring to you, do check out the plans this year . I am sure something or the other might interest you. For the uninitiated the SS 2007 is an activity where students of secondary & higher secondary participate in various research & work experience pro

Stimulus 2006 - A Festival of Learning

Hi all, Last three weeks of December were full of hectic activity, with almost all of the 1500 students of this school and about 100 students from outside and all 70-odd staff, working and enjoying what Abhinav has come to learn as Stimulus. It is the joy of playing games – old and traditional as well as new and exciting. It is the confidence that you are capable of learning something new and putting it across to any person – old or young, learned or simple. It is the feeling of nostalgia which sets in when you see all your friends and colleagues merrily working together unmindful of any tensions – hunger or thirst, studies or exams, success or failure … It is the satisfaction of having done things well and having got a pat-on-the-back for it. It is the pride of having done things differently and having explored your creativity. It is the awareness of the world around you in more ways than one. It is learning that you are able to think, able to act and thus able to live a happy &

Your World ... An Astronomical Insight

Shruti Iyer (Std X) & Chitra Adkar (Std IX) How will our universe end? Why can’t we communicate with our fellow extraterrestrials if a Hritik Roshan can befriend Jadoo in Koi Mil Gaya? Our textbooks fabulously elaborate on the enormity of our universe yet such questions remain unanswered. I wish I could wind back time and take you to the Abhinav premises in the first week of November and you would have seen 8, tired, weary faces, dripping with perspiration, yet displaying the vigour to answer such questions with graphs, equations and logical explanation . These 8 faces belonged to some of the most adorable places of India like Mumbai, Bhubaneshwar, Pune Delhi, Allahbad etc. and were representing India in the 11th international astronomy Olympiads which was hosted this year by leading scientific institutions like BARC, TIFR and HBCSE wherein more than 20 countries had been participating. The jury for the Indian team was Mr. Kedar Soni (Astronomer and Director of Abhinav Vidyalay an