Обучение Visual C# Вторник, 08.07.2025, 12:57
Меню сайта
Категории раздела
Работа с классами .Net Framework 4.0 [2]
Работа с контролами Visual C# 2010 [3]
Наш опрос
Оцените мой сайт
Всего ответов: 45
Статистика
Яндекс.Метрика

Онлайн всего: 1
Гостей: 1
Пользователей: 0
<
Форма входа
Главная » 2011 » Декабрь » 03 » Демо тест на сертификацию IT
19:04
Демо тест на сертификацию IT
Это я слизал тест на IT сертификацию. Для тех кому это интересно конечно)) закиньте эту статью в переводчик на гугле и будет вам счастье))
Если найдете странные слова(т.е. странно не понятно написаные) пишите в ЛС исправлю.
Сылка на сам тест вот: http://www.measureup.com/Search.aspx?k=70-511
Это один из представленных там. Если кому потребуеться пишите выложу следующие!)
З.Ы. не забывайте про форум и сайт в принципе господа.

Start Page
70-511CS - TS: Windows Applications Development with Microsoft .NET Framework 4 C#
Your 5 question test has been generated. Click Start Test to begin
Before you take the vendor certification exam MeasureUp recommends that you take advantage of at least three of the available modes of study before taking the practice Test in Certification mode; including Study mode, Missed Question mode, and Adaptive mode, when available. Once you’ve completed your Test preparation, MeasureUp recommends that you pass the MeasureUp Test, in Certification mode, with a score of 100% - twice.
When you have completed the test please click the SCORE button located on the top menu bar. All answers are final upon scoring the test. Your test results will be displayed if available.
Some features of this test include:
Tests delivered in Certification Mode closely simulate the actual certification test environment you will find at your local testing center. These tests are the same length as the certification exam and are timed. Unlike tests delivered in other modes, these tests do not allow you to display the answers until after the test. Additionally, these tests do not allow you to reconfigure the environment or turn off the timer.
To help you learn the material on which you are being Tested, rather than simply helping you memorize the material, the question order is randomized for each test. Additionally, the answer order for each question is also randomized.
After the test, you can display the answer(s) to each question plus a comprehensive explanation that includes references to further information.
After your test, you are graphically presented with your score plus a visual breakdown of how you preformed on each test objective.
You are using Microsoft .NET Framework 4 to create a Windows Forms application.
The application has a Generate Report button that calls a long-running procedure named generateReport. The generateReport procedure uses a loop to process a collection of data. You need to ensure that the user can interact with the application while the report is running.
What should you do?
О * Add a BackgroundWorker component to the form.
* Call the generateReport method within the DoWork event procedure.
* Call the RunWorkerAsync method from the button's Click event procedure.
О * Modify the generateReport method to use Parallel.ForEach.
* Call the generateReport method from the button's Click event procedure.
О * Add a BackgroundWorker component to the form.
* Call the generateReport method within the RunWorkerAsync event procedure.
* Call the DoWork method from the button's Click event procedure.
Questions:
О * Modify the generateReport method to use Parallel.For.
* Call the generateReport method from the button's Click event procedure.

01 <Windo\v xmlns=''http: 7schemas.microsoft.com winfx 2006/xaml presentation"
02 xmlns:x="http^/schemas.microsoft.com winfx’2006 xaml">
03 <StackPanel Orientation="Horizontal,'>
04 <Button Content—'Cancel"/>
05 <Button Content—'Save"/>
06 <Button Content—'Print "/>
07 <Button Content-'Submit'7>
08 </StackPanel>
09 <Window>
You are using Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create the markup shown in the exhibit. (Line numbers are included for reference only.) You need to modify the markup to ensure that all Button controls on the window have a background color of Azure.
What should you do?
О Add the following markup between lines 08 and 09:
<Window.Resources>
<Style x:Key="Button,,>
<Setter Property="Background" Value="Azure"/>
</Style>
</Window.Resources>
О Add the following markup between lines 07 and 08:
<StackPanel.Resources>
<Style x:Key="Window" TargetType=nButton”>
<Setter Property="Background" Value="Azure"/>
</Style>
</StackPanel.Resources>
О Add the following markup between lines 03 and 04:
< StackPa nel. Resources>
<Style x:Key="Window" TargetType="{x:Type Button}”>
<Setter Property="Background" Value="Azure"/>
</Style>
</StackPanel.Resources>
О Add the following markup between lines 02 and 03:
<Window.Resources>
<Style TargetType="Button">
</StackPanel.Resources>
О Add the following markup between lines 03 and 04: <StackPanel.Resources>
<Style x:Key="Window" TargetType="{x:Type Button}"> <Setter Property="Background" Value="A2ure"/> </Style>
</StackPanel.Resources>
О Add the following markup between lines 02 and 03: <Window.Resources>
<Style TargetType="Button">
<Setter Property="Background" Value="A2ure"/> </Style>
</Window.Resources>

