Difference between revisions of "Assessment 2010 Easy"

From Progzoo
Jump to: navigation, search
(1 Chita)
 
(2 intermediate revisions by the same user not shown)
Line 38: Line 38:
 
}
 
}
 
]]></prog>
 
]]></prog>
 +
<answer>
 +
static void drawFlag(Graphics2D g){
 +
  g.setColor(Color.green);
 +
  g.fillRect(0,0,200,68);
 +
  g.setColor(Color.red);
 +
  g.fillRect(0,68,200,68);
 +
Polygon tri = new Polygon();
 +
  tri.addPoint(0,0);
 +
  tri.addPoint(0,136);
 +
  tri.addPoint(100,68);
 +
  g.setColor(Color.yellow);
 +
  g.fillPolygon(tri);
 +
}
 +
</answer>
 
</question>
 
</question>
 +
Now try the next question.
 +
 
==2 Shakha==
 
==2 Shakha==
 
<question className='Raster' imgOut='flag.png' width='200' height='100'>
 
<question className='Raster' imgOut='flag.png' width='200' height='100'>

Latest revision as of 10:06, 16 June 2011

Flags of regions of Russia


1 Chita

Flag of Chita
  • The flag is 200 by 136


[Font] [Default] [Show] [Resize] [History] [Profile]

Now try the next question.

2 Shakha

Flag of Shakha
  • The flag is 200 by 100
  • The stripe blue is 68 high
  • The white stripe is 10 high
  • The red stripe is 10 high
  • The circle has radius 20


[Font] [Default] [Show] [Resize] [History] [Profile]


3 Udmurtia

Flag of Udmurtia
  • The flag is 198 by 100
  • The width of the cross is 56
  • The width of the arm of a cross is 18


[Font] [Default] [Show] [Resize] [History] [Profile]

4 Mordovia

Flag of Mordovia
  • The flag is 200 by 100
  • The red is 160,0,0
  • The blue is 0,0,128
  • Each chevron is 4 from the centre
  • Each chevron has width 14
  • Each chevron has longest side 10


[Font] [Default] [Show] [Resize] [History] [Profile]

5 Kurgan

Flag of Kurgan
  • The flag is 200 by 134
  • The green is 4,164,84
  • The leftmost point of the mountain is at 23,44
  • The base of one mountain is 44


[Font] [Default] [Show] [Resize] [History] [Profile]