База ответов ИНТУИТ

Практикум прикладного программирования на C# в среде VS.NET 2005

<<- Назад к вопросам

Код интерфейсной части будет:

(Отметьте один правильный вариант ответа.)

Варианты ответа
 <asp:RadioBoxList ID="ActorList" runat="server"                AutoPostBack="True" RepeatLayout="Flow"                  Width="194px">    <asp:ListItem Value="Высоцкий" />    <asp:ListItem Value="Галкин" />    <asp:ListItem Value="Жириновский" />  </asp:RadioBoxList>    
<asp:CheckBoxList ID="ActorList" runat="server"                AutoPostBack="True" RepeatLayout="Flow"                Width="194px">    <asp:ListItem Value="Высоцкий" />    <asp:ListItem Value="Галкин" />    <asp:ListItem Value="Жириновский" />  </asp:CheckBoxList>    
(Верный ответ)
<asp:RadioButtonList ID="ActorList" runat="server"             AutoPostBack="True" RepeatLayout="Flow"            Width="194px">    <asp:ListItem Value="Высоцкий" />    <asp:ListItem Value="Галкин" />    <asp:ListItem Value="Жириновский" />  </asp:RadioButtonList>    
Похожие вопросы
Код интерфейсной части будет:
Код интерфейсной части будет:
Какой код, из ниже перечисленных, соответсвует изображению:
Какой код программы, из ниже перечисленных, соответствует изображению:
Какие классы не относятся к подключаемой части ADO.NET?
Какие классы относятся к подключаемой части ADO.NET?
Какой метод должен публиковаться в качестве составной части веб-службы XML?
Какой результат будет соответсвовать коду приведенному ниже:
protected override void DoPage(Graphics graphics, Color color, int cx, int cy)  {     graphics.DrawEllipse(Pens.Red, 0, 0, cx - 1, cy - 1);   }
Какой результат будет соответсвовать коду приведенному ниже:
protected override void DoPage(Graphics graphics, Color color, int cx, int cy)   {     Point[] apoint = {      new Point(cx / 4, 3 * cy / 4),         new Point(cx / 4, cy / 2),         new Point(cx / 2, cy / 4),         new Point(3 * cx / 4, cy / 2),         new Point(3 * cx / 4, 3 * cy / 4),         new Point(cx / 4, cy / 2),         new Point(3 * cx / 4, cy / 2),         new Point(cx / 4, 3 * cy / 4),         new Point(3 * cx / 4, 3 * cy / 4),			 };	graphics.DrawLines(new Pen(color), apoint);  }
Какой результат будет соответсвовать коду приведенному ниже:
protected override void DoPage(Graphics graphics, Color color, int cx, int cy)    {    	const int iNumRevs = 10;    	int iNumPoints = iNumRevs * 2 * (cx + cy);    	PointF[] apointf = new PointF[iNumPoints];    	double rAngle, rScale;    	for(int i = 0; i < iNumPoints; i++)    		{    			rAngle =  iNumRevs * i * 2 * Math.PI / iNumPoints;    			rScale = 1 - i / Convert.ToDouble(iNumPoints);    			apointf[i].X = (float)(Convert.ToDouble(cx) / 2 * (1 + rScale * Math.Cos(rAngle)));    			apointf[i].Y = (float)(Convert.ToDouble(cy) / 2 * (1 + rScale * Math.Sin(rAngle)));    		}    	graphics.DrawLines(new Pen(color), apointf);    }