Bambina's picture
From Bambina rss RSS  subscribe Subscribe

70-505 CSharp  

 

 
 
Views:  197
Published:  October 24, 2011
 
0
download

Share plick with friends Share
save to favorite
Report Abuse Report Abuse
 
Related Plicks
GSSP-NET-CSHARP Exam

GSSP-NET-CSHARP Exam

From: alice678
Views: 229 Comments: 0

CertMagic.com is a place where you can find various types of GSSP-NET-CSHARP exam certifications preparation material. CertMagic’s full range of study material for the GSSP-NET-CSHARP exam helps you to be prepared for the G (more)

 
70-552(CSHARP) Practice Exam Test Questions

70-552(CSHARP) Practice Exam Test Questions

From: PracticeQuestions
Views: 190 Comments: 0

Searching for 70-552(CSHARP) Practice Exam Test Questions. The Microsoft 70-552(CSHARP) practice exam test questions are provided by Pass-Guaranteed.com. Visit: www.pass-guaranteed.com to order the full product. Pass-Guaran (more)

 
FREE 70-552(CSHARP) Questions

FREE 70-552(CSHARP) Questions

From: FreeQuestions
Views: 177 Comments: 0
Searching for 70-552(CSHARP) Free Practice Questions. The Microsoft 70-552(CSHARP) Free practice questions are provided by Pass-Guaranteed.com. Visit: www.pass-guaranteed.com to order the full product. Pass-Guaranteed.com offers 70-552(CSHARP) Pract (more)

 
FREE 70-543(CSHARP) Questions

FREE 70-543(CSHARP) Questions

From: FreeQuestions
Views: 317 Comments: 0
Searching for 70-543(CSHARP) Free Practice Questions. The Microsoft 70-543(CSHARP) Free practice questions are provided by Pass-Guaranteed.com. Visit: www.pass-guaranteed.com to order the full product. Pass-Guaranteed.com offers 70-543(CSHARP) Pract (more)

 
70-543(CSHARP) Practice Exam Test Questions

70-543(CSHARP) Practice Exam Test Questions

