Acharya Nagarjuna University :: B.Sc. - 1 st Year - 2 nd Semester PROGRAMMING IN C UNIT I: Introduction to Algorithms and Programming Languages:

Similar documents
ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology)

KITES TECHNOLOGY COURSE MODULE (C, C++, DS)

10CS35: Data Structures Using C

Bangalore University B.Sc Computer Science Syllabus ( Semester System)

DATA STRUCTURES USING C

Krishna Institute of Engineering & Technology, Ghaziabad Department of Computer Application MCA-213 : DATA STRUCTURES USING C

PES Institute of Technology-BSC QUESTION BANK

BCS2B02: OOP Concepts and Data Structures Using C++

Syllabus for Computer Science. Proposed scheme for B.Sc Programme under Choice Based Credit System

Data Structure [Question Bank]

University of Pune Revised Structure for the B. Sc. (Computer Science) Course (Second Year to be implemented from Academic Year )

Java Software Structures

Fundamentals of Java Programming

B.Sc.(Computer Science) and. B.Sc.(IT) Effective From July 2011

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING LESSON PLAN

RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE. CISY 105 Foundations of Computer Science

Java (12 Weeks) Introduction to Java Programming Language

CompuScholar, Inc. Alignment to Utah's Computer Programming II Standards

5. A full binary tree with n leaves contains [A] n nodes. [B] log n 2 nodes. [C] 2n 1 nodes. [D] n 2 nodes.

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. Course Curriculum. DATA STRUCTURES (Code: )

Objected oriented Programming: C++ Unit 1 1. Introduction 1.1. Introduction to Object Oriented Programming C++ fundamentals.

Java Application Developer Certificate Program Competencies

Java EE Web Development Course Program

Android Application Development Course Program

Computing Concepts with Java Essentials

Java the UML Way: Integrating Object-Oriented Design and Programming

WORKSPACE WEB DEVELOPMENT & OUTSOURCING TRAINING CENTER

Specialized Programme on Web Application Development using Open Source Tools

Unit Write iterative and recursive C functions to find the greatest common divisor of two integers. [6]

COMPUTER SCIENCE. 1. Computer Fundamentals and Applications

Specialized Programme on Web Application Development using Open Source Tools

I PUC - Computer Science. Practical s Syllabus. Contents

1) The postfix expression for the infix expression A+B*(C+D)/F+D*E is ABCD+*F/DE*++

1. The memory address of the first element of an array is called A. floor address B. foundation addressc. first address D.

Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies)

Govt. Holkar Science College, Indore Department of Computer Science B.Sc. Computer Science

Basic Programming and PC Skills: Basic Programming and PC Skills:

Summit Public Schools Summit, New Jersey Grade Level / Content Area: Mathematics Length of Course: 1 Academic Year Curriculum: AP Computer Science A

Introduction to Programming System Design. CSCI 455x (4 Units)

PROBLEM SOLVING SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON

Java 6 'th. Concepts INTERNATIONAL STUDENT VERSION. edition

Java SE 8 Programming

Web Development in Java

Glossary of Object Oriented Terms

An Introduction to Programming and Computer Science

AP Computer Science AB Syllabus 1

COMMUNITY COLLEGE OF CITY UNIVERSITY CITY UNIVERSITY OF HONG KONG

Questions 1 through 25 are worth 2 points each. Choose one best answer for each.

NEW YORK CITY COLLEGE OF TECHNOLOGY/CUNY Computer Systems Technology Department

Curriculum Map. Discipline: Computer Science Course: C++

Java Interview Questions and Answers

AGARWAL COLLEGE & WEB SERVICES TRUST. In Collaboration with KARANATAKA STATE OPEN UNIVERSITY

AP Computer Science A - Syllabus Overview of AP Computer Science A Computer Facilities

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement?

BCA 421- Java. Tilak Maharashtra University. Bachelor of Computer Applications (BCA) 1. The Genesis of Java

Symbol Tables. Introduction

El Dorado Union High School District Educational Services

BHARATHIAR UNIVERSITY COIMBATORE SCHOOL OF DISTANCE EDUCATION

Syllabus for CS 134 Java Programming

Quiz 4 Solutions EECS 211: FUNDAMENTALS OF COMPUTER PROGRAMMING II. 1 Q u i z 4 S o l u t i o n s

