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

Similar documents
COMPUTER PROGRAMMING LAB

CHOICE BASED CREDIT SYSTEM (With effect from )

Kadi Sarva Vishwavidyalaya, Gandhinagar

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

Hrs Hrs Hrs Hrs Hrs Marks Marks Marks Marks Marks

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

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

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

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:

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

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

PESIT-BSC Department of Science & Humanities

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

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

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

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

PROGRAMMING IN C AND C++:

Unit 1: Introduction to Programming. Saurabh Khatri Lecturer Department of Computer Technology VIT, Pune

Swami Ramanand Teerth Marathwada University, Nanded

Syllabus for Computer Applications

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

G. PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY Pasupula, Nandikotkur Road, Kurnool

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

DEPARTMENT OF COMPUTER AND MATHEMATICAL SCIENCES UNIVERSITI TEKNOLOGI MARA CAWANGAN PULAU PINANG

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

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

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

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

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

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

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

UNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS

Week. Lecture Topic day (including assignment/test) 1 st 1 st Introduction to Module 1 st. Practical

ENGINEERING PROGRAMMING

(Following Paper ID and Roll No. to be filled by the student in the Answer Book)

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

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

B. Subject-specific skills B1. Problem solving skills: Supply the student with the ability to solve different problems related to the topics

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

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTER SCIENCE AND ENGINEERING DEPARTMENT OF CSE COURSE PLAN COURSE CODE

Loops / Repetition Statements

Lecture 1: Preliminaries

Rayat Shikshan Sanstha s Yashavantrao Chavan Institute of Science Satara Department of Computer Science. Syllabus for Bachelor of Science Part-I

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

KLiC C Programming. (KLiC Certificate in C Programming)

ITT Technical Institute. ET2560T Introduction to C Programming Onsite and Online Course SYLLABUS

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

CNG 140 C Programming. Syllabus. Course Info Fall Semester. Catalog Description

PESIT Bangalore South Campus Department of MCA Course Information for

Lesson Plan. Subject: OBJECT ORIENTED PROGRAMMING USING C++ :15 weeks (From January, 2018 to April,2018)

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

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

Tribhuvan University Institute of Science and Technology 2065

B.Sc. Computer Science (Ancillary)

Important Questions for Viva CPU

Fundamentals of Programming Languages - I

Lesson Plan. Week Theory Practical. Lecture Day Topic(including assignment Test) Practical Day

I2204 ImperativeProgramming Semester: 1 Academic Year: 2018/2019 Credits: 5 Dr Antoun Yaacoub

Syllabi & Scheme of Examination BCA-1 st Year/DCST. Website:-

BIRLA INSTITUTE OF TECHNOLOGY AND SCIENCE, Pilani Pilani Campus Instruction Division. SECOND SEMESTER Course Handout Part II

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

B.C.A 2017 OBJECT ORIENTED PROGRAMMING USING C++ BCA303T MODULE SPECIFICATION SHEET

Introduction to C++ Introduction. Structure of a C++ Program. Structure of a C++ Program. C++ widely-used general-purpose programming language

Syllabus For F. Y. B. Sc. Semester 1 Core Paper No.: 102 Core Paper Title: Programming in C I 1. Algorithm & Flowcharting 2. Programming Languages & S

Q1. Multiple Choice Questions

SRM UNIVERSITY FACULTY OF SCIENCE AND HUMANITIES DEPARTMENT OF PHYSICS AND NANOTECHNOLOGY COURSE PLAN FOR PHY0408

C Programming SYLLABUS COVERAGE SYLLABUS IN DETAILS

Introduction to C++ with content from

C LANGUAGE AND ITS DIFFERENT TYPES OF FUNCTIONS

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

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

UNIVERSITY OF JAMMU, JAMMU. (Semester System)

Syllabus Under Autonomy Mathematics


Department of Computer Science and Engineering NITK, Surathkal IS703 - Network Security [M. Tech-ISE] (Syllabus and Assessment Plan)

SAURASHTRA UNIVERSITY

Sai Nath University. Assignment For B.Sc-IT 6 TH

DATA STRUCTURES USING C

Chapter1 Overview of computers

VALLIAMMAI ENGINEERING COLLEGE

DEPARTMENT OF INFORMATION TECHNOLOGY KUMAUN UNIVERSITY, NAINITAL SEMESTER-I ( ) Scheme and syllabus for B.A./B. Sc. (Information Technology)

Computers Programming Course 5. Iulian Năstac

S Y B Voc Software Development Syllabus

Week 1 Introduction to Computer and Algorithm (Part1) UniMAP Sem II 11/12 DKT121: Basic Computer Programming 1

Class 9 Saturday, Feb 14

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

Transition from One- to Two-Semester(s) of Fundamentals of Programming

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

M3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE

