LAST UPDATED: 5/2/02

 

 

Work nº2 (EX2) 

 

 

 


Comments for the next exercises: READ CAREFULLY!

 

1.      In order to prevent your next works from being ignored due to submission errors, make sure you type in your name and ID at the header of each file.

2.      The filename you submit should be your ID number, NOT including initial zero and INCLUDING final digit (8 digits in all)

Example: 31892335_1.cpp

If you would like to REsubmit – do it under the same filename, just add a revision code (a,b,c, etc.)

 

Example: 31892335_1a.cpp

 

&& (THIS IS IMPORTANT!!!):  to \courses\prog021\

 

1st exercise: 31892335_1.cpp  + 31892335_2.cpp   è  \EX1

2nd exercise: 31892335.cpp                                        è  \EX2

3rd exercise: 31892335.cpp                                       è  \EX3

4th exercise: 31892335.cpp                                       è  \EX4

5th exercise: 31892335.cpp                                       è  \EX5

 

Bad submit, means lower grade … (applicable to next works).

 

3.      Take the time to read the "guide to writing better source code". Many lose points for not following those simple and basic guidelines written in there.

4.      It is a good thing to check your programs in all imaginable (and unimaginable) cases. Try thinking of cases where your code might fail, like checking for input validation etc. (It’s my job to look for those cases – try getting there before I do).

5.      Any questions regarding your grades can be submitted to this e-mail:

 

To:   bodeq01@yahoo.com

 

In every e-mail you send be sure to specify your name, ID and the filename of the file you want me to check.
THE SUBJECT of the Email should be your ID number!

6.      Be aware that any appeal may end in a grade change, for better or for WORSE, so go over your file thoroughly before sending an appeal! Do not appeal over 5 points!

 

 

 The following table explains the grading system we use so each of you can

see for what reason the grade was lowered:

 

Item

Explanation

Cost

1

File does not compile or does not exist.

100%

2

Input.
Program does not check for input requirements or other Input problems.

>30%

3

Algorithm.
Program’s algorithm invalid or does not comply with exercise requirements.

>80%

4

Output.
Program’s output does not meet the requirements or other output problems.

>40%

5

Insignificant variable names (such as a,b,c,d…),
Unsatisfactory indentation or unclear code,
Insufficient or badly located comments.

>10%

6

Use of global variables.

>40%

7

Use of advanced material not yet learned in the course.

>15%

8

Late submission  “(nºdays)x5”

5% per day

9

Compiling & Submitting ERRORS!!!

>60%

10

Go to Mr. Sicsic to get your grade !

-

 

( >30% meaning up to 30%)

 

Some observations to this work:

 

If your grade was lowered because of  “3 – Algorithm”, it means your program doesn’t work well. You should:

 

1.      Run the program and check it

2.Check the inputs given in the exercise (Assginment 2)

3.  Check for even more rational possibilities: 1 2 3 4 5 6 is NOT an hexagon!!!!

4.      Check the output is correct

5.      If you still think your program runs well, don’t send an appeal J

 

 

·        Please, send the next works correctly… so we wont need to lower you points on submitting.

·        If you don’t have a grade …  we didn’t get your file!!!!!!!!!!

 

ú÷ìä

öéåï 1

îñ. æäåú

3

90

11143211

1,9

0

11387339

2

93

11639143

 

100

11928561

9

95

13516422

1

0

14906036

2,3

83

15526122

2,3,4

75

15795214

3,4,2

65

17163163

 

100

17165861

2,3

82

17399668

 

100

21792981

5,2

84

25219486

3

80

25416793

2

93

25583626

3

90

25584319

 

100

27119320

3,8

5

29027067

2

85

31208507

 

100

31380306

 

100

31382559

5

95

31394114

 

100

31405160

2,3,4

65

31418262

3

0

31427263

 

100

31427883

 

100

31431539

 

100

31446560

 

100

31447294

 

100

31450877

2,3,4

70

31472335

3

90

31510647

2,3,5

70

31510936

 

100

31517089

 

100

31586910

 

100

31673361

 

100

31682495

5

95

31694433

 

100

31700024

 

100

31766223

2

90

31832520

3,2

85

31890247

3

90

31897473

3,2

85

31899537

3

75

31954407

 

100

32016008

 

100

