SlideShare a Scribd company logo
1 of 3
Dear students get fully solved SMU MBA Spring 2014 assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
SPRING 2014, ASSIGNMENT
PROGRAM – BCA (REVISED FALL 2012)
SEMESTER - II
SUBJECT CODE & NAME - BCA2020/IMC2020-DATA STRUCTURE AND ALGORITHM
BK ID - B1640, CREDIT – 4, MAXIMUM MARKS - 60
Q1. What do you mean by data structure operation? Briefly explain some of the operations used
frequently. 4+6=10
Answer:
Data Structure Operation
Operations are used to process the data appearing in the data structure. In fact, the data structure is
chosen based on the frequency with which specific operations are performed.
Q2. Briefly explain Insertion Algorithms. 10
Answer: Insertion Algorithms
We have algorithms for various situation of inserting an ITEM into linked list.
Q3. What is queue? Briefly explain array implementation of queue. 5+5=10
Answer: A queue is a linear list of elements in which deletions can take place only at one end, called
the front and insertions can take place only at the other end, called the rear as referred in the figure
3.7. The terms “front” and “rear” are used in describing a linear list only when it is
Q4. Write a short note on: NP-Completeness and Optimization versus decision problems. 5+5=10
Answer: NP-Completeness
The ‘NP’ stands for ‘nondeterministic polynomial time’, which says about the fact that a solution for
certain type of a problem can be checked (but may not be found) in polynomial time. This class of
algorithms informally indicates that there is a polynomial time for checking a solution for a problem
whose solution may be difficult to be found out. In studying the theory of NP-
Q5. Write the Algorithm to find the maximum and minimum items in a set of ‘n’ element. 5+5=10
Answer: The problem is to find the maximum and minimum items in a set of n elements.
Q6. Briefly explain Greedy Method Strategy. 10
Answer: The greedy method suggests that one can device an algorithm that works in stages,
considering one input at a time. At each stage, a decision is made regarding whether a particular
input is in an optimal solution. This is done by considering the inputs in an order determined by
Dear students get fully solved SMU MBA Spring 2014 assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601
[SPRING, 2014] ASSIGNMENT
PROGRAM – BCA (REVISED FALL 2012)
SEMESTER - II
SUBJECT CODE & NAME - BCA2010 – OPERATING SYSTEM
CREDIT – 4 BK ID - B1405 MAX. MARKS =60
Q1. Define operating system. Explain any four major functions of operating system 2+8 = 10
Answer: Operating System is a System Software (Set of system programs) which provides an
environment to help the user to execute the programs. An operating system (OS) is a software
program that manages the hardware and software resources of a computer. A key component of
system software, the OS performs basic tasks, such as controlling and allocating memory,
Q2. What is hardware virtual machine? Discuss the three ways through which the software
virtualization can be done 4+6=10
Answer:
Hardware Virtual Machine
The original meaning of virtual machine, sometimes called a hardware virtual machine, is that of a
number of discrete identical execution environments on a single computer, each of which runs
Q3. Explain the following scheduling algorithm [10 Marks].
a) First come first served
b) Shortest Job First 5+5=10
Answer:
a) First-Come-First-Served Scheduling Algorithm
This is one of the brute force algorithms. A process that requests for the CPU first is allocated the
CPU first. Hence, the name first come first serve. The FCFS algorithm is implemented by using a first-
in-first-out (FIFO) queue structure for the ready queue. This queue has a head and a
Q4. Define deadlock. Discuss any four conditions that lead to deadlock 4+6= 10
Answer: Definition:
Several processes compete for a finite set of resources in a multi-programmed environment. A
process requests for resources that may not be readily available at the time of the request. In such a
case the process goes into a wait state. It may so happen that this process may never change
Q5. Explain LRU page replacement algorithms with an example 4+6= 10
Answer:
LRU page replacement algorithm
The main distinction between FIFO and optimal algorithm is that the FIFO algorithm uses the time
when a page was brought into memory (looks back) whereas the optimal algorithm uses the
Q6. What is computer virus? List the types of virus and its various infection methods. 4+6 = 10
Answer: Computer Virus
A computer virus is written with an intention of infecting other programs. It is a part of a program
that piggybacks on to a valid program. It differs from the worm in the following ways:
· Worm is a complete program by itself and can execute independently whereas virus does
Dear students get fully solved SMU MBA Spring 2014 assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601