AE Computer Programming for Aerospace Engineers

PROGRAMMING FOR PROBLEM SOLVING (CS103ES) COURSE PLANNER

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

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: OBJECT ORIENTED PROGRAMMING (Code: )

SECOND SEMESTER BCA : Syllabus Copy

TIME: 3 HOURS MARKS: a. Develop a java program to sort an array of N numbers in ascending order. (40)

C: How to Program. Week /Mar/05

Q1 Q2 Q3 Q4 Q5 Total 1 * 7 1 * 5 20 * * Final marks Marks First Question

Govt. Polytechnic Education Society, Lisana (Rewari) LESSON PLANS 1 ST SEM. COMPUTER ENGINEERING

Computer Science (Informática)

C & Data Structures syllabus

Transcription:

ES- Programming for Problem Solving 105A L T P Credit Major Minor Total Time Test Test 3 - - 3 75 25 100 3h Purpose To familiarize the students with the basics of Computer System and C Programming Course Outcomes CO 1 Describe the overview of Computer System and Levels of Programming Languages. CO 2 Learn to translate the algorithms to programs (in C language). CO 3 To implement various operators in C CO 4 Learn description and applications of conditional branching, iteration and recursion. CO 5 To use arrays, pointers and structures to formulate algorithms and programs. CO 6 Implementation of operations on files UNIT I Overview of Computers: Block diagram and its description, Number systems, Arithmetic of number systems, Computer Hardware: Printers, Keyboard and Mouse, Storage Devices. Introduction to programming language: Different levels of PL: High Level language, Assembly language, Machine language; Introduction to Compiler, Interpreter, Debugger, Linker, Loader, Assembler. Problem Analysis: Problem solving techniques, Algorithms and Flowchart representation. UNIT II Overview of C: Elements of C, Data types; Storage classes in C; Operators: Arithmetic, relational, logical, bitwise, unary, assignment and conditional operators, precedence & associativity of operators. Input/output: Unformatted & formatted I/O function in C. Control statements: if statement, switch statement; Repetition: for, while, and do-while loop; break, continue, goto statements. UNIT III Arrays: Definition, types, initialization, processing an array, String handling. Functions: Definition, prototype, parameters passing techniques, recursion, built-in functions, passing arrays to functions, returning arrays from functions. UNIT IV Pointers: Declaration, operations on pointers, pointers and arrays, dynamic memory allocation, pointers and functions, pointers and strings. Structure & Union: Definition, processing, passing structures to functions, use of union. Data files: Opening and closing a file, I/O operations on files. Suggested Books: 1. Brian W. Kernighan Dennis Ritchie, C Programming Language Pearson Education India. 2. SubrataSaha,Subhodip Mukherjee:Basic Computation & Programming with C - Cambridge University Press. 3. Ajay Mittal, Programming in C - A Practical Approach, Pearson. 4. E Balagurusamy :Programming in ANSI C,TMH Education. 5. PradipDey and ManasGhose, Computer Fundamental and Programming in C, Oxford Pub. 6. ForouzanBehrouz, Computer Science: A Structured Programming Approach Using C, Cengage Learning. 7. Ashok Kamthane, Programming in C, 3e, Pearson Education India..

8. YashwantKanetker, Let us C, BPB Publications. 9. A K Sharma, Fundamentals of Computers & Progof India Learning. Note: The paper setter will set the paper as per the question paper templates provided.

LESSON PLAN Name: Pooja Sharma Discipline: Information Technology Semester: 2 nd Subject: programming for problem solving ( ES-105A) Lesson Plan Duration: 15 weeks (from January, 2019 to April, 2019) Work Load: Lectures-03 Week Theory Lecture Day Topic 1st 1st Overview of Computers: Block diagram and its description 2nd Number systems, Arithmetic of Number Systems 3rd -do- 2nd 4th -do- 5th -do- 6th Computer Hardware: I/O Devices 3rd 7th -do- 8th Memory :Main Memory & Secondary Memory 9th -do- 4th 10 th Different levels of PL: High Level language, Assembly language, Machine language 11 th Introduction to Compiler, Interpreter, Debugger, Linker, Loader, Assembler. 12 th Algorithm & related examples 5th 13 th Flowcharts & Related Examples 14 th Revision of Important Concepts of 1 st Unit 15 th Introduction to Computer Programming Language :C Elements of C, Data types 6th 16 th Operators in C : Their precedence & associatively of operators 17 th Input & Output Statements in C, Structure of C- Program 18 th Programming examples 7th 19 th Introduction to Conditional Programming In C, Various Conditional Constructs in C 20 th Programming Examples of Conditional Constructs 21 st -do- 8th 22 nd Introduction to Loops in C: Various Loop Structures like While, Do-While, For 23 rd Programming Examples of Loops

