exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 83 discussion

Actual exam question from Salesforce's CRT-450
Question #: 83
Topic #: 1
[All CRT-450 Questions]

Which type of code represents the Model in the MVC architecture when using Apex and Visualforce pages?

  • A. A Controller Extension method that saves a list of Account records
  • B. Custom JavaScript that processes a list of Account records
  • C. A list of Account records returned from a Controller Extension method
  • D. A Controller Extension method that uses SOQL to query for a list of Account records
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
HR444
Highly Voted 2 years, 9 months ago
The Model in MVC usually stands for the Data structure. One certainty is that sObjects in Salesforce are part of the Model in the MVC. Therefore, I am thinking C indeed is the correct answer.
upvoted 11 times
...
tradaz
Most Recent 9 months, 2 weeks ago
The type of code that represents the Model in the MVC architecture when using Apex and Visualforce pages is: C. A list of Account records returned from a Controller Extension method. In the MVC (Model-View-Controller) architecture, the Model represents the data and business logic of the application. In this context, the Model would be the list of Account records returned from the Controller Extension method. The Controller is responsible for handling the logic and data manipulation, and the View is responsible for displaying the data to the user.
upvoted 1 times
...
Jankovra
1 year, 7 months ago
It is C, as it is a list of Records.
upvoted 1 times
...
jasonbachman
3 years ago
correct answer is B
upvoted 2 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 ...