SlideShare a Scribd company logo
1 of 33
Download to read offline
LBYEC72
Computer Fundamentals : Programming 2
Pre-requisite: LBYEC71(Soft)
Engr. Melvin Kong Cabatuan
De La Salle University
Manila, Philippines
January 2013
Engr. Melvin Kong Cabatuan LBYEC72
Self Introduction
Melvin K. Cabatuan, MsE, Ph.D. Cand
Masters of Engineering, NAIST (Japan)
Thesis: Cognitive Radio (Wireless Communication)
ECE Reviewer/Mentor (Since 2005)
2nd Place, Nov. 2004 ECE Board Exam
Test Engineering Cadet, ON Semiconductors
DOST Academic Excellence Awardee 2004
Mathematician of the Year 2003
DOST Scholar (1999-2004)
Panasonic Scholar, Japan (2007-2010)
Engr. Melvin Kong Cabatuan LBYEC72
On Doing Research
Engr. Melvin Kong Cabatuan LBYEC72
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Review of Conditional and Iterative
Statements, Arrays, and Strings
Topic 1: Nested Conditional and Iterative
Statements
Topic 2: Single-Dimensional and
Multi-dimensional Arrays
Topic 3: Strings, String Arrays, and String
Manipulation Functions
Practical Exam 1
Discussion on Pointers, Functions, and
Structures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Review of Conditional and Iterative
Statements, Arrays, and Strings
Topic 1: Nested Conditional and Iterative
Statements
Topic 2: Single-Dimensional and
Multi-dimensional Arrays
Topic 3: Strings, String Arrays, and String
Manipulation Functions
Practical Exam 1
Discussion on Pointers, Functions, and
Structures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Review of Conditional and Iterative
Statements, Arrays, and Strings
Topic 1: Nested Conditional and Iterative
Statements
Topic 2: Single-Dimensional and
Multi-dimensional Arrays
Topic 3: Strings, String Arrays, and String
Manipulation Functions
Practical Exam 1
Discussion on Pointers, Functions, and
Structures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Review of Conditional and Iterative
Statements, Arrays, and Strings
Topic 1: Nested Conditional and Iterative
Statements
Topic 2: Single-Dimensional and
Multi-dimensional Arrays
Topic 3: Strings, String Arrays, and String
Manipulation Functions
Practical Exam 1
Discussion on Pointers, Functions, and
Structures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Review of Conditional and Iterative
Statements, Arrays, and Strings
Topic 1: Nested Conditional and Iterative
Statements
Topic 2: Single-Dimensional and
Multi-dimensional Arrays
Topic 3: Strings, String Arrays, and String
Manipulation Functions
Practical Exam 1
Discussion on Pointers, Functions, and
Structures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Review of Conditional and Iterative
Statements, Arrays, and Strings
Topic 1: Nested Conditional and Iterative
Statements
Topic 2: Single-Dimensional and
Multi-dimensional Arrays
Topic 3: Strings, String Arrays, and String
Manipulation Functions
Practical Exam 1
Discussion on Pointers, Functions, and
Structures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: Pointers
Topic 5: Functions and Pass-by-value
Topic 6: Functions and Pass-by-reference
Topic 7: Structures, Structure Array, and
Complex Data Type
Topic 8: Structures, Structure Pointers, and
Passing of References
Practical Exam 2
Discussion on Dynamic Memory
Allocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: Pointers
Topic 5: Functions and Pass-by-value
Topic 6: Functions and Pass-by-reference
Topic 7: Structures, Structure Array, and
Complex Data Type
Topic 8: Structures, Structure Pointers, and
Passing of References
Practical Exam 2
Discussion on Dynamic Memory
Allocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: Pointers
Topic 5: Functions and Pass-by-value
Topic 6: Functions and Pass-by-reference
Topic 7: Structures, Structure Array, and
Complex Data Type
Topic 8: Structures, Structure Pointers, and
Passing of References
Practical Exam 2
Discussion on Dynamic Memory
Allocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: Pointers
Topic 5: Functions and Pass-by-value
Topic 6: Functions and Pass-by-reference
Topic 7: Structures, Structure Array, and
Complex Data Type
Topic 8: Structures, Structure Pointers, and
Passing of References
Practical Exam 2
Discussion on Dynamic Memory
Allocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: Pointers
Topic 5: Functions and Pass-by-value
Topic 6: Functions and Pass-by-reference
Topic 7: Structures, Structure Array, and
Complex Data Type
Topic 8: Structures, Structure Pointers, and
Passing of References
Practical Exam 2
Discussion on Dynamic Memory
Allocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: Pointers
Topic 5: Functions and Pass-by-value
Topic 6: Functions and Pass-by-reference
Topic 7: Structures, Structure Array, and
Complex Data Type
Topic 8: Structures, Structure Pointers, and
Passing of References
Practical Exam 2
Discussion on Dynamic Memory
Allocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: Pointers
Topic 5: Functions and Pass-by-value
Topic 6: Functions and Pass-by-reference
Topic 7: Structures, Structure Array, and
Complex Data Type
Topic 8: Structures, Structure Pointers, and
Passing of References
Practical Exam 2
Discussion on Dynamic Memory
Allocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
References
1 LBYEC72 Laboratory Manual
2 Books and other online sources
Engr. Melvin Kong Cabatuan LBYEC72
References
1 LBYEC72 Laboratory Manual
2 Books and other online sources
Engr. Melvin Kong Cabatuan LBYEC72
Evaluation Criteria
Average of Preliminary Reports: 20%
Average of Final Reports: 20%
Project: 30%
Practical Examination I : 15%
Practical Examination II : 15%
Total: 100%
PASSING GRADE: 70%
Engr. Melvin Kong Cabatuan LBYEC72
Preliminary Report
1
Preliminary Reports are written and
completed prior to the end of every
laboratory sessions using your EC72
journal.
2
Preliminary Reports are checked 30
minutes before the end of every session.
3
Preliminary Reports are individual.
Engr. Melvin Kong Cabatuan LBYEC72
Final Report
1
Final Reports should be submitted one
week after the topic.
2
Late reports will receive a 10 %
deduction per week.
3
Final Reports are done by pair.
Engr. Melvin Kong Cabatuan LBYEC72
Project
1
Students may develop a project proposal
or follow the project specifications given
by the instructor.
2
Projects are done by groups with a
maximum of three members.
Engr. Melvin Kong Cabatuan LBYEC72
Programming Review: Hello World!
Engr. Melvin Kong Cabatuan LBYEC72
Programming Review
Problem 1
Given the quadratic equation
ax2
+ bx + c = 0. Write a simple program
that implements the following quadratic
formula:
x =
−b ±
√
b2 − 4ac
2a
Engr. Melvin Kong Cabatuan LBYEC72
Sample Answer:
Engr. Melvin Kong Cabatuan LBYEC72
Programming Review
Problem 2
Write a program that prints the maximum
of four given integers.
Engr. Melvin Kong Cabatuan LBYEC72
Sample Answer:
Engr. Melvin Kong Cabatuan LBYEC72
Programming Review
Problem 3
Write a program that prints a tringle of
stars shown in the following figure:
Engr. Melvin Kong Cabatuan LBYEC72
Sample Answer:
Engr. Melvin Kong Cabatuan LBYEC72
Programming Review
Problem 4
Write a program that prints a diamond of
stars shown in the following figure:
Engr. Melvin Kong Cabatuan LBYEC72
Sample Answer:
Engr. Melvin Kong Cabatuan LBYEC72
END
c Thank you for your attention d
Engr. Melvin Kong Cabatuan LBYEC72