32153959

2

95

32347890

2

90

32397465

 

100

32442196

2

87

32654386

 

100

32667206

4

90

32791865

1

0

32801532

2

90

32827792

 

100

32832305

 

100

32837767

2

82

32868358

2,5

87

32869448

3

90

32873697

 

100

32939456

 

100

32940678

2

80

32942229

 

100

32959207

 

100

32967192

4

97

32971087

2

90

32991838

3,2

85

33009002

1

0

33117052

2,3

82

33122102

2,3

82

33137605

2,3

82

33150756

1

0

33196874

4,8

90

33261850

 

100

33281874

10

85

33293374

 

100

33305897

 

100

33427337

3

0

33455270

2,3

70

33470428

2,3

85

33477126

1

0

33506049

8

95

33522871

 

100

33528258

 

100

33547399

 

100

33655275

2,3

87

33757980

2,3

80

33761917

9

90

33775651

2,4

82

33791450

 

100

33793456

 

100

33823006

 

100

33833476

3

90

33855867

 

100

33879560

 

100

33949132

3,4,5

70

33963695

6

80

34045880

3

90

34068221

3

90

34069385

 

100

34070763

4,5

85

34097048

 

100

34129650

 

100

34162925

3

90

34262402

 

100

34288043

 

100

34290023

10

85

34291567

 

100

34292532

10

85

34359505

 

100

34407189

 

100

34435495

3

90

34445353

 

100

34450643

 

100

34459693

 

100

34521278

3,4

65

34524371

 

100

34525733

6

80

34525881

 

100

34539908

 

100

34794552

10

85

34821637

3

90

34825430

 

100

34890962

1

0

34908152

3

90

34930248

9

90

34930321

 

100

34953810

 

100

35677632

 

100

35720242

 

100

35723204

 

100

35733658

 

100

35735174

2,3!

56

35743145

3

90

35749688

 

100

35779602

 

100

35785930

 

100

35890631

 

100

35932185

3

90

35971084

3

90

35999630

 

100

36023455

 

100

36066694

 

100

36087856

2,3

90

36144632

3

90

36170504

 

100

36174852

6

80

36189116

3

90

36192060

 

100

36207769

 

100

36221018

3,6,8

5

36246379

1

0

36248706

3

85

36289072

 

100

36289874

3,5

85

36290526

 

100

36290617

2,3

75

36335099

 

100

36335578

3,5

45

36347060

 

100

36369429

 

100

36411296

3

80

36457430

 

100

36464030

1

0

36465599

 

100

36467173

3

90

36482198

 

100

36936367

 

100

37170776

10

85

37207818

 

100

37231511

 

100

37249828

 

100

37333143

6

80

37358991

 

100

37374998

6

80

37472776

 

100

37503489

3

90

37512142

 

100

37628534

 

100

37677606

3

90

37683299

 

100

37747086

 

100

37829728

 

100

38275525

 

100

38289054

2,3

65

38328217

3

90

38334355

2,3

75

38365961

 

100

38380945

 

100

38383865

3

90

38418489

 

100

38561478

2,3

80

38580049

 

100

38593828

3

90

38594677

 

100

38600243

 

100

39053608

 

100

39129366

10

0

39184577

4

95

39214952

 

100

39238894

4,8

85

39839691

 

100

39861257

 

100

40192635

 

100

40277782

2,3,4

78

40299042

3

90

43024645

9!

100

43119338

3!!!???

5

46228581

1

0

61108478

6

80

61237095

10

0

65655649

2,3

75

66348962

 

100

66741430

 

100

200053619

2

85

302248497

 

100

303467658

 

100

303783054

 

100

303901045

1

0

304395528

2,3,4

75

304706450

2

83

304706468

 

100

304737174

2

80

305993818

 

100

306102286

 

100

306178823

2,3

65

306397712

2,3

80

306650821

 

100

306669060

1

0

306693839

3

0

306952607

1,9

0

307419093

 

100

307785550

3,2

83

309033330

 

100

310025085

1

0

310247218

2,3,4

70

310752308

 

100

310752605

 

100

310812060

2,3

75

311665863

3,2

82

311766810

3

95

311805998

2,3,4

68

312080450

2,3,4

65

316632892

 

100

317878080

3,4

80

317992782

 

100

319338471