Help me please????? Need answers to questions... will pay
Posted: Mon Jun 09, 2008 7:20 am
Hello all... i am taking a test for a job Saturday June 14th, and for some reason they want me to know some simple qbasic. (its not relevant for what i do)...
CAN ANYONE HELP ME WITH SOME QUESTIONS? Some sample questions are below. I need answers to about 20 questions explained.... i would send a $20 money order to anyone who can help... not much, but hey im out of work. My email address is ROOOCAT@AOL.COM
sample questions.....
1) The statements: 100 VIEW (0,0) ? (100,100)
110 WINDOW (100,100) ? (150,150) would associate the ph7yscial coordinates (100,100) with the world coordinates (150,100) - WHY??????
2) A viewport has been created whose corners are at 920,10), (16,10) (60,50) and (20,50). The statement that assigns the world coordinates (1,0) to the lower left corner and (10,100) to the upper right corners is ? WINDOW (1,0) ? (10,100)
Questions for this statement:
100 SCREEN 1,0 : CLS : KEY OFF : COLOR 1,0
120 DIM ARRATY .OF. PIXELS (114)
130 LINE (0,0) ? (40,40), 3, BF
140 GET (1,)) ? (40,40), ARRAY .OF. PIXELS
3) The instruction in line 130 will draw a A FILLED RECTANGLE 41 PIXELS WIDE AND 11 PIXELS HIGH ? WHY?????
4) The instruction in line 140 WILL STORE THE PIXELS OF THE RECTANGLE IN AN ARRAY ? WHY???
5) If rthe following lines were added: (TO ABOVE STATEMENT):
150 PUT (0,0), ARRAY OF PIXELS
160 PUT (10,10) ARRAY OF PIXELS
The program would MOVE THE SAME RECTANGLE DOWN AND TO THE RIGHT ? WHY??????
CAN ANYONE HELP ME WITH SOME QUESTIONS? Some sample questions are below. I need answers to about 20 questions explained.... i would send a $20 money order to anyone who can help... not much, but hey im out of work. My email address is ROOOCAT@AOL.COM
sample questions.....
1) The statements: 100 VIEW (0,0) ? (100,100)
110 WINDOW (100,100) ? (150,150) would associate the ph7yscial coordinates (100,100) with the world coordinates (150,100) - WHY??????
2) A viewport has been created whose corners are at 920,10), (16,10) (60,50) and (20,50). The statement that assigns the world coordinates (1,0) to the lower left corner and (10,100) to the upper right corners is ? WINDOW (1,0) ? (10,100)
Questions for this statement:
100 SCREEN 1,0 : CLS : KEY OFF : COLOR 1,0
120 DIM ARRATY .OF. PIXELS (114)
130 LINE (0,0) ? (40,40), 3, BF
140 GET (1,)) ? (40,40), ARRAY .OF. PIXELS
3) The instruction in line 130 will draw a A FILLED RECTANGLE 41 PIXELS WIDE AND 11 PIXELS HIGH ? WHY?????
4) The instruction in line 140 WILL STORE THE PIXELS OF THE RECTANGLE IN AN ARRAY ? WHY???
5) If rthe following lines were added: (TO ABOVE STATEMENT):
150 PUT (0,0), ARRAY OF PIXELS
160 PUT (10,10) ARRAY OF PIXELS
The program would MOVE THE SAME RECTANGLE DOWN AND TO THE RIGHT ? WHY??????