70-483 Programming in C# Complete Study

47
Exam Prep: 70-483 Programming in C# Complete Study

Transcript of 70-483 Programming in C# Complete Study

Page 1: 70-483 Programming in C# Complete Study

Exam Prep: 70-483 Programming in C#

Complete Study

Page 2: 70-483 Programming in C# Complete Study

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

Page 3: 70-483 Programming in C# Complete Study

Microsoft Certifications

Page 4: 70-483 Programming in C# Complete Study

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

Page 5: 70-483 Programming in C# Complete Study

MCSE and MCSD Certifications

Web Applications SharePoint Apps

Server Infrastructure Desktop Infrastructure

Business Intelligence Data Platform

Private Cloud

Page 6: 70-483 Programming in C# Complete Study

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

Page 7: 70-483 Programming in C# Complete Study

Exam Tips

Page 8: 70-483 Programming in C# Complete Study

Exam Basics40-60 questions1-4 hours to complete the examCan review questionsCannot move between case studies700 is passing700 is not 70%

Page 9: 70-483 Programming in C# Complete Study

All questions have a consistent anatomy:How to interpret questions

One or Multiple Correct Answers

Business Problem Goal Statement

Multiple Distracters

Page 10: 70-483 Programming in C# Complete Study

Questions are not intended to trick you

Page 11: 70-483 Programming in C# Complete Study

Exam ScoringEach exam has a “cut score”No partial creditNo points deducted for wrong answers

Page 12: 70-483 Programming in C# Complete Study

Study Resources

Page 13: 70-483 Programming in C# Complete Study

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

Page 14: 70-483 Programming in C# Complete Study

http://www.Microsoft.com/learning/en-us/exam-70-483.aspx

Microsoft Learning Website

Page 16: 70-483 Programming in C# Complete Study

Microsoft PressTraining Guide: Programming in C#

Page 17: 70-483 Programming in C# Complete Study

Exam Topics

Page 18: 70-483 Programming in C# Complete Study

Exam Outline

Manage Program Flow25%

Create and Use Types24%Debug Applications and

Implement Security25%

Implement Data Access26%

Page 19: 70-483 Programming in C# Complete Study

Manage Program FlowCreate and Use TypesDebug Applications and Implement SecurityImplement Data Access

Topics Outline

Page 20: 70-483 Programming in C# Complete Study

Manage Program Flow

Page 21: 70-483 Programming in C# Complete Study

Task Parallel LibraryParallelForPLINQTasks

Async/Await keywordsConcurrent Collections

ConcurrentBagConcurrentDictionaryConcurrentQueueBlockingCollection

Asynchronous Processing

Page 22: 70-483 Programming in C# Complete Study

Cancellation TokensCancellationTokenSource, CancellationTokenPassing into TaskCancelling a Task

LocksThread-safe methods

Multithreading

Page 23: 70-483 Programming in C# Complete Study

Control Statementsif/thenwhiledo/whileswitchforforeachbreakcontinueGotoyield

Program Flow

Page 24: 70-483 Programming in C# Complete Study

DelegatesFunc<T, U>Action<T>Comparison<T>Comparison<T, U>Predicate<T>EventHandler<T>

Lambda expressionsAnonymous methodsSubscribing/Unsubscribing from event

Events and Callbacks

Page 25: 70-483 Programming in C# Complete Study

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); }

Page 26: 70-483 Programming in C# Complete Study

Create and Use Types

Page 27: 70-483 Programming in C# Complete Study

Value TypesStructsEnum

Reference TypesGenerics

Types

Page 28: 70-483 Programming in C# Complete Study

MethodsOptional ParametersNamed ParametersParameter AttributesPass by Reference vs. Value

Static Extension MethodsIndexersStatic VariablesOverloaded/Overriden Members

Class Members

Page 29: 70-483 Programming in C# Complete Study

IDisposableFinalizationUnmanaged ResourcesGarbage Collection

Object Life Cycle

Page 30: 70-483 Programming in C# Complete Study

InterfacesMember signatures

Base classesAbstract base classesVirtual membersAbstract members

Existing InterfacesIComparableIEnumerableIDisposableIUnknown

Class Hierarchies

Page 31: 70-483 Programming in C# Complete Study

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 +=

Page 32: 70-483 Programming in C# Complete Study

Debug Applications and Implement Security

Page 33: 70-483 Programming in C# Complete Study

AsymmetricRSACryptoServiceProvider (RSA algorithm)Public and Private Keys

SymmetricCryptoStreamRijndaelManaged (Rijndael algorithm)

Hashing DataMD5CryptoServiceProvider (MD5 Hash)Hash + Salt Data

Encryption

Page 34: 70-483 Programming in C# Complete Study

System.Diagnostics.TraceTraceListenersInformation, Warning, Error

ProfilingPerformance CountersSystem.Diagnostics.EventLog

Diagnostics

Page 35: 70-483 Programming in C# Complete Study

DebuggingCompiler DirectivesBuild Types

Debug, ReleaseVersioning AssembliesSigning Assemblies using Strong Names

Builds

Page 36: 70-483 Programming in C# Complete Study

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

Page 37: 70-483 Programming in C# Complete Study

Implement Data Access

Page 38: 70-483 Programming in C# Complete Study

Working with FilesFile.ReadAllLines, File.ReadLineFile.WriteAllLines

StreamsCryptoStreamFileStreamMemoryStream

System.NetWebRequest, WebResponseHttpWebRequest, HttpWebResponse

I/O Operations

Page 39: 70-483 Programming in C# Complete Study

LINQ to XMLXDocument.LoadXElementXAttribute

ClassicXmlReader, XmlTextReaderXmlWriterXmlNavigator

Working with XML

Page 40: 70-483 Programming in C# Complete Study

Binary SerializationCustom SerializationXML SerializerData Contract SerializerData Contract JSON Serializer

Serializing Data

Page 41: 70-483 Programming in C# Complete Study

OperatorsProjectionJoinGroupTakeSkipAggregate

Writing LINQ extension methodQuery Syntax vs. Lambda SyntaxDeferred Query Execution

LINQ

Page 42: 70-483 Programming in C# Complete Study

Generic CollectionsDictionary<T, U>List<T>Queue<T>SortedList<T, U>Stack<T>

ArrayListHashtableQueueStack

Collections

Page 43: 70-483 Programming in C# Complete Study

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

Page 44: 70-483 Programming in C# Complete Study

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 }

Page 45: 70-483 Programming in C# Complete Study

ResourcesLearning

Microsoft Certification & Training Resourceswww.microsoft.com/learning

msdnResources for Developers

http://microsoft.com/msdn

TechNetResources for IT Professionals

http://microsoft.com/technet

Sessions on Demandhttp://channel9.msdn.com/Events/TechEd

Page 46: 70-483 Programming in C# Complete Study

Evaluate this session

Scan this QR code to evaluate this session.

Page 47: 70-483 Programming in C# Complete Study

© 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.