exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 2 question 98 discussion

Actual exam question from Microsoft's 70-483
Question #: 98
Topic #: 2
[All 70-483 Questions]

You are developing an application that includes a class named Customer and a generic list of customers. The following code segment declares the list of customers:
List<Customer> customersList = new List<Customer> () ;
You populate the customersList object with several hundred Customer objects.
The application must display the data for five Customer objects at a time.
You need to create a method that will return the correct number of Customer objects.
Which code segment should you use?

  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Nyxius
Highly Voted 6 years, 1 month ago
Mismatch between question and answer options
upvoted 30 times
JoelChuca
4 years, 9 months ago
Yes, customersList is not involved in the aswers.
upvoted 1 times
noussa
4 years, 5 months ago
It's the same as another question earlier in the list but for Employees instead of Customers it's about the Skip() and Take() of pages
upvoted 2 times
...
...
...
XXXX
Highly Voted 5 years, 5 months ago
answer is : public static IEnumarable<TSource> Page<TSource>(this IEnumarable<TSource> source, itnpage, int pageSize) { return source.Skip((page -1) * pageSize).Take(pageSize); }
upvoted 13 times
...
matt1204
Most Recent 4 years, 7 months ago
correct answer A B C and D
upvoted 2 times
...
Bilal0302
5 years, 4 months ago
Answer is: A & D
upvoted 3 times
Kilsimon
4 years, 8 months ago
Well - the answers are correct if you had another question. You have probably just memorized the answers and can answer based on that, but the question does not match the options.
upvoted 2 times
...
...
Kings2020
5 years, 4 months ago
Mismatch between question and answer options
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...