Search Header Logo

Homework 4

Authored by Antonio Estevan

Mathematics

University

Used 7+ times

Homework 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many people can visit the canteen?

200

1

No limit

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Must every student visiting the canteen eat a dish?

Yes

No

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many dishes can the canteen offer?

3

1

No Limit

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many drinks can a person take?

3

1

No Limit

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Invariant 1:

context Dish

inv : student_price < 5

Satisfies

Does not satisfy

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Invariant 2:

context Canteen inv : self . dishes -> select ( type = Type :: vegetarian )

-> collect ( students ) -> size () = 2

Satisfies

Does not satisfy

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Invariant 3:

context Canteen inv : self . guests ->

exists ( guest : Person | guest . diet = Type :: vegan )

Satisfies

Does not satisfy

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?