Roorkee College of Engineering

Computer Science and Engineering

Laboratory

Computer Based Numerical and Statistical Techniques Lab

Computer Based Numerical and Statistical Techniques Lab is used to optimize performance and minimize error in problem-solving application. Computer Based Numerical and Statistical Techniques are applied in Signal Processing that treats signals as stochastic process, dealing with their statistical properties (e.g.: mean, covariance)to build mathematical models of dynamical systems for data measurement & for optimal design of experiments.

Computer Based Numerical and Statistical Techniques Lab
CBNST
S.NOName of practicalObjective
01 Polynomial equation. To deduce error involved in polynomial equation Using C++.
02 Algebraic and Transcendental equations. To Find out the root of the Algebraic and Transcendental equations using C++.
03 Newton’s Forward and Backward Interpolation formula To implement Newton’s Forward and Backward Interpolation formula Using C++.
04 Gauss Forward and Backward, Bessel’s, Sterling’s and Everett’s Interpolation formula. To implement Gauss Forward and Backward, Bessel’s, Sterling’s and Everett’s Interpolation formulausing C++.
05 Newton’s Divided Difference and Lagrange’s Interpolation formula. To implement Newton’s Divided Difference and Lagrange’s Interpolation formulausing C++.
06 Numerical Differentiations To implement Numerical Differentiations using C++.
07 Numerical Integration using Trapezoidal, Simpson 1/3 and Simpson 3/8 rule. To implement Numerical Integration using Trapezoidal, Simpson 1/3 and Simpson 3/8 Rule using C++.
08 Least Square Method for curve fitting. To implement Least Square Method for curve fitting using C++.
09 Frequency chart like histogram, frequency curve and pie-chart etc. To draw frequency chart like histogram, frequency curve and pie-chart etc,Using C++.
10 Regression equation from sampled data and evaluate values of standard deviation, t-statistics, regression coefficient, value of R2 for at least two independent Variables. To estimate regression equation from sampled data and evaluate values of standard deviation, t-statistics, regression coefficient, value of R2 for at least two independent Variables Using C++.
Data Structure Lab

The lab is installed with all important editors like CodeBlock, Dev C++, etc provides a dual operating system environment where the students can learn to execute Data Structure programs in C and C++ in all types of environments.

Data Structure Lab
Data Structure
S.NOName of PracticalObjective
01 Program for Stack To implement stack using C++.
02 Program Queue, Circular Queue To Implement Queue, Circular Queue using C++.
03 Program demonstrating Stack operation To demonstrating Stack operation using C++.
04 Program for Stack Using Linked List To implement Stack Using Linked List using C++.
05 Program for Queue Using Linked List To implement Queue Using Linked List using C++.
06 Traversing of Tree Using Linked List To implement Traversing of Tree Using Linked List using C++.
07 Queue Using Array To implement Queue Using Array using C++.
08 Program for Tree Structure, Binary Tree, Binary Search Tree To implement Tree Structure, Binary Tree, Binary Search Tree using C++.
09 Program for Heap Sort To implement Heap Sort using C++.
08 Program for Quick Sort To implement Quick Sort using C++.
10 Graph Implementation BFS,DFS To implement Graph for BFS, DFS using C++.
11 Deletion in BST To implement Deletion in BST using C++.
12 Insertion in BST To implement Insertion in BST using C++.
Digital Electronics Lab

The Digital Electronics lab focuses on the fundamental theories and concepts of Digital Electronics. Digital Electronics Laboratory is fully equipped with the required instruments such as C.R.O., Multimeters, signal generator etc. to conduct experiments with digital ICs.

Digital Electronics Lab
Digital Electronics
S.NOName of practicalObjective
01 Bread-board implementation of various flip-flops. Implementation of various flip flops using Bread board.
02 Bread-board implementation of counters & shift registers. Implementation of counters & shift registers using Bread board.
03 Delay time and NAND, NOR, Ex-OR, AND & OR Gates. Determination of Delay time and NAND, NOR, Ex-OR, AND & OR Gates.
04 Clocked Flip-Flop. Experiments with clocked Flip-Flop.
05 Counters. Design of Counters.
06 Arithmetic algorithms. Implementation of Arithmetic algorithms.
07 Adder/Subtractor (Half, Full) Bread Board implementation of Adder/Subtractor (Half, Full)
08 TTL inverters & TTL Schmitt Trigger inverter. Transfer characteristics of TTL inverters & TTL Schmitt Trigger inverter.
09 CMOS inverters series and CD40 series and Transfer characteristics of CMOS inverters series and CD40 series and
10 Gate delay of CD40 series CMOS inverter. Estimation of Gate delay of CD40 series CMOS inverter.
UNIX and Shell Programming Lab

