Anda di halaman 1dari 32

GROUP MEMBERS

NAMA PENSYARAH: PUAN ZARINA BINTI TUKIRAN

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


Final Presentation for
Developing Teaching and
Learning System in
Electronic Circuit Analysis

BEE1212 Computer Programming


Introduction

• Problem solving
• Various electronic devices
Company 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
Organization 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
Organization Chart
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
Problem 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
Problem statement 1: Begin

Flow Chart
Counter =1
Capacitance_parallel = 0.0

Read
Total_capacitor

no
Total_capacitor >0

yes

yes
Read value
Counter<=total_capacitor
of capacitor

no

Print value
no
of
capacitance
Capacitor>0
equivalent

yes

capacitance _series=1/(1/capacitance _series+1/x);

capacitance_parallel =capacitance _parallel+x;

End

counter = counter + 1
Problem Statement 1: Coding and Output

• Coding
• Output
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)
• 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.
Problem statement 2:
Flow Chart
Problem Statement 2: Coding and Output

• Coding
• Output
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)
• 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
Problem statement 3:
Flow Chart
Problem Statement 3: Coding and Output

• Coding
• Output
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
Problem statement 4:
Flow Chart
Problem Statement 4: Coding and Output

• Coding
• Output
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.
• 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.
Problem statement 5:
Flow Chart
B

R<5

CALCULATE
MARK.
MARK=(RIGHT/
RIGHT+WRONG)

GET
STUDENT
CHOICE

BEGIN==0

RETURN
Problem Statement 5: Coding and Output

• Coding
• Output
Saved File
Final Coding
• Final Combine coding
Conclusion 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.
Thank you!

Anda mungkin juga menyukai