C- PROGRAMMING (3:0:0) Sub code : CS1C01/CS2C01 CIE : 50%Marks Hrs/week : 03 SEE : 50%Marks SEE Hrs : 03 Hours Max. Marks: 100 Course Outcomes:

Similar documents
Questions Bank. 14) State any four advantages of using flow-chart

Syllabus of Diploma Engineering. Computer Engineering. Semester: II. Subject Name: Computer Programming. Subject Code: 09CE1104

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

Programming for Problem Solving 105A L T P Credit Major Minor Total Time

Scheme G. Sample Test Paper-I. Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Second Subject Tile : Programming in C

Gujarat University M. Sc. Computer Science [S. F.] Semester-1 Syllabus Gujarat Arts & Science College, Ahmedabad.

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

Aryan College. Fundamental of C Programming. Unit I: Q1. What will be the value of the following expression? (2017) A + 9

Kadi Sarva Vishwavidyalaya, Gandhinagar

(i) Describe in detail about the classification of computers with their features and limitations(10)

Hrs Hrs Hrs Hrs Hrs Marks Marks Marks Marks Marks

Academic Programme: B.Sc. I Year. Computer Science (Optional) Hours. Fundamentals of Computer Hours.

Swami Ramanand Teerth Marathwada University, Nanded

Course Title: C Programming Full Marks: Course no: CSC110 Pass Marks: Nature of course: Theory + Lab Credit hours: 3

DR. A.P.J. ABDUL KALAM TECHNICAL UNIVERSITY LUCKNOW. Evaluation Scheme & Syllabus. For. B.Tech. First Year (Programming for Problem Solving)

B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University

Syllabus Under Autonomy Mathematics

Sardar Patel University S Y BSc. Computer Science CS-201 Introduction to Programming Language Effective from July-2002

PROGRAMMING IN C AND C++:

COMPUTER PROGRAMMING LAB

Assignment: 1. (Unit-1 Flowchart and Algorithm)

C-LANGUAGE CURRICULAM

B. V. Patel Institute of Business Management, Computer & Information Technology, UTU 2013

Long Questions. 7. How does union help in storing the values? How it differs from structure?

I Year MCA I Semester L T P To C FOUNDATIONS OF INFORMATION TECHNOLOGY

PESIT-BSC Department of Science & Humanities

Barkatullah University, Bhopal BCA Faculty 2014 onwards Semester II. Scheme of Marks:

Suggestive List of C++ Programs

Algorithms 4. Odd or even Algorithm 5. Greatest among three numbers Algorithm 6. Simple Calculator Algorithm

CURRICULUM. SL Topics Hours Marks. Section - I. 1 Introduction to 'C' Language Condition and Loops Section - II 3 Arrays 12 30

S Y B Voc Software Development Syllabus

CHOICE BASED CREDIT SYSTEM (With effect from )

KLiC C Programming. (KLiC Certificate in C Programming)

Subject: Computer Science

Euclid s algorithm, 133

Reg. No. : Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, JANUARY First Semester GE 6151 COMPUTER PROGRAMMING

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING COMPUTER PROGRAMMING LABORATORY LAB MANUAL - 15CPL16 SEMESTER-I/II

B.Sc. Final B.SC. PART-III PAPER I COMPUTER ORGANIZATION II

Unit 3. Operators. School of Science and Technology INTRODUCTION

GARDEN CITY UNIVERSITY. Bachelor of Computer Applications SEMESTER- I. Course: CONCEPTS OF PROGRAMMING USING C LANGUAGE CODE: 05ABCAR17111 CREDITS: 04

List of Practical for Master in Computer Application (5 Year Integrated) (Through Distance Education)

Week 0. Net Salary =Earnings- deductions; Read the employee number, Basic Print employee Number, Earnings,Deductions and Net salary.

Multiple Choice Questions ( 1 mark)

Tribhuvan University Institute of Science and Technology 2065

Subject: PROBLEM SOLVING THROUGH C Time: 3 Hours Max. Marks: 100

Computer Programming C++ (wg) CCOs

INDIAN SCHOOL MUSCAT COMPUTER SCIENCE(083) CLASS XI

DEPARTMENT OF COMPUTER APPLICATIONS SRM INSTITUTE OF SCIENCE AND TECHNOLOGY SRM NAGAR, KATTANKALATHUR

PROGRAMS. EXCELLENT ACADEMY OF ENGINEERING. Telephone: / NORMAL PROGRAM

VALLIAMMAI ENGINEERING COLLEGE

Guru Jambheshwar University of Science & Technology, Hisar Scheme for Theory + Practical Based Subjects

