Sie sind auf Seite 1von 8

FPL-I and FPL-II Syllabus (2012 Course)

Preamble Major question before me while designing this syllabus was, What CAN I do for First Year Engineering graduates, so that they get the good quality Jobs or opportunity for higher studies, after studying this syllabus? It is my pleasure to present the revised version of syllabus for Fundamentals of Programming Languages (FPL)-I (Semester I) and FPL-II (Semester II). This is very important subject because it provides computer aided tools for the core branches of Engineering. The C programming is very essential for the budding graduates. The FPL-I gives more focus on CProgramming concepts. Another important aspect is to use of OPEN SOURCE operating systems and tools. Today, desktops are getting replaced by Palm Tops, Tablet-PCs and Mobiles. These are next generation tools that will lead the technology and engineering, including CIVIL, Mechanical and Electrical Engineering; hence it becomes very necessary to have basic operating knowledge of Linux, GNU BOSS developed by C-DAC, Android(Wireless Technology). Most of the Tablet PCs, Mobiles are loaded with Android and including kids, everybody is getting trained in using these devices. Industry uses it extensively to reduce the huge investments in software component which requires recurring investments in recent updates. Use of Open Source tools and operating systems is the key solution. Hence students will get better job opportunities if they are trained using these skill sets. Python is one such advanced user friendly language widely use in CIVIL/Mechanical/Electrical Engineering, 2D/3D CAD in the world and academics. PythonCAD or ThanCAD (Free Distribution) are the best examples. Introduction to Python is added in the syllabus. The scope of any new software is restricted to the foundation knowledge and simple application like Hello! World Programs to get Hands-ON experience of installations, setups, knowledge of foundation libraries and running simple applications. Simulation Software such as MATLAB or Open source equivalent Octave (Free Distribution) is introduced to the students in FPL-I. The FPL-II give more focus on Advanced C/C++, Embedded-C and Preliminary introduction to the Android Platform to the budding talent and expose them to latest technologies and programming skill set.

Prof. Sarang Joshi

University of Pune First Year Engineering Course 2012


110003: Fundamentals of Programming Languages -I Teaching Scheme Theory : 1 Hr/Week Practical: 2 Hrs/Week Objectives To learn and acquire art of computer programming To know about some popular programming languages and how to choose a programming language for solving a problem using a computer To learn basics of programming in C Unit I Syllabus Hrs Examination Scheme On-Line Exam: 50 Marks

Introduction to Open Source Operating Systems and Programming Languages 01 Introduction to Bharat Operating System (BOSS) GNU/Linux users model GUI, System Folders, study Commands (Using command terminal) with switches : ls, Directory Commands, Change user, privileges, passwords, tty, who, config, make, rpm, yum, sudo, Shutdown. Eclipse Editor, Compiler, Linker, Libraries, GUI, Configuring Programming Environments: C, C++. Java, Python (Pydev), Output, Debug windows 01

Introduction to types of Programming Languages Machine-level, Assembly02 level and High-level Languages, Scripting Languages, Natural Languages; Their relative Advantages and Limitations. Characteristics of a Good Programming Language; Selecting a Language out of many available languages for coding an application; subprograms. Short Introduction to LISP, Simulation Platforms: MATLAB and GNU Octave(Open Source), Importance of Documentation, Documentation Platform LATEX (Free ware/Open Source). II Algorithm; Advantages of Generalized Algorithms; How to Make Algorithms 01 Generalized; Avoiding Infinite Loops in Algorithms By Counting, By using a Sentinel Value; Different ways of Representing an Algorithm As a Program, As a Flowchart, As a Pseudo code; Need for Planning a Program before Coding; Program Planning Tools Flowcharts, Structure charts, Pseudo codes; Importance of use of Indentation in Programming; Structured Programming Concepts Need for Careful Use of Go to statements, How all programs can be written using Sequence Logic, Selection Logic and Iteration (or looping) Logic, functions. 01

III

Character set, Constants, Variables, Keywords and Comments; Operators and Operator Precedence; Statements; I/O Operations; Preprocessor Directives; Pointers, Arrays and Strings; User Defined Data Types Structure and Union;

03

IV

Control Structures Conditional and Unconditional Branching Using if, 03 switch, break, continue, go to and return Statements; Loop Structures Creating Pretest Loops using for and while Statements; Creating Post test Loops using do...while statement; Functions Creating Subprograms using Functions; Parameter Passing by Value; Parameter Passing by Reference; Main Function with argv, argc[]. Definition of Testing & Debugging