More Related Content

What's hot

Machine learning important questions
Machine learning  important questionsMachine learning  important questions
Machine learning important questionsSadhanaKumble1
 
Discrete Mathematics
Discrete MathematicsDiscrete Mathematics
Discrete Mathematicsmetamath
 
BERT - Part 2 Learning Notes
BERT - Part 2 Learning NotesBERT - Part 2 Learning Notes
BERT - Part 2 Learning NotesSenthil Kumar M
 
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language UnderstandingBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language Understandinggohyunwoong
 
An introduction to the Transformers architecture and BERT
An introduction to the Transformers architecture and BERTAn introduction to the Transformers architecture and BERT
An introduction to the Transformers architecture and BERTSuman Debnath
 
Course file for theory of computation dt 08 08-2016.
Course file for theory of computation dt 08 08-2016.Course file for theory of computation dt 08 08-2016.
Course file for theory of computation dt 08 08-2016.sumit jain
 
Bytewise Approximate Match: Theory, Algorithms and Applications
Bytewise Approximate Match:  Theory, Algorithms and ApplicationsBytewise Approximate Match:  Theory, Algorithms and Applications
Bytewise Approximate Match: Theory, Algorithms and ApplicationsLiwei Ren任力偉
 
Bert pre_training_of_deep_bidirectional_transformers_for_language_understanding
Bert  pre_training_of_deep_bidirectional_transformers_for_language_understandingBert  pre_training_of_deep_bidirectional_transformers_for_language_understanding
Bert pre_training_of_deep_bidirectional_transformers_for_language_understandingThyrixYang1
 
