Top Banner
GROUP MEMBERS GROUP MEMBERS NAMA NO MATRIK SOO CHAN CHUAN AE070264 FADHULLAH BIN AMINUDDIN AE070119 CALVIN TAN KWANG YUEN AE070254 MOHAMAD IDHAM BIN IDRIS CHANDRAN AE070122 MOHD FARHAN BIN ISMAIL AE070103 MUHAMMAD AFIQ BIN BAHRUDIN AE070150 THEN KAI HAO AE070243 MUHAMAD ANNAS BIN ABDULLAH AE070114 NAMA PENSYARAH: PUAN ZARINA BINTI TUKIRAN
32
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Final Presentation

GROUP MEMBERSGROUP MEMBERS

NAMA NO MATRIK

SOO CHAN CHUAN AE070264

FADHULLAH BIN AMINUDDIN AE070119

CALVIN TAN KWANG YUEN AE070254

MOHAMAD IDHAM BIN IDRIS CHANDRAN AE070122

MOHD FARHAN BIN ISMAIL AE070103

MUHAMMAD AFIQ BIN BAHRUDIN AE070150

THEN KAI HAO AE070243

MUHAMAD ANNAS BIN ABDULLAH AE070114

NAMA PENSYARAH: PUAN ZARINA BINTI TUKIRAN

Page 2: Final Presentation

BEE1212 Computer ProgrammingBEE1212 Computer Programming

Final Presentation for Final Presentation for Developing Teaching and Developing Teaching and

Learning System in Learning System in Electronic Circuit AnalysisElectronic Circuit Analysis

Page 3: Final Presentation

IntroductionIntroduction

• Problem solving

• Various electronic devices

Page 4: Final Presentation

Company BackgroundCompany Background

• SilveriuM™

• Established in 21 September 2003

• Mission – Enhance and solve problem by using computer program

• Vision – Promotes the benefits of using computer program to solve problems

Page 5: Final Presentation

Organization and ResponsibilitiesOrganization and Responsibilities• PROJECT MANAGER: • THEN KAI HAO

• SYSTEM ANALYST: • SOO CHAN CHUAN

• PROGRAMMER:• MOHAMMAD AFIQ BIN BAHRUDIN• FADHULLAH BIN AMINUDDIN• CALVIN TAN KWANG YUEN• MOHD FARHAN BIN ISMAIL

• MARKETING OFFICER:• MOHAMAD IDHAM BIN IDRIS CHANDRAN• MOHD ANNAS BIN ABDULLAH

Page 6: Final Presentation

Organization ChartOrganization ChartPROJECT MANAGER

THEN KAI HAO

SYSTEM ANALYST

SOO CHAN CHUAN

PROGRAMMER

MOHAMMAD AFIQ BIN BAHRUDINFADHULLAH BIN AMINUDDIN

CALVIN TAN KWANG YUENMOHD FARHAN BIN ISMAIL

MARKETING OFFICER

MOHAMAD IDHAM BIN IDRIS CHANDRANMOHD ANNAS BIN ABDULLAH

Page 7: Final Presentation

Problem AnalysisProblem Analysis

Problem Statement 1:• Develop a system to calculate the equivalent

capacitance for number of capacitor in connection of series and parallel.

• Problem input• Total_num /*represent the number of capacitor*/• X /*Value of each capacitor*/

• Problem output• Value of equivalent in connection of series and parallel

• Constraint• The program will not calculate the equivalent capacitance if user

put a non positive value of each capacitor. The program should prompt the user to reinsert the data.

• Relevant Formula• capacitance_series=1/(1/capacitance_series+1/x)• capacitance_parallel=capacitance_parallel+x

Page 8: Final Presentation

Problem statement 1: Flow Chart

Begin

Counter =1Capacitance_parallel = 0.0

Read Total_capacitor

Total_capacitor>0

Counter<=total_capacitorRead value of capacitor

Capacitor>0

capacitance_series=1/(1/capacitance_series+1/x);

capacitance_parallel=capacitance_parallel+x;

counter = counter + 1

End

no

yes

no

yes

Print value of

capacitance equivalent

yes

no

Page 9: Final Presentation

Problem Statement 1: Coding and OutputProblem Statement 1: Coding and Output

• Coding

• Output

Page 10: Final Presentation

Problem Statement 2:• Develop a program to verify the relation in