Scheme & Syllabus. B.Sc. (IT) I st to VI th Semester. w.e.f. July 2011 ( Batch onwards) Devi Ahilya Vishwavidyalaya, Indore(M.P.

Persistent Binary Search Trees

Sample Syllabus (C++) CSCI 1301 Introduction to Programming Principles

AP Computer Science Java Subset

: provid.ir

Sample Questions Csci 1112 A. Bellaachia

Embedded C Programming, Linux, and Vxworks. Synopsis

The Elective Part of the NSS ICT Curriculum D. Software Development

TECHNOLOGY Computer Programming II Grade: 9-12 Standard 2: Technology and Society Interaction

1 p a g e 1 1. Syllabus of 3 rd Semester of B.Tech. Information Technology (Batch 2014 Onwards)

Abstract Data Type. EECS 281: Data Structures and Algorithms. The Foundation: Data Structures and Abstract Data Types

How To Teach C++ Data Structure Programming

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT COURSE CURRICULUM. Course Title: Advanced Computer Programming (Code: )

core. Volume I - Fundamentals Seventh Edition Sun Microsystems Press A Prentice Hall Title ULB Darmstadt

ML for the Working Programmer

Chapter 3: Restricted Structures Page 1

DE 6211 DISTANCE EDUCATION. M.Sc. (IT) DEGREE EXAMINATION, MAY PRINCIPLES OF INFORMATION TECHNOLOGY. (2002 onwards) PART A (10 3 = 30 marks)

AFF 808. Sub. Code 4BIT1C1. B.Sc. DEGREE EXAMINATION, NOVEMBER First Semester. Information Technology

Pseudo code Tutorial and Exercises Teacher s Version

Java SE 7 Programming

Java SE 7 Programming

Programming and Software Development (PSD)

Visual Basic. murach's TRAINING & REFERENCE

DIABLO VALLEY COLLEGE CATALOG

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation

ADVANCED SCHOOL OF SYSTEMS AND DATA STUDIES (ASSDAS) PROGRAM: CTech in Computer Science

An Overview of Java. overview-1

Java SE 7 Programming

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands

Data Structures and Data Manipulation

7.1 Our Current Model

CSE 326, Data Structures. Sample Final Exam. Problem Max Points Score 1 14 (2x7) 2 18 (3x6) Total 92.

Data Structures. Level 6 C Module Descriptor

Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner

Data Structures Using C++ 2E. Chapter 5 Linked Lists

Semester-V. BCA 501-Software Engineering(BCA V) SDLC Models, Exploratory style and modern approaches of programming.

Course Title: Software Development

Transcription:

B.Sc. - 1 st Year - 2 nd Semester PROGRAMMING IN C UNIT I: Introduction to Algorithms and Programming Languages: Algorithm Key features of Algorithms Some more Algorithms Flow Charts Pseudo code Programming Languages Generations Structured Programming Language- Design and Implementation of Correct, Efficient and Maintainable Programs. Introduction to C: Introduction Structure of C Program Writing the first C Program File used in C Program Compiling and Executing C Programs Using Comments Keywords Identifiers Basic Data Types in C Variables Constants I/O Statements in C- Operators in C- Programming Examples Type Conversion and Type Casting UNIT II: Decision Control and Looping Statements: Introduction to Decision Control Statements Conditional Branching Statements Iterative Statements Nested Loops Break and Continue Statement Goto Statement Functions: Introduction using functions Function declaration/ prototype Function definition function call return statement Passing parameters Scope of variables Storage Classes Recursive functions Type of recursion Towers of Hanoi Recursion vs Iteration UNIT III: Arrays: Introduction Declaration of Arrays Accessing elements of the Array Storing Values in Array Calculating the length of the Array Operations that can be performed on Array one dimensional array for inter-function communication Two dimensional Arrays Operations on Two Dimensional Arrays - Two Dimensional Arrays for inter-function communication Multidimensional Arrays Sparse Matrices Strings: Introduction Suppressive Input String Taxonomy String Operations Miscellaneous String and Character functions UNIT IV: Pointers: Understanding Computer Memory Introduction to Pointers declaring Pointer Variables Pointer Expressions and Pointer Arithmetic Null Pointers Generic Pointers - Passing Arguments to Functions using Pointer Pointer and Arrays Passing Array to Function Difference between Array Name and Pointer Pointers and Strings Array of pointers Pointer and 2D Arrays Pointer and 3D Arrays Function Pointers Array 0f Function Pointer Pointers to Pointers Memory Allocation in C Programs Memory Usage Dynamic Memory Allocation Drawbacks of Pointers Structure, Union, and Enumerated Data Types: Introduction Nested Structures Arrays of Structures Structures and Functions Self referential Structures Union Arrays of Unions Variables Unions inside Structures Enumerated Data Types UNIT V: Files: Introduction to Files Using Files in C Reading Data from Files Writing Data from Files Detecting the End-of-file Error Handling during File Operations Accepting Command Line Arguments Functions for Selecting a Record Randomly - Remove() Renaming a File Creating a Temporary File TEXT BOOK 1. E Balagurusamy, Programming in ANSI C, McGraw-Hill, Six Ed 2012, ISBN 978-1259004612, 572 pages 2. Y Kanetkar, Let us C BPB, 13 th Edition-2013, ISBN: 978-8183331630, 656 pages 3. Dennis M. Ritchie and Brian W. Kernighan, The C Programming Language PHI; 2 edition, 1990 ISBN: 978-8120305960, 284 pages 4. Computer Fundamentals and Programming in C by Reema Thareja, Oxford University Press 5. Ashok N Kamthane: Programming with ANSI and Turbo C, Pearson Edition Publ, 2002. 6. Henry Mullish & Huubert L.Cooper: The Sprit of C, Jaico Pub. House,1996.

B.Sc. 1 st Year 2 nd Semester PROGRAMMING IN C LAB 1. Find the biggest of three numbers using C. 2. Write a C program to find the sum of individual digits of a positive integer. 3. A Fibonacci sequence is defined as follows: the first and second terms in the sequence are 0 and 1. Subsequent terms are found by adding the preceding two terms in the sequence. 4. Write a C program to check whether a number is Armstrong or not 5. Write a program to perform various string operations 6. Write a C program to generate all the prime numbers between 1 and n, where n is a value supplied by the user. 7. Write a C program that uses functions to perform the following: a. Addition of Two Matrices b. Multiplication of Two Matrices 8. Write C program that implements searching of given item in given list 9. Write a C program to sort a given list of integers in ascending order 10. Write a C program to perform various operations using pointers? 11. Write a C program to read data of 10 employees with a structure of 1. Employee id, 2. Aadar no., 3. Title, 4. Joined date, 5. Salary, 6. Date of Birth, 7. Gender, 8. Department

B.Sc. 2 nd Year 3 rd Semester: OBJECT ORIENTED PROGRAMMING USING JAVA UNIT I: Object Oriented Programming: Introduction to OOP, Objects and Classes, Characteristics of OOP, Difference between OOP and Procedure Oriented Programming, Summary Introduction to Java Programming: Introduction, Features of Java, Comparing Java and other languages, Applications and Applets, Java Development Kit, Prerequisites for Compiling and Running Java Programs. UNIT II: Java Language Fundamentals: The building Blocks of Java, Data types, Variable declarations, Wrapper classes, Operators and Assignment, Control Structures, Arrays, Strings, The String Buffer Class. Java as an OOP Language: Defining classes, Modifiers, Packages, Interfaces. UNIT III: Exception Handling: Basics of Exception Handling in Java, Exception Hierarchy, Constructors and Methods in Throw class, Unchecked and Checked exceptions, Exception Handling with Method Overriding, Custom Exception Multithreading: An Overview of Threads, Creating Threads, Thread Life cycle, Thread priorities and Thread scheduling, Thread synchronization, Thread groups, Communication of Threads. UNIT IV: Files and I/O Streams: An Overview of I/O streams, Java I/O, File streams, File Input stream and File output stream, Filter streams, Random Access File, Serialization. Applets: Introduction, Java applications versus Java Applets, Applet Life cycle, working with Applets, The HTML Applet Tag. UNIT V: Database Handling using JDBC: An Overview of DBMS, JDBC Architecture, working with JDBC, Processing Queries, The Transactions commit and Rollback, Handling Exceptions, Mapping Database types to java, Accessing Metadata, Sample Programs to Handle Database. The Abstract window Toolkit: Introduction, Drawing with crystals class, class Hierarchy of AWT, Event Handling, AWT controls, Layout Managers, The Java2D, Java2d Shapes. TEXT BOOKS 1. H.M.Deitel, P.J.Deitel, Java How to Program, Sixth Edition, Pearson Education, 2007 2. E. Balagurusamy, Programming with Java, TMH, 2014, 978-9351343202, 480 pages 3. Object Oriented Programming Through Java by P. Radha Krishna, Universities Press (2008) 4. Programming In Java By Sachin Malhotra And Saurabh Choudhary From Oxford University Press 5. James Gosling, Bill Joy, Guy Steele, Gilad Bracha, and Alex Buckley, The Java Language Specification, March 2014, Download PDF: http://docs.oracle.com/javase/specs/jls/se8/jls8.pdf 6. Timothy Budd, Understanding Object-Oriented Programming with Java, Pearson Education, 2007

B.Sc. 2 nd Year - 3 rd Semester OBJECT ORIENTED PROGRAMMING USING JAVA LAB 1. Write a program to perform various String Operations a) Sort given strings in alphabetical order. b) Check whether one string is sub string of another string or not. c) Convert the strings to uppercase 2. Write a program to illustrate Overloading & Overriding methods in Java 3. Write a program to illustrate the implementation of abstract class 4. Write a program to implement Exception handling 5. Write an interactive program to accept name of a person and validate it. If the name contains any numeric value throw an exception InvalidName. 6. Write a program to create packages in Java 7. Write a program to Create Multiple Threads in Java 8. Write a program to Write Applets to draw the various polygons 9. Illustrate the method overriding in JAVA. 10. Write a program which illustrates the implementation of multiple Inheritance using interfaces in Java