01 public class Orderltem {
02 private Int32 _quantity;
03 private String _productNum;
04 public Int32 Quantity
05 {
06 get{ return _quantity; }
07 set{
08
09 quantity=value; }
10 }
11
12
13 }
You are using Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
Your application includes elements that are bound to a collection that contains instances of the class shown in the exhibit. (Line numbers are included for reference only.)
The collection is used by several different pages in the application. You need to ensure that the Quantity value is always set to a value greater than 0. Your solution should minimize redundant code.
What two things should you do? (Each correct answer presents part of the solution. Choose two.)
Add code to implement the IDataErrorlnfo.Validate method at line 12.
Modify the class so that it implements IDataErrorlnfo. Add code to implement the IDataErrorlnfo.Error property at line 11.
V' Add validation code to line 08.
V Add an ErrorProvider to the page.
Add code to implement an indexer at line 12.
<Grid Name="grd" PreviewT extInput="grd_PreviewT extlnput">
<Grid.ColumnDefmitions>
<ColumnDefmition/>
<ColumnDefmition/>
<ColumnDefmition/>
</Grid.ColumnDefmitions>
<Grid.RowDefmitions>
<Ro wDefmition />
<Ro wDefmition />
</Grid.Ro\vDefinitions>
<B utt о n Grid. С olumn=' r0'' Name= "btnAdd ’ > Add<;TB ut ton>
<Button Grid.Column="l !,Name='FbtiiMultiplyl,>Multiply</Button>
<Button Grid. Column=M2 " Name="btnClear">Clear</BuTton>
<TextBox Grid. Column-'0H Grid.Row=,,l"Name="oplMx/TextBox>
<TextBox Grid. Column-’ 1" Grid.Row=" 1" Name="op2"x/TextBox>
<TextBox Grid.Column="2" Grid.Row='T,Name="result"></TextBox>
</Grid>
You are using Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a page that has the code shown in the exhibit. If users enter a non-numeric character into opl or op2, that character should be ignored.
You need to implement grd_PreviewTextInput to meet the requirements.
What code should you use?
О private void grd_PreviewTextInput(object sender, TextCompositionEventArgs e)
FrameworkElement fe = (FrameworkElement)sender; double result;
if ((fe.Name == "opl") || (fe.Name == "op2"))
if (!(double.TryParse(sender.Text, out result)))
{
e.Handled = true;
}
{
e.Handled = true;
}
}
}
О private void grd_PreviewTextInput(object sender, TextCompositionEventArgs e)
FrameworkElement fe = (FrameworkElement)e.Source; double result;
if ((fe.Name == "opl") | | (fe.Name == "op2"))
{
if (!(double.TryParse(e.Text, out result))) e.Cancel = true;
}
}
}
О private void grd_PreviewTextInput(object sender, TextCom position EventArgs e)
FrameworkElement fe = (FrameworkElement)sender; double result;
if ((fe.Name == "opl") | | (fe.Name == "op2")) if (!(double.TryParse(sender.Text, out result)))
{
e.Cancel = true;
}
}
}
О private void grd_PreviewTextInput(object sender, TextCom position EventArgs e)
FrameworkElement fe = (FrameworkElement)e.Source; double result;
if ((fe.Name == "opl") | | (fe.Name == "op2"))
{
if (!(double.TryParse(e.Text, out result)))
{
e.Handled = true;
}
}
}

<StackPanel>
<Rectangle x:Name="rect" Width="200M Height="100" Fill=r,Red">
<Rectangle>
<Button x:Name="button" Width="100" Height="50"x,Button> <StackPanel.Triggers>
<EventTrigger SourceName-'button" RoutedEvent="Button.Click''> <BeginStoryboard>
<Storyboard Storyboard.TargetName-'rect" StoryboardTargetProperty=M\Vidth"> <DoubleAnimation From^OO” To="400M Duration="0:0:2">
< DoubleAnimation>
</Storyboard>
<Вegin Storyboard>
</EventTrigger>
</StackPanel.Triggers>
<StackPanel>
Exhibit
You are using Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The markup is shown in the exhibit. You are writing a unit test to animate the rectangle.
You need to cause the rectangle to animate without user interaction.
What should you do?
О * Call the AddHandler method of the Button class and pass a delegate as a parameter.
* Implement the delegate to call the Begin method of the Storyboard class.
О * Call the GetPattern method of the FrameAutomationPeer class to return an IlnvokeProvider instance.
* Call the Invoke method of the IlnvokeProvider instance.
О * Call the AddHandler method of the Rectangle class and pass a delegate as a parameter.
* Implement the delegate to call the Begin method of the Storyboard class.
О * Call the GetPattern method of the ButtonAutomationPeer class to return an IlnvokeProvider instance.
* Call the Invoke method of the IlnvokeProvider instance.
Категория: Работа с контролами Visual C# 2010 | Просмотров: 1079 | Добавил: AleXonis | Рейтинг: 0.0/0
Всего комментариев: 0
Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]
Поиск
Календарь
«  Декабрь 2011  »
Пн Вт Ср Чт Пт Сб Вс
   1234
567891011
12131415161718
19202122232425
262728293031
Архив записей
Copyright Алексей Чеботарев aka BTR © 2025