PrepAway - Latest Free Exam Questions & Answers

Category: 70-483 (v.4)

Exam 70-483: Programming in C# (update November 3rd, 2016)

which form should you implement the rate member?

You are creating a class named Loan.
The Loan class must meet the following requirements:
Include a member that represents the rate for a Loan instance.
Allow external code to assign a value to the rate member.
Restrict the range of values that can be assigned to the rate member.
You need to implement the rate member to meet the requirements.
In which form should you implement the rate member?

Which code segment should you use?

You are developing an application that includes methods named EvaluateLoan, ProcessLoan, and
FundLoan. The application defines build configurations named TRIAL, BASIC, and ADVANCED.
You have the following requirements:
The TRIAL build configuration must run only the EvaluateLoan() method.
The BASIC build configuration must run all three methods.
The ADVANCED build configuration must run only the EvaluateLoan() and ProcessLoan() methods.
You need to meet the requirements.
Which code segment should you use?

Which two assembly identity attributes should you include in the source code?

You are developing an application that will be deployed to multiple computers. You set the assembly
name.
You need to create a unique identity for the application assembly.
Which two assembly identity attributes should you include in the source code? (Each correct answer
presents part of the solution. Choose two.)

You need to meet the requirements

You are developing an application that contains a class named TheaterCustomer and a method
named ProcessTheaterCustomer. The ProcessTheaterCustomer() method accepts a
TheaterCustomer object as the input parameter.
You have the following requirements:
Store the TheaterCustomer objects in a collection.
Ensure that the ProcessTheaterCustomer() method processes the TheaterCustomer objects in the
order in which they are placed into the collection.
You need to meet the requirements.
What should you do?

Which code segment should you insert at line 23?

You develop an application by using C#. The application counts the number of times a specific word
appears within a set of text files. The application includes the following code. (Line numbers are
included for reference only.)

You have the following requirements:
Populate the _wordCounts object with a list of words and the number of occurrences of each word.
Ensure that updates to the ConcurrentDictionary object can happen in parallel.
You need to complete the relevant code.
Which code segment should you insert at line 23?

You need to adjust the loanRate value to meet the requirements

You are evaluating a method that calculates loan interest. The application includes the following
code segment. (Line numbers are included for reference only.)

When the loanTerm value is 5 and the loanAmount value is 4500, the loanRate must be set to 6.5
percent.
You need to adjust the loanRate value to meet the requirements.
What should you do?


Page 20 of 24« First...10...1819202122...Last »