SlideShare une entreprise Scribd logo
1  sur  8
Télécharger pour lire hors ligne
Sanjay Goel, JIIT, 2006


                     Data Structure: Programming Assignments
                                  CSE/IT 3rd sem

12. 09.06

   1. WAP to simulate a robot ‘SimRob’ linear movement along X axis bounded by
      Left and Right wall. The robot has two sensors on two sided that get activated on
      hitting the wall on its side. On sensor activation the controller changes the
      direction of robot’s movement. Graphics is not compulsory.
   2. Design DS for storing and using Truth table(5 input and three output variables)

14.09.06

   1. WAP a dual robot movement simulator “Robpair” using two ‘SimRobs’ (of
      possibly varying width) with already defined behavior. Graphics is not
      compulsory.
   2. (Single student: 3 marks) WAP a multi robot movement simulator “Robmat”
      using multiple “Robpairs” at different Y positions. Graphics is not compulsory.
   3. (Group of four: 3 marks each) WAP a circuit’s truth table generator using up to
      10 circuit components with user defined truth tables. Each component can have
      up to 5 inputs and 3 outputs. The components are used to create a user defined
      combinational circuit. Your program should generate the truth table for the
      circuit from the available data. Graphics is not compulsory.

19.09.06

   1. (Single student: 2 marks) Design a data storage scheme for storing single variable
        polynomial functions and series of numbers. Design an algorithm to test if the
        given series is a Taylor series approximation (at x) for a given polynomial
        function and x0.
        Taylor series approx. of a given function is as follows:



21.09.06
    1. (Group of two: 2 marks each) Design a dynamic data structure for storing a
         randomly ordered collection of single variable polynomial functions and another
         static data structure for storing randomly-ordered collection of real number-
         sequences. The records in both the collections also should have additional
         provision for storing indices of all the matching entries (if any) in another
         collection. One entry in any collection may match with none, one or many
         entries in another. A number-sequence is declared as matching with a
         polynomial, if all the numbers in the sequence match with corresponding terms
         of the Taylor series expansion of a function for given x and x0 within the limits
         of a user-defined ‘permitted-mismatch’. Design an algorithm for updating
         matching indices in both the collections for a given user-defined input of
         ‘permitted-mismatch’, x and x0.
Sanjay Goel, JIIT, 2006


           You have the freedom to change the matching context of the problem to
           different and interesting situations. For example, you could match the
           following:
             2. Polygons with number sequences that represent area, perimeter, and side
                 length.
             3. Lines (equation form) with endpoint coordinates.
             4. Sentences with number sequences that represent frequency count of
                 alphabets.
             5. Differential equations with solutions.

        Take prior permission of your lab instructor to work on the context of your
        choice. You should take this permission within this week before 23/09/06. If your
        chosen context is much more complex than the stated context, the marks allocated
        to this problem will increase by 50%.

23.09.06

   (Group of two) You have already created the UI for following applications. Now
   create Data Characterization Catalogue and Concept Map for these applications:

   1.      (1.5 marks each) A design team has conceived the following initial
            specifications of a search engine for a large company’s internal Digital
            Library:
            Only specially authorized users can upload new documents or new
            versions of old document. All employees can look at the documents.
            Information systems department will create, update and maintain a list of
            keywords for faster search facility. The search engine users can also
            search by entering any word through the keyboard. Searched documents
            are to be listed as follows:
            Case A: Faster search on a listed keyword: As per the frequency of
            occurrence of the word i.e. the documents having higher “density” of the
            chosen keyword will be listed before the documents having lower density,
            where
               density[k, d] = (Occurrence count of the word k in d)/(word count in d)
            Case B: Search by entering a word though the keyboard: As per the
            frequency of usage of a document, where usage is defined as number of
            times a document is opened by users through the search engine.

     2.      (1.5 marks each) Design a simulator for a petrol pump offering the facilities
            of petrol, diesel, CNG and car wash. Also give a diagrammatic
            representation for this simulator software. Customer arrival rates are as
            follows:
                5 am – 6 am : 30 customers per hr.
                6 am – 7 am : 50 customers per hr.
                7 am – 10 am : 200 customers per hr.
                10 am – 4 pm : 100 customer per hr.
Sanjay Goel, JIIT, 2006


               4 pm – 8 pm : 200 customers per hr.
               8 pm – 10 pm : 50 customer per hr.
               10 pm – 5 am : 15 customers per hr.

               There are separate queues for the petrol, diesel, CNG and car wash. There
               are three petrol counters, two diesel counters, two CNG and one car-wash
               counters. 50% of the Fuel seekers purchase petrol, 25% purchase diesel
               and rest purchase CNG. During peak hrs., only fuel buyers are entertained.
               During 10 am to 6 pm, 10% customers come for car wash and rest for the
               fuel. Customers first buying the fuel do not go for car wash. However,
               70% also buy fuel after car wash.


26.09.06
       1.      (Group of two: 1.5 marks each) Generate as many design options as
                possible for 1st problem assigned in the last class. Evaluate each option
                for its advantages and disadvantages.

28.09.06
1.     (Group of two: 4 marks each) Design the UI, Data Characterization Catalogue,
    Concept Map, Data Structure, and Algorithms for following problem:

   We need to store up to 50000 persons and their relationships so that following queries
   can be efficiently addressed:
         i.     How is x related to y?
         ii. To how many persons is x related?
         iii. Who all are related to x?
         iv. Who all are related to x and how?
         v. Who all are related to x or y?
         vi. How many unrelated extended families exist in the database?
         vii. Who is the eldest person in each extended family?
         viii. Who are the common persons somehow related to both x and y?
         ix. Who are the common persons somehow related to all x, y and z?
         x. How two different family charts can be merged and automatically updated
              in the event of marriage between the persons belonging to different family
              charts?

    03.10.06

      1. Find out the function for formula based addressing of individual elements
        within 2d, 3d, and kd matrices of 4 byte long integers stored in
          i. column major order.
         ii. row major order
