Kadi Sarva Vishwavidyalaya, Gandhinagar

Similar documents
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

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

CHOICE BASED CREDIT SYSTEM (With effect from )

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)

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

COMPUTER PROGRAMMING LAB

Syllabus for Computer Applications

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

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

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

PROGRAMMING IN C AND C++:

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

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:

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

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

Tribhuvan University Institute of Science and Technology 2065

S Y B Voc Software Development Syllabus

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

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

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

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

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

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

Computer Programming C++ (wg) CCOs

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

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

Class 9 Saturday, Feb 14

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

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

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

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

Q1. Multiple Choice Questions

Swami Ramanand Teerth Marathwada University, Nanded

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

C-LANGUAGE CURRICULAM

KLiC C Programming. (KLiC Certificate in C Programming)

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

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

Euclid s algorithm, 133

PESIT-BSC Department of Science & Humanities

C Programming SYLLABUS COVERAGE SYLLABUS IN DETAILS


Rani Durgavati Vishwavidyalaya Jabalpur (M.P.) (UICSA) Master of Computer Application (MCA) Practical List of. MCA III SEM Session -2010

Code No: R Set No. 1

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

INDIAN SCHOOL MUSCAT COMPUTER SCIENCE(083) CLASS XI

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

Course Text. Course Description. Course Objectives. StraighterLine Introduction to Programming in C++

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

Introduction to C Final Review Chapters 1-6 & 13

COURSE STRUCTURE AND SYLLABUS APPROVED IN THE BOARD OF STUDIES MEETING HELD ON JULY TO BE EFFECTIVE FROM THE ACADEMIC YEAR

C: How to Program. Week /Mar/05

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

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

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

SHARDA UNIVERSITY SCHOOL OF ENGINEERING & TECHNOLOGY Mid Term Examination, (Odd Term, ) SOLUTION

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

Sample Copy. Not For Distribution.

Decision Control Structure. Rab Nawaz Jadoon DCS. Assistant Professor. Department of Computer Science. COMSATS IIT, Abbottabad Pakistan

BIRLA INSTITUTE OF TECHNOLOGY AND SCIENCE, PILANI PILANI CAMPUS Instruction Division

M3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE

Multiple Choice Questions ( 1 mark)

UNIVERSITY OF JAMMU, JAMMU. (Semester System)

VALLIAMMAI ENGINEERING COLLEGE

Practical List of. MCA IV SEM Session -2010

19 Much that I bound, I could not free; Much that I freed returned to me. Lee Wilson Dodd

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

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

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

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

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

I BCA[ ] SEMESTER I CORE: C PROGRAMMING - 106A Multiple Choice Questions.

Fundamentals of Programming Languages - I

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

Chapter 2 - Introduction to C Programming

SCHEME OF EXAMINATION FOR B.Sc.(COMPUTER SCIENCE) SEMESTER SYSTEM (Regular Course) w.e.f Scheme for B.Sc.-I. Semester-I. Internal Assessment

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

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

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

Computers Programming Course 5. Iulian Năstac

Computer Science (Informática)

Bachelor of Computer Application INTRODUCTION TO COMPUTER PROGRAMMING USING C. Block-1

Mobile Computing Professor Pushpendra Singh Indraprastha Institute of Information Technology Delhi Java Basics Lecture 02

Programming for Engineers Iteration

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

Introduction to Computer Science Midterm 3 Fall, Points

BLM2031 Structured Programming. Zeyneb KURT

Chapter 1 & 2 Introduction to C Language

Name :. Roll No. :... Invigilator s Signature : INTRODUCTION TO PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70

Problem Solving and 'C' Programming

Features of C. Portable Procedural / Modular Structured Language Statically typed Middle level language

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

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

Programming. We will be introducing various new elements of Python and using them to solve increasingly interesting and complex problems.

CS201- Introduction to Programming Latest Solved Mcqs from Midterm Papers May 07,2011. MIDTERM EXAMINATION Spring 2010

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

ENGINEERING PROGRAMMING

1 Chapter Plan...1 Exercise - Simple Program...2

Transcription:

Kadi Sarva Vishwavidyalaya, Gandhinagar MASTERS OF COMPUTER APPLICATION (MCA) Semester I (First Year) Subject: MCA-101 Programming for Logic Building (LDPL) SUB Teaching scheme Examination scheme Total CREDIT (per week) MID CEC External Total Th. Pr. Th. Th. Th. Pr. Marks 5 3 4 25 25 50 50 150 Course Description: This course introduces computer programming and problem solving in a structured program logic environment. It introduces the basic flow and construction of algorithm for given problem. Course includes language syntax, data types, program organization, problem-solving methods, algorithm design, and logic control structures. Objectives: 1. Upon successful completion of this course, the students will be able to create flowcharts and pseudocodes to illustrate program algorithm or process and apply top-down concepts in algorithm design. 2. Student will able to: Describe the major components in problem solving for a computer program, concept of data storage and named memory locations, Apply decision and repetition structures in program design, Write and incorporate methods and functions to demonstrate program competence. 3. Students will also be able to implement input and output to access and process files. Prerequisites: None Course Contents: UNIT I: Introduction to Programming and Basics of C [20%] Introduction to programs, Types of Programming Languages, Introduction to compiler, interpreter, loader and linker, Algorithms : different ways of stating algorithms, An overview of C variables, Data types, Token, Operators and Expressions, Type conversion, formatted and non-formatted Input/Output UNIT II: Control statements, Arrays and strings [20%] Selection statements, Conditional operator, Switch statement, Looping statements: while, for and do-while, goto statement, Special control statements: break and continue, Nested loops, Arrays- One Dimensional Array, Strings: String Handling Functions, Multidimensional arrays, Arrays of strings P a g e 1