Text Books (Use Latest Editions) 1 2 3 4 Pradeep K. Sinha and Priti Sinha, Computer Fundamentals: Fourth Edition, BPB Publications, 6th Edition, 2011. Behrouz A. Forouzan, Richard F. Gilberg, COMPUTER SCIENCE A Structured Programming approach using C, Indian Edition, Thomson, 3rd edition Eclipse Step By Step by Joe Pluta ISBN 1-58347-044-1 Moving From Windows to Linux by Chuck Easttom ISBN-13: 978-1584504429

Reference Books (Use Latest Editions) 1. 2. 3. 4. 5. Kernighan, Ritchie, The C Programming Language, Prentice Hall of India Carlo Ghezi, Mehdi Jazayeri, Programming Language Concepts, John Wiley and Sons E. Balagurusamy, Programming in ANSIC C, Tata McGraw Hill Yashavant Kanetkar, Let Us C Seventh Edition, BPB Publications CDAC: BOSS GNU/Linux User's Manual

Term Work: Laboratory Assignments Group A: Essential Prerequisites (Compulsory) 1. 2. 3. 4. Use and Study of Linux GUI and Commands Handling and Use of Eclipse Editor for Creating Projects in C, Python (Pydev), Java. Using Eclipse to write/test Hello! World Program in C, Python Group B: Foundation Programming in C (At least 12) Write a C program to accept five numbers from console and then to display them back on console in ascending order. 1 1 1 2 Hrs

5. 6.

Write a C program to calculate the sum of all numbers from 0 to 100 (both inclusive) that are divisible by 4.

Write a C program to accept the length of three sides of a triangle from console 1 and to test and print the type of triangle equilateral, isosceles, right angled, none of these. Write a C program to accept a string from console and to display the following on 2 console: (a) Total number of characters in the string (b) Total number of vowels in the string (c) Total number of occurrence of character a in the string. (d) Total number of occurrence of string the in the string.

7.

8. 9. 10. 11. 12. 13. 14. 15. 16. 17.

Write a class to convert Character String of Lowercase to Uppercase & Numeric digits in reverse order.

Write a program in C to read an integer and display each of the digit of the integer 1 in English. Write a program in C to generate first 20 Fibonacci numbers Write a program in C to generate prime numbers between 1 and n. Write a program in C to compute the GCD of the given two integers Write a program in C to compute the factorial of the given positive integer using recursive function. Write a program in C to compute the roots of a quadratic equation. Write a program in C to sort n integers using bubble sort. Write a program in C to compute addition/subtraction/multiplication of two matrices. Use functions to read, display and add/subtract/multiply the matrices. Write a program in C to carry out following operations on strings using library functions a. To concatenate a string S2 to string S1. b. To find the length of a given string c. To compare two strings S1 and S2. d. To copy a string S2 to another string S1. 1 1 1 1 1 2 2 2

18. 19.

A data file contains a set of examination scores followed by a trailer record with a value of -1. Write a C program to calculate and print the average of the scores. Find a sub-string in a string using LISP

3 2

Group C: Simulations and Advanced Language Programming (At least One) 20. Write a program in MATLAB/OCTAVE to compute addition/ subtraction/ multiplication of two matrices. Use functions to read, display and add/ subtract/ multiply the matrices. Write a program in Eclipse - Python to generate prime numbers between 1 and n. 2

21.

The Laboratory instructors are instructed to demonstrate students (at the beginning to each laboratory session) the experiment to be covered in the beginning 10 minutes of every laboratory session. Prepare Laboratory manual using LATEX. Necessary Manuals, API, Help files must be available in the laboratory as ready-Reference to the students. Each experiment must be timely submitted and teachers are required to give practical learning to the students by asking them Home Work to prepare laboratory wall charts/ Note-book exercises regarding: Forms of Documentation Comments, System Manual, User Manual; Documentation Standards and Notations. Difference between Testing and Debugging; Types of Program Errors; Debugging a Program for Syntax Errors; Debugging a Program for Logic Errors, Concept of APIs/Libraries, Documentation using Latex .