VALLIAMMAI ENGINEERING COLLEGE

Deccan Education Society s FERGUSSON COLLEGE, PUNE (AUTONOMOUS) SYLLABUS UNDER AUTONOMY. FIRST YEAR B.Sc. COMPUTER SCIENCE SEMESTER I

Fundamentals of Programming Languages - I

BCA-105 C Language What is C? History of C


Proposed Syllabus for F.Y.B.Sc.( Computer Science) North Maharashtra University, Jalgaon. F.Y.B.Sc.( Computer Science) (w.e.f.

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. Numbers & Number Systems

UNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS

T.Y.B.Sc. Syllabus Under Autonomy Mathematics Applied Component(Paper-I)

Writing an ANSI C Program Getting Ready to Program A First Program Variables, Expressions, and Assignments Initialization The Use of #define and

Question Bank (SPA SEM II)

11.3 Function Prototypes

ANNA UNIVERSITY: CHENNAI B.E./B.Tech. DEGREE EXAMINATIONS, JAN Regulations First Semester (Common to All Branches )

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

[6] [6] [6] [5] [5] [6] [5] [5]

Class Book. Anita Straker, Tony Fisher, Rosalyn Hyde, Sue Jennings and Jonathan Longstaffe

Loops / Repetition Statements

Mastery. PRECALCULUS Student Learning Targets

UNIVERSITY OF JAMMU, JAMMU. (Semester System)

Semester: I Credits: 5. Category: MC No.of hrs/week: 5 CA PROGRAMMING IN C

Split up Syllabus (Session )

Maharashtra State Board of Technical Education (MSBTE) I Scheme II - Semester Course Curriculum

Lab Manual. Program Design and File Structures (P): IT-219

VARIABLE, OPERATOR AND EXPRESSION [SET 1]

Downloaded from

Syllabus for Computer Applications

M4.1-R3: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE

C Programming SYLLABUS COVERAGE SYLLABUS IN DETAILS

Syllabus for Bachelor of Technology. Computer Engineering. Subject Code: 01CE1303. B.Tech. Year - II

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

X Std. Topic Content Expected Learning Outcomes Mode of Transaction

Guru Jambheshwar University of Science and Technology, Hisar. Scheme and Syllabi for

PESIT Bangalore South Campus Department of MCA Course Information for

PES INSTITUTE OF TECHNOLOGY (BSC) I MCA, First IA Test, November 2015 Programming Using C (13MCA11) Solution Set Faculty: Jeny Jijo

Problem Solving and 'C' Programming

For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit

SECOND SEMESTER BCA : Syllabus Copy

NORTH MAHARASHTRA UNIVERSITY, JALGAON. SYLLABUS FOR F.Y.B.Sc. COMPUTER SCIENCE (With effect from June 2012)

AIR FORCE SCHOOL,BAMRAULI COMPUTER SCIENCE (083) CLASS XI Split up Syllabus (Session ) Contents

PLD Semester Exam Study Guide Dec. 2018

VEER NARMAD SOUTH GUJARAT UNIVERSITY

PROGRAMMING FOR PROBLEM SOLVING (CS103ES) COURSE PLANNER

ENGINEERING PROBLEM SOLVING WITH C++

Introduction to Computer Science Midterm 3 Fall, Points

ALGORITHMS AND FLOWCHARTS

PDS Lab (Assignment 1) Date: 31 st July, 2017 (2-6 pm)

Computer Science (Informática)

COMPUTER SCIENCE HIGHER SECONDARY FIRST YEAR. VOLUME II - CHAPTER 10 PROBLEM SOLVING TECHNIQUES AND C PROGRAMMING 1,2,3 & 5 MARKS

PROGRAM DESIGN TOOLS. Algorithms, Flow Charts, Pseudo codes and Decision Tables. Designed by Parul Khurana, LIECA.

Transcription:

C- PROGRAMMING (3:0:0) Sub code : CS1C01/CS2C01 CIE : 50%Marks Hrs/week : 03 SEE : 50%Marks SEE Hrs : 03 Hours Max. Marks: 100 Course Outcomes: On successful completion of the course, the students will be able to 1. Understand how to design solutions to problems using flowchart/algorithm and then to solve them using basic constructs of C. 2. Illustrate the concepts of decision making and branching statements. 3. Illustrate the concepts of looping statements and demonstrate the use of derived data types like arrays and structures 4. Demonstrate the different operations performed on strings and implement the different categories of user defined functions. 5. Demonstrate the use of pointers and I/O operations on files. UNIT 1 Algorithms and Flowcharts Algorithms, Flowcharts, Writing algorithms and drawing flowcharts for simple exercises Constants, Variables, and Data types Structure of C, Characters set, C tokens, Keywords and Identifiers, Variables, Data types, Declaration of variables. Operators and Expressions: Arithmetic operators, Relational operators, Logical operators, Assignment operators, Increment and decrement operators, conditional operator, Bitwise operators, Special operators, Arithmetic expressions, Precedence of arithmetic operators, Type conversions in expressions. SLE: Constants, Evaluation of expressions, Operator precedence and associativity. 8hrs

UNIT 2 Managing Input and Output Operations Reading a character, writing a character, Formatted Input, Formatted Output. Decision making and Branching Decision making with if statement, Simple if statement, The if else statement, Nesting of if else statements, The else if ladder, The switch statement. SLE: The Goto statement, the?: operator 7hrs UNIT 3 Decision making and Looping The while statement, the do statement, the For statement. Arrays One-dimensional Arrays, Declaration of one-dimensional Arrays, Initialization of onedimensional Arrays, Two-dimensional Arrays, Initializing two-dimensional Arrays. Structures Defining a Structure, Declaring Structure Variables, Accessing Structure Variables, Structure Initialization, Arrays of structures. 8 hrs SLE: Jumps in Loops, Dynamic Arrays, Operations on individual members. UNIT 4 Strings Introduction to Strings, Declaring and initializing, reading a String, Writing a String, operations on strings without using built-in functions. User-defined Functions Elements of User-defined Functions, Definition of Functions, Return Values and their Types, Function Calls, Function Declaration, Category of Functions. Parameter passing technique-call by value and call by reference. SLE: String Functions (strcat, strcpy, strcmp, strrev, strlen), Need for User-defined Functions, A multi-function Program. 8hrs

UNIT-5 Pointers Introduction to pointers, understanding pointers, accessing the address of the variables, declaring pointer variables, initializing of pointer variables, Accessing a variable through its pointer, Pointers and Arrays. File Management Introduction, Defining and Opening a file, Closing a file, Input/output operations on files. SLE: Pointer increments and Scale factor, Error handling during I/O operations 8hrs TEXT BOOKS: 1. Programming in ANSI C, E Balaguruswamy, 7 th Edition. REFERENCE BOOKS: 1. Fundamentals of Computers, V Rajaraman, 6 th Edition. 2. The C programming language, Brian w. Kernighan,Dennis Ritchie, 2 nd Edition.

C- PROGRAMMING LABORATORY (0:0:3) Sub code : CS2L01 Max. Marks: 50 Hrs/week : 03 On Successful completion of this course, the students will be able to 1. Demonstrate the ability to solve simple problems. 2. Understand the problem and apply appropriate branching statement. 3. Illustrate the usage of different decision making and looping statements. 4. Illustrate basic operations that can be performed on arrays, structures and strings. 5. Demonstrate the different categories of functions, use pointers and perform basic file I/O operations. PART A CO s Programs 1a. Write a C program to find the sum of two integers. CO1 b. Write a C program to compute the area of a circle. c. Write a C program to compute the area of a Triangle given three sides. CO1 CO2 CO2 2. Write a C program to find the largest of three numbers.(using if else statement) 3. Write a C program to find and output all the roots of a given quadratic equation, for non-zero coefficients. (Using nested /if else statement) 4. Write a C program to simulate a simple calculator that performs arithmetic operations like addition, subtraction, multiplication, and division only on integers. Error message should be reported, if any attempt is made to divide by zero. (Using switch statement) 5. Write a C program to find the factorial of a given number.(using While Loop statement) 6. Write a C program to reverse a given six digit integer number and check whether it is a palindrome or not. Output the given number with suitable message. (Using While statement) 7. Write a C program to generate and print first N Fibonacci numbers. (Using do- While statement)

8. Write a C program to find the GCD and LCM of two integers and output the results along with the given integers. Use Euclid s algorithm. (Using While Loop Statements) 9. Write a C program (i)to find whether a given number is prime or not. Output the given number with suitable message. (Using for statement) (ii)generate all prime numbers between 1 to N. 10. Write a C program to print table of numbers from 1 to 20.(using nested for loop statement) 11. Write a C Programs to print Pascal's triangles using numbers.(using nested for loop statement)display the following formats. (i)1 (ii)1 (iii)1 1 1 2 3 1 2 1 1 1 4 5 6 1 2 3 1 1 1 1 7 8 9 10 1 2 3 4 PART B 12. Write a C program to input N real numbers in ascending order into a single dimension array. Conduct a binary search for a given key integer number and report success or failure in the form of a suitable message. 13. Write a C program to input N integer numbers into a single dimension array. Sort them in ascending order using bubble sort technique. Print both the given array and the sorted array with suitable headings. 14. Write a C program to read two matrices A(M x N) and B(P x Q) and perform addition and subtraction. Output the input matrices and the resultant matrix with suitable headings and format. (Using two dimension arrays where array size M, N, P,Q 3) 15. Write a C-program that reads a string from keyboard and determines whether the string is a palindrome or not using:

a. String operations using built in functions. b. String operations using user-defined functions (without C-library functions) 16. Write a C program to create a structure called Employee with members Name, Job, Salary. Create a structure variable. Accept the input values for the structure members at run time. suitably display the same. 17. Write C user defined functions: To input N integer numbers into a single dimension array. To conduct a linear search. Using these functions, write a C program to accept the N integer numbers & given key integer number and conduct a linear search. Report success or failure in the form of a suitable message. 18. Write C user defined functions: To input N integer numbers into a single dimension array. To sort the integer numbers in descending order using selection sort technique. To print the single dimension array elements. Using these functions, write a C program to input N integer numbers into a single dimension array, sort them in descending order, and print both the given array & the sorted array with suitable headings. 19. Write C user defined functions: To input N real numbers into a single dimension array. Compute their mean. Compute their variance Compute their standard deviation. Using these functions, write a C program to input N real numbers into a single dimension array, and compute their mean, variance & standard deviation. Output the computed results with suitable headings.

20. Write C user defined functions: To read the elements of a given matrix of size M x N To print the elements of a given matrix of size M x N To compute the product of two matrices Using these functions, write a C program to read two matrices A (M x N) and B (P x Q) and compute the product of A and B after checking compatibility for multiplication. Output the input matrices and the resultant matrix with suitable headings and format. (Using two dimension arrays where array size M, N, P, Q 3) 21. Write a C program to exchange the contents of two variables using pointers. 22. Write a C program to using pointers to compute the sum of all elements stored in an array. 23. Write a C Program to read data from the user, insert it in to a file, read it back from the file and display it on the standard output device.

INTRODUCTION TO ENGINEERING DESIGN (2:0:0) Sub code : CSXXX CIE : 50% Marks Hrs/week : 02 SEE : 50% Marks SEE Hrs : 02 Hours Max. Marks: 50 Course outcomes Upon successful completion of this course, the student will be able to: 1. Recognize the roles and responsibilities of an engineer and define engineering design problem. 2. Generate and evaluate concepts and determine materials and processes for analysis. 3. Prepare detailed design, drawings and design reports and demonstrate project management skills. UNIT 1: Introduction to Engineering Design: Definition of Engineering and Engineer, roles and responsibilities of an engineer, characteristics of a successful engineer, Personal and professional ethics, Engineering ethics decision matrix. Definition of Engineering Design, Design process, Design interfaces, steps in the Engineering Design, General example. Problem Definition: Introduction, Production design specification (PDS), PDS criteria, Content of a PDS, Sample PDS. SLE: Patent literature 8 Hours UNIT 2: Creativity and Concept generation: Introduction, Psychological Set, Inversion, analogy, brainstorming, morphological analysis, Presentation of concepts: concept sketches. Concept Evaluation and Selection: Introduction, Subjective decision-making, Criteria ranking, criteria weighting, Datum method (Pugh Matrix) Embodiment Design: Introduction, Size and strength, Scheme drawing, Form Design Modeling and Analysis: Introduction, Mathematical modeling and analysis, Two dimensional and Three dimensional models, SLE: Simulation 10 Hours

UNIT 3 Detail Design: Factor of safety, Selection of materials and bought out components, Detailed drawings. Cost estimation Manufacture and Testing: Different manufacturing processes, Prototypes, Performance testing. Design report: Introduction, organization of the report, report writing guidelines, Design Management: Introduction, Management of design for quality, Project planning and control, Quality function deployment, Design review, SLE: Rapid prototyping 8 Hours Text Books: 1. Engineering Design Principles by Kenneth Hurst, Elsevier, Indian reprint ISBN 978-93- 80501-35-2, 2010. 2. Exploring Engineering- An Introduction to Engineering and Design, Philip Kosky, George Wise, Robert Balmer, William Keat, Academic press, Elsevier, Indian reprint ISBN 978-93-80501-33-8, 2 nd edition, 2010. Reference Books: 1. Engineering Design by George Deiter, McGraw Hill international, 2000. 2. Product Design and Development by Carl. T Ulrich, Steven Eppinger and Anita Goel, ISBN 978-00-701`46-79-2, Tata McGraw Hill.