UNIT III: User-Defined Functions and User Defined Data types [20%] Concept of Function, Using Functions: Function prototype, Function Definition and Function Calling, Passing arrays to functions, Storage classes, Recursion, Structures: Declaring Structures, Initialization, Copying and Comparing Structures, Arrays of Structure, Arrays within Structures, Nesting of Structures, Structures and functions, Union, Enumeration Types, Bit fields UNIT IV: Pointers [20%] Pointers-Fundamentals, Arrays and Pointers, Pointers and Strings, Pointer Arithmetic, Pointers to Pointers, Array of Pointers, Pointers to Functions, Pointer and Structures,Dynamic memory allocation UNIT V: File Management in C and Preprocessor [20%] Introduction to File, Defining and Opening File, Closing a File, Working with Text and Binary Files, Direct File Input and Output, Random Access to Files, Bitwise operators, Command Line Arguments, C Preprocessor Text Book(s): 1. Programming in C By Pradip Dey, Manas Ghosh, Second Edition, Oxford Publication Other Reference Books: 1. Programming in Ansi C by E Balagurusamy, TMH 2. Let Us C by Yashavant Kanetkar, BPB Publication. 3. The C Programming Language ANSI C Version by Brian W. Kerninghan & Dennis M. Ritchie 4. Programming with C by Byron Gottfried, Schaums Outline,Tata McGraw Hill Practical List: 1. Draw Flow Charts for following problem statements : a. Draw a flowchart which will accept two numbers from user and will display values of variables after swapping them with each other. b. Draw a flowchart to find out simple interest and compound interest. c. Draw a flowchart to read a 3-digit integer and print its reverse number. d. Draw a flowchart to read a number in seconds and display that in the form Hour: Min: Seconds. e. A cashier has currency notes of denominations 10, 50 and 100. Draw a flowchart to read the amount in hundreds and find the total no. of currency notes of each denomination the cashier will have to give to customer. 2. Write any five programs based on mathematical formulas. (for example, area of the triangle) 3. Write a Program to rotate the values of x, y and z such that x has the value of y, y has the value of z and z has the value of x. 4. Write a Program that reads a floating-point number and then displays the right-most digit of the integral part of the number. P a g e 2

5. Write a Program to check whether the entered number is odd or even. a. without using else option b. with using else option. 6. Write a Program to read three values using scanf and print the following results: a. Sum of the values b. Average of the three values c. Largest of the three values 7. Write a program to read three values from the user and print the smallest value without using if statement. (Hint: Use conditional operator) 8. An electric power distribution company charges its consumers as follows: Consumption Units Rate of Charge For First 50 Units Rs. 2.30 Next 50 Units Rs. 2.60 Next 150 Units Rs. 3.25 More than 250 Units Rs. 4.35 Write a Program to take number of units consumed from user and calculate the bill amount. 9. Write a program to convert a decimal number into any base. 10. Write a Program to accept numbers from the user till their sum exceeds 50. 11. Write a program to print Pascal triangle. 12. A company insures its drivers in the following cases: a. If the driver is married. b. If the driver is unmarried, male and above 30 years of age. c. If the driver is unmarried, female and above 25 years of age. Write a Program which takes age, sex and marital status and check whether that person will be insured or not. (Use logical operators) 13. Write a program to find the number of and sum of all integers greater than 100 and less than 200 that are divisible by 7. 14. Write program to accept 4-digit number from keyboard, and display it on screen in words. (i.e. 4238 => Four Two Three Eight) (Use switch statement) 15. Write a program to find the sum of all elements of one-dimensional array. 16. Write a program for multiplication of two matrices. 17. The annual examination results of 10 students are tabulated as follows: Roll No. Subject1 Subject2 Subject3 Write a program to read the data and determine the following: P a g e 3

a. Total marks obtained by each student b. The highest marks in each subject and the roll no. of the student who secured it c. The student who obtained the highest total marks. 18. Write a program to extract a portion of a character string and print the extracted string. Assume that m characters are extracted, starting with the nth character. 19. Write a program to replace a particular word by another word in a given string. 20. Write a function palindrome that returns 1 if its argument is palindrome and returns 0 otherwise. 21. Write a function to sort the elements of an array in descending order. 22. Write a program to develop your own functions for performing following operations on strings: a. To copy one string to another b. To concatenate two strings c. To compare two strings 23. Write a program that defines a structure that can describe a student. It should have members that include student id, name, mark1, mark2, total, percentage. Ask 10 students details from user and calculate total marks, percentage for each subject. Write a function that will display the detail of all students in descending order of their percentage in following format. ID Name Mark1 Mark2 Mark3 Total Percentage 24. Define a structure that can describe a hotel. It should have members that include the name, address, grade, average room charge, and number or rooms. Write functions to perform the following operations: (i) To print out hotels of a given grade in order of charges. (ii) To print out hotels with room charges less than a given value. 25. Write a program using pointer to read an array of integers and print its elements in reverse order. 26. Write a function (using a pointer parameter) that finds the average of all the elements of a given array. 27. Using pointers, write a function that receives a character string and a character as argument and deletes all occurrences of this character in the string. The function should return the corrected string with no holes. 28. Write a program to copy contents of one file to another. Use command line argument to specify file names. 29. Write a program that opens an existing text file and copies it to a new text file with all lowercase letters changed to capital letters and all other characters unchanged. P a g e 4

30. Write a program to read integers from one file. Make two files named ODD and EVEN. ODD file will contain all odd integers from first file and EVEN file will contain all even integers from first file. P a g e 5