Neural Mask Generator : Learning to Generate Adaptive Word Maskings for Langu...
Neural Mask Generator : Learning to Generate Adaptive WordMaskings for Langu...Neural Mask Generator : Learning to Generate Adaptive WordMaskings for Langu...
Neural Mask Generator : Learning to Generate Adaptive Word Maskings for Langu...MLAI2
 
Evaluation of subjective answers using glsa enhanced with contextual synonymy
Evaluation of subjective answers using glsa enhanced with contextual synonymyEvaluation of subjective answers using glsa enhanced with contextual synonymy
Evaluation of subjective answers using glsa enhanced with contextual synonymyijnlc
 
Using Interactive GA for Requirements Prioritization
Using Interactive GA for Requirements PrioritizationUsing Interactive GA for Requirements Prioritization
Using Interactive GA for Requirements PrioritizationFrancis Palma
 
From programming to software engineering: ICSE keynote slides available
From programming to software engineering: ICSE keynote slides availableFrom programming to software engineering: ICSE keynote slides available
From programming to software engineering: ICSE keynote slides availableCelso Martins
 

What's hot (15)

Machine learning important questions
Machine learning  important questionsMachine learning  important questions
Machine learning important questions
 
Discrete Mathematics
Discrete MathematicsDiscrete Mathematics
Discrete Mathematics
 
Electra
ElectraElectra
Electra
 
BERT - Part 2 Learning Notes
BERT - Part 2 Learning NotesBERT - Part 2 Learning Notes
BERT - Part 2 Learning Notes
 
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language UnderstandingBERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
 
Bert
BertBert
Bert
 
An introduction to the Transformers architecture and BERT
An introduction to the Transformers architecture and BERTAn introduction to the Transformers architecture and BERT
An introduction to the Transformers architecture and BERT
 
Course file for theory of computation dt 08 08-2016.
Course file for theory of computation dt 08 08-2016.Course file for theory of computation dt 08 08-2016.
Course file for theory of computation dt 08 08-2016.
 
Bytewise Approximate Match: Theory, Algorithms and Applications
Bytewise Approximate Match:  Theory, Algorithms and ApplicationsBytewise Approximate Match:  Theory, Algorithms and Applications
Bytewise Approximate Match: Theory, Algorithms and Applications
 
Bert pre_training_of_deep_bidirectional_transformers_for_language_understanding
Bert  pre_training_of_deep_bidirectional_transformers_for_language_understandingBert  pre_training_of_deep_bidirectional_transformers_for_language_understanding
Bert pre_training_of_deep_bidirectional_transformers_for_language_understanding
 
Neural Mask Generator : Learning to Generate Adaptive Word Maskings for Langu...
Neural Mask Generator : Learning to Generate Adaptive WordMaskings for Langu...Neural Mask Generator : Learning to Generate Adaptive WordMaskings for Langu...
Neural Mask Generator : Learning to Generate Adaptive Word Maskings for Langu...
 
Cd32504509
Cd32504509Cd32504509
Cd32504509
 