More Related Content

What's hot

Sudarshan Joshi,BCA 2nd Year
Sudarshan Joshi,BCA 2nd Year Sudarshan Joshi,BCA 2nd Year
Sudarshan Joshi,BCA 2nd Year dezyneecole
 
Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual Abdul Hannan
 
Pooja Sharma ,BCA 2nd Year
Pooja Sharma ,BCA 2nd YearPooja Sharma ,BCA 2nd Year
Pooja Sharma ,BCA 2nd Yeardezyneecole
 
Shaikh Mohammad Usman Haider ,BCA 2nd Year
Shaikh Mohammad Usman Haider ,BCA 2nd Year Shaikh Mohammad Usman Haider ,BCA 2nd Year
Shaikh Mohammad Usman Haider ,BCA 2nd Year dezyneecole
 
Competitive Programming
Competitive ProgrammingCompetitive Programming
Competitive ProgrammingRitesh Reddy
 
Mt summit2015 jdu_v2
Mt summit2015 jdu_v2Mt summit2015 jdu_v2
Mt summit2015 jdu_v2Jinhua Du
 
レポート深層学習前編
レポート深層学習前編レポート深層学習前編
レポート深層学習前編ssuser9d95b3
 

What's hot (8)

Sudarshan Joshi,BCA 2nd Year
Sudarshan Joshi,BCA 2nd Year Sudarshan Joshi,BCA 2nd Year
Sudarshan Joshi,BCA 2nd Year
 
Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual Object Oriented Programming Lab Manual
Object Oriented Programming Lab Manual
 
Pooja Sharma ,BCA 2nd Year
Pooja Sharma ,BCA 2nd YearPooja Sharma ,BCA 2nd Year
Pooja Sharma ,BCA 2nd Year
 
Shaikh Mohammad Usman Haider ,BCA 2nd Year
Shaikh Mohammad Usman Haider ,BCA 2nd Year Shaikh Mohammad Usman Haider ,BCA 2nd Year
Shaikh Mohammad Usman Haider ,BCA 2nd Year
 
Competitive Programming
Competitive ProgrammingCompetitive Programming
Competitive Programming
 
Mt summit2015 jdu_v2
Mt summit2015 jdu_v2Mt summit2015 jdu_v2
Mt summit2015 jdu_v2
 
polymorphism
polymorphism polymorphism
polymorphism
 
レポート深層学習前編
レポート深層学習前編レポート深層学習前編
レポート深層学習前編
 

Viewers also liked

Chapter 1 introduction to java technology
Chapter 1 introduction to java technologyChapter 1 introduction to java technology
Chapter 1 introduction to java technologysshhzap
 
Chapter 2.2 data structures
Chapter 2.2 data structuresChapter 2.2 data structures
Chapter 2.2 data structuressshhzap
 
Algorithm & data structure lec2
Algorithm & data structure lec2Algorithm & data structure lec2
Algorithm & data structure lec2Abdul Khan
 
Computer Science Engineering : Data structure & algorithm, THE GATE ACADEMY
Computer Science Engineering : Data structure & algorithm, THE GATE ACADEMYComputer Science Engineering : Data structure & algorithm, THE GATE ACADEMY
Computer Science Engineering : Data structure & algorithm, THE GATE ACADEMYklirantga
 
1. Overview of Java
1. Overview of Java1. Overview of Java
1. Overview of JavaNilesh Dalvi
 
Data structure and algorithm All in One
Data structure and algorithm All in OneData structure and algorithm All in One
Data structure and algorithm All in Onejehan1987
 
Mefa unit iii material(market stuructures and pricing methods)
Mefa unit iii material(market stuructures and pricing methods)Mefa unit iii material(market stuructures and pricing methods)
Mefa unit iii material(market stuructures and pricing methods)Dr. Durgaprasad Navulla
 
data structure
data structuredata structure
data structurehashim102
 
Mca iii dfs u-4 tree and graph
Mca iii dfs u-4 tree and graphMca iii dfs u-4 tree and graph
Mca iii dfs u-4 tree and graphRai University
 