between cross-sectional area (A), length (l) and resistivity (p).

• Problem input:• R, l, A, p, /*represents resistance (R),

length (l), cross sectional area (A) and resistivity (p)*/

• • Problem output:• Relationship between resistance(R) with

Resistivity(p), Cross-sectional Area(A) and Length(l)

Page 11: Final Presentation

• Relevant formula:– R= (p* l)/ A – k1=l/a– k2=p/a– k3=p*l– R=p*k1– R=l*k2– R=k3/A

• Constrain:The program will not run if the selection to find

relation of resistance with resistivity, length and cross-sectional area is invalid.

If the input value is character the program will not run.

Page 12: Final Presentation

Problem statement 2:Flow Chart

Page 13: Final Presentation
Page 14: Final Presentation
Page 15: Final Presentation
Page 16: Final Presentation

Problem Statement 2: Coding and OutputProblem Statement 2: Coding and Output

• Coding

• Output

Page 17: Final Presentation

Problem Statement 3:• Design a system or program that is able to

calculate the values of v(t) and i(t) for time interval of 0 to 10 seconds for the circuit below.

• Problem Input:– The given value for Vs = 10cos4t, R = 5 Ω and c

= 0.1F • Problem Output:• Value of v(t) and i(t)

Page 18: Final Presentation

• Relevant Formula:– v(t) = (10 cos ( 4t X ( π/180)))– i(t) = (10 cos ( 4t X (π/180))) / (3.2 cos ((4t +

51.34) X (π/180)))

• Constrain:• The constrain of this program is that it can

only calculate the value of v(t) and i(t) for the circuit that is given by the question with a fix value of Vs = 10cos4t, R = 5 Ω and c = 0.1F

Page 19: Final Presentation

Problem statement 3: Flow Chart

Page 20: Final Presentation

Problem Statement 3: Coding and OutputProblem Statement 3: Coding and Output

• Coding

• Output

Page 21: Final Presentation

Problem Statement 4:• Develop a program that contains at least five terms

related with electrical circuit theory and electrical technology field. The program is also able to add, update/edit and display the glossary.

• Problem input:• Input purpose

• Problem output: • Add glossary, edit/update glossary or display glossary • Constraint :• This program will not show the terms automatically

once this program is executed and the user has to key in the data first before they can view the glossary entered.

• Relevant formula: • None

Page 22: Final Presentation

Problem statement 4: Flow Chart

Page 23: Final Presentation

Problem Statement 4: Coding and OutputProblem Statement 4: Coding and Output

• Coding

• Output

Page 24: Final Presentation

Problem Statement 5:• Develop a program that develops a true/false

quiz that consists of twenty five questions. The program must be able to show only 5 random questions at a time. Besides that, the entire user’s mark must be recorded on text file.

• Problem input• (i) Student Info• (ii) Answer(yes or no) /*represent the

answer for the question*/

• Problem output• Display student info, result and save file

mark.

Page 25: Final Presentation

• Relevant formula• Total Mark = Total correct answer.

• Constrain

• The randomly selected question can be repeated, which mean the same question can be ask again at a time.

Page 26: Final Presentation

Problem statement 5: Flow Chart

Page 27: Final Presentation

R<5

CALCULATE MARK.

MARK=(RIGHT/RIGHT+WRONG)

GET STUDENT CHOICE

BEGIN==0

RETURN

B

Page 28: Final Presentation

Problem Statement 5: Coding and OutputProblem Statement 5: Coding and Output

• Coding

• Output

Page 29: Final Presentation

Saved FileSaved File

Page 30: Final Presentation

Final CodingFinal Coding

• Final Combine coding

Page 31: Final Presentation

Conclusion and SuggestionConclusion and Suggestion Improvement can be done in order to make the program more useful

and efficient. For problem statement 1, a program should be developed that it can

calculate the value of the capacitors which are connected in both series and parallel.

For problem statement 2, it will be better if the program can show the difference between the resistance with resistivity, cross-sectional area and length of a material.

For problem statement 3, program can be designed to calculate the circuit combination of currents and the voltages instead of the time interval of 0 to 10 second.

For problem statement 4, the program should be able to delete or remove the glossary.

For problem statement 5, the program should be designed such a way the same question will not repeat itself for the next student who answer the next set of question that is randomly pick by the program.

Page 32: Final Presentation

Thank you!Thank you!