The students receive hands on practical experience in the field of System Administration, System Engineering, Hacking and Security. Red Hat Linux Administration is the key practice in this lab.

UNIX and Shell Programming Lab
UNIX and Shell Programming
S.NOName of PracticalObjective
01 File creation using Vi editor Use Vi editor to create a file called myfile.txt which contains some text. Correct typing errors during creation, Save the file & Logout of the file
02 To add, change; delete the contents of a file. Open the file created in Exp 1, Add, Change, delete & Save the changes
03 Use of Cat command to create a file. Use the cat command to create a file containing the following data. Call it mutable use tabs to separate the fields 1425 ravi 15.65, 4320 ramu 26.27, 6830 sita 36.15, 1450 raju 21.86
04 Use of Cat command to display the file. Use the cat command to display the file, my table, use vi command to correct any errors in the file, my table, use the sort command to sort the file my table according to the first Field. Call the sorted file my table(same name) & print the file my table
05 Use the cut & paste commands. Use the cut & paste commands to swap fields 2 and 3 my table. Call it mytable(same name) & print the new file, my table
06 Use the date and who commands Use the date and who commands in sequence ?(in one line) such that the output of date will display on the screen and the output of who will be redirected to a file called my file2. Use the more command to check the contents of myfile2.
07 Grep script Develop an interactive grep script that asks for a word and a file name and then tells how many lines contain that word
08 shell script Write a shell script that takes a command –line argument and reports on whether it is directory, a file, or something else
09 A shell script that accepts one or more file name as a arguments. Write a shell script that accepts one or more file name as a arguments and converts all of them to uppercase, provided they exist in the current directory
10 Shell script that determines the period. Write a shell script that determines the period for which a specified user is working on the system
Database Management System Lab

The Lab is dedicated for Database related practical. High configuration computer systems installed with software like Oracle Server, MySQL are used by the students to execute their Database related projects and assignments.

Database Management System Lab
DBMS Lab
S.NOName of practicalobjective
01 DDL and DML Write the queries for Data Definition and Data Manipulation Language.
02 Logical operations Write SQL queries using logical operations (=,<,>, etc)
03 SQL operators Write SQL queries using SQL operators
04 SQL query using character, number, date and group functions Write SQL query using character, number, date and group functions
05 Relational algebra Write SQL queries for relational algebra
06 Extracting data from more than one table Write SQL queries for extracting data from more than one table
07 Sub queries, nested queries Write SQL queries for sub queries, nested queries
08 PL/SQL Write programme by the use of PL/SQL
09 ROLL BACK, COMMIT & CHECK POINTS Concepts for ROLL BACK, COMMIT & CHECK POINTS
10 VIEWS, CURSORS and TRGGERS & write ASSERTIONS. Create VIEWS, CURSORS and TRGGERS & write ASSERTIONS.
11 FORMS and REPORTS Create FORMS and REPORTS
Microprocessor Lab

Microprocessor is the single chip device containing CPU and other associated circuitry along with memory. The microcontroller lab consists of programming and debugging facility with licensed software along with the following tools:

  • Integrated Programming Tool (IPT)
  • Visual program builder (VPB)
  • C-Cross Complier and Debugger
  • Virtual Code Generator

The facility of transferring the simulated program into 8051 micro controller chip is also available with Embedded Driver Routines along with bread board facility for testing of hardware circuits.

Microprocessor1
Microprocessor2
S.NOName of practicalObjective
01 8085 microprocessor To study 8085 microprocessor System
02 8086 microprocessor To study 8086 microprocessor System
03 Find out largest and smallest number To develop and run a programme to find out largest and smallest number
04 Converting temperature from F to C degree To develop and run a program for converting temperature from F to C degree
05 Compute square root of a given number To develop and run a program to compute square root of a given number
06 Computing ascending/descending order of a number. To develop and run a programme for computing ascending/descending order of a number.
07 RAM chip to 8085/8086 To perform interfacing of RAM chip to 8085/8086
08 Interfacing of keyboard controller To perform interfacing of keyboard controller
09 Interfacing of DMA controller To perform interfacing of DMA controller
10 Interfacing of UART/USART To perform interfacing of UART/USART
Computer Graphics Lab

