Combo with "ICT2622 Practice Exams"
and 13 others with correct answers
100% 2024
- Correct Answer 10. Browser to Router, POST/cars/new (params[:car])
- Correct Answer 10. Browser to User, here's your car form
- Correct Answer 10. Browser to User, here's your table of cars
- Correct Answer 11. Router to Controller, CarsController#create (params[:car])
- Correct Answer 11. User updates form and clicks Update New Car
- Correct Answer 12. Browser to Router, PATCH/cars/7 (params[:car])
- Correct Answer 12. Controller to Model, Car.create(car_params)
- Correct Answer 13. Model to DB, insert into cars values (...)
- Correct Answer 13. Router to Controller, CarsController#update (params[:car])
- Correct Answer 14. Controller to Model, Car.find(7)
- Correct Answer 14. DB to Model, row from database
- Correct Answer 15. Model to Controller, Car Instance (store car in instance @car)
- Correct Answer 15. Model to DB, select * from cars where id=7
,- Correct Answer 16. Controller to Browser, redirect to /cars/5
- Correct Answer 16. DB to model, row from db
- Correct Answer 17. Browser to Router GET cars/5
- Correct Answer 17. Model to Controller, instance of car#7(stored on @car)
- Correct Answer 18. Controller to Model, @car.update(car_params)
- Correct Answer 18. Router to Controller CarsController#show (params[:id]=5)
- Correct Answer 19. Controller to Model, Car.find(5)
- Correct Answer 19. Model to DB, update cars set
- Correct Answer 2. Browser to Router "GET" cars
- Correct Answer 2. Browser to Router get/cars/new
- Correct Answer 2. Browser to Router, GET/cars/7/edit
- Correct Answer 20. Model to DB, select * from cars where id=5
- Correct Answer 20. see show
- Correct Answer 21. DB to Model, row from database
,- Correct Answer 22. Model to Controller, instance of car #5 (store car in instance @car)
- Correct Answer 23. Controller to View, please render app/views/cars/show.html.erb, you'll need
@car
- Correct Answer 24. View to Browser, HTML source of car page
- Correct Answer 25. Browser to User, here's your created car
- Correct Answer 3. Router to Controller CarsController#index
- Correct Answer 3. Router to Controller, CarsConroller#new
- Correct Answer 3. Router to Controller, CarsController#edit (params[:id]=7)
- Correct Answer 4. Controller to Model
Car.all
- Correct Answer 4. Controller to Model, Car.find(7)
- Correct Answer 4. Controller to Model, Car.new
- Correct Answer 5. Model to Controller, new car instance
- Correct Answer 5. Model to DB, select * from cars
- Correct Answer 5. Model to DB, select * from cars where id=7
- Correct Answer 6. Controller to Model, please render app/views/car/new.html.erb, you'll need @car
, - Correct Answer 6. DB to Model, row from database
- Correct Answer 6. DB to Models, rows from DB
- Correct Answer 7. Model to Controller, instance of car #7 (stored in instance of @car)
- Correct Answer 7. Models to Controllers, array of car instances
- Correct Answer 7. View to Browser, html source of new cars page
- Correct Answer 8. Browser to User, here's your new car form
- Correct Answer 8. Controller to View, please render app/views/cars/edit.html.erb (you'll need @car)
- Correct Answer 8. Controller to View, render app/views/cars/index.html.erb
- Correct Answer 9. User to Browser, fills in fields and clicks Create New Car
- Correct Answer 9. View to Browser, HTML source of car page
- Correct Answer 9. View to Browser, html source of cars page
____ 7. A(n) _____ provides guidelines to follow for completing every activity in systems development,
including specific models, tools, and techniques.
a. predictive approach
b. object-oriented analysis
c. system development methodology
d. systems development life cycle - Correct Answer system development methodology