University of Pune First Year Engineering Course 2012 110010: Fundamentals of Programming Languages-II
Teaching Scheme Theory : 1 Hr/Week Practical: 2 Hrs/Week Objectives To learn and acquire art of computer programming To know about some popular programming languages and how to choose a programming language for solving a problem using a computer To learn to foundation programming in embedded C, Advanced Programming Unit I Syllabus Microprocessors and Micro-Controllers Architectures and Programming Introduction, Functional block diagram of 80386DX, Concepts of Machine Cycles, Memory types: Primary, Secondary, Cache, Concept of Segmentation and Paging, Processing of Interrupts and Exceptions. PIC Controller systems, SFR, Data and Program Memory, Programming. I/O Interfacing LED, Steppermotor( Programmers Model/Block Diagram). II Introduction to Advanced Programming Eclipse Programming Platform, C, C++, JAVA. Structured Files, File Handling operations, Linked Lists: Unidirectional, Bi-Directional and Circular, Data and Value Pointers, Trees, Introduction to JVM, Classes, Signals, event Methods and Function, Nested Classes, File Classes, Object oriented File Structures, Case study of Calculator Program, Basics of Web Technology Programming using HTML for Hello! World Program, Display images, web links. III Introduction to Embedded Programming Concepts Introduction to Embedded C, Introduction to C peripheral Interfaces, C Mechatronics Applications IV Handheld device Open source Operating System Installations and Applications Overview of Android OS, Wireless Application Protocol(WAP), Open Handset Alliance, Android Platform Differences, The Android Platform Basic Introduction to Android Development Environment: Configuring Development Environment, Exploring the Android SDK, Documentation, Framework, Android Tools, Sample Applications. Emulator, Building, debugging and Running Android Applications 01 03 05 Hrs 03 Examination Scheme On-Line : 50 Marks

Text Books 1. 2. 3. Programming 8-bit PIC Micro-controllers in C, Martin P Bates, Newnes Elsevier, ISBN: 978-0-7506-8960-1 Learning Java by Patrick Niemeyer, Jonathan Knudsen, O'Reilly Media Android Wireless Application Development: Developers Library, by Lauren Darcey and Shane Conder, Second Edition, Addison Wesly, ISBN-10: 0-321-74301-6

Laboratory Assignments: Groups A Assignments: (At least Two) 1. Use and Study of Linux GUI and Commands 1. Write a program in (Eclipse) C++ to Display String Hello! World 2. Write a program in (Eclipse) Java to Display String Hello! World 3 Web Technology Programming using HTML for Hello! World Program, Display images, web links. Groups B Assignments: (At least Twelve) 4. Write a class in C++/Java to add integer numbers 5. Write a Java class for Binary Search 6. Write a Java class for finding Palindrome 7. Write Java/C++ program for Calculator Addition, Subtraction, Multiplication, Division. 8. Write a C++ Class for sorting Numbers in Ascending/Descending Order. 9. Write a class to convert string into chars & chars to string. 10. Write a class for sine, cosine wave by mathematical formula. 11. Write a Class for implementing Simple Calculator. 12. Write a class to implement a Cross and Zero Game 13. Finding the minimum spanning tree from a Tree. 14. Write a Class to implement a Circular list. 15. Write a class for showing the current Time, Date. 16. Write a class to implement various Boolean Algebra Functions (At least 4 functions) 17. Write a class to generate Gray Codes from Decimal Numbers Groups C Assignments: (At least Two) 18. Write a Embedded C program to switch-on/Switch-off LED (Programmers model) 19. Write a Embedded C program to generate half angle bit sequence for stepper motor (Programmers model)

Hrs.

2 2 1 1 2 2

3 3

20. Installation of Android ADT for Eclipse 21. Study and implementation on Android Simulator, Hello! World

3 3

The Laboratory instructors are instructed to demonstrate students (at the beginning to each laboratory session) the experiment to be covered in the beginning 10 minutes of every laboratory session. Prepare Laboratory manual using LATEX. Necessary Manuals, API, Help files must be available in the laboratory as ready-Reference to the students. Each experiment must be timely submitted and teachers are required to give practical learning to the students by asking them Home Work to prepare laboratory wall charts/ Note-book exercises regarding: Programmable I/O Peripherals 8255, 80386Dx Memory MAP, Paging address generation, Current characteristics Diagram of Stepper motor Driver Circuit, Booting of Linux, gcc Switchs, Developing the local index.html page in HTML system folder, Documentation using Latex.

Das könnte Ihnen auch gefallen