Computer graphics are pictures and films created using computers. Usually, the term refers to computer-generated image data created with help from specialized graphical hardware and software. It is a vast and recent area in computer science. Computer graphics is responsible for displaying art and image data effectively and meaningfully to the user. It is also used for processing image data received from the physical world.

Computer Graphics Lab
Computer Graphics
S.NOName of practicalObjective
01 DDA and Bresenham’s algorithms Implementation of line generation using slope’s method, DDA and Bresenham’s algorithms
02 Circle generation using Mid-point method and Bresenham’s algorithm Implementation of circle generation using Mid-point method and Bresenham’s algorithm
03 Ellipse generation using Mid-point method. Implementation of ellipse generation using Mid-point method.
04 Polygon filling Algorithm Implementation of polygon filling using Flood-fill, Boundary-fill and Scan-line Algorithms.
05 2D transformation Implementation of 2D transformation: Translation, Scaling, Rotation, Mirror Reflection and Shearing (write a menu driven program).
06 Line Clipping Algorithm Implementation of Line Clipping using Cohen-Sutherland algorithm and Bisection Method
07 Sutherland-Hodgman algorithm. Implementation of Polygon Clipping using Sutherland-Hodgman algorithm.
08 3D geometric transformations. Implementation of 3D geometric transformations: Translation, Scaling and rotation.
09 Interpolation methods. Implementation of Curve generation using Interpolation methods.
10 B-spline and Bezier curves. Implementation of Curve generation using B-spline and Bezier curves.
11 Back face removal algorithms Implementation of any one of Back face removal algorithms such as Depth-Buffer Algorithm, Painter’s algorithm, Warnock’s algorithm, Scanline algorithm).
Computer Network Lab

Equipped with latest networking related devices, the lab facilitates students to perform Computer Network practical. All important Network Simulators like Cisco Packet Tracer, NetSim, OMNET and NS3 are installed to provide solution to the practical problems faced by computer scientists.

Computer Network Lab
Computer Network
S.NOName of practicalObjective
01 Data Link Layer framing method Implementation of the Data Link Layer framing method such as character stuffing and Bit stuffing.
02 CRC algorithm Implementation of CRC algorithm
03 Hamming (7,4) code to limit the noise. We have to code the 4 bit data in to 7 bit data by adding 3 parity bits Implementation of a Hamming (7,4) code to limit the noise. We have to code the 4 bit data in to 7 bit data by adding 3 parity bits
04 LZW compression algorithm. Implementation of LZW compression algorithm.
05 Socket program Write a socket program to implement a listener and a talker.
06 Network of 3 nodes Simulation of a network of 3 nodes and measure the performance on the same Network.
07 Encrypt 64-bit text using DES algorithm. Write a program to encrypt 64-bit text using DES algorithm.
Algorithm Lab

The lab provides requisite environment for Design and Analysis of Algorithms for solving complex problems in the field of computer science. Students execute all data structure and other algorithm related practical in the lab. The latest platforms/compilers are provided to the students to run their programs.

Algorithm Lab
Algorithm
S.NOName of PracticalObjective
01 Divide and conquer method Divide and conquer method (quick sort, merge sort, Stassen’s matrix multiplication),
02 Greedy method Greedy method (knapsack problem, job sequencing, optimal merge patterns, minimal spanning trees).
03 Dynamic programming Dynamic programming (multistage graphs, OBST, 0/1 knapsack, traveling sales person problem).
04 Back tracking Back tracking (n-queens problem, graph colouring problem, Hamiltonian cycles).
05 Sorting Sorting: Insertion sort, Heap sort, Bubble sort
06 Searching Searching: Sequential and Binary Search
07 Selection Selection: Minimum/ Maximum, Kth smallest element
Advanced Java Lab

Advanced Java Laboratory aimed towards clearing the concepts of the generic programming, sequential and associative data structures. In this lab students can explore Java applets, servlets, I/O classes and Java graphics etc.

