programming lab 4

12
DEC2012 Fundamental Programming NO NAME MATRIX NUMBER 1. 2. NO. LAB : 4 TITLE : Construct programs that use simple switch case statement PROGRAM : DTK2A LECTURER : NO ASPECT SCORE 0-5 6-10 11-20 1. Cover Page (title/name/partner/matrix no./lab no./lecturer name) 2. Purpose & Equipment 3. Procedure 4. Source code (activity & exercise) 5. Output (activity & exercise) 6. Discussion & Conclusion 7. Documentation (Neatness/Spelling/Plagarism) 8. Delivery TOTAL /100

Upload: arvinthran-thennarayasu-krishnan

Post on 17-Nov-2015

244 views

Category:

Documents


0 download

DESCRIPTION

practival

TRANSCRIPT

DEC2012Fundamental ProgrammingNONAMEMATRIX NUMBER

1.

2.

NO. LAB: 4TITLE: Construct programs that use simple switch case statementPROGRAM: DTK2ALECTURER: NOASPECTSCORE

0-56-1011-20

1.Cover Page (title/name/partner/matrix no./lab no./lecturer name)

2.Purpose & Equipment

3.Procedure

4.Source code (activity & exercise)

5.Output (activity & exercise)

6.Discussion & Conclusion

7.Documentation (Neatness/Spelling/Plagarism)

8.Delivery

TOTAL /100

JABATAN KEJURUTERAAN ELEKTRIK PRACTICAL WORK REPORT RUBRICCOURSE CODEDEC2012COURSE NAMEFUNDAMENTAL PROGRAMMING

EXPERIMENT TITLE Construct programs that use simple switch case statement

LECTURERS NAME

STUDENTS NAME1REGISTRATION NUMBER1

22

33

44

DATE

COMPONENTRUBRICSSTUDENTS SCORE

1234

COVER PAGE(5% of total score)

Has title, name, partners, matrix numbers, report no., lecturers name.Using standard cover given. Using agreed cover color.(5)Missing information.Not using standard cover.Wrong cover color agreed.(0-4)

PURPOSE & EQUIPMENT(10% of total score)

Clear description of what is being studied in a correct sentence.All equipments are listed.

(10-6)Clear description but poor sentence; or description is a little unclear, good sentence.Missing one or two equipment. (5-1)No lab purpose.No equipment listed.

(0)

PROCEDURE(10% of total score)

Clear step by step description of programming procedure. (10-6)Clear description but missing one key step of procedure; or missing two steps of procedure.

(5-1)Missing more than two steps of procedure.

(0)

SOURCE CODE (ACTIVITY & EXERCISES) (20% of total score)

All programs are completely functional and respond correctly producing the correct outputs.

(20-16)

The programs are mostly functional and respond correctly producing the correct outputs. There are minor problems with the program implementation

(15-11)The programs are minimally functional with significant portions of the program missing or incomplete. The program is largely nonresponsive to most test cases and/or inputs.(10-6)The programs are not functional, meeting no significant design specifications, or was not attempted.

(5-0)

OUTPUT (ACTIVITY & EXERCISES) (20% of total score)Produce the correct outputs.All the data have been tested.(20-16)Only one output not correct.

(15-11)More than one output not correct.(10-6)All the output produced not correct.(5-0)

DOCUMENTATION (NEATNESS/SPELLING/ PLAGARISM(20% of total score)

Very neat and well organized.All grammar/spelling correct and very well-written.Report is authentic.

(20-16)Neat and fairly well organized.One or two grammar/spelling errors, mature, readable style.A part of report copied from others.(15-11)Lack neatness and organization. More than 2 grammar/spelling errors, generally readable with some rough spots in writing style.More than one part of report been copied from others.(10-6)Sloppy and unorganized.Frequent grammar and/or spelling errors, writing style is rough and immature.All the report been copied from others.(5-0)

DISCUSSION & CONCLUSION(10% of total score)

All program have been interpreted correctly and discussed, good understanding of results is conveyed.Written in paragraph form; includes why done, what done, what learned, including % error, sources of error.

(10-9)Almost all of the results have been correctly interpreted and discussed; only minor improvements are needed. Missing one key element of the conclusion (eg; what done or why done or what learned)

(8-7)Some of the results have been correctly interpreted and discussed; partial but incomplete understanding of results is still evident. Missing two key elements of the conclusion; or no results; or no sources of error.(6-4)Very incomplete or incorrect interpretation of program indicating a lack of understanding of results. Missing more than two elements of the conclusion.

(3-0)

DELIVERY(4% of total score)

The report was delivered on time.

(5)The report was delivered within a week of the due date.(4)The report was delivered within 2 weeks of the due date.(3)The report was delivered more than 2 weeks overdue.(2)

TOTAL SCORE / 100%

REMARKS :__________________________________________________________________________________________CHECKED BY : ___________________________________________NAME : ___________________________________________DATE : : _______________________________________

Purposei. Apply programs that use simple switch statementii. Construct programs that use simple switch case statement

Equipmenti. Computerii. C programming

LAB 4 ACTIVITY 4A

Activity 4B

Exercise

Discussion In activity 4A we have learn to contruct programs that use simple switch case statement in case A, B,C ,D AND F. In activity 4B, we have learnt to apply programs that use simple switch statement.

ConclusionAt the end of this practical, we have learnt to apply programs that use simple switch statement in programming. Besides that, we have also learnt to Construct programs that use simple switch case statement using our C++ software as we were instructed by our lecturer. By doing this practical work we had gain more knowledge about the syllabus that we were taught by our lecturer in our theory class. During this practical work, we have ensured that all the safety guidelines are followed and we also presented our work neatly.