MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreOpportunities for recent engineering grads.

Apply TodaySearch Solutions

What is Size?

Size refers to the number of nodes in a parse tree. Generally speaking, you can think of size as code length.

1 – 40 of 40 previous next

22Size

0 Comments

23Size

0 Comments

17Size

0 Comments

30Size

0 Comments

20Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

18Size

0 Comments

Incorrect

0 Comments

82Size

0 Comments

17Size

0 Comments

13Size

0 Comments

17Size

0 Comments

33Size

0 Comments

27Size

0 Comments

19Size

0 Comments

17Size

0 Comments

22Size

0 Comments

Incorrect

0 Comments

21Size

0 Comments

27Size

0 Comments

17Size

0 Comments

Incorrect

0 Comments

34Size

0 Comments

29Size

0 Comments

29Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

1 Comment

1 Comment

Tim
on 2 Jan 2013

This fails for test case 4 even though it is mathematically correct--it gives 0.27343749999999994 instead of 0.2734375, while the test suite asks for 0.273438; it seems as though a fair test generally has to be of the form abs(y-y_correct)<tol*abs(y_correct); rounding to some number of decimal places always allows for possibilities like this. (Not a complaint, just a point of interest.)

17Size

0 Comments

27Size

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

19Size

0 Comments

21Size

0 Comments

19Size

0 Comments

20Size

0 Comments

26Size

0 Comments

29Size

0 Comments

1 – 40 of 40 previous next