LBYEC72_Overview
-
Upload
melvin-cabatuan -
Category
Documents
-
view
267 -
download
0
Transcript of LBYEC72_Overview
LBYEC72Computer Fundamentals : Programming 2
Pre-requisite: LBYEC71(Soft)
Engr. Melvin Kong Cabatuan
De La Salle UniversityManila, 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 SemiconductorsDOST Academic Excellence Awardee 2004
Mathematician of the Year 2003DOST 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 IterativeStatements, Arrays, and StringsTopic 1: Nested Conditional and IterativeStatementsTopic 2: Single-Dimensional andMulti-dimensional ArraysTopic 3: Strings, String Arrays, and StringManipulation FunctionsPractical Exam 1
Discussion on Pointers, Functions, andStructures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Review of Conditional and IterativeStatements, Arrays, and StringsTopic 1: Nested Conditional and IterativeStatementsTopic 2: Single-Dimensional andMulti-dimensional ArraysTopic 3: Strings, String Arrays, and StringManipulation FunctionsPractical Exam 1
Discussion on Pointers, Functions, andStructures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Review of Conditional and IterativeStatements, Arrays, and StringsTopic 1: Nested Conditional and IterativeStatementsTopic 2: Single-Dimensional andMulti-dimensional ArraysTopic 3: Strings, String Arrays, and StringManipulation FunctionsPractical Exam 1
Discussion on Pointers, Functions, andStructures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Review of Conditional and IterativeStatements, Arrays, and StringsTopic 1: Nested Conditional and IterativeStatementsTopic 2: Single-Dimensional andMulti-dimensional ArraysTopic 3: Strings, String Arrays, and StringManipulation FunctionsPractical Exam 1
Discussion on Pointers, Functions, andStructures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Review of Conditional and IterativeStatements, Arrays, and StringsTopic 1: Nested Conditional and IterativeStatementsTopic 2: Single-Dimensional andMulti-dimensional ArraysTopic 3: Strings, String Arrays, and StringManipulation FunctionsPractical Exam 1
Discussion on Pointers, Functions, andStructures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Review of Conditional and IterativeStatements, Arrays, and StringsTopic 1: Nested Conditional and IterativeStatementsTopic 2: Single-Dimensional andMulti-dimensional ArraysTopic 3: Strings, String Arrays, and StringManipulation FunctionsPractical Exam 1
Discussion on Pointers, Functions, andStructures
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: PointersTopic 5: Functions and Pass-by-valueTopic 6: Functions and Pass-by-referenceTopic 7: Structures, Structure Array, andComplex Data TypeTopic 8: Structures, Structure Pointers, andPassing of ReferencesPractical Exam 2Discussion on Dynamic MemoryAllocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: PointersTopic 5: Functions and Pass-by-valueTopic 6: Functions and Pass-by-referenceTopic 7: Structures, Structure Array, andComplex Data TypeTopic 8: Structures, Structure Pointers, andPassing of ReferencesPractical Exam 2Discussion on Dynamic MemoryAllocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: PointersTopic 5: Functions and Pass-by-valueTopic 6: Functions and Pass-by-referenceTopic 7: Structures, Structure Array, andComplex Data TypeTopic 8: Structures, Structure Pointers, andPassing of ReferencesPractical Exam 2Discussion on Dynamic MemoryAllocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: PointersTopic 5: Functions and Pass-by-valueTopic 6: Functions and Pass-by-referenceTopic 7: Structures, Structure Array, andComplex Data TypeTopic 8: Structures, Structure Pointers, andPassing of ReferencesPractical Exam 2Discussion on Dynamic MemoryAllocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: PointersTopic 5: Functions and Pass-by-valueTopic 6: Functions and Pass-by-referenceTopic 7: Structures, Structure Array, andComplex Data TypeTopic 8: Structures, Structure Pointers, andPassing of ReferencesPractical Exam 2Discussion on Dynamic MemoryAllocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: PointersTopic 5: Functions and Pass-by-valueTopic 6: Functions and Pass-by-referenceTopic 7: Structures, Structure Array, andComplex Data TypeTopic 8: Structures, Structure Pointers, andPassing of ReferencesPractical Exam 2Discussion on Dynamic MemoryAllocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
Course Contents
Topic 4: PointersTopic 5: Functions and Pass-by-valueTopic 6: Functions and Pass-by-referenceTopic 7: Structures, Structure Array, andComplex Data TypeTopic 8: Structures, Structure Pointers, andPassing of ReferencesPractical Exam 2Discussion on Dynamic MemoryAllocation and Exercise
Engr. Melvin Kong Cabatuan LBYEC72
References
1 LBYEC72 Laboratory Manual2 Books and other online sources
Engr. Melvin Kong Cabatuan LBYEC72
References
1 LBYEC72 Laboratory Manual2 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 andcompleted prior to the end of everylaboratory sessions using your EC72journal.
2 Preliminary Reports are checked 30minutes before the end of every session.
3 Preliminary Reports are individual.
Engr. Melvin Kong Cabatuan LBYEC72
Final Report
1 Final Reports should be submitted oneweek 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 proposalor follow the project specifications givenby the instructor.
2 Projects are done by groups with amaximum of three members.
Engr. Melvin Kong Cabatuan LBYEC72
Programming Review: Hello World!
Engr. Melvin Kong Cabatuan LBYEC72
Programming Review
Problem 1Given the quadratic equationax2 + bx + c = 0. Write a simple programthat implements the following quadraticformula:
x = −b ±√
b2 − 4ac2a
Engr. Melvin Kong Cabatuan LBYEC72
Sample Answer:
Engr. Melvin Kong Cabatuan LBYEC72
Programming Review
Problem 2Write a program that prints the maximumof four given integers.
Engr. Melvin Kong Cabatuan LBYEC72
Sample Answer:
Engr. Melvin Kong Cabatuan LBYEC72
Programming Review
Problem 3Write a program that prints a tringle ofstars shown in the following figure:
Engr. Melvin Kong Cabatuan LBYEC72
Sample Answer:
Engr. Melvin Kong Cabatuan LBYEC72
Programming Review
Problem 4Write a program that prints a diamond ofstars shown in the following figure:
Engr. Melvin Kong Cabatuan LBYEC72
Sample Answer:
Engr. Melvin Kong Cabatuan LBYEC72
END
} Thank you for your attention ~
Engr. Melvin Kong Cabatuan LBYEC72