Evaluation of subjective answers using glsa enhanced with contextual synonymy
Evaluation of subjective answers using glsa enhanced with contextual synonymyEvaluation of subjective answers using glsa enhanced with contextual synonymy
Evaluation of subjective answers using glsa enhanced with contextual synonymy
 
Using Interactive GA for Requirements Prioritization
Using Interactive GA for Requirements PrioritizationUsing Interactive GA for Requirements Prioritization
Using Interactive GA for Requirements Prioritization
 
From programming to software engineering: ICSE keynote slides available
From programming to software engineering: ICSE keynote slides availableFrom programming to software engineering: ICSE keynote slides available
From programming to software engineering: ICSE keynote slides available
 

Viewers also liked (13)

My Android portfolio part1
My Android portfolio part1My Android portfolio part1
My Android portfolio part1
 
My Android portfolio part2
My Android portfolio part2My Android portfolio part2
My Android portfolio part2
 
Valgrind
ValgrindValgrind
Valgrind
 
Mercurial setup
Mercurial setupMercurial setup
Mercurial setup
 
Dismath part2 2013
Dismath part2 2013Dismath part2 2013
Dismath part2 2013
 
C tour Unix
C tour UnixC tour Unix
C tour Unix
 
Data communication part2
Data communication part2Data communication part2
Data communication part2
 
Routing
RoutingRouting
Routing
 
Vector calculus
Vector calculusVector calculus
Vector calculus
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 
Ipn conference2016
Ipn conference2016Ipn conference2016
Ipn conference2016
 
DISMATH_Part1
DISMATH_Part1DISMATH_Part1
DISMATH_Part1
 
DISMATH_Part2
DISMATH_Part2DISMATH_Part2
DISMATH_Part2
 

Similar to LBYEC72_Overview

Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual Abdul Hannan
 
A First Course In With Applications Complex Analysis
A First Course In With Applications Complex AnalysisA First Course In With Applications Complex Analysis
A First Course In With Applications Complex AnalysisElizabeth Williams
 
Devry CIS 247 Full Course Latest
Devry CIS 247 Full Course LatestDevry CIS 247 Full Course Latest
Devry CIS 247 Full Course LatestAtifkhilji
 
EE312_ Control System Engineering_Moodle_Page
EE312_ Control System Engineering_Moodle_PageEE312_ Control System Engineering_Moodle_Page
EE312_ Control System Engineering_Moodle_PagePraneel Chand
 
Course-Plan-Object Oriented Concept (18CS45)1.pdf
Course-Plan-Object Oriented Concept (18CS45)1.pdfCourse-Plan-Object Oriented Concept (18CS45)1.pdf
Course-Plan-Object Oriented Concept (18CS45)1.pdfabhijit.tec
 