ECO 550 midterm exam all possible questions 100%
ECO 550 midterm exam   all possible questions 100%ECO 550 midterm exam   all possible questions 100%
ECO 550 midterm exam all possible questions 100%hwguiders4po3
 
Introduction to Information Technology
Introduction to Information TechnologyIntroduction to Information Technology
Introduction to Information TechnologyQsrealm
 

Viewers also liked (20)

Chapter 1 introduction to java technology
Chapter 1 introduction to java technologyChapter 1 introduction to java technology
Chapter 1 introduction to java technology
 
Chapter 2.2 data structures
Chapter 2.2 data structuresChapter 2.2 data structures
Chapter 2.2 data structures
 
Algorithm & data structure lec2
Algorithm & data structure lec2Algorithm & data structure lec2
Algorithm & data structure lec2
 
Trucaje de-motores
Trucaje de-motoresTrucaje de-motores
Trucaje de-motores
 
Computer Science Engineering : Data structure & algorithm, THE GATE ACADEMY
Computer Science Engineering : Data structure & algorithm, THE GATE ACADEMYComputer Science Engineering : Data structure & algorithm, THE GATE ACADEMY
Computer Science Engineering : Data structure & algorithm, THE GATE ACADEMY
 
1. Overview of Java
1. Overview of Java1. Overview of Java
1. Overview of Java
 
Data structure and algorithm All in One
Data structure and algorithm All in OneData structure and algorithm All in One
Data structure and algorithm All in One
 
Oop c++ tutorial
Oop c++ tutorialOop c++ tutorial
Oop c++ tutorial
 
Mefa unit iii material(market stuructures and pricing methods)
Mefa unit iii material(market stuructures and pricing methods)Mefa unit iii material(market stuructures and pricing methods)
Mefa unit iii material(market stuructures and pricing methods)
 
data structure
data structuredata structure
data structure
 
Mca iii dfs u-4 tree and graph
Mca iii dfs u-4 tree and graphMca iii dfs u-4 tree and graph
Mca iii dfs u-4 tree and graph
 
MEFA VI UNIT MATERIAL
MEFA VI UNIT MATERIALMEFA VI UNIT MATERIAL
MEFA VI UNIT MATERIAL
 
MEFA V UNIT MATERIAL
MEFA V UNIT MATERIALMEFA V UNIT MATERIAL
MEFA V UNIT MATERIAL
 
Mefa UNIT VI CAPITAL BUDGETING
Mefa UNIT VI CAPITAL BUDGETINGMefa UNIT VI CAPITAL BUDGETING
Mefa UNIT VI CAPITAL BUDGETING
 
MEFA I UNIT MATERIAL
MEFA I UNIT MATERIALMEFA I UNIT MATERIAL
MEFA I UNIT MATERIAL
 
MEFA IV UNIT MATERIAL
MEFA IV UNIT MATERIALMEFA IV UNIT MATERIAL
MEFA IV UNIT MATERIAL
 
C++ quik notes
C++ quik notesC++ quik notes
C++ quik notes
 
ECO 550 midterm exam all possible questions 100%
ECO 550 midterm exam   all possible questions 100%ECO 550 midterm exam   all possible questions 100%
ECO 550 midterm exam all possible questions 100%
 
MEFA II UNIT COMPLETE NOTES
MEFA II UNIT COMPLETE NOTESMEFA II UNIT COMPLETE NOTES
MEFA II UNIT COMPLETE NOTES
 
Introduction to Information Technology
Introduction to Information TechnologyIntroduction to Information Technology
Introduction to Information Technology
 

Similar to Bca2020 data structure and algorithm

Mca2010 – operating system
Mca2010 – operating systemMca2010 – operating system
Mca2010 – operating systemsmumbahelp
 
Bnt201 operating system
Bnt201  operating systemBnt201  operating system
Bnt201 operating systemsmumbahelp
 
Bca5030 software engineering
Bca5030   software engineeringBca5030   software engineering
Bca5030 software engineeringsmumbahelp
 
Bca winter 2013 2nd sem
Bca winter 2013 2nd semBca winter 2013 2nd sem
Bca winter 2013 2nd semsmumbahelp
 
Bca2050 computer organisation
Bca2050  computer organisationBca2050  computer organisation
Bca2050 computer organisationsmumbahelp
 