Sanjay Goel, JIIT, 2006



       In the following questions, do not waste any memory for storage of null elements
       in the matrix cells other than the specified sub matrices. Also write algorithms for
       doubling the value of user specified cell for all cases mentioned below:

       2. Find out the function for formula based addressing of individual elements
         within 2d, 3d, and kd lower triangular matrices of 4 byte long integers stored
         in
           i. column major order.
          ii. row major order.

       3. Find out the function for formula based addressing of individual elements
         within 2d, 3d, and kd upper triangular matrices of 4 byte long integers stored
         in
           i. column major order.
          ii. row major order.

       4. Find out the function for formula based addressing of individual elements
         within 2d, 3d, and kd diagonal matrices of 4 byte long integers stored in
           i. column major order.
          ii. row major order

       5. Find out the function for formula based addressing of individual elements
         within 2d, 3d, and kd tri-diagonal matrices of 4 byte long integers stored in
           i. column major order.
          ii. Row major order

       6. (Group of two: 4 marks each) for any two of the above mentioned cases to be
        announced by Lab instructors for each batch, Write recursive program for
        find the following:
           i.     Indices of the cell(s) with maximum value in matrix.
           ii.    Sum of the cell(s) in a matrix.
Sanjay Goel, JIIT, 2006



05.10.06
           1. (Group of two: 3 marks each) WAP for addition of two large sparse
             matrices (100 x 100 x 100) using Linked storage based data structures using
             pointer as well as simulated pointers (Sparse matrices are matrices with
             most elements with zero value; hence you can save large memory by avoiding
             the storage of zero value elements).
             Compare linked as well as simulated pointer based storage with formula based
             addressing in this context.

07.10.06
        1. (Group of two: 8 marks each) Enhance the scope of the people-relationship
          problem assigned on 28.09.06 to include following functionality:
              i. Find out the families in which there are more than 4 persons with
                  postgraduate qualifications.
              ii. Find out the families in which more than 3 persons have been
                  hospitalised in the last two years.
          iii.      Find out the families in which more than 2 persons work in the same
                    organization at same location.
          iv.       Find out the families that collective pay annual income tax of more
                    than Rs. 5 Lacs.
          v.        Find out the working spouses whose work locations are in different
                    cities with a distance of minimum 50 km.

             “Family” for our purpose includes direct descendants and spouses of self,
             parents, and father in law.

             Propose Data Characterization Table, Concept map, Data Structures.
             Also WAP for these and earlier mentioned queries. Design data structures
             based on at least 2 different structuring techniques.
Sanjay Goel, JIIT, 2006



10.10.06
       (Group of two: 10 marks each without graphics, 14 marks each with animated
graphics; Exempted for those who are doing project) Design (UI, Data
Characterization Catalogue, Concept map, Data Structures, Test plan, Algorithm),
implement, and test (produce a proper Test report) a fun station simulator with
following specifications:

            In a fun-park we have a network of N-S and E-W roads. The fun park has 100
auto-navigated rechargeable battery red and blue toy vehicles. Red and blue vehicles are
equal in number. These toy vehicles are queued on a ramp above the ground. To begin
with, all vehicles are queued on the ramp with alternate positions being assigned to red
and blue vehicles all with the initially uniform battery life of 30 minutes on the ground.
The ground has a pivot point where the vehicles are landed from the ramp on the ground
in an orderly manner in a randomly chosen available direction with a minimum time gap
of 2 minutes.
    1. Vehicles land on the ground.
    2. Vehicles move in N, E, W, and S directions.
    3. Vehicles turn 90 degree. Blue vehicles can turn left and red vehicles turn right.
    4. If hit by a vehicle in a lane, both the vehicles reverse their direction.
    5. If hit by another vehicle or the wall on a crossing, the blue vehicles turn left
        whereas red vehicles turn right to change their direction of movement.
    6. If after a vehicle clash on a crossing, the vehicles choose to move in the same new
        lane, the vehicle that landed earlier on the ground moves first.
    7. The vehicles continue to move till their battery is discharged.
    8. Discharged vehicles are put back for charging.
    9. The recharged vehicles are put back on the ramp queue.
    10. Charging time depends on the vehicles waiting for charging as follows:
           Number of vehicles in the queue Charging time
           >= 50                                     5 minutes
           30-49                                    10 min.
           20-29                                    15 min.
           10-19                                    20 min.
            6-9                                     25 min.
            <=5                                     30 min.
    11. The battery charging time is also equal to new battery life on the ground.
    12. On every hit (either with wall or another vehicle), more energy is consumed and
        the remaining battery time of concerned vehicle(s) decreases by one minute.
    13. A large robot arm (crane like) picks up the vehicles without fuel and puts them
        onto the queue for charging.

       (Bonus: 4 marks each student) Enhance this fun station with some additional
       special features (to be proposed by you) to make this a unique station. Maintain
       confidentiality about your additional features and do not show it to other
       students registered in this course before evaluation of all students on this
       assignment.
Sanjay Goel, JIIT, 2006


26.10.06
    1. (5 marks: Exempted for those who are doing project) Write four different
       functions (based on different logic) for reverse order printing of information
       content of nodes in a linked list. Analyze the space and time complexity of your
       solutions.

31.10.06
    1. (2 marks: Exempted for those who are doing project ) WAP to convert a sorted
       array of 100 names into a BST.
    2. (2 marks: Exempted for those who are doing project) WAP an unsorted linked
       list of 100 names into a BST.
    3. (2 Marks: Exempted for those who are doing project) WAP to convert a BST of
       100 names into a sorted linked list implemented with simulated pointer.
    3. (4 marks: Exempted for those who are doing project) WAP to partition a BST of
       100 names into three BSTs of nearly equal population size with non-overlapping
       value range.