24 th -do- 9th 25 th Break, Continue, goto statements in C & Their practical application 26th Revision of Important Concepts of 2 nd Unit 27 th Introduction to Arrays in C (1-D,2-D & Multidimensional) 10th 28th Processing of Arrays with programming examples 29th String Handling in C, String Library Functions 30 th Programming Examples of String 11 th 31 st Functions in C, Definition, Prototype of Functions 32 nd Parameter Passing Techniques (Call By Value, Call By Reference) 33 rd Recursive Functions,Passing Array to a Function 12 th 34 th Programming Examples of Functions & Related Concepts 35th Revision of Important Concepts of 3 rd Unit 36th Pointers in C : Declaration, Initialization & Their Usage 13 th 37 th Pointers & Functions using programming examples 38 th Pointers & Strings using programming examples 39th Structures in C 14 th 40 th Union in C 41 st Union in C 42 nd File Handling in C 15 th 43 rd Programming examples 44 th Revision of important concepts of 4 th Unit 45 th Revision Test

Lesson Plan (Lab) Name of the Faculty Discipline Semester Subject : Pooja Sharma : Programming for problem solving : 2 nd : Computer Programming Lab (ES-107LA) Lesson plan : 15 Weeks (From January, 2018 to April, 2018) Lecture per Week (in Hours): Lectures-02 Week Practical Practical Topic Day 1st 1. Introduction to C-Language & Basics of Programming Write a program to find the sum of individual digits of a positive integer. 2nd 2. Introduction to Loops Write a program to generate the first n terms of the Fibonacci sequence. Write a program to generate all the prime numbers between 1 and n, where n is the input value given by the user. 3rd 3. Introduction to Conditional Programming Write a program to find the roots of a quadratic equation. 4th 4. Introduction to Functions in C Write a function to generate Pascal s triangle. Write a function to construct a pyramid of numbers. 5th 5. Write programs that use both recursive and non-recursive functions for the following a. To find the factorial of a given integer. b. To find the GCD (greatest common divisor) of two given integers. 6th 6. Introduction to Arrays (1-D,2-D & Multidimensional) Write a program for addition of Two Matrices Write a program for calculating transpose of a matrix. Write a program for Matrix multiplication by checking compatibility Write a C functions to find both the largest and smallest number of an array of integers. 7th 7. Strings & Its Operations:- Write a function that uses functions to perform the count the lines, words and characters in a given text. 8th 8. Write a program to read a string and write it in reverse order Write a program to concatenate two strings

Write a program to check that the input string is a palindrome or not. 9th 9. Pointers, Structure & Union:- Write a program to print the element of array using pointers Write a program to implement call by reference 10th 10. Write a program to explores the use of structures, union and other user defined variables 11th 11. File Handling:- Write a program which copies one file to another. Write a program to reverse the first n characters in a file. 12 th 12. Revision 13 th 13. Revision 14 th 14. Viva 15 th 15. Viva

Tutorial sheet-1 Q1. Explain the block diagram of a computer System. Q2.What is an assembly language? What are the advantages over machine language? Q3. Explain the flowchart with the help of an example. Q4. Find the decimal equivalent of the following numbers: (i) 111.01 2 (ii) 247.65 8 (iii) 1101.001 2 (iv) A2A.D4 16 Tutorial sheet-2 Q1. Explain The terms: (1) Compiler (2) Debugger (3) Linker (4) Loader Q2.Write a program in C to find whether the character entered is vowel or not. Q3. What is the difference between while and do while loop? Q4.What do you mean by function? Explain various benefits of using functions. Tutorial sheet-3 Q1. What are identifiers? Write rules for identifiers. Which of the following are valid identifiers? (i) Record 1 (ii) Name and address (iii) File (iv) 123-45 (v) File 2 Q2.What are the actual and formal parameter s? Explain parameter passing. Q3. What is recursion? Explain with example. Q4.Write a program in C to print Fibonacci series. Tutorial sheet-4 Q1 How arrays are declared and used in C? Q2.What is an expression? What are different types of operators in C? Q3. Write a program in C to concatenate two strings and create a new string. Q4.Describe the file input and output in C Language..

Sample paper Programming for problem solving(es-105a) UNIT-1 Q1.What are the basic components of the CPU of a computer system? Describe the role of each component in the functioning of a computer system. Q2. What do you understand by unary, Binary and ternary operator in C Explain with example? UNIT-2 Q3.What are flowchart? Draw a flowchart to find the sum of first 10 numbers. Q4. What is an expression? What are different types of operators in C? UNIT-3 Q5. What are keywords? Explain library function. Give suitable examples. Q6. Differentiate between formatted and unformatted input and output in C language. UNIT -4 Q7. Explain with the help of suitable example the opening and closing of a file. Q8. Explain any 5 string functions in C