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

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

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

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

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

Варианты ответа
<asp:RadioButton ID="HeadList" runat="server"                 AutoPostBack="True" Height="120px"                RepeatColumns="1" RepeatLayout="Flow"                 Width="182px">    <asp:ListItem Selected="True" Value="Абрамович" />    <asp:ListItem Value="Алахтаева" />    <asp:ListItem Value="Григорьев" />    <asp:ListItem Value="Жданов" />    <asp:ListItem Value="Кривенко" />    <asp:ListItem Value="Пимашков" />    <asp:ListItem Value="Чубайс" />    <asp:ListItem Value="Шойгу" />  </asp:RadioButton>    
<asp:RadioButtonList ID="HeadList" runat="server"                     AutoPostBack="True" Height="120px"                    RepeatColumns="1" RepeatLayout="Flow"                      Width="182px">    <asp:ListItem Selected="True" Value="Абрамович" />    <asp:ListItem Value="Алахтаева" />    <asp:ListItem Value="Григорьев" />    <asp:ListItem Value="Жданов" />    <asp:ListItem Value="Кривенко" />    <asp:ListItem Value="Пимашков" />    <asp:ListItem Value="Чубайс" />    <asp:ListItem Value="Шойгу" />  </asp:RadioButtonList>    
(Верный ответ)
<asp:CheckButtonList ID="HeadList" runat="server"                 AutoPostBack="True" Height="120px"                RepeatColumns="1" RepeatLayout="Flow"                 Width="182px">    <asp:ListItem Selected="True" Value="Абрамович" />    <asp:ListItem Value="Алахтаева" />    <asp:ListItem Value="Григорьев" />    <asp:ListItem Value="Жданов" />    <asp:ListItem Value="Кривенко" />    <asp:ListItem Value="Пимашков" />    <asp:ListItem Value="Чубайс" />    <asp:ListItem Value="Шойгу" />  </asp:CheckButtonList>    
Похожие вопросы
Код интерфейсной части будет:
Код интерфейсной части будет:
Какой код, из ниже перечисленных, соответсвует изображению:
Какой код программы, из ниже перечисленных, соответствует изображению:
Какие классы не относятся к подключаемой части 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);    }