7.11.06
   1. (6 marks: Exempted for those who are doing project) Write functions for non-
       recursive search, findmin and findmax in a BST.
   2. (6 marks) Implement BST with simulated pointer and rewrite non-recursive
       search, insert, and delete functions for this data-structure.

9.11.06
1. (Practice assignments not compulsory Bonus: 8 marks) Write a function for
   traversing binary tree by scanning it vertically right to left top to down.

11.11.06
    1. (Practice assignments not compulsory Bonus: 6 marks) Create an 8-ary tree using
        simulated pointer. Write two different kinds of traversal functions for this data
        structure.
14.11.06

   1.   (Practice assignments not compulsory Bonus: 3 marks) A database stores
        information about hyperlinks across 1000 Websites.

         QUERY : If it is possible to move from xth Website to yth Website with up to
         two intermediate Websites in between them , then display “ link exists between
         xth and yth Websites” and also give sequence of names of intermediate
         Websites that are visited while moving from xth to yth Website ,otherwise
         display “No links Possible”. Propose the Data Structures and an appropriate
         algorithms (with and also without buffer) for processing the above Query.
         Also demonstrate the working of your algorithm by simulating key-steps of the
         algorithm for two cases e.g. A E C B.
Sanjay Goel, JIIT, 2006


15.11.06
    1. (Practice assignments not compulsory Bonus: 3 marks) Create an 8-ary tree using
        formula based storage. Write two different kinds of traversal functions for this
        data structure.

Contenu connexe

Tendances

Datastructures using c++
Datastructures using c++Datastructures using c++
Datastructures using c++Gopi Nath
 
DataRobot R Package
DataRobot R PackageDataRobot R Package
DataRobot R PackageDataRobot
 
Investigating the 3D structure of the genome with Hi-C data analysis
Investigating the 3D structure of the genome with Hi-C data analysisInvestigating the 3D structure of the genome with Hi-C data analysis
Investigating the 3D structure of the genome with Hi-C data analysistuxette
 
Chapter - 7 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kamber
Chapter - 7 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; KamberChapter - 7 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kamber
Chapter - 7 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kambererror007
 
Data structures and algorithms short note (version 14).pd
Data structures and algorithms short note (version 14).pdData structures and algorithms short note (version 14).pd
Data structures and algorithms short note (version 14).pdNimmi Weeraddana
 
Kernel methods for data integration in systems biology
Kernel methods for data integration in systems biology Kernel methods for data integration in systems biology
Kernel methods for data integration in systems biology tuxette
 
Kernel methods and variable selection for exploratory analysis and multi-omic...
Kernel methods and variable selection for exploratory analysis and multi-omic...Kernel methods and variable selection for exploratory analysis and multi-omic...
Kernel methods and variable selection for exploratory analysis and multi-omic...tuxette
 
Data clustering using map reduce
Data clustering using map reduceData clustering using map reduce
Data clustering using map reduceVarad Meru
 
هياكلبيانات
هياكلبياناتهياكلبيانات
هياكلبياناتRafal Edward
 
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...wajrcs
 
Analytical Study and Newer Approach towards Frequent Pattern Mining using Boo...
Analytical Study and Newer Approach towards Frequent Pattern Mining using Boo...Analytical Study and Newer Approach towards Frequent Pattern Mining using Boo...
Analytical Study and Newer Approach towards Frequent Pattern Mining using Boo...iosrjce
 
Workshop nwav 47 - LVS - Tool for Quantitative Data Analysis
Workshop nwav 47 - LVS - Tool for Quantitative Data AnalysisWorkshop nwav 47 - LVS - Tool for Quantitative Data Analysis
Workshop nwav 47 - LVS - Tool for Quantitative Data AnalysisOlga Scrivner
 
SVD and the Netflix Dataset
SVD and the Netflix DatasetSVD and the Netflix Dataset
SVD and the Netflix DatasetBen Mabey
 
Image Generation from Caption
Image Generation from Caption Image Generation from Caption
Image Generation from Caption IJSCAI Journal
 
Data structure lecture 2
Data structure lecture 2Data structure lecture 2
Data structure lecture 2Abbott
 
Searching in high dimensional spaces index structures for improving the perfo...
Searching in high dimensional spaces index structures for improving the perfo...Searching in high dimensional spaces index structures for improving the perfo...
Searching in high dimensional spaces index structures for improving the perfo...unyil96
 

Tendances (20)

Datastructures using c++
Datastructures using c++Datastructures using c++
Datastructures using c++
 
DataRobot R Package
DataRobot R PackageDataRobot R Package
DataRobot R Package
 
Investigating the 3D structure of the genome with Hi-C data analysis
Investigating the 3D structure of the genome with Hi-C data analysisInvestigating the 3D structure of the genome with Hi-C data analysis
Investigating the 3D structure of the genome with Hi-C data analysis
 
Chapter - 7 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kamber
Chapter - 7 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; KamberChapter - 7 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kamber
Chapter - 7 Data Mining Concepts and Techniques 2nd Ed slides Han &amp; Kamber
 
Data structures and algorithms short note (version 14).pd
Data structures and algorithms short note (version 14).pdData structures and algorithms short note (version 14).pd
Data structures and algorithms short note (version 14).pd
 
Kernel methods for data integration in systems biology
Kernel methods for data integration in systems biology Kernel methods for data integration in systems biology
Kernel methods for data integration in systems biology
 
Kernel methods and variable selection for exploratory analysis and multi-omic...
Kernel methods and variable selection for exploratory analysis and multi-omic...Kernel methods and variable selection for exploratory analysis and multi-omic...
Kernel methods and variable selection for exploratory analysis and multi-omic...
 
Lesson 2.1 array
Lesson 2.1   arrayLesson 2.1   array
Lesson 2.1 array
 
