Computer Science. Syllabus wef 2019-20pdf
Computer Science. Syllabus wef 2019-20pdf
Unit – I
Computer Fundamentals: Introduction of Computers, Classification of Computers, Anatomy of a Computer,
Memory Hierarchy, Introduction to OS, Operational Overview of a CPU.
Program Fundamentals: Generation and Classification of Programming Languages, Compiling, Interpreting,
Loading, Linking of a Program, Developing Program, Software Development.
Algorithms: Definitions, Different Ways of Stating Algorithms (Step-form, Pseudo-code, Flowchart), Strategy
for Designing Algorithms, Structured Programming Concept.
Basics of C: Overview of C, Developing Programs in C, Parts of Simple C Program, Structure of a C Program,
Comments, Program Statements, C Tokens, Keywords, Identifiers, Data Types, Variables, Constants,
Operators and Expressions, Expression Evaluation–precedence and associativity, TypeConversions.
Unit – II
Input-Output: Non-formatted and Formatted Input and Output Functions, Escape Sequences,
Control Statements: Selection Statements – if, if-else, nested if, nested if-else, comma operator, conditional
operator, switch; Iterative Statements–while, for, do-while; Special Control Statement–goto, break, continue,
return, exit.
Arrays and Strings: One-dimensional Arrays, Character Arrays, Functions from ctype.h, string.h,
Multidimensional Arrays.
Unit – III
Functions: Concept of Function, Using Functions, Call-by-Value Vs Call-by-reference, Passing Arrays to
Functions, Score of Variables, Storage Classes, Inline Functions, and Recursion.
Pointers: Introduction, Address of Operator (&), Pointer, Uses of Pointers, Arrays and Pointers, Pointers and
Strings, Pointers to Pointers, Array of Pointers, Pointer to Array, Dynamic Memory Allocation.
Unit – IV
User-defined Data Types: Declaring a Structure (Union) and its members, Initialization Structure (Union),
Accessing members of a Structure (Union), Array of Structures (Union), Structures verses Unions,
Enumeration Types.
Files: Introduction, Using Files in C, Working with Text Files, Working with Binary Files, Files of Records,
Random Access to Files of Records, Other File Management Functions.
CLab BS106
Practical 3 Hours/Week 1credit
1 Write a program to find the largest two (three) numbers using if and conditionaloperator.
3 Write a program to print the prime number from 2 to n where n is given byuser.
5 Write a program to print a triangle of stars as follows (take number of lines fromuser):
*
***
*****
*******
*********
6 Write a program to find largest and smallest elements in a given list ofnumbers.
8 Write a program to find the GCD of two numbers using iteration andrecursion.
10 Write a program to demonstrate the call by value and the call by referenceconcepts.
Write a program that prints a table indicating the number of occurrences of each alphabet in the text
11
entered as command line arguments.
14 Write a program that opens a file and counts the number of characters in afile.
Write a program to create a structure Student containing fields for Roll No., Name, Class, Year and
15
Total Marks. Create 10 students and store them in a file.
Write a program that opens an existing text file and copies it to a new text file with all lowercase
16
letters changed to capital letters and all other characters unchanged.
Note Write the Pseudo Code and draw Flow Chart for the above programs.
:
Recommended to use Open Source Software: GCC on Linux; DevC++ (or) CodeBlocks on Windows
10.
With Effect from the Academic Year 2019-2020
Unit – I
Introduction to C++: Applications, Example Programs, Tokens, Data Types, Operators, Expressions, Control
Structures, Arrays, Strings, Pointers, Searching and Sorting Arrays.
Functions: Introduction, Prototype, Passing Data by Value, Reference Variables, Using Reference Variables as
Parameters, Inline Functions, Default Arguments, Overloading Functions, Passing Arrays to Functions.
Object Oriented Programming: Procedural and Object-Oriented Programming, Terminology, Benefits, OOP
Languages, and OOP Applications.
Unit – II
Classes: Introduction, Defining an Instance of a Class, Why Have Private Members? Separating Class
Specification from Implementation, Inline Member Functions, Constructors, Passing Arguments to
Constructors, Destructors, Overloading Constructors, Private Member Functions, Arrays of Objects, Instance
and Static Members, Friends of Classes, Member-wise Assignment, Copy Constructors, Operator Overloading,
Object Conversion, Aggregation.
Unit – III
Inheritance: Introduction, Protected Members and Class Access, Base Class Access Specification, Constructors
and Destructors in Base and Derived Classes, Redefining Base Class Functions, Class Hierarchies,
Polymorphism and Virtual Member Functions, Abstract Base Classes and Pure Virtual Functions, Multiple
Inheritance.
C++ Streams: Stream Classes, Unformatted I/O Operations, Formatted I/O Operations.
Unit – IV
Exceptions: Introduction, Throwing an Exception, Handling an Exception, Object-Oriented Exception
Handling with Classes, Multiple Exceptions, Extracting Data from the Exception Class, Re-throwing an
Exception, Handling the bad_alloc Exception.
Templates: Function Templates–Introduction, Function Templates with Multiple Type, Overloading with
Function Templates, Class Templates – Introduction, Defining Objects of the Class Template, Class Templates
and Inheritance, Introduction to the STL.
Text Tony Gaddis, Starting out with C++: from control structures through objects(7e)
C++Lab BS206
Practical 2 Hours/Week 1credit
1 Write a programto.
a. Print the sum of digits of a givennumber.
b. Check whether the given number is Armstrong ornot
c. Print the prime number from 2 to n where n is natural numbergiven.
2 Write a program to find largest and smallest elements in a given list of numbers and sort the given
list.
Write a program to read the student name, roll no, marks and display the same using class and
3
object.
Write a program to implement the dynamic memory allocation and de-allocation using new and
4
delete operators using class and object.
5 Write a program to find area of a rectangle, circle, and square usingconstructors.
Note Write the Pseudo Code and draw Flow Chart for the above programs.
:
Recommended to use Open Source Software: GCC on Linux; DevC++ (or) CodeBlocks on Windows.
With Effect from the Academic Year 2019–2020
.
AECC Fundamentals of Computers BS107
Unit-I
Introduction to Computers: what is a computer, characteristics of Computers, Generations of
Computers, Classifications of Computers, Basic Computer organization, Applications of
Computers. Input and Output Devices: Input devices, Output devices, Softcopy devices, Hard
copy devices. Computer Memory and Processors: Introduction, Memory Hierarchy, Processor,
Registers, Cache memory, primary memory, secondary storage devices, magnetic tapes, floppy
disks, hard disks, optical drives, USB flash drivers, Memory cards, Mass storage devices, Basic
processors architecture.
Unit – II
Number System and Computer Codes: Binary number system, working with binary numbers,
octal number system, hexadecimal number system, working with fractions, signed number
representation in binary form, BCD code, other codes. Boolean algebra and logic gates: Boolean
algebra, Venn diagrams, representation of Boolean functions, logic gates, logic diagrams and
Boolean expressions using karnaugh-map. Computer Software: Introduction to computer
software, classification of computer software, system software, application software, firmware,
middleware, acquiring computer software, design and implementation of correct, efficient and
maintainable programs.
Text Book:
ReemaThareja, Fundamentals of Computers.
References:
1. V.Rajaraman, 6th Edition Fundamentals of Computers, NeeharikaAdabala.
2. Anita Goel, Computer Fundamentals.
With Effect from the Academic Year 2019–2020
Sec-1 Python-1 BS301
Th eory 2Hours/Week 2 credits
Unit – I
Introduction to Python Programming: How a Program Works, Using Python, Program Development Cycle, Input,
Processing, and Output, Displaying Output with the Print Function, Comments, Variables, Reading Input from the
Keyboard, Performing Calculations (Operators. Type conversions, Expressions), More about Data Output.
Decision Structures and Boolean Logic: if, if-else, if-elif-else Statements, Nested Decision Structures, Comparing
Strings, Logical Operators, Boolean Variables.
Repetition Structures: Introduction, while loop, for loop, Calculating a Running Total, Input Validation Loops, Nested
Loops.
Unit – II
Functions: Introduction, Defining and Calling a Void Function, Designing a Program to Use Functions, Local Variables,
Passing Arguments to Functions, Global Variables and Global Constants, Value-Returning Functions- Generating
Random Numbers, Writing Our Own Value-Returning Functions, The math Module, Storing Functions inModules.
File and Exceptions: Introduction to File Input and Output, Using Loops to Process Files, Processing Records,
Exceptions.
References
1. Kenneth A. Lambert, Fundamentals ofPython
2. Clinton W. Brownley, Foundations for Analytics withPython
3. JamesPayne,BeginningPythonusingPython2.6andPython3
4. Charles Dierach, Introduction to Computer Science usingPython
5. PaulGries,PracticalProgramming:AnIntroductiontoComputerScienceusingPython3
With Effect from the Academic Year 2019–2020
SEC–2[B]
OperatingSystems-1 BS302
Theory 2Hours/Week 2 credits
Unit – I
Introduction: Computer-System Architecture, Computing Environments.
Operating-System Structures: Operating-System Services, User Interface for Operating-System, System Calls,
Types of System Calls, Operating System Structure.
Process Management: Process Concept, Process Scheduling, Operations on Processes, Inter process
Communication, Examples–Producer-Consumer Problem.
Process Synchronization: Critical-Section Problem, Peterson’s Solution, Synchronization, Semaphores,
Monitors.
Unit – II
CPU Scheduling: Concepts, Scheduling Criteria, Scheduling Algorithms.
Deadlocks: System Model, Deadlock Characterization, Methods for Handling Deadlocks, Deadlock Prevention,
Deadlock Avoidance, Deadlock Detection, Recovery from Deadlock.
Text AbrahamSilberschatz,PeterBaerGalvin,GregGagne,OperatingSystemConcepts(9e)
Unit – I
Fundamental Concepts: Introduction to Data Structures, Types of Data Structures, Introduction to Algorithm,
Pseudo-code, Flow Chart, Analysis of Algorithms.
Linear Data Structure Using Arrays: 1-D Arrays, 2-D Arrays, N-D Arrays, Memory Representation and
Address Calculation of 1-D, 2-D, N-D Arrays, Concept of Ordered List, String Manipulation, Pros and Cons of
Arrays.
Stacks: Concept, Primitive Operations, Abstract Data Type, Representation Stacks Using Arrays, Prefix, Infix,
Postfix Notations for Arithmetic Expression, Applications of Stacks– Converting Infix Expression to Postfix
Expression, Evaluating the Postfix Expression, Checking Well-formed (Nested) Parenthesis, Processing of
Function Calls, Reversing a String.
Unit – II
Recursion: Introduction, Recurrence, Use of Stack in Recursion, Variants of Recursion, Execution of Recursive
Calls, Recursive Functions, Iteration versus Recursion.
Queues: Concept, Primitive Operations, Abstract Data Type, Representation Queues Using Arrays, Circular
Queue, Double-Ended Queue, Applications of Queues.
Linked Lists: Introduction, Concept, Terminology, Primitive Operations-creating, inserting, deleting,
traversing, Representation of Linked Lists, Linked List Abstract Data Type, Linked List Variants - Singly
Linked List, Doubly Linked List, Linear and Circular Linked List, Representation Stacks and Queues Using
Linked Singly Lists, Application of Linked List–GarbageCollection.
Unit – III
Trees: Introduction, Representation of a General Tree, Binary Tree Introduction, Binary Tree Abstract Data
Type, Implementation of Binary Trees, Binary Tree Traversals – Preorder, Inorder, Postorder Traversals,
Applications of Binary Trees Briefly.
Graphs: Introduction, Graph Abstract Data Type, Representation of Graphs, Graph Traversal – Depth-First
Search, Breadth-First Search, Spanning Tree – Prim’s Algorithm, Kruskal’s Algorithm.
Hashing: Introduction, Hash Functions, Collision Resolution Strategies.
Unit – IV
Searching and Sorting: Sequential (Linear) Search, Binary Search, Bubble Sort, Insertion Sort, Selection Sort,
Quick Sort, Merge Sort, and Comparison of Sorting Techniques.
Heaps: Concept, Implementation, Abstract Data Type, Heap Sort.
DataStructuresLab BS306
Practical 2 Hours/Week 1credit
1 Write programs to implement the following using an array: a) Stack ADT b) QueueADT.
2 Write a program to convert the given infix expression to postfix expression using stack.
Lists and Tuples: Sequences, Introduction to Lists, List slicing, Finding Items in Lists with the in Operator, List Methods
and Useful Built-in Functions, Copying Lists, Processing Lists, Two-Dimensional Lists, Tuples.
Strings: Basic String Operations, String Slicing, Testing, Searching, and Manipulating Strings.
Dictionaries and Sets: Dictionaries, Sets, Serializing Objects.
Recursion: Introduction, Problem Solving with Recursion, Examples of Recursive Algorithms.
Unit – II
Object-Oriented Programming: Procedural and Object-Oriented Programming, Classes, Working with Instances,
Techniques for Designing Classes, Inheritance, Polymorphism.
GUI Programming: Graphical User Interfaces, Using the tkinter Module, Display text with Label Widgets, Organizing
Widgets with Frames, Button Widgets and Info Dialog Boxes, Getting Input with Entry Widget, Using Labels as Output
Fields, Radio Buttons, Check Buttons.
References
1. Kenneth A. Lambert, Fundamentals ofPython
2. Clinton W. Brownley, Foundations for Analytics withPython
3. JamesPayne,BeginningPythonusingPython2.6andPython3
4. Charles Dierach, Introduction to Computer Science usingPython
5. PaulGries,PracticalProgramming:AnIntroductiontoComputerScienceusingPython3
With Effect from the Academic Year 2019–2020
Unit – I
Main Memory: Introduction, Swapping, Contiguous Memory Allocation, Segmentation, Paging.
Virtual Memory: Introduction, Demand Paging, Page Replacement, Allocation of Frames, Thrashing.
Mass-Storage Structure: Overview, Disk Scheduling, RAID Structure.
File Systems: File Concept, Access Methods, Directory and Disk Structure, File-System Mounting, Protection.
Unit – II
File System Implementation, Directory Implementation, Allocation Methods, Free-Space Management.
Recovery, Network File System.
Protection and Security: Goals of Protection, Principles of Protection, Domain of Protection,
Access Matrix, Access Control, Revocation of Access Rights, The Security Problem, Program Threats, System and
Network Threats, Cryptography as a Security Tool, User Authentication, Implementing Security Defenses,
Firewalling to Protect Systems and Networks, Computer-Security Classifications. Case Study: Windows 7 and
Linux System.
Text AbrahamSilberschatz,PeterBaerGalvin,GregGagne,OperatingSystemConcepts(9e)
Consider the relational schema for part of the Dream Home case studyis:
Branch (branchNo, street, city, postcode)
Staff (staffNo, fName, IName, position, sex, DOB, salary, branchNo)
Property For Rent (propertyNo, street, city, postcode, type, rooms, rent, ownerNo, staffNo,
branchNo)
Client (clientNo, fName, IName, telNo, prefType, maxRent, eMail)
Private Owner (ownerNo, fName, IName, address, telNo, eMail, password)
Viewing (clientNo, propertyNo, viewDate, comment)
Registration (clientNo, branchNo, staffNo, dateJoined)
1. Create a database with name “DreamHome” and now create all the tables listed above withconstraints.
2. Insert a new row into the table supplying data for allcolumns.
3. Modify data in the database usingUPDATE
4. Delete data from the database usingDELETE
5. Changing a table definition usingALTER
6. Removing a table usingDROP
7. Removing rows in table usingTRUNCATE
8. Create an index and removing anindex
9. Practice other standard SQL commands for creating, modifying, displaying data oftables.
10. List full details of allstaff.
11. List all staff with a salary greater than£10000.
12. List the property numbers of all properties that have beenviewed.
13. Produce a list of salaries for all staff, showing only the staffNo, fName, IName, and salarydetails.
14. List all cities where there is either a branch office or a property forrent.
15. List all cities where there is a branch office but no properties forrent.
16. List all cities where there is both a branch office and at least one property forrent.
17. List the names and comments of all clients who have viewed a property forrent.
18. Produce a status report on propertyviewings.
19. List complete details of all staff who work at the branch inGlasgow.
20. List the addresses of all branch offices in London orGlasgow
21. List all staff with a salary between £20,000 and£30,000.
22. Identify all clients who have viewed all properties with threerooms.
23. How many properties cost more than £350 per month torent?
24. How many different properties were viewed in May2013?
25. Find the total number of Managers and the sum of theirsalaries.
26. Find the minimum, maximum, and average staffsalary.
27. Find the number of staff working in each branch and the sum of theirsalaries.
28. List all managers andsupervisors.
29. Find all owners with the string ‘Glasgow’ in theiraddress.
30. List the details of all viewings on property PG4 where a comment has not beensupplied.
31. Produce a list of salaries for all staff, arranged in descending order ofsalary.
32. Produce an abbreviated list of properties arranged in order of propertytype.
33. Find the number of staff working in each branch and the sum of theirsalaries.
34. For each branch office with more than one member of staff, find the number of staff working in each
branch and the sum of theirsalaries.
35. List the staff who work in the branch at ‘163 MainSt’.
36. List all staff whose salary is greater than the average salary, and show by how much their salary is
greater than theaverage.
37. List the properties that are handled by staff who work in the branch at ‘163 MainSt’.
38. Find all staff whose salary is larger than the salary of at least one member of staff at branchB003.
39. Find all staff whose salary is larger than the salary of every member of staff at branchB003
40. List the names of all clients who have viewed a property, along with any comments supplied.
41. For each branch office, list the staff numbers and names of staff who manage properties and the
properties that theymanage.
42. For each branch, list the staff numbers and names of staff who manage properties, including the city in
which the branch is located and the properties that the staffmanage.
43. Find the number of properties handled by each staff member, along with the branch number of the
member ofstaff.
44. List all branch offices and any properties that are in the samecity.
45. List all properties and any branch offices that are in the samecity.
46. List the branch offices and properties that are in the same city along with any unmatched branches or
properties.
47. Find all staff who work in a London branchoffice.
48. Construct a list of all cities where there is either a branch office or aproperty.
49. Construct a list of all cities where there is both a branch office and aproperty.
50. Create a view so that the manager at branch B003 can see the details only for staff who work in his or her
branch office.
51. Create a view of the staff details at branch B003 that excludes salary information, so that only managers
can access the salary details for staff who work at theirbranch.
52. Create a view of staff who manage properties for rent, which includes the branch number they work at,
their staff number, and the number of properties theymanage.
53. Removing a view using DROPVIEW
54. Give the user with authorization identifier Manager all privileges on the Stafftable.
55. Give users Personnel and Director the privileges SELECT and UPDATE on column salary of the Stafftable.
56. Revoke the privilege SELECT on the Branch table from allusers.
57. Revoke all privileges you have given to Director on the Stafftable.
58. Demonstrate exceptions inPL/SQL
59. Demonstrate cursors inPL/SQL
60. Write PL/SQL queries to createprocedures.
61. Write PL/SQL queries to createfunctions.
62. Write PL/SQL queries to createpackage.
63. Write PL/SQL queries to createtriggers.
64. Write PL/SQL queries usingrecursion.
Consider the relational schema for part of the Hotel case study is:
Hotel (hotelNo, hotelName, city)
Room (roomNo, hotelNo, type, price)
Booking (hotelNo, guestNo, dateFrom, dateTo, roomNo)
Guest (guestNo, guestName, guestAddress)
65. Create a database with name “Hotel” and now create all the tables listed above withconstraints.
66. Insert a new row into the table supplying data for allcolumns.
67. Modify data in the database usingUPDATE
68. Delete data from the database usingDELETE
69. Changing a table definition usingALTER
70. Removing a table usingDROP
71. Removing rows in table usingTRUNCATE
72. Practice other standard SQL commands for creating, modifying, displaying data oftables.
73. List full details of allhotels.
74. List full details of all hotels inLondon.
75. List the names and addresses of all guests living in London, alphabetically ordered byname.
76. List all double or family rooms with a price below £40.00 per night, in ascending order ofprice.
77. List the bookings for which no dateTo has beenspecified.
78. How many hotels arethere?
79. What is the average price of aroom?
80. What is the total revenue per night from all doublerooms?
81. How many different guests have made bookings forAugust?
82. List the price and type of all rooms at the GrosvenorHotel.
83. List all guests currently staying at the GrosvenorHotel.
84. List the details of all rooms at the Grosvenor Hotel, including the name of the guest staying in theroom.
85. What is the total income from bookings for the Grosvenor Hoteltoday?
86. List the rooms that are currently unoccupied at the GrosvenorHotel.
87. What is the lost income from unoccupied rooms at the GrosvenorHotel?
88. List the number of rooms in eachhotel.
89. List the number of rooms in each hotel inLondon.
90. What is the average number of bookings for each hotel inAugust?
91. What is the most commonly booked room type for each hotel inLondon?
92. What is the lost income from unoccupied rooms at each hoteltoday?
93. Insert rows into each of thesetables.
16
94. Update the price of all rooms by5%.
95. Demonstrate that queries written using the UNION operator and same can be rewritten using theOR.
96. Apply the syntax for inserting data into atable.
97. Create a view containing the cheapest hotels in theworld.
98. Create the Hotel table using the integrity enhancement features ofSQL.
99. Create a database trigger for the followingsituations:
(a) The price of all double rooms must be greater than£100.
(b) The price of double rooms must be greater than the price of the highest singleroom.
(c) A booking cannot be for a hotel room that is already booked for any of the specifieddates.
(d) A guest cannot make two bookings with overlappingdates.
(e) Maintain an audit table with the names and addresses of all guests who make bookings for hotels in
London (do not store duplicate guestdetails).
Given relation schemas are
Sailors (sid : integer, sname : string, rating : integer, age : real)
Boats (bid : integer, bname : string, color : string)
Res erv es (sid : integer , bid : integer, day : date)
100. Find the names and ages of allsailors.
101. Find all sailors with a rating above7.
102. Find the names of sailors who have reserved boat103.
103. Find the sids of sailors who have reserved a redboat.
104. Find the names of sailors who have reserved a redboat.
105. Find the colors of boats reserved byLubber.
106. Find the names of sailors who have reserved at least oneboat.
107. Find the names of sailors who have reserved at least twoboats.
108. Compute increments for the ratings of persons who have sailed two different boats on the sameday.
109. Find the ages of sailors whose name begins and ends with B and has at least threecharacters.
110. Find the names of sailors who have reserved a red or a greenboat.
111. Find the names of sailors who have reserved a red and a greenboat.
112. Find the sids of all sailors who have reserved red boats but not greenboats.
113. Find all sids of sailors who have a rating of 10 or have reserved boat104.
114. Find the names of sailors who have not reserved a redboat.
115. Find sailors whose rating is better than some sailor calledHoratio.
116. Find sailors whose rating is better than every sailor calledHoratio.
117. Find the names of sailors who have reserved allboats.
118. Find the names of sailors who have reserved at least twoboats.
119. Find the names of sailors who have reserved all boats calledInterlake.
120. Find sailors who have reserved all redboats.
121. Find the sailor name, boat id, and reservation date for eachreservation.
122. Find the sids of sailors with age over 20 who have not reserved a redboat.
123. Find the average age of allsailors.
124. Find the average age of sailors with a rating of10.
125. Find the name and age of the oldestsailor.
126. Count the number of different sailornames.
127. Find the names of sailors who are older than the oldest sailor with a rating of10.
128. Find the sailors with the highestrating.
129. Find the age of the youngest sailor for each ratinglevel.
130. Find age of the youngest sailor who is eligible to vote for each rating level with at least 2 suchsailors.
131. Find the average age of sailors for each rating level that has at least twosailors.
132. For each red boat, find the number of reservations for thisboat.
133. Find the average age of sailors who are of voting age (i.e., at least 18 years old) for each rating level
that has at least twosailors.
134. Delete the records of sailors who have rating 8 (deleting some rows in atable).
135. Loading data which is present in the text into thetable.
Note Recommended to use open source database software like MySQl, MongoDB, PostgreSQL, etc…
: In practical examination, students have to
Create database
Create tables with their integrityconstraints.
Insert the data into tables and then execute thequeries.
Answer any six queries from ten queries given by theexaminer.
17
With Effect from the Academic Year 2019–2020
Unit – I
Information Technology Basics – introduction, Need for Information Storage and Processing, Information
Technology Components , Role of information Technology, Information Technology and the Internet .
Unit – II
Computer Software: Introduction, Classification of Computer Software, System Software, Applications
Software, Firmware, Middleware, Acquiring Computer Software.
Operating Systems: Introduction, Evolution of OS, Process Management, Memory Management, File
Management, Device Management, Security Management, Command Interpreter, Windows, Linux.
Unit – III
Introduction to Algorithms and Programming Languages: Algorithm, Control Structures, Flowcharts, Pseudo
code, Programming Languages, Generations of Programming Languages.
Database Systems: File Oriented Approach, Database Oriented Approach, Database Views, Three-Schema
Architecture, Database Models, Components of DBMS, Introduction of SQL Queries.
Unit – IV
Computer Networks: Introduction, Connection Media, Data Transmission Mode, Data Multiplexing, Data
Switching, Network Topologies, Types of Networks, Networking Devices, OSI Model.
The Internet: Internet Services, Types of Internet Connections, Internet Security.
Emerging Computer Technologies: Distributed Networking, Peer-to-peer Computing, Grid Computing,
Cloud Computing, Utility Computing, On0demand Computing, Wireless Network, Bluetooth, Artificial
Intelligence.
18
With Effect from the Academic Year 2019–2020
Unit – I
Introduction: Java Essentials, JVM, Java Features, Creation and Execution of Programs, Data Types, Type
Conversion, Casting, Conditional Statements, Loops, Branching Mechanism, Classes, Objects, Class
Declaration, Creating Objects, Method Declaration and Invocation, Method Overloading, Constructors–
Parameterized Constructors, Constructor Overloading, Cleaning-up unused Objects, Class Variables &
Methods-static Keyword, this Keyword.
Unit – II
One-Dimensional Arrays, Two-Dimensional Arrays, Command-Line Arguments, Inner Class.
Inheritance: Introduction, Types of Inheritance, extends Keyword, Examples, Method Overriding, super, final
Keywords, Abstract classes, Interfaces, Abstract Classes Verses Interfaces.Packages–Creating and Using
Packages, Access Protection, Wrapper Classes, String Class, StringBuffer Class. Exception: Introduction, Types,
Exception Handling Techniques, User-Defined Exception.
Unit – III
Multithreading: Introduction, Main Thread, Creation of New Threads – By Inheriting the Thread Class or
Implementing the Runnable Interface, Thread Lifecycle, Thread Priority, Synchronization.
Input/Output: Introduction, java.io Package, File Class, FileInputStream Class, FileOutputStream Class,
Scanner Class, BufferedInputStream Class, BufferedOutputStream Class, RandomAccessFile Class.
Unit – IV
Event Handling: Introduction, Types of Events, Example. AWT: Introduction, Components, Containers, Button,
Label, Checkbox, Radio Buttons, Container Class, Layouts. Swing: Introduction, Differences between Swing
and AWT, Jframe, Japplet, Jpanel, Components in Swings, Layout Managers, Jtable, DialogBox.
Database Handling Using JDBC: Introduction, Types of JDBC Drivers, Load the Driver, Establish Connection,
Create Statement, Execute Query, Iterate Resultset, Scrollable Resultset, Developing a JDBS Application.
19
With Effect from the Academic Year 2019–2020
JavaLab BS505
Practical 3 Hours/Week 1credit
6 Write java programs that demonstrate the use of abstract, this, super, static, finalkeywords
7 a) Write a java program for creating a package and using apackage.
b) Write a java program to demonstrate the use of wrapperclasses.
8 a) Write a java program using all five keywords of exception handlingmechanism.
b) Write a java program for creating customized (user) exception
9 a) Write a java program that checks whether a given string is a palindrome ornot.
b) Write a java program for sorting a given list of names in ascending order.
10 a) Write a java program to create a file, write the data and display thedata.
b) Write a java program that reads a file name from user and displays its information.
11 a) Write a java program for controlling mainthread.
b) Write a java program for creating new thread by extending Thread class.
12 a) Write a java program for creating new thread by implementing Runnableinterface.
b) Write a java program for thread synchronization.
13 a) Write a java program to create following AWT components: Button, Checkbox, Choice, andList.
b) Write java programs to create AWT application using containers and layouts.
14 a) Write java programs to create a simple Applet and create swing basedApplet.
b) Write a java program to handle different types of events in a swing application.
15 Write java programs to create a swing application using swing components andlayouts.
16 Write a java program to store and retrieve data from database usingJDBC.
Note
Write the program using simple text editors (not IDE), compile and run from command prompt.
:
Encourage students to develop small java applications using IDE, like giving as assignment.
20
With Effect from the Academic Year 2019–2020
Unit – I
Structuring Documents for the Web: Introducing HTML and XHTML, Basic Text Formatting, Presentational
Elements, Phrase Elements, Lists, Editing Text, Core Elements and Attributes, Attribute Groups
Links and Navigation: Basic Links, Creating Links with the <a> Element, Advanced E- mail Links.
Images, Audio, and Video: Adding Images Using the <img> Element, Using Images as Links Image Maps,
Choosing the Right Image Format, Adding Flash, Video and Audio to your web pages.
Tables: Introducing Tables, Grouping Section of a Table, Nested Tables, Accessing Tables
Forms: Introducing Forms, Form Controls, Sending Form Data to the Server
Frames: Introducing Frameset, <frame> Element, Creating Links Between Frames, Setting a Default Target
Frame Using <base> Element, Nested Framesets, Inline or Floating Frames with <iframe>.
Unit – II
Cascading Style Sheets: Introducing CSS, Where you can Add CSS Rules.
CSS Properties: Controlling Text, Text Formatting, Text Pseudo Classes, Selectors, Lengths, Introducing the
Box Model.
More Cascading Style Sheets: Links, Lists, Tables, Outlines, The :focus and :activate Pseudo classes Generated
Content, Miscellaneous Properties, Additional Rules, Positioning and Layout with CSS
Page Layout: Understating the Site’s Audience, Page Size, Designing Pages, Coding your Design, Developing
for MobileDevices.
Design Issues: Typography, Navigation, Tables, Forms.
Unit – III
Learning JavaScript: How to Add Script to Your Pages, the Document Object Model, Variables, Operators,
Functions, Control Statements, Looping, Events, Built- In Objects,
Working with JavaScript: Practical Tips for Writing Scripts, Form Validation, Form Enhancements, JavaScript
Libraries.
Putting Your site on the web: Meta tags, Testing your site, Talking the Leap to Live, Telling the World about
your site, Understanding your visitors.
Unit – IV
XML - Introduction, XML Basics, Structuring Data, XML Namespaces, Document Type Definitions (DTDs), W3C XML
Schema Documents, XML Vocabularies, Extensible Style sheet Language and XSL Transformations, Document Object
Model (DOM).
Ajax-Enabled Rich Internet Applications: introduction, history of Ajax, traditional web applications Vs Ajax Applications,
RIAs with Ajax, Ajax example using XML HttpRequest object, XML and DOM, creating full scale Ajax-enabled application,
Dojo Toolkit.
21
With Effect from the Academic Year 2019–2020
WebTechnologiesLab BS606
Practical 2 Hours/Week 1credit
a. Write a HTML program using basic text formatting tags, <hn>, <p>, <br>, <pre>.
1 b. Write a HTML page for Example Cafe using above text formatting tags.
a. WriteaHTMLprogramusingpresentationalelementtags<b>,<i>,<strike>,<sup>,<sub>,
<big>, <small>,<hr>
2 b. WriteaHTMLprogramusingphraseelementtags<blockquote>,<cite>,<abbr>,<acronym>,
<kbd>, <address>
a. Write a HTML program using different listtypes.
3 b. Write a HTML page that displays ingredients and instructions to prepare a recipe.
a. Write a HTML program using grouping elements <div> and<span>.
4 b. Write a HTML Menu page for Example cafe site.
a. Write a HTML program using images, audios,videos.
5 b. Write a HTML program to create your time table.
Write a HTML program to create a form using text inputs, password inputs, multiple line text input,
6 buttons, check boxes, radio buttons, select boxes, file selectboxes.
Write a HTML program to create a frames and links betweenframes.
7
Write a HTML program to create CSS on links, lists, tables and generatedcontent.
9
Write a HTML program to create your college web site using multi columnlayouts.
10
Write a HTML program to create your college web site using for mobiledevice.
11
Write a HTML program to create login form and verify username and password using DOM
12
a. Write a JavaScript program to calculate area of rectangle using function.
b. Write a JavaScript program to wish good morning, good afternoon, good evening depending
13
on the currenttime.
a. Write a JavaScript program using switchcase?.
14
b. Write a JavaScript program to print multiplication table of given number usingloop.
a. Write a JavaScript programs using any 5events.
15
b. Write a JavaScript program using JavaScript built inobjects.
16 Write a JavaScript program to create registration form and validate all fields using formvalidation
18. Write a XML Program to represent Data using XML Schema Definition.
22
With Effect from the Academic Year 2019–2020
Unit – I
Introducing PHP – What is PHP? Why use PHP? Evolution of PHP, Installing PHP, Other ways to run PHP,
Creating your first script. PHP Language Basics – Using variables, Understanding Data Types, Operators and
Expressions, Constants. Decisions and Loops – Making Decisions, Doing Repetitive Tasks with Looping,
Mixing Decisions and Looping withHTML.
Strings – Creating and Accessing Strings, Searching Strings, Replacing Text with Strings, Dealing with Upper
and Lowercase, Formatting Strings. Arrays – Creating Arrays, Accessing Array Elements, Looping Through
Arrays with for-each, Working with Multidimensional Arrays, Manipulating Arrays.
Unit – II
Functions – What is a Function? Why Functions are useful? Calling Functions, Working with Variable
Functions, Writing your own Functions, Working with References, Writing Recursive Functions.
Objects – Introduction OOP Concepts, Creating Classes and Objects in PHP, Creating and using Properties,
Working with Methods, Object Overloading with _get(), _set() and _call(), Using Inheritance to Extend Power
of Objects, Constructors and Destructors, Automatically Loading Class Files, Storing as Strings.
Handling HTML Forms with PHP – How HTML form works, Capturing Form Data with PHP, Dealing with
Multi-Value Fields, Generating Web Forms with PHP, Storing PHP Variables in Forms, Creating File Upload
Forms, Redirecting After a Form Submission.
Unit – III
Working with Files and Directories - Getting Information on Files, Opening and Closing Files, Reading and
Writing to Files, Copying, Renaming, and Deleting Files, Working with Directories.
Introducing Databases and SQL – Deciding How to Store Data, Understanding Relational Databases, Setting
Up MySQL, A Quick Play with MySQL, Connecting MySQL fromPHP.
Retrieving Data from MySQL with PHP – Setting Up the Book Club Database, Retrieving Data with SELECT,
Creating a Member Record Viewer. Manipulating MySQL Data with PHP – Inserting, Updating, and Deleting
Records, Building a Member Registration Application.
23
With Effect from the Academic Year 2019–2020
24
UG (B.Sc.) Scheme of Examinations
Computer Science
(CBCS 2019-2020)
Elaborations
Theory Exam
Practical
Paper Credits University Internal
Exam
Exam Exam
DSC 4+1 80 Marks 20 Marks 25 Marks
DSE 4+1 80 Marks 20 Marks 25 Marks
SEC 2 40 Marks 10 Marks No Practical
GE 4 80 Marks 20 Marks No Practical
AECC 2 40 Marks 10 Marks No Practical
P/O 3+1 60 Marks 15 Marks 25 Practical
P/O -Project/Optional
25
4 Credit Core (DSC) Paper
UNIT- I 1
2
3
UNIT- II 4
5
6
UNIT- III 7
8
9
UNIT- IV 10
11
12
UNIT- I 13
Or
14
UNIT- II 15
Or
16
UNIT- III 17
Or
18
UNIT- IV 19
Or
20
26
4 Credit Core (DSC) Paper
Two internal exams (one at the middle of the semester and the other at the end) of one-hour duration are to
be conducted carrying 15 markseach.
Average of the scores of two exams should be taken intoaccount.
Following is the examinationpattern.
10 MCQs (multiple choice questions) of half markeach,
10 FIBs (Fill in the Blanks) of half markeach
5 SAQs (short answered questions) of one markeach
Totaling 15marks.
5 marks meant forassignment.
The question paper is to be typeset with four programs with due weightage to all the units from the
question bank provided in thesyllabus.
The candidates are to answer any two of them in the practicalexam.
Each question has to carry six marks totaling 12marks.
Viva – 8marks
Record – 5marks
27
2 Credit (SEC) Paper
One internal exam at the end of the semester, of half an hour duration is to be conducted carrying 10marks.
Following is the examinationpattern.
10 MCQs (multiple choice questions) of one markeach,
No assignment isrequired.
28
University Exam (Theory) for Sermester VI ( Project/optional) only
UNIT- I 1
2
3
UNIT- II 4
5
6
UNIT- III 7
8
9
UNIT- I 13
Or
14
UNIT- II 15
Or
16
UNIT- III 17
Or
18
29
Internal Exam(Theory)for Semester VI (Project /optional)only
Tim e:1Hr. M axim um m arks:15
Two internal exams (one at the middle of the semester and the other at the end) of one-hour duration are to
be conducted carrying 15 markseach.
Average of the scores of two exams should be taken intoaccount.
Following is the examinationpattern.
10 MCQs (multiple choice questions) of half markeach,
10 FIBs (Fill in the Blanks) of half markeach
5 SAQs (short answered questions) of one markeach
Totaling 15marks.
No assignment required.
30
OSMANIA UNIVERSITY
FACULTY OF SCIENCE
B.Sc. (Computer Science)
UNIT – I 1 Program
UNIT- II 1 Program
UNIT-III 1 Program
UNIT-I or UNIT-II or UNIT-III 1 Program
Viva - 8 Marks
Record – 5 Marks
31
MOOCs [Massive Online Open Courses] Free Resources
E-Learning:
Freeware:
SCILAB : scilab.org [MatLab Equivalent]
GEOGEBRA :geogebra.org [Software for Class Room Teaching]
Search Engine:
WOLFRAMALPHA :wolframalpha.com [Computing Engine]
CITESEER :citeseerx.ist.psu.edu [Searching Research Articles]
DOAJ :doaj.org [Open Access to Journals]
32
B.Sc. (Computer Science)
Semester -I
Semester –II
AECC
Semester -I Hours/Week Credits
Th
Fundamentals of Computer 2
2
Semester -II Hour/Week
Office Automation 2 2
SEC
Semester -III
Python –I (Sec –I) 2 2
Operating Systems (Sec –II) 2 2
Semester -IV
Python –II (Sec –III) 2 2
Operating Systems (Sec –IV) 2 2
Generic Elective (GE)
Semester -IV
Information Technologies 4 4
Project/Optional
Semester -VI
PHP with MY SQL Thr pr 3+1=4
3 3
With Effect from the Academic Year 2019-2020
Programming in C Semester -I
Unit – I
Computer Fundamentals: Introduction of Computers, Classification of Computers, Anatomy of a Computer,
Memory Hierarchy, Introduction to OS, Operational Overview of a CPU.
Program Fundamentals: Generation and Classification of Programming Languages, Compiling, Interpreting,
Loading, Linking of a Program, Developing Program, Software Development.
Algorithms: Definitions, Different Ways of Stating Algorithms (Step-form, Pseudo-code, Flowchart), Strategy
for Designing Algorithms, Structured Programming Concept.
Basics of C: Overview of C, Developing Programs in C, Parts of Simple C Program, Structure of a C Program,
Comments, Program Statements, C Tokens, Keywords, Identifiers, Data Types, Variables, Constants,
Operators and Expressions, Expression Evaluation–precedence and associativity, Type Conversions.
Unit – II
Input-Output: Non-formatted and Formatted Input and Output Functions, Escape Sequences,
Control Statements: Selection Statements – if, if-else, nested if, nested if-else, comma operator, conditional
operator, switch; Iterative Statements–while, for, do-while; Special Control Statement–goto, break, continue,
return, exit.
Arrays and Strings: One-dimensional Arrays, Character Arrays, Functions from ctype.h, string.h,
Multidimensional Arrays.
Unit – III
Functions: Concept of Function, Using Functions, Call-by-Value Vs Call-by-reference, Passing Arrays to
Functions, Score of Variables, Storage Classes, Inline Functions, and Recursion.
Pointers: Introduction, Address of Operator (&), Pointer, Uses of Pointers, Arrays and Pointers, Pointers and
Strings, Pointers to Pointers, Array of Pointers, Pointer to Array, Dynamic Memory Allocation.
Unit – IV
User-defined Data Types: Declaring a Structure (Union) and its members, Initialization Structure (Union),
Accessing members of a Structure (Union), Array of Structures (Union), Structures verses Unions,
Enumeration Types.
Files: Introduction, Using Files in C, Working with Text Files, Working with Binary Files, Files of Records,
Random Access to Files of Records, Other File Management Functions.
Text Pradip Dey, Manas Ghosh, Computer Fundamentals and Programming in C (2e)
1 Write a program to find the largest two (three) numbers using if and conditional operator.
3 Write a program to print the prime number from 2 to n where n is given by user.
4 Write a program to find the roots of a quadratic equation using switch statement.
5 Write a program to print a triangle of stars as follows (take number of lines from user):
*
***
*****
*******
*********
6 Write a program to find largest and smallest elements in a given list of numbers.
8 Write a program to find the GCD of two numbers using iteration and recursion.
10 Write a program to demonstrate the call by value and the call by reference concepts.
Write a program that prints a table indicating the number of occurrences of each alphabet in the text
11 entered as command line arguments.
14 Write a program that opens a file and counts the number of characters in a file.
Write a program to create a structure Student containing fields for Roll No., Name, Class, Year and
15 Total Marks. Create 10 students and store them in a file.
Write a program that opens an existing text file and copies it to a new text file with all lowercase
16 letters changed to capital letters and all other characters unchanged.
Note Write the Pseudo Code and draw Flow Chart for the above programs.
:
Recommended to use Open Source Software: GCC on Linux; DevC++ (or) CodeBlocks on Windows
10.
With Effect from the Academic Year 2019-2020
Unit – I
Introduction to C++: Applications, Example Programs, Tokens, Data Types, Operators, Expressions, Control
Structures, Arrays, Strings, Pointers, Searching and Sorting Arrays.
Functions: Introduction, Prototype, Passing Data by Value, Reference Variables, Using Reference Variables as
Parameters, Inline Functions, Default Arguments, Overloading Functions, Passing Arrays to Functions.
Object Oriented Programming: Procedural and Object-Oriented Programming, Terminology, Benefits, OOP
Languages, and OOP Applications.
Unit – II
Classes: Introduction, Defining an Instance of a Class, Why Have Private Members? Separating Class
Specification from Implementation, Inline Member Functions, Constructors, Passing Arguments to
Constructors, Destructors, Overloading Constructors, Private Member Functions, Arrays of Objects, Instance
and Static Members, Friends of Classes, Member-wise Assignment, Copy Constructors, Operator Overloading,
Object Conversion, Aggregation.
Unit – III
Inheritance: Introduction, Protected Members and Class Access, Base Class Access Specification, Constructors
and Destructors in Base and Derived Classes, Redefining Base Class Functions, Class Hierarchies,
Polymorphism and Virtual Member Functions, Abstract Base Classes and Pure Virtual Functions, Multiple
Inheritance.
C++ Streams: Stream Classes, Unformatted I/O Operations, Formatted I/O Operations.
Unit – IV
Exceptions: Introduction, Throwing an Exception, Handling an Exception, Object-Oriented Exception
Handling with Classes, Multiple Exceptions, Extracting Data from the Exception Class, Re-throwing an
Exception, Handling the bad_alloc Exception.
Templates: Function Templates–Introduction, Function Templates with Multiple Type, Overloading with
Function Templates, Class Templates – Introduction, Defining Objects of the Class Template, Class Templates
and Inheritance, Introduction to the STL.
Text Tony Gaddis, Starting out with C++: from control structures through objects (7e)
Write a program to demonstrate single inheritance, multilevel inheritance and multiple inheritances.
Write the Pseudo Code and draw Flow Chart for the above programs.
Recommended to use Open Source Software: GCC on Linux; DevC++ (or) CodeBlocks on Windows.
B.Sc. ( Computer Science )
PART -A
UNIT- I 1
UNIT- II 4
UNIT- III 7
UNIT- IV 10
11
12
UNIT- I 13
Or
14
UNIT- II 15
Or
16
UNIT- III 17
Or
18
UNIT- IV 19
Or
20
B.Sc. ( Computer Science )
UNIT – I 1 Program
UNIT- II 1 Program
UNIT-III 1 Program
Viva - 10 Marks
Record – 10 Marks