B.Sc. 2 nd Year IV Semester: DATA STRUCTURES with JAVA UNIT I: Concept of Abstract Data Types (ADTs)- Data Types, Data Structures, Storage Structures, and File Structures, Primitive and Non-primitive Data Structures, Linear and Nonlinear Structures. Linear Lists - ADT, Array and Linked representations, Pointers. Arrays - ADT, Mappings, Representations, Sparse Matrices, Sets - ADT, Operations UNIT II: Stacks: Definition, ADT, Array and Linked representations, Implementations and Applications Queues: Definition, ADT, Array and Linked representations, Circular Queues, Dequeues, Implementations and Applications. UNIT III: Trees: Binary Tree, Definition, Properties, ADT, Array and Linked representations, Implementations and Applications. Priority Queues: Definition, ADT, Heaps and Applications, Binary Search Trees (BST) - Definition, ADT, Operations and Implementations, BST with Duplicates and Applications. Balanced Search Tress: AVL, Red-Black and Splay Trees. UNIT IV: Graphs Graph and its Representation, Graph Traversals, Connected Components, Basic Searching Techniques, Minimal Spanning Trees UNIT- V: Sorting and Searching: Selection, Insertion, Bubble, Merge, Quick, Heap, Sequential and Binary Searching. TEXT BOOKS 1. Hubbard John R. and Huray Anita, Data Structures with Java Paperback Prentice-Hall 2005 ISBN-10: 8120327454 2. David Cousins, Introducing Data Structures with Java Kindle Edition, Pearson Education; First edition, 2011, ISBN-10: 8131758648, 464 pages 1. SamanthaD, Classic Data Structures, Prentice-Hall of India, 2001. 2. Tremblay.1 P, and Sorenson P G, Introduction to Data Structures and Applications, Tata McGraw-Hill, 3. Sahani S, Data Structures, Algorithms and Applications in C++, McGraw-Hill, 2002 2 nd Year: 4 th Semester - DATA STRUCTURES USING JAVA LAB 1. Write Program to implement the Stack operations using an array and a singly linked list 2. Write Programs to implement the Queue operations using an array and a singly linked list 3. Write a program to implement queque using a doubly linked list 4. Write a program to evaluate postfix expression by using Stack? 5. Write a program to implement insert and delete operations on Priority Queue 6. Write a program to construct Binary Search Tree and implement tree traversing techniques 7. Write a program to search an item in a given list using Linear Search and Binary Search 8. Write a program to Find number of Leaf nodes and Non-Leaf nodes in a Binary Search Tree. 9. Write a program with any Algorithm to Find the Minimum Spanning Tree of a Graph 10. Write programs for Selection Sort, Bubble Sort, Quick Sort, Selection Sort, Merge Sort