
CPT 231 Midterm Part III

Quiz
•
Computers
•
University
•
Easy
Reza Naqvi
Used 4+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
If you’re using the default route, which action does the following URL call?
https:/localhost:5001/
The Index action of the Home controller
The Index action of the Customer controller
The List action of the Home controller
The List action of the Customer controller
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
In the following URL pattern, which part is static?
{controller}/{action}/{cat}/Page{num}/{sort?}
{cat}
Page
Page{num}
{sort?}
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which pattern specifies the default route for an ASP.NET Core MVC app?
{controller=Home}/{action=Index}/{id?}/{slug?}
{controller=Home}/{action=Index}/{id?}
{controller=Customer}/{action=List}/{id?}/{slug?}
{controller=Customer}/{action=List}/{id?}
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
If you’re using the default route, which action does the following URL call?
https:/localhost:5001/customer/list
The Index action of the Home controller
The Index action of the Customer controller
The List action of the Home controller
The List action of the Customer controller
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
When you use attribute routing, the route specified by the attribute
can’t use static segments
can’t use the [controller] or [action] tokens
can’t use a question mark (?) to specify optional segments
overrides any routes that are specified in the Program.cs file
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of the following is NOT a best practice for creating URLs?
Use query string parameters whenever possible.
Use keywords to describe the page’s content, not its implementation details.
Make your URLs easy for humans to understand and type.
Keep the URL as short as possible while still being descriptive and user-friendly.
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
In an ASP.NET Core MVC app, you can organize the folders and files of the app by creating areas where each area has its own
controllers only
models only
controllers and views only
controllers, models, and views
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
Introduction to Data Communication 2

Quiz
•
University
50 questions
Struts and Hibernate Quiz

Quiz
•
University
55 questions
Final Exam Practice

Quiz
•
10th Grade - University
50 questions
Network Attached Storage

Quiz
•
University
45 questions
DMI BAB II KELAS XII MULTIMEDIA

Quiz
•
12th Grade - University
50 questions
Pengetahuan US

Quiz
•
University
50 questions
MIDTERM EXAMINATION - AUTOMATA THEORY

Quiz
•
University
45 questions
SE2 - Lesson 1 (Introduction to System and Analysis)

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University