CAPSTONE PROJECTWeekly tasks or assignments (Individual or Gro.docx
CAPSTONE PROJECTWeekly tasks or assignments (Individual or Gro.docxCAPSTONE PROJECTWeekly tasks or assignments (Individual or Gro.docx
CAPSTONE PROJECTWeekly tasks or assignments (Individual or Gro.docxwendolynhalbert
 
How Anchoring Concepts Influence Essay Conceptual Structure And Test Performance
How Anchoring Concepts Influence Essay Conceptual Structure And Test PerformanceHow Anchoring Concepts Influence Essay Conceptual Structure And Test Performance
How Anchoring Concepts Influence Essay Conceptual Structure And Test PerformanceRoy Clariana
 
Concept Detection of Multiple Choice Questions using Transformer Based Models
Concept Detection of Multiple Choice Questions using Transformer Based ModelsConcept Detection of Multiple Choice Questions using Transformer Based Models
Concept Detection of Multiple Choice Questions using Transformer Based ModelsIRJET Journal
 
Master problem solving live physics for boards, jee main & advanced
Master problem solving live physics for boards, jee main & advancedMaster problem solving live physics for boards, jee main & advanced
Master problem solving live physics for boards, jee main & advancedDisha Publication
 
Engineering VibrationFourth EditionDaniEl J. inman.docx
Engineering VibrationFourth EditionDaniEl J. inman.docxEngineering VibrationFourth EditionDaniEl J. inman.docx
Engineering VibrationFourth EditionDaniEl J. inman.docxYASHU40
 
CS4443 - Modern Programming Language I
CS4443 - Modern Programming Language ICS4443 - Modern Programming Language I
CS4443 - Modern Programming Language IDilawar Khan
 

Similar to LBYEC72_Overview (20)

Syllabus_Virginia_Tech_ECE_2204
Syllabus_Virginia_Tech_ECE_2204Syllabus_Virginia_Tech_ECE_2204
Syllabus_Virginia_Tech_ECE_2204
 
Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual
 
A First Course In With Applications Complex Analysis
A First Course In With Applications Complex AnalysisA First Course In With Applications Complex Analysis
A First Course In With Applications Complex Analysis
 
Devry CIS 247 Full Course Latest
Devry CIS 247 Full Course LatestDevry CIS 247 Full Course Latest
Devry CIS 247 Full Course Latest
 
EE312_ Control System Engineering_Moodle_Page
EE312_ Control System Engineering_Moodle_PageEE312_ Control System Engineering_Moodle_Page
EE312_ Control System Engineering_Moodle_Page
 
Physics 71
Physics 71Physics 71
Physics 71
 
Course-Plan-Object Oriented Concept (18CS45)1.pdf
Course-Plan-Object Oriented Concept (18CS45)1.pdfCourse-Plan-Object Oriented Concept (18CS45)1.pdf
Course-Plan-Object Oriented Concept (18CS45)1.pdf
 
CAPSTONE PROJECTWeekly tasks or assignments (Individual or Gro.docx
CAPSTONE PROJECTWeekly tasks or assignments (Individual or Gro.docxCAPSTONE PROJECTWeekly tasks or assignments (Individual or Gro.docx
CAPSTONE PROJECTWeekly tasks or assignments (Individual or Gro.docx
 
VP9 my work
VP9 my workVP9 my work
VP9 my work
 
How Anchoring Concepts Influence Essay Conceptual Structure And Test Performance
How Anchoring Concepts Influence Essay Conceptual Structure And Test PerformanceHow Anchoring Concepts Influence Essay Conceptual Structure And Test Performance
How Anchoring Concepts Influence Essay Conceptual Structure And Test Performance
 
pdf.pdf
pdf.pdfpdf.pdf
pdf.pdf
 
pdf.pdf
pdf.pdfpdf.pdf
pdf.pdf
 
pdf.pdf
pdf.pdfpdf.pdf
pdf.pdf
 
pdf.pdf
pdf.pdfpdf.pdf
pdf.pdf
 
Machine learning
Machine learningMachine learning
Machine learning
 
Concept Detection of Multiple Choice Questions using Transformer Based Models
Concept Detection of Multiple Choice Questions using Transformer Based ModelsConcept Detection of Multiple Choice Questions using Transformer Based Models
Concept Detection of Multiple Choice Questions using Transformer Based Models
 
Master problem solving live physics for boards, jee main & advanced
Master problem solving live physics for boards, jee main & advancedMaster problem solving live physics for boards, jee main & advanced
Master problem solving live physics for boards, jee main & advanced
 
2018 syllabus
2018 syllabus2018 syllabus
2018 syllabus
 
Engineering VibrationFourth EditionDaniEl J. inman.docx
Engineering VibrationFourth EditionDaniEl J. inman.docxEngineering VibrationFourth EditionDaniEl J. inman.docx
Engineering VibrationFourth EditionDaniEl J. inman.docx
 
CS4443 - Modern Programming Language I
CS4443 - Modern Programming Language ICS4443 - Modern Programming Language I
CS4443 - Modern Programming Language I
 

LBYEC72_Overview

  • 1. LBYEC72 Computer Fundamentals : Programming 2 Pre-requisite: LBYEC71(Soft) Engr. Melvin Kong Cabatuan De La Salle University Manila, Philippines January 2013 Engr. Melvin Kong Cabatuan LBYEC72
  • 2. Self Introduction Melvin K. Cabatuan, MsE, Ph.D. Cand Masters of Engineering, NAIST (Japan) Thesis: Cognitive Radio (Wireless Communication) ECE Reviewer/Mentor (Since 2005) 2nd Place, Nov. 2004 ECE Board Exam Test Engineering Cadet, ON Semiconductors DOST Academic Excellence Awardee 2004 Mathematician of the Year 2003 DOST Scholar (1999-2004) Panasonic Scholar, Japan (2007-2010) Engr. Melvin Kong Cabatuan LBYEC72
  • 3. On Doing Research Engr. Melvin Kong Cabatuan LBYEC72
  • 4. Engr. Melvin Kong Cabatuan LBYEC72
  • 5. Course Contents Review of Conditional and Iterative Statements, Arrays, and Strings Topic 1: Nested Conditional and Iterative Statements Topic 2: Single-Dimensional and Multi-dimensional Arrays Topic 3: Strings, String Arrays, and String Manipulation Functions Practical Exam 1 Discussion on Pointers, Functions, and Structures Engr. Melvin Kong Cabatuan LBYEC72
  • 6. Course Contents Review of Conditional and Iterative Statements, Arrays, and Strings Topic 1: Nested Conditional and Iterative Statements Topic 2: Single-Dimensional and Multi-dimensional Arrays Topic 3: Strings, String Arrays, and String Manipulation Functions Practical Exam 1 Discussion on Pointers, Functions, and Structures Engr. Melvin Kong Cabatuan LBYEC72
  • 7. Course Contents Review of Conditional and Iterative Statements, Arrays, and Strings Topic 1: Nested Conditional and Iterative Statements Topic 2: Single-Dimensional and Multi-dimensional Arrays Topic 3: Strings, String Arrays, and String Manipulation Functions Practical Exam 1 Discussion on Pointers, Functions, and Structures Engr. Melvin Kong Cabatuan LBYEC72
  • 8. Course Contents Review of Conditional and Iterative Statements, Arrays, and Strings Topic 1: Nested Conditional and Iterative Statements Topic 2: Single-Dimensional and Multi-dimensional Arrays Topic 3: Strings, String Arrays, and String Manipulation Functions Practical Exam 1 Discussion on Pointers, Functions, and Structures Engr. Melvin Kong Cabatuan LBYEC72
  • 9. Course Contents Review of Conditional and Iterative Statements, Arrays, and Strings Topic 1: Nested Conditional and Iterative Statements Topic 2: Single-Dimensional and Multi-dimensional Arrays Topic 3: Strings, String Arrays, and String Manipulation Functions Practical Exam 1 Discussion on Pointers, Functions, and Structures Engr. Melvin Kong Cabatuan LBYEC72
  • 10. Course Contents Review of Conditional and Iterative Statements, Arrays, and Strings Topic 1: Nested Conditional and Iterative Statements Topic 2: Single-Dimensional and Multi-dimensional Arrays Topic 3: Strings, String Arrays, and String Manipulation Functions Practical Exam 1 Discussion on Pointers, Functions, and Structures Engr. Melvin Kong Cabatuan LBYEC72
  • 11. Course Contents Topic 4: Pointers Topic 5: Functions and Pass-by-value Topic 6: Functions and Pass-by-reference Topic 7: Structures, Structure Array, and Complex Data Type Topic 8: Structures, Structure Pointers, and Passing of References Practical Exam 2 Discussion on Dynamic Memory Allocation and Exercise Engr. Melvin Kong Cabatuan LBYEC72
  • 12. Course Contents Topic 4: Pointers Topic 5: Functions and Pass-by-value Topic 6: Functions and Pass-by-reference Topic 7: Structures, Structure Array, and Complex Data Type Topic 8: Structures, Structure Pointers, and Passing of References Practical Exam 2 Discussion on Dynamic Memory Allocation and Exercise Engr. Melvin Kong Cabatuan LBYEC72
  • 13. Course Contents Topic 4: Pointers Topic 5: Functions and Pass-by-value Topic 6: Functions and Pass-by-reference Topic 7: Structures, Structure Array, and Complex Data Type Topic 8: Structures, Structure Pointers, and Passing of References Practical Exam 2 Discussion on Dynamic Memory Allocation and Exercise Engr. Melvin Kong Cabatuan LBYEC72
  • 14. Course Contents Topic 4: Pointers Topic 5: Functions and Pass-by-value Topic 6: Functions and Pass-by-reference Topic 7: Structures, Structure Array, and Complex Data Type Topic 8: Structures, Structure Pointers, and Passing of References Practical Exam 2 Discussion on Dynamic Memory Allocation and Exercise Engr. Melvin Kong Cabatuan LBYEC72
  • 15. Course Contents Topic 4: Pointers Topic 5: Functions and Pass-by-value Topic 6: Functions and Pass-by-reference Topic 7: Structures, Structure Array, and Complex Data Type Topic 8: Structures, Structure Pointers, and Passing of References Practical Exam 2 Discussion on Dynamic Memory Allocation and Exercise Engr. Melvin Kong Cabatuan LBYEC72
  • 16. Course Contents Topic 4: Pointers Topic 5: Functions and Pass-by-value Topic 6: Functions and Pass-by-reference Topic 7: Structures, Structure Array, and Complex Data Type Topic 8: Structures, Structure Pointers, and Passing of References Practical Exam 2 Discussion on Dynamic Memory Allocation and Exercise Engr. Melvin Kong Cabatuan LBYEC72
  • 17. Course Contents Topic 4: Pointers Topic 5: Functions and Pass-by-value Topic 6: Functions and Pass-by-reference Topic 7: Structures, Structure Array, and Complex Data Type Topic 8: Structures, Structure Pointers, and Passing of References Practical Exam 2 Discussion on Dynamic Memory Allocation and Exercise Engr. Melvin Kong Cabatuan LBYEC72
  • 18. References 1 LBYEC72 Laboratory Manual 2 Books and other online sources Engr. Melvin Kong Cabatuan LBYEC72
  • 19. References 1 LBYEC72 Laboratory Manual 2 Books and other online sources Engr. Melvin Kong Cabatuan LBYEC72
  • 20. Evaluation Criteria Average of Preliminary Reports: 20% Average of Final Reports: 20% Project: 30% Practical Examination I : 15% Practical Examination II : 15% Total: 100% PASSING GRADE: 70% Engr. Melvin Kong Cabatuan LBYEC72
  • 21. Preliminary Report 1 Preliminary Reports are written and completed prior to the end of every laboratory sessions using your EC72 journal. 2 Preliminary Reports are checked 30 minutes before the end of every session. 3 Preliminary Reports are individual. Engr. Melvin Kong Cabatuan LBYEC72
  • 22. Final Report 1 Final Reports should be submitted one week after the topic. 2 Late reports will receive a 10 % deduction per week. 3 Final Reports are done by pair. Engr. Melvin Kong Cabatuan LBYEC72
  • 23. Project 1 Students may develop a project proposal or follow the project specifications given by the instructor. 2 Projects are done by groups with a maximum of three members. Engr. Melvin Kong Cabatuan LBYEC72
  • 24. Programming Review: Hello World! Engr. Melvin Kong Cabatuan LBYEC72
  • 25. Programming Review Problem 1 Given the quadratic equation ax2 + bx + c = 0. Write a simple program that implements the following quadratic formula: x = −b ± √ b2 − 4ac 2a Engr. Melvin Kong Cabatuan LBYEC72
  • 26. Sample Answer: Engr. Melvin Kong Cabatuan LBYEC72
  • 27. Programming Review Problem 2 Write a program that prints the maximum of four given integers. Engr. Melvin Kong Cabatuan LBYEC72
  • 28. Sample Answer: Engr. Melvin Kong Cabatuan LBYEC72
  • 29. Programming Review Problem 3 Write a program that prints a tringle of stars shown in the following figure: Engr. Melvin Kong Cabatuan LBYEC72
  • 30. Sample Answer: Engr. Melvin Kong Cabatuan LBYEC72
  • 31. Programming Review Problem 4 Write a program that prints a diamond of stars shown in the following figure: Engr. Melvin Kong Cabatuan LBYEC72
  • 32. Sample Answer: Engr. Melvin Kong Cabatuan LBYEC72
  • 33. END c Thank you for your attention d Engr. Melvin Kong Cabatuan LBYEC72