Mca winter 2013 2nd sem
Mca winter 2013 2nd semMca winter 2013 2nd sem
Mca winter 2013 2nd semsmumbahelp
 
Pm0011 project planning and scheduling
Pm0011  project planning and schedulingPm0011  project planning and scheduling
Pm0011 project planning and schedulingsmumbahelp
 
Bca2030 object oriented programming – c++
Bca2030  object oriented programming – c++Bca2030  object oriented programming – c++
Bca2030 object oriented programming – c++smumbahelp
 
Mca2050 computer architecture
Mca2050  computer architectureMca2050  computer architecture
Mca2050 computer architecturesmumbahelp
 
Bca2020 data structure and algorithm
Bca2020   data structure and algorithmBca2020   data structure and algorithm
Bca2020 data structure and algorithmsmumbahelp
 
Bba205 management information system
Bba205  management information systemBba205  management information system
Bba205 management information systemsmumbahelp
 
Bt0081, software engineering
Bt0081, software engineeringBt0081, software engineering
Bt0081, software engineeringsmumbahelp
 
Bt0081, software engineering
Bt0081, software engineeringBt0081, software engineering
Bt0081, software engineeringsmumbahelp
 
Bba205 – management information system
Bba205 – management information systemBba205 – management information system
Bba205 – management information systemsmumbahelp
 
Mi0033 summer-2016
Mi0033 summer-2016Mi0033 summer-2016
Mi0033 summer-2016smumbahelp
 
Mca1040 system analysis and design
Mca1040  system analysis and designMca1040  system analysis and design
Mca1040 system analysis and designsmumbahelp
 
Bca5010 web design
Bca5010  web designBca5010  web design
Bca5010 web designsmumbahelp
 
Bba205 management information system
Bba205  management information systemBba205  management information system
Bba205 management information systemsmumbahelp
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSnikshaikh786
 

Similar to Bca2020 data structure and algorithm (20)

Mca2010 – operating system
Mca2010 – operating systemMca2010 – operating system
Mca2010 – operating system
 
Bnt201 operating system
Bnt201  operating systemBnt201  operating system
Bnt201 operating system
 
Bca5030 software engineering
Bca5030   software engineeringBca5030   software engineering
Bca5030 software engineering
 
Bca winter 2013 2nd sem
Bca winter 2013 2nd semBca winter 2013 2nd sem
Bca winter 2013 2nd sem
 
Bca2050 computer organisation
Bca2050  computer organisationBca2050  computer organisation
Bca2050 computer organisation
 
Mca winter 2013 2nd sem
Mca winter 2013 2nd semMca winter 2013 2nd sem
Mca winter 2013 2nd sem
 
Pm0011 project planning and scheduling
Pm0011  project planning and schedulingPm0011  project planning and scheduling
Pm0011 project planning and scheduling
 
Bca2030 object oriented programming – c++
Bca2030  object oriented programming – c++Bca2030  object oriented programming – c++
Bca2030 object oriented programming – c++
 
Mca2050 computer architecture
Mca2050  computer architectureMca2050  computer architecture
Mca2050 computer architecture
 
midterm_fa08.pdf
midterm_fa08.pdfmidterm_fa08.pdf
midterm_fa08.pdf
 
Bca2020 data structure and algorithm
Bca2020   data structure and algorithmBca2020   data structure and algorithm
Bca2020 data structure and algorithm
 
Bba205 management information system
Bba205  management information systemBba205  management information system
Bba205 management information system
 
Bt0081, software engineering
Bt0081, software engineeringBt0081, software engineering
Bt0081, software engineering
 
Bt0081, software engineering
Bt0081, software engineeringBt0081, software engineering
Bt0081, software engineering
 
Bba205 – management information system
Bba205 – management information systemBba205 – management information system
Bba205 – management information system
 
Mi0033 summer-2016
Mi0033 summer-2016Mi0033 summer-2016
Mi0033 summer-2016
 
Mca1040 system analysis and design
Mca1040  system analysis and designMca1040  system analysis and design
Mca1040 system analysis and design
 
Bca5010 web design
Bca5010  web designBca5010  web design
Bca5010 web design
 
Bba205 management information system
Bba205  management information systemBba205  management information system
Bba205 management information system
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUS
 