Ppt shuai
Ppt shuaiPpt shuai
Ppt shuai
 
Data clustering using map reduce
Data clustering using map reduceData clustering using map reduce
Data clustering using map reduce
 
هياكلبيانات
هياكلبياناتهياكلبيانات
هياكلبيانات
 
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...
A Fairness-aware Machine Learning Interface for End-to-end Discrimination Dis...
 
Analytical Study and Newer Approach towards Frequent Pattern Mining using Boo...
Analytical Study and Newer Approach towards Frequent Pattern Mining using Boo...Analytical Study and Newer Approach towards Frequent Pattern Mining using Boo...
Analytical Study and Newer Approach towards Frequent Pattern Mining using Boo...
 
Workshop nwav 47 - LVS - Tool for Quantitative Data Analysis
Workshop nwav 47 - LVS - Tool for Quantitative Data AnalysisWorkshop nwav 47 - LVS - Tool for Quantitative Data Analysis
Workshop nwav 47 - LVS - Tool for Quantitative Data Analysis
 
SVD and the Netflix Dataset
SVD and the Netflix DatasetSVD and the Netflix Dataset
SVD and the Netflix Dataset
 
Image Generation from Caption
Image Generation from Caption Image Generation from Caption
Image Generation from Caption
 
Ds 7
Ds 7Ds 7
Ds 7
 
data_mining
data_miningdata_mining
data_mining
 
Data structure lecture 2
Data structure lecture 2Data structure lecture 2
Data structure lecture 2
 
Searching in high dimensional spaces index structures for improving the perfo...
Searching in high dimensional spaces index structures for improving the perfo...Searching in high dimensional spaces index structures for improving the perfo...
Searching in high dimensional spaces index structures for improving the perfo...
 

En vedette

Data Structures 2007
Data Structures 2007Data Structures 2007
Data Structures 2007Sanjay Goel
 
Advanced Data Structures 2007
Advanced Data Structures 2007Advanced Data Structures 2007
Advanced Data Structures 2007Sanjay Goel
 
Advanced Data Structures 2005
Advanced Data Structures 2005Advanced Data Structures 2005
Advanced Data Structures 2005Sanjay Goel
 
Data Structures 2004
Data Structures 2004Data Structures 2004
Data Structures 2004Sanjay Goel
 
Data Structures 2005
Data Structures 2005Data Structures 2005
Data Structures 2005Sanjay Goel
 
Data Structures problems 2002
Data Structures problems 2002Data Structures problems 2002
Data Structures problems 2002Sanjay Goel
 

En vedette (6)

Data Structures 2007
Data Structures 2007Data Structures 2007
Data Structures 2007
 
Advanced Data Structures 2007
Advanced Data Structures 2007Advanced Data Structures 2007
Advanced Data Structures 2007
 
Advanced Data Structures 2005
Advanced Data Structures 2005Advanced Data Structures 2005
Advanced Data Structures 2005
 
Data Structures 2004
Data Structures 2004Data Structures 2004
Data Structures 2004
 
Data Structures 2005
Data Structures 2005Data Structures 2005
Data Structures 2005
 
Data Structures problems 2002
Data Structures problems 2002Data Structures problems 2002
Data Structures problems 2002
 

Similaire à Data Structures problems 2006

A Novel Design For Generating Dynamic Length Message Digest To Ensure Integri...
A Novel Design For Generating Dynamic Length Message Digest To Ensure Integri...A Novel Design For Generating Dynamic Length Message Digest To Ensure Integri...
A Novel Design For Generating Dynamic Length Message Digest To Ensure Integri...IRJET Journal
 
Prelim Project OOP
Prelim Project OOPPrelim Project OOP
Prelim Project OOPDwight Sabio
 
IRJET- Foster Hashtag from Image and Text
IRJET-  	  Foster Hashtag from Image and TextIRJET-  	  Foster Hashtag from Image and Text
IRJET- Foster Hashtag from Image and TextIRJET Journal
 
Development Infographic
Development InfographicDevelopment Infographic
Development InfographicRealMassive
 
1 Project 2 Introduction - the SeaPort Project seri.docx
1  Project 2 Introduction - the SeaPort Project seri.docx1  Project 2 Introduction - the SeaPort Project seri.docx
1 Project 2 Introduction - the SeaPort Project seri.docxhoney725342
 
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxBTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxAASTHA76
 
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...kevig
 
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...kevig
 
Pune University MCA [Management] 2020-Sample Questions
Pune University MCA [Management] 2020-Sample QuestionsPune University MCA [Management] 2020-Sample Questions
Pune University MCA [Management] 2020-Sample Questionsshailendrashinde9
 
MediaEval 2015 - UNED-UV @ Retrieving Diverse Social Images Task - Poster
MediaEval 2015 - UNED-UV @ Retrieving Diverse Social Images Task - PosterMediaEval 2015 - UNED-UV @ Retrieving Diverse Social Images Task - Poster
MediaEval 2015 - UNED-UV @ Retrieving Diverse Social Images Task - Postermultimediaeval
 
Polymer Brush Data Processor
Polymer Brush Data ProcessorPolymer Brush Data Processor
Polymer Brush Data ProcessorCory Bethrant
 
