Homework 01 Solution/Answers

$35.00 $29.00

Q1: Read the instructions for question Q1 in the assignment document. In each of the 12 entries below, enter the corresponding integer. n11 = n12 = n13 = n14 = n21 = n22 = n23 = n24 = n31 = n32 = n33 = n34 = Q2: Read the instructions for question Q2 in the…

Rate this product

You’ll get a: zip file solution

 

Description

Rate this product

Q1: Read the instructions for question Q1 in the assignment document. In each of the 12 entries below, enter

the corresponding integer.

n11 =

n12 =

n13 =

n14 =

n21 =

n22 =

n23 =

n24 =

n31 =

n32 =

n33 =

n34 =

Q2: Read the instructions for question Q2 in the assignment document. For each of the four sub-questions,

check every box that is true.

(a):

f (n) 2 O(g(n))

(b):

f (n) 2 O(g(n))

(c):

f (n) 2 O(g(n))

(d):

f (n) 2 O(g(n))

f (n) 2 W(g(n))

f (n) 2 W(g(n))

f (n) 2 W(g(n))

f (n) 2 W(g(n))

f (n) 2 Q(g(n))

f (n) 2 Q(g(n))

f (n) 2 Q(g(n))

f (n) 2 Q(g(n))

Q3: Read the instructions for question Q3 in the assignment document. For each of the four sub-questions, check the only box whose corresponding array content answers the question.

(a):

A :

13

14

11

15

12

(b):

A :

13

14

11

15

12

A :

A :

13

14

14

15

12

13

14

14

15

12

A :

A :

13

13

14

15

12

13

13

14

15

12

A :

A :

11

13

14

15

12

11

13

14

15

12

A :

A :

11

13

14

15

15

11

13

14

15

15

A :

A :

11

13

14

14

15

11

13

14

14

15

A :

A :

11

13

13

14

15

11

13

13

14

15

A :

A :

11

12

13

14

15

11

12

13

14

15

(c):

A :

(d):

A :

13

14

11

15

12

13

14

11

15

12

A :

A :

13

14

14

15

12

13

14

14

15

12

A :

A :

13

13

14

15

12

13

13

14

15

12

A :

A :

11

13

14

15

12

11

13

14

15

12

A :

A :

11

13

14

15

15

11

13

14

15

15

A :

A :

11

13

14

14

15

11

13

14

14

15

A :

A :

11

13

13

14

15

11

13

13

14

15

A :

A :

11

12

13

14

15

11

12

13

14

15

Carefully read the instruction for each question in the assignment document

CSE310 Spring 2021 Homework 01 Answer Sheet Submit on Gradescope

Q4: Read the instructions for question Q4 in the assignment document. For each of the two sub-questions, check every box whose corresponding values for c and N make the proof correct.

(a): c = 6; N = 100 (b): c = 4; N = 100

c = 6; N = 200 c = 4; N = 200

c = 7; N = 100 c = 3; N = 100

c = 6; N = 50 c = 4; N = 50

c = 5; N = 100 c = 5; N = 100

Q5: Read the instructions for question Q5 in the assignment document. For each of the five sub-questions,

choose True or False.

(a):

If f (n) 2 O(n) and g(n) 2 O(n), then f (n) + g(n) 2 O(n).

(b):

If f (n) 2 O(n) and g(n) 2 O(n2), then f (n) + g(n) 2 O(n).

(c):

If f (n) 2 O(n), then n2 f (n) 2 O(n3).

(d):

If f (n) 2 Q(n log n) and g(n) 2 Q(n log n), then f (n) 2 Q(g(n)).

(e):

If f (n) 2 O(n2) and g(n) 2 O(n2), then f (n) 2 O(g(n)).

Carefully read the instruction for each question in the assignment document

Homework 01 Solution/Answers
$35.00 $29.00