Search Header Logo

ADP631 Week10 Class Revision Test

Authored by Deogratias Phiri

Information Technology (IT)

University

Used 1+ times

ADP631 Week10 Class Revision Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What tool is mentioned for API testing?

Postman

Fiddler

Insomnia

JMeter

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which attribute ensures a string is not null or empty in a model?

[Range]

[Required]

[Key]

[MaxLength]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the purpose of the Boolean IsAvailable property in a class called MenuItem?

To store price

To describe availability

To categorize item

To seed data

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid HTTP method used in the assignment?

GET

PUT

FETCH

DELETE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Swagger used for in this project?

Data seeding

API documentation and testing

Database connection

CSS Styling

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where is the database connection configured?

AppSettings.json

Program.cs

Web.config

DbContext.cs

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the issue in the following model? public class MenuItem { public string Name { get; set; } public decimal Price { get; set; } }

Missing [Required] and [Range]

Should inherit from DbContext

No IsAvailable field

No database context

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?