Achieving Algorithmic Transparency with Shapley Additive Explanations (H2O Lo...
Achieving Algorithmic Transparency with Shapley Additive Explanations (H2O Lo...Achieving Algorithmic Transparency with Shapley Additive Explanations (H2O Lo...
Achieving Algorithmic Transparency with Shapley Additive Explanations (H2O Lo...Sri Ambati
 
Application of local search methods for solving a quadratic assignment proble...
Application of local search methods for solving a quadratic assignment proble...Application of local search methods for solving a quadratic assignment proble...
Application of local search methods for solving a quadratic assignment proble...Gurdal Ertek
 
Data Analysis – Technical learnings
Data Analysis – Technical learningsData Analysis – Technical learnings
Data Analysis – Technical learningsInvenkLearn
 
Web Information Extraction Learning based on Probabilistic Graphical Models
Web Information Extraction Learning based on Probabilistic Graphical ModelsWeb Information Extraction Learning based on Probabilistic Graphical Models
Web Information Extraction Learning based on Probabilistic Graphical ModelsGUANBO
 
computer notes - Data Structures - 1
computer notes - Data Structures - 1computer notes - Data Structures - 1
computer notes - Data Structures - 1ecomputernotes
 
Rupicon 2014 Single table inheritance
Rupicon 2014 Single table inheritanceRupicon 2014 Single table inheritance
Rupicon 2014 Single table inheritancerupicon
 
House price prediction
House price predictionHouse price prediction
House price predictionSabahBegum
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesAngelos Kapsimanis
 
CS301-lec01.ppt
CS301-lec01.pptCS301-lec01.ppt
CS301-lec01.pptomair31
 

Similaire à Data Structures problems 2006 (20)

A Novel Design For Generating Dynamic Length Message Digest To Ensure Integri...
A Novel Design For Generating Dynamic Length Message Digest To Ensure Integri...A Novel Design For Generating Dynamic Length Message Digest To Ensure Integri...
A Novel Design For Generating Dynamic Length Message Digest To Ensure Integri...
 
Prelim Project OOP
Prelim Project OOPPrelim Project OOP
Prelim Project OOP
 
IRJET- Foster Hashtag from Image and Text
IRJET-  	  Foster Hashtag from Image and TextIRJET-  	  Foster Hashtag from Image and Text
IRJET- Foster Hashtag from Image and Text
 
Development Infographic
Development InfographicDevelopment Infographic
Development Infographic
 
1 Project 2 Introduction - the SeaPort Project seri.docx
1  Project 2 Introduction - the SeaPort Project seri.docx1  Project 2 Introduction - the SeaPort Project seri.docx
1 Project 2 Introduction - the SeaPort Project seri.docx
 
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docxBTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
BTE 320-498 Summer 2017 Take Home Exam (200 poi.docx
 
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...
 
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...
TEXT DATA LABELLING USING TRANSFORMER BASED SENTENCE EMBEDDINGS AND TEXT SIMI...
 
Pune University MCA [Management] 2020-Sample Questions
Pune University MCA [Management] 2020-Sample QuestionsPune University MCA [Management] 2020-Sample Questions
Pune University MCA [Management] 2020-Sample Questions
 
MediaEval 2015 - UNED-UV @ Retrieving Diverse Social Images Task - Poster
MediaEval 2015 - UNED-UV @ Retrieving Diverse Social Images Task - PosterMediaEval 2015 - UNED-UV @ Retrieving Diverse Social Images Task - Poster
MediaEval 2015 - UNED-UV @ Retrieving Diverse Social Images Task - Poster
 
Polymer Brush Data Processor
Polymer Brush Data ProcessorPolymer Brush Data Processor
Polymer Brush Data Processor
 
Achieving Algorithmic Transparency with Shapley Additive Explanations (H2O Lo...
Achieving Algorithmic Transparency with Shapley Additive Explanations (H2O Lo...Achieving Algorithmic Transparency with Shapley Additive Explanations (H2O Lo...
Achieving Algorithmic Transparency with Shapley Additive Explanations (H2O Lo...
 
Application of local search methods for solving a quadratic assignment proble...
Application of local search methods for solving a quadratic assignment proble...Application of local search methods for solving a quadratic assignment proble...
Application of local search methods for solving a quadratic assignment proble...
 
Data Analysis – Technical learnings
Data Analysis – Technical learningsData Analysis – Technical learnings
Data Analysis – Technical learnings
 
Web Information Extraction Learning based on Probabilistic Graphical Models
Web Information Extraction Learning based on Probabilistic Graphical ModelsWeb Information Extraction Learning based on Probabilistic Graphical Models
Web Information Extraction Learning based on Probabilistic Graphical Models
 
computer notes - Data Structures - 1
computer notes - Data Structures - 1computer notes - Data Structures - 1
computer notes - Data Structures - 1
 
Rupicon 2014 Single table inheritance
Rupicon 2014 Single table inheritanceRupicon 2014 Single table inheritance
Rupicon 2014 Single table inheritance
 
House price prediction
House price predictionHouse price prediction
House price prediction
 
Software Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniquesSoftware Architectures, Week 2 - Decomposition techniques
Software Architectures, Week 2 - Decomposition techniques
 
CS301-lec01.ppt
CS301-lec01.pptCS301-lec01.ppt
CS301-lec01.ppt
 

Plus de Sanjay Goel

New Generation MTech and MSc Programs at JKLU
New Generation MTech and MSc Programs at JKLUNew Generation MTech and MSc Programs at JKLU
New Generation MTech and MSc Programs at JKLUSanjay Goel
 
Build a Career in Engineering and Technology 19.08.20
Build a Career in Engineering and Technology    19.08.20Build a Career in Engineering and Technology    19.08.20
Build a Career in Engineering and Technology 19.08.20Sanjay Goel
 
Software Development Careers: Why, What, and How?
Software Development Careers:  Why, What, and How?Software Development Careers:  Why, What, and How?
Software Development Careers: Why, What, and How?Sanjay Goel
 
Developing and Publishing Academic Products
Developing and PublishingAcademic ProductsDeveloping and PublishingAcademic Products
Developing and Publishing Academic ProductsSanjay Goel
 
Problem Solving and Research Methodology: Part-I- Risk Engineering - Excerpts...
Problem Solving and Research Methodology: Part-I- Risk Engineering - Excerpts...Problem Solving and Research Methodology: Part-I- Risk Engineering - Excerpts...
Problem Solving and Research Methodology: Part-I- Risk Engineering - Excerpts...Sanjay Goel
 
CSCW lecture notes, Sanjay Goel, JIIT, 2012
CSCW lecture notes, Sanjay Goel, JIIT, 2012CSCW lecture notes, Sanjay Goel, JIIT, 2012
CSCW lecture notes, Sanjay Goel, JIIT, 2012Sanjay Goel
 
HCI lecture notes by Sanjay Goel, JIIT 2012
HCI lecture notes by Sanjay Goel, JIIT 2012HCI lecture notes by Sanjay Goel, JIIT 2012
HCI lecture notes by Sanjay Goel, JIIT 2012Sanjay Goel
 
Image Processing, 2012
Image Processing, 2012Image Processing, 2012
Image Processing, 2012Sanjay Goel
 
Computer Graphics 2004
Computer Graphics 2004Computer Graphics 2004
Computer Graphics 2004Sanjay Goel
 
Preparing Graduate Mindset
Preparing Graduate MindsetPreparing Graduate Mindset
Preparing Graduate MindsetSanjay Goel
 
Multimedia Creation
Multimedia CreationMultimedia Creation
Multimedia CreationSanjay Goel
 
Manuscript digitisation
Manuscript digitisationManuscript digitisation
Manuscript digitisationSanjay Goel
 
An Overview of Selected Learning Theories about Student Learning
An Overview of Selected Learning Theories about  Student  LearningAn Overview of Selected Learning Theories about  Student  Learning
An Overview of Selected Learning Theories about Student LearningSanjay Goel
 
Ph D Presentation
Ph D PresentationPh D Presentation
Ph D PresentationSanjay Goel
 
Computer Vision based Dance Visualisation
Computer   Vision   based Dance  VisualisationComputer   Vision   based Dance  Visualisation
Computer Vision based Dance VisualisationSanjay Goel
 
Multimedia For Cultural Learning
Multimedia  For Cultural LearningMultimedia  For Cultural Learning
Multimedia For Cultural LearningSanjay Goel
 
Computer aided Cognition support systems
Computer aided Cognition support systemsComputer aided Cognition support systems
Computer aided Cognition support systemsSanjay Goel
 

Plus de Sanjay Goel (20)

New Generation MTech and MSc Programs at JKLU
New Generation MTech and MSc Programs at JKLUNew Generation MTech and MSc Programs at JKLU
New Generation MTech and MSc Programs at JKLU
 
Build a Career in Engineering and Technology 19.08.20
Build a Career in Engineering and Technology    19.08.20Build a Career in Engineering and Technology    19.08.20
Build a Career in Engineering and Technology 19.08.20
 
Software Development Careers: Why, What, and How?
Software Development Careers:  Why, What, and How?Software Development Careers:  Why, What, and How?
Software Development Careers: Why, What, and How?
 
Developing and Publishing Academic Products
Developing and PublishingAcademic ProductsDeveloping and PublishingAcademic Products
Developing and Publishing Academic Products
 
Problem Solving and Research Methodology: Part-I- Risk Engineering - Excerpts...
Problem Solving and Research Methodology: Part-I- Risk Engineering - Excerpts...Problem Solving and Research Methodology: Part-I- Risk Engineering - Excerpts...
Problem Solving and Research Methodology: Part-I- Risk Engineering - Excerpts...
 
CSCW lecture notes, Sanjay Goel, JIIT, 2012
CSCW lecture notes, Sanjay Goel, JIIT, 2012CSCW lecture notes, Sanjay Goel, JIIT, 2012
CSCW lecture notes, Sanjay Goel, JIIT, 2012
 
HCI lecture notes by Sanjay Goel, JIIT 2012
HCI lecture notes by Sanjay Goel, JIIT 2012HCI lecture notes by Sanjay Goel, JIIT 2012
HCI lecture notes by Sanjay Goel, JIIT 2012
 
Image Processing, 2012
Image Processing, 2012Image Processing, 2012
Image Processing, 2012
 
Computer Graphics 2004
Computer Graphics 2004Computer Graphics 2004
Computer Graphics 2004
 
Preparing Graduate Mindset
Preparing Graduate MindsetPreparing Graduate Mindset
Preparing Graduate Mindset
 
Multimedia Creation
Multimedia CreationMultimedia Creation
Multimedia Creation
 
Manuscript digitisation
Manuscript digitisationManuscript digitisation
Manuscript digitisation
 
An Overview of Selected Learning Theories about Student Learning
An Overview of Selected Learning Theories about  Student  LearningAn Overview of Selected Learning Theories about  Student  Learning
An Overview of Selected Learning Theories about Student Learning
 
Prayag Centre
Prayag CentrePrayag Centre
Prayag Centre
 
Ph D Presentation
Ph D PresentationPh D Presentation
Ph D Presentation
 
Learning
Learning   Learning
Learning
 
Computer Vision based Dance Visualisation
Computer   Vision   based Dance  VisualisationComputer   Vision   based Dance  Visualisation
Computer Vision based Dance Visualisation
 
Multimedia For Cultural Learning
Multimedia  For Cultural LearningMultimedia  For Cultural Learning
Multimedia For Cultural Learning
 
Computer aided Cognition support systems
Computer aided Cognition support systemsComputer aided Cognition support systems
Computer aided Cognition support systems
 
Enterprise Apps
Enterprise AppsEnterprise Apps
Enterprise Apps
 

Dernier

ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 

Dernier (20)

ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 

Data Structures problems 2006

  • 1. Sanjay Goel, JIIT, 2006 Data Structure: Programming Assignments CSE/IT 3rd sem 12. 09.06 1. WAP to simulate a robot ‘SimRob’ linear movement along X axis bounded by Left and Right wall. The robot has two sensors on two sided that get activated on hitting the wall on its side. On sensor activation the controller changes the direction of robot’s movement. Graphics is not compulsory. 2. Design DS for storing and using Truth table(5 input and three output variables) 14.09.06 1. WAP a dual robot movement simulator “Robpair” using two ‘SimRobs’ (of possibly varying width) with already defined behavior. Graphics is not compulsory. 2. (Single student: 3 marks) WAP a multi robot movement simulator “Robmat” using multiple “Robpairs” at different Y positions. Graphics is not compulsory. 3. (Group of four: 3 marks each) WAP a circuit’s truth table generator using up to 10 circuit components with user defined truth tables. Each component can have up to 5 inputs and 3 outputs. The components are used to create a user defined combinational circuit. Your program should generate the truth table for the circuit from the available data. Graphics is not compulsory. 19.09.06 1. (Single student: 2 marks) Design a data storage scheme for storing single variable polynomial functions and series of numbers. Design an algorithm to test if the given series is a Taylor series approximation (at x) for a given polynomial function and x0. Taylor series approx. of a given function is as follows: 21.09.06 1. (Group of two: 2 marks each) Design a dynamic data structure for storing a randomly ordered collection of single variable polynomial functions and another static data structure for storing randomly-ordered collection of real number- sequences. The records in both the collections also should have additional provision for storing indices of all the matching entries (if any) in another collection. One entry in any collection may match with none, one or many entries in another. A number-sequence is declared as matching with a polynomial, if all the numbers in the sequence match with corresponding terms of the Taylor series expansion of a function for given x and x0 within the limits of a user-defined ‘permitted-mismatch’. Design an algorithm for updating matching indices in both the collections for a given user-defined input of ‘permitted-mismatch’, x and x0.
  • 2. Sanjay Goel, JIIT, 2006 You have the freedom to change the matching context of the problem to different and interesting situations. For example, you could match the following: 2. Polygons with number sequences that represent area, perimeter, and side length. 3. Lines (equation form) with endpoint coordinates. 4. Sentences with number sequences that represent frequency count of alphabets. 5. Differential equations with solutions. Take prior permission of your lab instructor to work on the context of your choice. You should take this permission within this week before 23/09/06. If your chosen context is much more complex than the stated context, the marks allocated to this problem will increase by 50%. 23.09.06 (Group of two) You have already created the UI for following applications. Now create Data Characterization Catalogue and Concept Map for these applications: 1. (1.5 marks each) A design team has conceived the following initial specifications of a search engine for a large company’s internal Digital Library: Only specially authorized users can upload new documents or new versions of old document. All employees can look at the documents. Information systems department will create, update and maintain a list of keywords for faster search facility. The search engine users can also search by entering any word through the keyboard. Searched documents are to be listed as follows: Case A: Faster search on a listed keyword: As per the frequency of occurrence of the word i.e. the documents having higher “density” of the chosen keyword will be listed before the documents having lower density, where density[k, d] = (Occurrence count of the word k in d)/(word count in d) Case B: Search by entering a word though the keyboard: As per the frequency of usage of a document, where usage is defined as number of times a document is opened by users through the search engine. 2. (1.5 marks each) Design a simulator for a petrol pump offering the facilities of petrol, diesel, CNG and car wash. Also give a diagrammatic representation for this simulator software. Customer arrival rates are as follows: 5 am – 6 am : 30 customers per hr. 6 am – 7 am : 50 customers per hr. 7 am – 10 am : 200 customers per hr. 10 am – 4 pm : 100 customer per hr.
  • 3. Sanjay Goel, JIIT, 2006 4 pm – 8 pm : 200 customers per hr. 8 pm – 10 pm : 50 customer per hr. 10 pm – 5 am : 15 customers per hr. There are separate queues for the petrol, diesel, CNG and car wash. There are three petrol counters, two diesel counters, two CNG and one car-wash counters. 50% of the Fuel seekers purchase petrol, 25% purchase diesel and rest purchase CNG. During peak hrs., only fuel buyers are entertained. During 10 am to 6 pm, 10% customers come for car wash and rest for the fuel. Customers first buying the fuel do not go for car wash. However, 70% also buy fuel after car wash. 26.09.06 1. (Group of two: 1.5 marks each) Generate as many design options as possible for 1st problem assigned in the last class. Evaluate each option for its advantages and disadvantages. 28.09.06 1. (Group of two: 4 marks each) Design the UI, Data Characterization Catalogue, Concept Map, Data Structure, and Algorithms for following problem: We need to store up to 50000 persons and their relationships so that following queries can be efficiently addressed: i. How is x related to y? ii. To how many persons is x related? iii. Who all are related to x? iv. Who all are related to x and how? v. Who all are related to x or y? vi. How many unrelated extended families exist in the database? vii. Who is the eldest person in each extended family? viii. Who are the common persons somehow related to both x and y? ix. Who are the common persons somehow related to all x, y and z? x. How two different family charts can be merged and automatically updated in the event of marriage between the persons belonging to different family charts? 03.10.06 1. Find out the function for formula based addressing of individual elements within 2d, 3d, and kd matrices of 4 byte long integers stored in i. column major order. ii. row major order
  • 4. Sanjay Goel, JIIT, 2006 In the following questions, do not waste any memory for storage of null elements in the matrix cells other than the specified sub matrices. Also write algorithms for doubling the value of user specified cell for all cases mentioned below: 2. Find out the function for formula based addressing of individual elements within 2d, 3d, and kd lower triangular matrices of 4 byte long integers stored in i. column major order. ii. row major order. 3. Find out the function for formula based addressing of individual elements within 2d, 3d, and kd upper triangular matrices of 4 byte long integers stored in i. column major order. ii. row major order. 4. Find out the function for formula based addressing of individual elements within 2d, 3d, and kd diagonal matrices of 4 byte long integers stored in i. column major order. ii. row major order 5. Find out the function for formula based addressing of individual elements within 2d, 3d, and kd tri-diagonal matrices of 4 byte long integers stored in i. column major order. ii. Row major order 6. (Group of two: 4 marks each) for any two of the above mentioned cases to be announced by Lab instructors for each batch, Write recursive program for find the following: i. Indices of the cell(s) with maximum value in matrix. ii. Sum of the cell(s) in a matrix.
  • 5. Sanjay Goel, JIIT, 2006 05.10.06 1. (Group of two: 3 marks each) WAP for addition of two large sparse matrices (100 x 100 x 100) using Linked storage based data structures using pointer as well as simulated pointers (Sparse matrices are matrices with most elements with zero value; hence you can save large memory by avoiding the storage of zero value elements). Compare linked as well as simulated pointer based storage with formula based addressing in this context. 07.10.06 1. (Group of two: 8 marks each) Enhance the scope of the people-relationship problem assigned on 28.09.06 to include following functionality: i. Find out the families in which there are more than 4 persons with postgraduate qualifications. ii. Find out the families in which more than 3 persons have been hospitalised in the last two years. iii. Find out the families in which more than 2 persons work in the same organization at same location. iv. Find out the families that collective pay annual income tax of more than Rs. 5 Lacs. v. Find out the working spouses whose work locations are in different cities with a distance of minimum 50 km. “Family” for our purpose includes direct descendants and spouses of self, parents, and father in law. Propose Data Characterization Table, Concept map, Data Structures. Also WAP for these and earlier mentioned queries. Design data structures based on at least 2 different structuring techniques.
  • 6. Sanjay Goel, JIIT, 2006 10.10.06 (Group of two: 10 marks each without graphics, 14 marks each with animated graphics; Exempted for those who are doing project) Design (UI, Data Characterization Catalogue, Concept map, Data Structures, Test plan, Algorithm), implement, and test (produce a proper Test report) a fun station simulator with following specifications: In a fun-park we have a network of N-S and E-W roads. The fun park has 100 auto-navigated rechargeable battery red and blue toy vehicles. Red and blue vehicles are equal in number. These toy vehicles are queued on a ramp above the ground. To begin with, all vehicles are queued on the ramp with alternate positions being assigned to red and blue vehicles all with the initially uniform battery life of 30 minutes on the ground. The ground has a pivot point where the vehicles are landed from the ramp on the ground in an orderly manner in a randomly chosen available direction with a minimum time gap of 2 minutes. 1. Vehicles land on the ground. 2. Vehicles move in N, E, W, and S directions. 3. Vehicles turn 90 degree. Blue vehicles can turn left and red vehicles turn right. 4. If hit by a vehicle in a lane, both the vehicles reverse their direction. 5. If hit by another vehicle or the wall on a crossing, the blue vehicles turn left whereas red vehicles turn right to change their direction of movement. 6. If after a vehicle clash on a crossing, the vehicles choose to move in the same new lane, the vehicle that landed earlier on the ground moves first. 7. The vehicles continue to move till their battery is discharged. 8. Discharged vehicles are put back for charging. 9. The recharged vehicles are put back on the ramp queue. 10. Charging time depends on the vehicles waiting for charging as follows: Number of vehicles in the queue Charging time >= 50 5 minutes 30-49 10 min. 20-29 15 min. 10-19 20 min. 6-9 25 min. <=5 30 min. 11. The battery charging time is also equal to new battery life on the ground. 12. On every hit (either with wall or another vehicle), more energy is consumed and the remaining battery time of concerned vehicle(s) decreases by one minute. 13. A large robot arm (crane like) picks up the vehicles without fuel and puts them onto the queue for charging. (Bonus: 4 marks each student) Enhance this fun station with some additional special features (to be proposed by you) to make this a unique station. Maintain confidentiality about your additional features and do not show it to other students registered in this course before evaluation of all students on this assignment.
  • 7. Sanjay Goel, JIIT, 2006 26.10.06 1. (5 marks: Exempted for those who are doing project) Write four different functions (based on different logic) for reverse order printing of information content of nodes in a linked list. Analyze the space and time complexity of your solutions. 31.10.06 1. (2 marks: Exempted for those who are doing project ) WAP to convert a sorted array of 100 names into a BST. 2. (2 marks: Exempted for those who are doing project) WAP an unsorted linked list of 100 names into a BST. 3. (2 Marks: Exempted for those who are doing project) WAP to convert a BST of 100 names into a sorted linked list implemented with simulated pointer. 3. (4 marks: Exempted for those who are doing project) WAP to partition a BST of 100 names into three BSTs of nearly equal population size with non-overlapping value range. 7.11.06 1. (6 marks: Exempted for those who are doing project) Write functions for non- recursive search, findmin and findmax in a BST. 2. (6 marks) Implement BST with simulated pointer and rewrite non-recursive search, insert, and delete functions for this data-structure. 9.11.06 1. (Practice assignments not compulsory Bonus: 8 marks) Write a function for traversing binary tree by scanning it vertically right to left top to down. 11.11.06 1. (Practice assignments not compulsory Bonus: 6 marks) Create an 8-ary tree using simulated pointer. Write two different kinds of traversal functions for this data structure. 14.11.06 1. (Practice assignments not compulsory Bonus: 3 marks) A database stores information about hyperlinks across 1000 Websites. QUERY : If it is possible to move from xth Website to yth Website with up to two intermediate Websites in between them , then display “ link exists between xth and yth Websites” and also give sequence of names of intermediate Websites that are visited while moving from xth to yth Website ,otherwise display “No links Possible”. Propose the Data Structures and an appropriate algorithms (with and also without buffer) for processing the above Query. Also demonstrate the working of your algorithm by simulating key-steps of the algorithm for two cases e.g. A E C B.
  • 8. Sanjay Goel, JIIT, 2006 15.11.06 1. (Practice assignments not compulsory Bonus: 3 marks) Create an 8-ary tree using formula based storage. Write two different kinds of traversal functions for this data structure.