Upload
ilene-hines
View
218
Download
0
Tags:
Embed Size (px)
Citation preview
Exam Prep: 70-483 Programming in C#Sidney Andrews, MCT@sidney_andrews
Session Objectives• Understand where 70-483 fits into overall
certification goals• Understand the objective domain for the
70-483 exam• Review a selection of topics covered by
the exam
Microsoft Certifications
For YouIncreased confidence in your abilities at workEnhanced product knowledgeLearn about certification to educate your coworkers and bosses
Shows drive and initiativeDemonstrate mastery of a productSets you apart from your peersRecognition inside and outside of MicrosoftCompletely achievable at TechEd
For Your Career
MCSE and MCSD Certifications
Web Applications SharePoint Apps
Server Infrastructure Desktop Infrastructure
Business Intelligence Data Platform
Private Cloud
Increased RigorReflection of the real worldLearn more, validate moreSolutions are more complex, questions must reflect thatBest way to measure candidates know what they know
New item typesFewer multiple choiceCase studies
Scenario basedSee big picture and make decisions
Innovative item types
Exam Tips
Exam Basics40-60 questions1-4 hours to complete the examCan review questionsCannot move between case studies
700 is passing700 is not 70%
All questions have a consistent anatomy:
How to interpret questions
One or Multiple Correct Answers
Business Problem Goal Statement
Multiple Distracters
Questions are not intended to trick you
Exam ScoringEach exam has a “cut score”No partial creditNo points deducted for wrong answers
Study Resources
http://www.Microsoft.com/learning/en-us/exam-70-483.aspx
Skills MeasuredBroken down by percentage
Preparation OptionsInstructor-led training (MOC)Exam prep videoCommunity Links
Microsoft Learning Website
http://www.Microsoft.com/learning/en-us/exam-70-483.aspx
Microsoft Learning Website
Programming in C# Jump Starthttp://www.microsoftvirtualacademy.com/training-courses/developer-training-with-programming-in-c
C# Fundaments for Absolute Beginnershttp://www.microsoftvirtualacademy.com/training-courses/c-fundamentals-for-absolute-beginners
Microsoft Virtual Academy
Microsoft Press
Training Guide: Programming in C#
Exam Topics
Exam Outline
Manage Program Flow25%
Create and Use Types24%
Debug Applications and Implement Security
25%
Implement Data Access26%
Manage Program FlowCreate and Use TypesDebug Applications and Implement SecurityImplement Data Access
Topics Outline
Manage Program Flow
Task Parallel LibraryParallelForPLINQTasks
Async/Await keywordsConcurrent Collections
ConcurrentBagConcurrentDictionaryConcurrentQueueBlockingCollection
Asynchronous Processing
Cancellation TokensCancellationTokenSource, CancellationTokenPassing into TaskCancelling a Task
LocksThread-safe methods
Multithreading
Control Statementsif/thenwhiledo/whileswitchforforeachbreakcontinueGotoyield
Program Flow
DelegatesFunc<T, U>Action<T>Comparison<T>Comparison<T, U>Predicate<T>EventHandler<T>
Lambda expressionsAnonymous methodsSubscribing/Unsubscribing from event
Events and Callbacks
Example QuestionYou have an application that communicates with an external service.
The code to communicate with your service is implemented in a try block. You need a catch block that can re-throw the exception without loosing or changing the call stack so that you can log any unexpected exceptions.
Which catch block will fulfill your goal?
d.
c.
b.
a.
catch(Exception) { throw new Exception(); }
catch(Exception e) { throw e; }
catch(Exception) { throw; }
catch(Exception e) { throw new Exception(e); }
Create and Use Types
Value TypesStructsEnum
Reference TypesGenerics
Types
MethodsOptional ParametersNamed ParametersParameter AttributesPass by Reference vs. Value
Static Extension MethodsIndexersStatic VariablesOverloaded/Overriden Members
Class Members
IDisposableFinalizationUnmanaged ResourcesGarbage Collection
Object Life Cycle
InterfacesMember signatures
Base classesAbstract base classesVirtual membersAbstract members
Existing InterfacesIComparableIEnumerableIDisposableIUnknown
Class Hierarchies
Example QuestionYou have an application that reads data from a database.
You need to combine 100+ lines of text.
Which of these is the most efficient way to combine the different strings?
d.
c.
b.
a.
StringWriter class
StringBuilder class
String concatenation
String append operator +=
Debug Applications and Implement Security
AsymmetricRSACryptoServiceProvider (RSA algorithm)Public and Private Keys
SymmetricCryptoStreamRijndaelManaged (Rijndael algorithm)
Hashing DataMD5CryptoServiceProvider (MD5 Hash)Hash + Salt Data
Encryption
System.Diagnostics.TraceTraceListenersInformation, Warning, Error
ProfilingPerformance CountersSystem.Diagnostics.EventLog
Diagnostics
DebuggingCompiler DirectivesBuild Types
Debug, Release
Versioning AssembliesSigning Assemblies using Strong Names
Builds
Example QuestionYou have a web site that allows users to register new accounts with a username and password. Passwords are hashed and salted in your system.
At login, You need to use one of the encryption classes to hash and salt the user-provided password and verify that it matches the user’s stored password without exposing the original value of their password.
Which of these classes can be used to encrypt the password provided at login?
d.
c.
b.
a.
MD5CryptoServiceProvider
TripleDESCryptoServiceProvider
RSACryptoServiceProvider
SHA1CryptoServiceProvider
Implement Data Access
Working with FilesFile.ReadAllLines, File.ReadLineFile.WriteAllLines
StreamsCryptoStreamFileStreamMemoryStream
System.NetWebRequest, WebResponseHttpWebRequest, HttpWebResponse
I/O Operations
LINQ to XMLXDocument.LoadXElementXAttribute
ClassicXmlReader, XmlTextReaderXmlWriterXmlNavigator
Working with XML
Binary SerializationCustom SerializationXML SerializerData Contract SerializerData Contract JSON Serializer
Serializing Data
OperatorsProjectionJoinGroupTakeSkipAggregate
Writing LINQ extension methodQuery Syntax vs. Lambda SyntaxDeferred Query Execution
LINQ
Generic CollectionsDictionary<T, U>List<T>Queue<T>SortedList<T, U>Stack<T>
ArrayListHashtableQueueStack
Collections
Example QuestionYou have a service application that receives JSON data from client devices.
You need to deserialize the JSON strings to a pre-defined type.
Which of these classes can be used to deserialize your JSON strings?
d.
c.
b.
a.
SoapFormatter
DataContractJsonSerializer
DataContractSerializer
XmlObjectSerializer
Example QuestionYou have an application that queries a list:
int[] values = { 1, 3, 5, 7, 9 }; int threshold = 6;var highValues = from v in values where v >= threshold select v;threshold = 3;var results = highValues.ToList();
What is the contents of the result list?
d.
c.
b.
a.
{ 5, 7, 9 }
{ 1, 3, 5, 7, 9 }
{ 7, 9 }
{ 3, 5, 7, 9 }
Resources
Learning
Microsoft Certification & Training Resources
www.microsoft.com/learning
msdn
Resources for Developers
http://microsoft.com/msdn
TechNet
Resources for IT Professionals
http://microsoft.com/technet
Sessions on Demand
http://channel9.msdn.com/Events/TechEd
Complete an evaluation and enter to win!
Evaluate this session
Scan this QR code to evaluate this session.
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.