From: PracticeQuestions
Views: 200 Comments: 0
Searching for 70-543(CSHARP) Practice Exam Test Questions. The Microsoft 70-543(CSHARP) practice exam test questions are provided by Pass-Guaranteed.com. Visit: www.pass-guaranteed.com to order the full product. Pass-Guaranteed.com offers 70-543(CSH (more)

 
Armageddon Now:  The End of the World A to Z

Armageddon Now: The End of the World A to Z

From: anon-392032
Views: 221 Comments: 0
Armageddon Now: The End of the World A to Z ,comparison of big four library databases, kansas city public library reference, new jersey library founder, csharp ebook
 
See all 
 
More from this user
70-503CSharp

70-503CSharp

From: Bambina
Views: 69
Comments: 0

Prepking 70-503 C#    Dumps

Prepking 70-503 C# Dumps

From: Bambina
Views: 156
Comments: 0

70-505

70-505

From: Bambina
Views: 66
Comments: 0

70-504VB

70-504VB

From: Bambina
Views: 70
Comments: 0

70-504CSharp

70-504CSharp

From: Bambina
Views: 57
Comments: 0

70-503 C#

70-503 C#

From: Bambina
Views: 54
Comments: 0

See all 
 
 
 URL:          AddThis Social Bookmark Button
Embed Thin Player: (fits in most blogs)
Embed Full Player :
 
 

Name

Email (will NOT be shown to other users)

 

 
 
Comments: (watch)
 
 
Notes:
 
Slide 1:       Exam Title : Microsoft 70-505(CSharp) : TS: Microsoft .NET Framework 3.5, Windows Forms Application Development Version : R6.1 www.Prepking.com     
Slide 2:       Prepking - King of Computer Certification Important Information, Please Read Carefully Other Prepking products A) Offline Testing engine Use the offline Testing engine product to practice the questions in an exam environment. B) Study Guide (not available for all exams) Build a foundation of knowledge which will be useful also after passing the exam. Latest Version We are constantly reviewing our products. New material is added and old material is updated. Free updates are available for 90 days after the purchase. You should check your member zone at Prepking and update 3-4 days before the scheduled exam date. Here is the procedure to get the latest version: 1.Go towww.Prepking.com 2.Click on Member zone/Log in (right side) 3. Then click My Account 4.The latest versions of all purchased products are downloadable from here. Just click the links. For most updates,it is enough just to print the new questions at the end of the new version, not the whole document. Feedback If you spot a possible improvement then please let us know. We always interested in improving product quality. Feedback should be send to feedback@Prepking.com. You should include the following: Exam number, version, page number, question number, and your login ID. Our experts will answer your mail promptly. Copyright Each PDF file contains a unique serial number associated with your particular name and contact information for security purposes. So if we find out that a particular PDF file is being distributed by you, Prepking reserves the right to take legal action against you according to the International Copyright Laws. Explanations This product does not include explanations at the moment. If you are interested in providing explanations for this exam, please contact feedback@Prepking.com. www.Prepking.com     
Slide 3:       1. You are creating a Windows Forms application by using the .NET Framework 3.5. The application requires a form to display a clock. You need to create a circular form to display the clock. Which code segment should you use? A. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath(); path.AddEllipse(0, 0, this.Width, this.Height); Region reg = new Region(); this.Region = reg; B. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath(); path.AddEllipse(0, 0, this.Width, this.Height); Region reg = new Region(path); this.Region = reg; C. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath(); path.AddEllipse(0, 0, this.Width, this.Height); Region reg = new Region(path); this.Region = reg; D. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath(); path.AddEllipse(0, 0, this.Width, this.Height); Region reg = new Region(); this.Region = reg; Answer: C 2. You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in your application. You add a SplitContainer control named spcFrame to the form. The SplitContainer control has two SplitterPanel controls named Panel1 and Panel2. You are configuring the SplitContainer control to define the layout of the form. www.Prepking.com     
Slide 4:       You need to ensure that the following requirements are met: The initial distance from the left edge of the spcFrame splitter is set to 200 pixels. The size of the Panel2 SplitterPanel remains unchanged when the form is resized. Which code segment should you use? A. spcFrame.Panel1MinSize = 200; spcFrame.FixedPanel = FixedPanel.Panel1; B. spcFrame.IsSplitterFixed = true; spcFrame.SplitterWidth = 200; C. spcFrame.SplitterDistance = 200; spcFrame.FixedPanel = FixedPanel.Panel2; D. spcFrame.Panel2MinSize = 0; spcFrame.SplitterIncrement = 200; Answer: C 3. You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in the application. You add a ContextMenuStrip control named ctxMenu to the form. You have a user-defined class named CustomControl. You write the following code segment in the application. (Line numbers are included for reference only.) 01 CustomControl myControl = new CustomControl(); 02 You need to ensure that an instance of CustomControl is displayed on the form as a top-level item of the ctxMenu control. Which code segment should you add at line 02? A. ToolStripControlHost host = new ToolStripControlHost(myControl); ctxMenu.Items.Add(host); B. ToolStripPanel panel = new ToolStripPanel(); panel.Controls.Add(myControl); ctxMenu.Controls.Add(panel); C. ToolStripContentPanel panel = new ToolStripContentPanel(); panel.Controls.Add(myControl); ctxMenu.Controls.Add(panel); D. ToolStripMenuItem menuItem = new ToolStripMenuItem(); ToolStripControlHost host = new ToolStripControlHost(myControl); menuItem.DropDownItems.Add(host); ctxMenu.Items.Add(menuItem); Answer: A www.Prepking.com     
Slide 5:       4. You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in your application. You add a PrintDocument control named pntDoc to the form. To support the print functionality, you write the following code segment in the application. (Line numbers are included for reference only.) 01 pntDoc.BeginPrint += new PrintEventHandler(PrintDoc_BeginPrint); 02 ... 03 bool canPrint = CheckPrintAccessControl(); 04 05 06 } 07 You need to ensure that the following requirements are met: When the user has no print access, font and file stream initializations are not executed and the print operation is cancelled. Print operations are logged whether or not the user has print access. What should you do? A. Add the following code segment at line 05. pntDoc.BeginPrint -= new PrintEventHandler(PrintDoc_BeginPrint); pntDoc.BeginPrint += new PrintEventHandler((obj, args) => args.Cancel = true); Add the following code segment at line 07. pntDoc.BeginPrint += new PrintEventHandler((obj1, args1) => LogPrintOperation()); B. Add the following code segment at line 05. pntDoc.BeginPrint += new PrintEventHandler(delegate(object obj, PrintEventArgs args){}); Add the following code segment at line 07. pntDoc.BeginPrint -= new PrintEventHandler(PrintDoc_BeginPrint); pntDoc.BeginPrint += new PrintEventHandler((obj1, args1) => LogPrintOperation()); C. Add the following code segment at line 05. pntDoc.BeginPrint -= new PrintEventHandler(PrintDoc_BeginPrint); pntDoc.BeginPrint -= new PrintEventHandler(delegate(object obj, PrintEventArgs args){}); if (!canPrint) { www.Prepking.com     
Slide 6:       Add the following code segment at line 07. pntDoc.BeginPrint -= new PrintEventHandler((obj1, args1) => LogPrintOperation()); D. Add the following code segment at line 05. pntDoc.BeginPrint -= new PrintEventHandler((obj, args) => args.Cancel = true); Add the following code segment at line 07. pntDoc.BeginPrint += new PrintEventHandler(PrintDoc_BeginPrint); pntDoc.BeginPrint -= new PrintEventHandler((obj1, args1) => LogPrintOperation()); Answer: A 5. You are creating a Windows Forms application by using the .NET Framework 3.5. You plan to modify a list of orders within a DataGridView control in the application. You need to ensure that a value is required in the first column of the grid control. Which code segment should you use? A. private void dataGridOrders_CellValidated( object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex == 0) { var cellValue = dataGridOrders[ e.ColumnIndex, e.RowIndex].Value; if (cellValue == null || string.IsNullOrEmpty(cellValue.ToString())) { dataGridOrders.EndEdit(); } } } B. private void dataGridOrders_Validated( object sender, EventArgs e) { if (dataGridOrders.CurrentCell.ColumnIndex == 0) { var cellValue = dataGridOrders.Text; if (cellValue == null || string.IsNullOrEmpty(cellValue.ToString())) { dataGridOrders.EndEdit(); www.Prepking.com     
Slide 7:       } } } C. private void dataGridOrders_Validating( object sender, CancelEventArgs e) { if (dataGridOrders.CurrentCell.ColumnIndex == 0) { var cellValue = dataGridOrders.Text; if (cellValue == null || string.IsNullOrEmpty(cellValue.ToString())) { e.Cancel = true; } } } D. private void dataGridOrders_CellValidating( object sender, DataGridViewCellValidatingEventArgs e) { if (e.ColumnIndex == 0) { if (e.FormattedValue == null || string.IsNullOrEmpty(e.FormattedValue.ToString())) { e.Cancel = true; } } } Answer: D 6. You are creating a Windows Forms application by using the .NET Framework 3.5. You write the following code segment to bind a list of categories to a drop-down list. (Line numbers are included for reference only.) 01 OleDbConnection cnnNorthwind = new OleDbConnection(connectionString); 02 OleDbCommand cmdCategory = new OleDbCommand( "SELECT CategoryID, CategoryName FROM Categories ORDER BY CategoryName", cnnNorthwind); 03 OleDbDataAdapter daCategory = new OleDbDataAdapter(cmdCategory); www.Prepking.com     
Slide 8:       04 DataSet dsCategory = new DataSet(); 05 daCategory.Fill(dsCategory); 06 You need to ensure that the drop-down list meets the following requirements: Displays all category names. Uses the category ID as the selected item value. Which code segment should you add at line 06? A. ddlCategory.DataSource = dsCategory; ddlCategory.DisplayMember = "CategoryName"; ddlCategory.ValueMember = "CategoryID"; B. ddlCategory.DataSource = dsCategory.Tables[0]; ddlCategory.DisplayMember = "CategoryName"; ddlCategory.ValueMember = "CategoryID"; C. ddlCategory.DataBindings.Add("DisplayMember", dsCategory, "CategoryName"); ddlCategory.DataBindings.Add("ValueMember", dsCategory, "CategoryID"); D. ddlCategory.DataBindings.Add("DisplayMember", dsCategory.Tables[0], "CategoryName"); ddlCategory.DataBindings.Add("ValueMember", dsCategory.Tables[0], "CategoryID"); Answer: B 7. You are creating a Windows Forms application by using the .NET Framework 3.5. You write a code segment to connect to a Microsoft Access database and populate a DataSet. You need to ensure that the application meets the following requirements: It displays all database exceptions. It logs all other exceptions by using the LogExceptionToFile. Which code segment should you use? A. try { categoryDataAdapter.Fill(dsCategory); } catch (SqlException ex) { MessageBox.Show(ex.Message, "Exception"); www.Prepking.com     
Slide 9:       LogExceptionToFile(ex.Message); } B. try { categoryDataAdapter.Fill(dsCategory); } catch (SqlException ex) { MessageBox.Show(ex.Message, "Exception"); } catch (Exception ex) { LogExceptionToFile(ex.Message); } C. try { categoryDataAdapter.Fill(dsCategory); } catch (OleDbException ex) { MessageBox.Show(ex.Message, "Exception"); } catch (Exception ex) { LogExceptionToFile(ex.Message); } D. try { categoryDataAdapter.Fill(dsCategory); } catch (OleDbException ex) { MessageBox.Show(ex.Message, "Exception"); LogExceptionToFile(ex.Message); } www.Prepking.com     
Slide 10:       Answer: C 8. You are creating a Windows Forms application by using the .NET Framework 3.5. You need to populate a list box control along with category names by using a DataReader control. Which code segment should you use? A. OleDbDataReader reader; OleDbConnection cnnNorthwind = new OleDbConnection( connectionString); cnnNorthwind.Open(); OleDbCommand cmdCategory = new OleDbCommand( "SELECT * FROM Categories", cnnNorthwind); reader = cmdCategory.ExecuteReader(); while (reader.Read()) { lbCategories.Items.Add(reader["CategoryName"]); } cnnNorthwind.close(); B. OleDbDataReader reader; OleDbConnection cnnNorthwind = new OleDbConnection( connectionString); cnnNorthwind.Open(); OleDbCommand cmdCategory = new OleDbCommand( "SELECT * FROM Orders", cnnNorthwind); reader = cmdCategory.ExecuteReader(); while (reader.NextResult()) { lbCategories.Items.Add(reader["CategoryName"]); } cnnNorthwind.close(); C. OleDbDataReader reader; OleDbConnection cnnNorthwind = new OleDbConnection( connectionString); cnnNorthwind.Open(); OleDbCommand cmdCategory = new OleDbCommand( "SELECT * FROM Orders", cnnNorthwind); reader = cmdCategory.ExecuteReader(); cnnNorthwind.Close(); while (reader.Read()) { www.Prepking.com     
Slide 11: 100% Pass Guaranteed or Full Refund Word to Word Real Exam Questions from Real Test Buy full version of exam from this link below http://www.prepking.com/70-505_CSharp_.htm

   
Time on Slide Time on Plick
Slides per Visit Slide Views Views by Location