B.Sc. 1 Semester Computer Science Syllabus Under CBCS
B.Sc. 1 Semester Computer Science Syllabus Under CBCS
Objectives:
This course aims to provide exposure to problem-solving through programming. It introduces the
concepts of the C Programming language.
UNIT I
Electronic Computers Then and Now, Computer Hardware: Main Memory, Secondary Memory,
Central Processing Unit, Input Devices, Output Devices, Computer Software: System Software,
Application Software, Computer Languages, Problem solving Techniques: Flow Chart, Algorithm,
Development of algorithms and Flowcharts for simple problems, The Software Development Method,
Applying the Software Development Method for Converting Miles to Kilometers
UNIT II
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.
Decision Control and Looping Statements: Introduction to Decision Control Statements– Conditional
Branching Statements – Iterative Statements – Nested Loops – Break and Continue Statement – Goto
Statement
UNIT III
Arrays: Introduction – Declaration of Arrays – Accessing elements of the Array – Storing Values in
Array– Operations on Arrays – one dimensional, two dimensional and multi dimensional arrays, character
handling and strings.
UNIT IV
Structure, Union, and Enumerated Data Types: Introduction –Structures – Arrays of Structures –
Union – Arrays of Unions Variables – Enumerated Data Types.
UNIT V
Pointers: Understanding Computer Memory – Introduction to Pointers – declaring Pointer Variables –
Passing Arguments to Functions using Pointer -Memory Usage – Dynamic Memory Allocation –
Drawbacks of Pointers
Files: Introduction to Files – Using Files in C – Reading Data from Files – Writing Data to Files –
Detecting the End-of-file – Error Handling during File Operations – Accepting Command Line
Arguments.
BOOKS
1. Hanly J R & Koffman E.B, “Problem Solving and Programm design in C”, Pearson Education, 2009.
2. E Balagurusamy – Programming in ANSIC – Tata McGraw-Hill publications.
3. Brain W Kernighan and Dennis M Ritchie - The ‘C’ Programming language” - Pearson publications.
4. Ashok N Kamthane: Programming with ANSI and Turbo C, Pearson Edition Publications.
5. Yashavant Kanetkar - Let Us ‘C’ – BPB Publications.
Problem solving in C LAB
4. Write a program to find both the largest and smallest number in a list of integer values
5. Write a program to demonstrate refection of parameters in swapping of two integer values using Call
by Value&Call by Address
7. Write a program to calculate factorial of given integer value using recursive functions
SECTION – B
Answer ALL questions (Internal Choice). Each question carries Eight marks. (5X8=40 Marks)
UNIT-I
OR
UNIT-II
13.Write about a)structure of C program with example?b)Operators in C language?
OR
UNIT-III
15.What is an Array? Explain Representation,Declaration,Storing,Accessing elements of One
Dimensional Array?
OR
UNIT-IV
OR
18.Explain a)Unions
b) Enumerated Datatype
UNIT-V
OR
20.Write about Operations on Files?
Govt.College for Men(A)::Kadapa
B.Sc.2nd Semester Computer Science Syllabus under CBCS
Paper II - DATA STRUCTURES USING C
Course Objectives:
To introduce the fundamental concept of data structures and to emphasize the importance of various
data structures in developing and implementing efficient algorithms.
UNIT – I
UNIT – II
Arrays: Introduction to Linear and Non- Linear Data Structures, One- Dimensional Arrays, Array
Operations, Two- Dimensional arrays, Multidimensional Arrays, Pointers and Arrays, an Overview
of Pointers
Linked Lists: Introduction to Lists and Linked Lists, Dynamic Memory Allocation, Basic Linked
List Operations, Doubly Linked List, Circular Linked List, Atomic Linked List, Linked List in
Arrays, Linked List versus Arrays
UNIT – III
Stacks: Introduction to Stacks, Stack as an Abstract Data Type, Representation of Stacks through
Arrays, Representation of Stacks through Linked Lists, Applications of Stacks, Stacks and
Recursion
Queues: Introduction, Queue as an Abstract data Type, Representation of Queues, Circular Queues,
Double Ended Queues- Deques, Priority Queues, Application of Queues
UNIT – IV
Binary Trees: Introduction to Non- Linear Data Structures, Introduction Binary Trees, Types of
Trees, Basic Definition of Binary Trees, Properties of Binary Trees, Representation of Binary Trees,
Operations on a Binary Search Tree, Binary Tree Traversal, Counting Number of Binary Trees,
Applications of Binary Tree
UNIT – V
Searching and sorting: Sorting – An Introduction, Bubble Sort, Insertion Sort, Merge Sort,
Searching – An Introduction, Linear or Sequential Search, Binary Search, Indexed Sequential
Search
BOOKS
10. Write a program to search an item in a given list using the following Searching
Algorithms
a. Linear Search
b. Binary Search.
a. Bubble Sort
b. Insertion Sort
c. Quick Sort
12. Write a program for polynomial addition using single linked list
13. Write a program to find out shortest path between given Source Node and
15. Write a program to implement Depth First Search graph traversals algorithm
16. Write a program to implement Breadth First Search graph traversals algorithm
Govt.College for Men(A)::Kadapa
Paper-II : DATA STRUCTURES USING C
I B.Sc II SEMESTER Model Paper
SECTION-A
Answer any Five out of Eight questions. Each question carries Four marks. (5x4 = 20
Marks)
SECTION – B
Answer ALL questions (Internal Choice). Each question carries Eight marks. (5X8=40
Marks)
UNIT – I
11. Explain in detail about datatypes?
OR
12. What is Recursion? Write a C program to find factorial of a given number using
Recursion.
UNIT – II
13. Explain about pointers and arrays.
OR
14. Explain double linked list and its operations.
UNIT –III
15. Explain about array representation of stacks.
OR
16. Explain about linked representation of queues.
UNIT – IV
17. Explain about array representation of binary trees.
OR
18. Explain about binary tree traversal algorithms.
UNIT – V
19. Explain about linear search?
OR
20. Explain various graph representations.