Advanced Java Lab
Advanced Java
S.NOName of practicalObjective
01 Development of dynamic website Development of dynamic website of an online Departmental Store. The website should be user friendly and should have the following pages:
Home page
Registration and user login
User profile page
Items catalog
Shopping cart
Payment by credit card
Order confirmation
02 Add validations to the above site for registration Add validations to the above site for registration, user login, user profile and payment by Credit card using JavaScript.
03 Creation of a JavaBean Creation of a JavaBean which gives the converted value of Temperature (in degree Celsius) into equivalent Fahrenheit
04 Creation of a simple Bean with a label Creation of a simple Bean with a label – which is a “count” of number of clicks. Then create a BeanInfo class such that only the “count” is visible in the Property Window.
05 Creation of two Beans a) Keypad b) Display pad. Creation of two Beans a) Keypad b) Display pad. After that integrate the two beans to make it work as a calculator.
06 Currency converter Implementation of currency converter program using JSP Struts Framework
Operating System Lab

Introduction to operating systems concepts, process management, memory management, file systems, virtualization, and distributed operating systems. The laboratory exercises will include familiarization with UNIX system calls for process management and inter-process communication; Experiments on process scheduling and other operating system tasks through simulation/implementation.

Operating System Lab
Operating System
S.NOName of PracticalObjective
01 Simulation of the CPU scheduling algorithm Simulation of the CPU scheduling algorithms a) Round Robin b) SJF c) FCFS d) Priority
02 MUTEX and SEMAPHORES. Simulation of MUTEX and SEMAPHORES.
03 Bankers Deadlock Avoidance and Prevention algorithms Simulation of Bankers Deadlock Avoidance and Prevention algorithms.
04 Process Synchronization Implementation of Process Synchronization (Reader-Writer, Sleeping Barber and Dining Philosopher’s Problem)
05 Page Replacement Algorithms Simulation of page Replacement Algorithms a) FIFO b) LRU c) LFU
06 Paging techniques of memory management. Simulation of paging techniques of memory management.
07 File allocation Simulation of file allocation Strategies a) Sequential b) Indexed c) Linked
08 File organization techniques Simulation of file organization techniques a) Single Level Directory b) Two Level c) Hierarchical d) DAG
Compiler Design Lab

A compiler translates (or compiles) a program written in a high-level programming language that is suitable for human programmers into the low-level machine language that is required by computers. During this process, the compiler will also attempt to spot and report obvious programmer mistakes. Using a high-level language for programming has a large impact on how fast programs can be developed.

Compiler Design Lab
Compiler Design
S.NOName of PracticalObjective
01 Finite state Automata Simulation of a Finite state Automata to recognize the tokens of various control statements.
02 Finite state machine to distinguish among Simulation of a Finite state machine to distinguish among Integers, Real Numbers & Numbers with Exponents
03 LEX tool Program in LEX tool to recognize the tokens and to return the token found for a C like Language
04 Parsing of arithmetic Parsing of arithmetic and algebraic expressions and equations.
05 YACC tool Use of YACC tool to parse the statements of C like Language.
CAD Lab

CAD Lab is equipped with AutoCAD software and is extensively used for design and drawing. The knowledge gained in the lab eventually equips the students to provide quality service once employed in the industry.

CAD Lab
CAD
S.NONAME OF EXPERIMENTOBJECTIVE
01 Auto CAD Introduction to Auto CAD 2
02 Auto CAD Different Software for CAD
03 Auto CAD Practice Exercises on Auto CAD Software
04 Auto CAD Drawing Plan of a building in Auto CAD a) Plan of a Single Storeyed building in Auto CAD b) Plan of a Multi Storeyed building in Auto CAD
05 Auto CAD Drawing Section and Elevation of a building in Auto CAD Section and Elevation of a Single Storeyed building
Artificial Intelligence Lab

In artificial intelligence lab students investigate the central challenges of machine cognition, especially machine learning, knowledge representation and reasoning, and robotics. The software used in this lab is Prolog and LISP.

Artificial Intelligence Lab
Artificial Intelligence
S.NOName of PracticalObjective
01 Water-jug problem Write a LISP Program to solve the water-jug problem using heuristic function.
02 Compound object using Turbo Prolog Create a compound object using Turbo Prolog.
03 Green and red Cuts. Write a Prolog Program to show the advantage and disadvantage of green and red cuts.
04 Forward Chaining, Backward Chaining, Problem Reduction. Implementation of the problem solving strategies: Forward Chaining, Backward Chaining, Problem Reduction.
05 BEST-FIRST SEARCH Write a Prolog program to use of BEST-FIRST SEARCH applied to the eight puzzle problem.
06 STEEPEST-ASCENT HILL CLIMB ING. Write a Lisp Program to implement the STEEPEST-ASCENT HILL CLIMB ING.
07 COUNTE PROPAGATION NETWORK. Write a Prolog Program to implement COUNTE PROPAGATION NETWORK.
Visual Programming Lab