Bca2020 data structure and algorithm

  • 1. Dear students get fully solved SMU MBA Spring 2014 assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601 SPRING 2014, ASSIGNMENT PROGRAM – BCA (REVISED FALL 2012) SEMESTER - II SUBJECT CODE & NAME - BCA2020/IMC2020-DATA STRUCTURE AND ALGORITHM BK ID - B1640, CREDIT – 4, MAXIMUM MARKS - 60 Q1. What do you mean by data structure operation? Briefly explain some of the operations used frequently. 4+6=10 Answer: Data Structure Operation Operations are used to process the data appearing in the data structure. In fact, the data structure is chosen based on the frequency with which specific operations are performed. Q2. Briefly explain Insertion Algorithms. 10 Answer: Insertion Algorithms We have algorithms for various situation of inserting an ITEM into linked list. Q3. What is queue? Briefly explain array implementation of queue. 5+5=10 Answer: A queue is a linear list of elements in which deletions can take place only at one end, called the front and insertions can take place only at the other end, called the rear as referred in the figure 3.7. The terms “front” and “rear” are used in describing a linear list only when it is Q4. Write a short note on: NP-Completeness and Optimization versus decision problems. 5+5=10 Answer: NP-Completeness The ‘NP’ stands for ‘nondeterministic polynomial time’, which says about the fact that a solution for certain type of a problem can be checked (but may not be found) in polynomial time. This class of algorithms informally indicates that there is a polynomial time for checking a solution for a problem whose solution may be difficult to be found out. In studying the theory of NP- Q5. Write the Algorithm to find the maximum and minimum items in a set of ‘n’ element. 5+5=10
  • 2. Answer: The problem is to find the maximum and minimum items in a set of n elements. Q6. Briefly explain Greedy Method Strategy. 10 Answer: The greedy method suggests that one can device an algorithm that works in stages, considering one input at a time. At each stage, a decision is made regarding whether a particular input is in an optimal solution. This is done by considering the inputs in an order determined by Dear students get fully solved SMU MBA Spring 2014 assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601 [SPRING, 2014] ASSIGNMENT PROGRAM – BCA (REVISED FALL 2012) SEMESTER - II SUBJECT CODE & NAME - BCA2010 – OPERATING SYSTEM CREDIT – 4 BK ID - B1405 MAX. MARKS =60 Q1. Define operating system. Explain any four major functions of operating system 2+8 = 10 Answer: Operating System is a System Software (Set of system programs) which provides an environment to help the user to execute the programs. An operating system (OS) is a software program that manages the hardware and software resources of a computer. A key component of system software, the OS performs basic tasks, such as controlling and allocating memory, Q2. What is hardware virtual machine? Discuss the three ways through which the software virtualization can be done 4+6=10 Answer: Hardware Virtual Machine The original meaning of virtual machine, sometimes called a hardware virtual machine, is that of a number of discrete identical execution environments on a single computer, each of which runs Q3. Explain the following scheduling algorithm [10 Marks]. a) First come first served b) Shortest Job First 5+5=10 Answer: a) First-Come-First-Served Scheduling Algorithm
  • 3. This is one of the brute force algorithms. A process that requests for the CPU first is allocated the CPU first. Hence, the name first come first serve. The FCFS algorithm is implemented by using a first- in-first-out (FIFO) queue structure for the ready queue. This queue has a head and a Q4. Define deadlock. Discuss any four conditions that lead to deadlock 4+6= 10 Answer: Definition: Several processes compete for a finite set of resources in a multi-programmed environment. A process requests for resources that may not be readily available at the time of the request. In such a case the process goes into a wait state. It may so happen that this process may never change Q5. Explain LRU page replacement algorithms with an example 4+6= 10 Answer: LRU page replacement algorithm The main distinction between FIFO and optimal algorithm is that the FIFO algorithm uses the time when a page was brought into memory (looks back) whereas the optimal algorithm uses the Q6. What is computer virus? List the types of virus and its various infection methods. 4+6 = 10 Answer: Computer Virus A computer virus is written with an intention of infecting other programs. It is a part of a program that piggybacks on to a valid program. It differs from the worm in the following ways: · Worm is a complete program by itself and can execute independently whereas virus does Dear students get fully solved SMU MBA Spring 2014 assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601