Visual Basic provides an environment called the IDE (Integrated Development Environment) that provides a platform for visual programming. With the user diversion towards graphical user interfaces, computer programming languages are also changing. Visual Basic is graphical user interface programming language which has a bulk of inbuilt user friendly tools for understanding programming language concepts.

Starting with simple exercise given in the text book regarding C# language constructs (flow control structures, data types, file I/O and local libraries) the lab must graduate to a full project using GUI forms for data entry (with validation) processing, querying and reporting on .Net platform with database connectivity.

Visual Programming Lab
Visual Programming
S.NOName of PracticalObjective
01 Consuming the members of different classes with different modifiers within the project & outside the project. Understanding the concept of access specifiers.
02 Accessing the members of a class without using public modifier on fields. Understanding the concept of properties.
03 Using the same function with different parameters. Understanding the concept of method overloading
04 Accessing the variables of a class using index positions. Understanding the concept of indexers.
System Administration Lab

System Administration Lab equipped with test equipment and testing software packages supports installation, administration and technical support of servers and test equipment computers in all the location.

System Administration Lab
System Administration
S.NOName of PracticalObjective
01 Installation of operating system Installation of operating system (Window 7 and LINUX)
02 Installation of office Installation of office productivity software (MS Office/ Open Office)
03 User Management User Management
04 Security Management Security Management
05 Start-up & Shutdown scripts Start-up & Shutdown scripts
06 Subnet creation Network planning – subnet creation
07 Firewall configuration Firewall configuration
08 Properties of Windows Registry Basic properties of Windows Registry
09 Windows Services Study of Important Windows Services
10 LINUX Services Study of Important LINUX Services
Web Technology Lab

Web Technology Lab focuses on the development of websites and web pages through various technologies like ASP.Net, VB.Net or C#.Net and other aspects of web designing and performance monitoring. Many other designing technologies are also there such as CSS.

Web Technology Lab
Web Technology
S.NOName of PracticalObjective
01 Apache server Installation and configuration of Apache server
02 Development of static website Development of static website of an online Departmental Store. The website should be user friendly and should have the following pages:
Home page
Registration and user login
User profile page
Items catalogue
Shopping cart
Payment by credit card
Order confirmation
03 Add validations to the above site for registration Add validations to the above site for registration, user login, user profile and payment by credit card using JavaScript.
04 TOMCAT web server Installation and configuration of TOMCAT web server. Convert the static web pages of assignments 2 into dynamic web pages using servlets and cookies.
05 Creation of a XML document Creation of a XML document of 20 students of U K Tech. Add their roll numbers, marks obtained in 5 subjects, total and percentage and save this XML document on the server. Write a program that takes students’ roll number as an input and returns the students marks, total and percentage by taking the students’ information from the XML document
06 Website using existing web services Design a website using existing web services (Google map, weather forecast, market Information, etc.) using AJAX
Advance Research Lab Big Data Analytics

This advance research lab is developed in collaboration with IBM for the 3rd year students to capture structured, semi-structured and unstructured data from several different data source types using IBM Info Sphere Big Insights and then do manipulations and analysis on the gathered data. In it the main focus is on using the Graphical User Interface of Info Sphere Big Insights to collect, manipulate, analyse, view and export data. IBM® Info Sphere® Big Insights™ is an analytics platform, based on open source Apache Hadoop, for analysing massive volumes of unconventional data in its native format.

Virtual Lab
Advance Research Lab Big Data Analytics
Big Data Analytics

This virtual lab provides remote-access to various Labs in Computer Science and Engineering and would cater to students at the undergraduate level, post graduate level as well as to research scholars. This lab would help them in learning basic and advanced concepts through remote experimentation.

Labs which are ready for use are: Artificial Neural Networks Lab, Pattern Recognition Lab, Computer Architecture & Organization Lab, Software Engineering Lab, Data Structures Lab, Computer Programming Lab, Computer Organization Lab, Speech Signal Processing Lab, Computer Graphics Lab, Image Processing Lab, Computational Linguistics Lab, Natural Language Processing Lab, Wireless Sensor Network Remote Triggered Lab, and Cryptography Lab.