SlideShare a Scribd company logo
1 of 3
Dear students get fully solved assignments 
Send your semester & Specialization name to our mail id : 
“ help.mbaassignments@gmail.com ” 
or 
Call us at : 08263069601 
(Prefer mailing. Call in emergency ) 
Assignment 
PROGRAM B.Sc IT 
SEMESTER FIRST 
SUBJECT CODE & NAME BT0065-C Programming and Data Structures 
CREDIT 3 
BK ID B0949 
MAX.MARKS 60 
Note – Answer all questions. Each question is followed by evaluation scheme. 
Q.1 Why data types are required in any programming language? Explain in detail the primary data 
types of C language. 
Answer: - Data types are required in any programming language:- a data type or simply type is a 
classification identifying one of various types of data, such as real, integer or Boolean, that determines 
the possible values for that type; the operations that can be done on values of that type; the meaning of 
the data; and the way values of that type can be stored. 
Data types are used within type systems, which offer various ways of defining, implementing and using 
them. Different type systems ensure varying degrees of type safety. 
Almost all programming languages explicitly include the notion of data type, though different languages 
may use different terminology. Common data types 
Q.2 Explain the structure of the C program.
Answer: - Structure of the C program:- Structure is the collection of variables of different types under a 
single name for better handling. For example: You want to store the information about person about 
his/her name, citizenship number and salary. You can create these information separately but, better 
approach will be collection of these information under single name because all these information are 
related to person. 
Structure Definition in C 
Q.3 i. What is recursion? 
ii. Differentiate between recursion and iteration. 
iii. Write a program to generate Fibonacci series using recursion. 
Answer:- Recursion:- 
Recursion is the process of repeating items in a self-similar way. For instance, when the surfaces of two 
mirrors are exactly parallel with each other, the nested images that occur are a form of infinite 
recursion. The term has a variety of meanings specific to a variety of disciplines ranging from linguistics 
to logic. 
The most common application of recursion is in mathematics and computer science, in which it refers 
to a method of defining functions in which the function being defined is applied within its own 
definition. 
Q.4 What do you mean by dynamic memory allocation? Explain the three functions for dynamic 
memory allocation in C language. 
Answer: - Dynamic memory allocation:- Dynamic memory allocation is when an executing program 
requests that the operating system give it a block of main memory. The program then uses this memory 
for some purpose. Usually the purpose is to add a node to a data structure. In object oriented languages, 
dynamic memory allocation is used to get the memory for a new object. 
The memory comes from above the static part of the data segment. Programs may request memory and 
may also return previously dynamically allocated memory 
Q.5 Write C program to implement stack using arrays. 
Answer:- C program to implement stack using arrays:-
Q.6 What do you mean by binary tree? Explain the storage representations of binary tree. 
Answer: - Binary tree:- a binary tree is a tree data structure in which each node has at most two 
children, which are referred to as the left child and the right child. A recursive definition using just set 
theory notions is that a (non-empty) binary tree is a triple (L, S, R), where L and R are binary trees or the 
empty set and S is a singleton set.[1] Some authors allow the binary tree to be the empty set as well.[2] 
From a graph theory perspective, binary (and K-ary) trees as defined here are actually arborescences.[3] 
A binary tree may thus be also called a bifurcating arborescence[3]—a term which actually appears in 
some very old programming books,[4] before the 
Dear students get fully solved assignments 
Send your semester & Specialization name to our mail id : 
“ help.mbaassignments@gmail.com ” 
or 
Call us at : 08263069601 
(Prefer mailing. Call in emergency )

More Related Content

What's hot

What's hot (20)

Structures in c language
Structures in c languageStructures in c language
Structures in c language
 
User defined data type
User defined data typeUser defined data type
User defined data type
 
Introduction to data structure
Introduction to data structureIntroduction to data structure
Introduction to data structure
 
Data Types - Premetive and Non Premetive
Data Types - Premetive and Non Premetive Data Types - Premetive and Non Premetive
Data Types - Premetive and Non Premetive
 
Relational Model
Relational ModelRelational Model
Relational Model
 
Structures in c++
Structures in c++Structures in c++
Structures in c++
 
Cs8391 notes rejinpaul
Cs8391 notes rejinpaulCs8391 notes rejinpaul
Cs8391 notes rejinpaul
 
Data types in C
Data types in CData types in C
Data types in C
 
Data types in C language
Data types in C languageData types in C language
Data types in C language
 
Lecture 3.mte 407
Lecture 3.mte 407Lecture 3.mte 407
Lecture 3.mte 407
 
R data types
R data typesR data types
R data types
 
data types in C programming
data types in C programmingdata types in C programming
data types in C programming
 
Concept Of C++ Data Types
Concept Of C++ Data TypesConcept Of C++ Data Types
Concept Of C++ Data Types
 
Data Structure Question Bank(2 marks)
Data Structure Question Bank(2 marks)Data Structure Question Bank(2 marks)
Data Structure Question Bank(2 marks)
 
Arrays in c_language
Arrays in c_language Arrays in c_language
Arrays in c_language
 
C++ data types
C++ data typesC++ data types
C++ data types
 
R Datatypes
R DatatypesR Datatypes
R Datatypes
 
Enumerated data types in C
Enumerated data types in CEnumerated data types in C
Enumerated data types in C
 
record_linking
record_linkingrecord_linking
record_linking
 
Variables & Data Types in R
Variables & Data Types in RVariables & Data Types in R
Variables & Data Types in R
 

Viewers also liked

Mb0048 operations research
Mb0048   operations researchMb0048   operations research
Mb0048 operations researchsmumbahelp
 
Acton case study-final
Acton case study-finalActon case study-final
Acton case study-finalMark Organ
 
Ms 05 management of machines and materials
Ms 05 management of machines and materialsMs 05 management of machines and materials
Ms 05 management of machines and materialssmumbahelp
 
Quaser High Speed Machining Centers
Quaser High Speed Machining CentersQuaser High Speed Machining Centers
Quaser High Speed Machining CentersVMC Technologies
 
Isbm solved assignments 2015 2
Isbm solved assignments 2015 2Isbm solved assignments 2015 2
Isbm solved assignments 2015 2smumbahelp
 
Om0011 enterprise resource planning
Om0011  enterprise resource planningOm0011  enterprise resource planning
Om0011 enterprise resource planningsmumbahelp
 
Industrial management
Industrial managementIndustrial management
Industrial managementsmumbahelp
 
Mi0033 software engineering
Mi0033   software engineeringMi0033   software engineering
Mi0033 software engineeringsmumbahelp
 
Introduction to treatment_of_tannery_effluents
Introduction to treatment_of_tannery_effluentsIntroduction to treatment_of_tannery_effluents
Introduction to treatment_of_tannery_effluentssafwan patel
 

Viewers also liked (11)

Bt0066 dbms
Bt0066 dbmsBt0066 dbms
Bt0066 dbms
 
Mb0048 operations research
Mb0048   operations researchMb0048   operations research
Mb0048 operations research
 
Acton case study-final
Acton case study-finalActon case study-final
Acton case study-final
 
Ms 05 management of machines and materials
Ms 05 management of machines and materialsMs 05 management of machines and materials
Ms 05 management of machines and materials
 
Quaser High Speed Machining Centers
Quaser High Speed Machining CentersQuaser High Speed Machining Centers
Quaser High Speed Machining Centers
 
Isbm solved assignments 2015 2
Isbm solved assignments 2015 2Isbm solved assignments 2015 2
Isbm solved assignments 2015 2
 
Om0011 enterprise resource planning
Om0011  enterprise resource planningOm0011  enterprise resource planning
Om0011 enterprise resource planning
 
Industrial management
Industrial managementIndustrial management
Industrial management
 
Social Media Marketing Strategy
Social Media Marketing StrategySocial Media Marketing Strategy
Social Media Marketing Strategy
 
Mi0033 software engineering
Mi0033   software engineeringMi0033   software engineering
Mi0033 software engineering
 
Introduction to treatment_of_tannery_effluents
Introduction to treatment_of_tannery_effluentsIntroduction to treatment_of_tannery_effluents
Introduction to treatment_of_tannery_effluents
 

Similar to Get fully solved MBA assignments by semester and specialization

Bt0065, c programming and data structures
Bt0065, c programming and data structuresBt0065, c programming and data structures
Bt0065, c programming and data structuressmumbahelp
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systemssmumbahelp
 
MC0077 SMU 2013 Fall Session
MC0077 SMU 2013 Fall SessionMC0077 SMU 2013 Fall Session
MC0077 SMU 2013 Fall SessionNarinder Kumar
 
Mca1040 system analysis and design
Mca1040  system analysis and designMca1040  system analysis and design
Mca1040 system analysis and designsmumbahelp
 
Mca2020 advanced data structure
Mca2020  advanced data structureMca2020  advanced data structure
Mca2020 advanced data structuresmumbahelp
 
Mi0034 database management system
Mi0034 database management systemMi0034 database management system
Mi0034 database management systemconsult4solutions
 
СРС АКТ Малошов Нұралы ВМ-МҚБ-11-23.pptx
СРС АКТ Малошов Нұралы ВМ-МҚБ-11-23.pptxСРС АКТ Малошов Нұралы ВМ-МҚБ-11-23.pptx
СРС АКТ Малошов Нұралы ВМ-МҚБ-11-23.pptxssuser8719a6
 
Ch-3(b) - Variables and Data types in C++.pptx
Ch-3(b) - Variables and Data types in C++.pptxCh-3(b) - Variables and Data types in C++.pptx
Ch-3(b) - Variables and Data types in C++.pptxChereLemma2
 
Mi0034 – database management system
Mi0034 – database management systemMi0034 – database management system
Mi0034 – database management systemsmumbahelp
 
Mi0034 database management system
Mi0034   database management systemMi0034   database management system
Mi0034 database management systemsmumbahelp
 
Mi0034 summer-2016
Mi0034 summer-2016Mi0034 summer-2016
Mi0034 summer-2016smumbahelp
 
Bca examination 2015 dbms
Bca examination 2015 dbmsBca examination 2015 dbms
Bca examination 2015 dbmsAnjaan Gajendra
 
cprogramming questions for practice end term
cprogramming questions for practice end termcprogramming questions for practice end term
cprogramming questions for practice end termSheelendra3
 
Mi0034 database management system
Mi0034   database management systemMi0034   database management system
Mi0034 database management systemStudy Stuff
 
Mca1040 system analysis and design
Mca1040  system analysis and designMca1040  system analysis and design
Mca1040 system analysis and designsmumbahelp
 
Mca1040 system analysis and design
Mca1040  system analysis and designMca1040  system analysis and design
Mca1040 system analysis and designsmumbahelp
 
Mi0034 – database management system
Mi0034 – database management systemMi0034 – database management system
Mi0034 – database management systemsmumbahelp
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programmingsmumbahelp
 

Similar to Get fully solved MBA assignments by semester and specialization (20)

Bt0065, c programming and data structures
Bt0065, c programming and data structuresBt0065, c programming and data structures
Bt0065, c programming and data structures
 
Mi0034 database management systems
Mi0034  database management systemsMi0034  database management systems
Mi0034 database management systems
 
MC0077 SMU 2013 Fall Session
MC0077 SMU 2013 Fall SessionMC0077 SMU 2013 Fall Session
MC0077 SMU 2013 Fall Session
 
Mca1040 system analysis and design
Mca1040  system analysis and designMca1040  system analysis and design
Mca1040 system analysis and design
 
Bt0066 dbms
Bt0066 dbmsBt0066 dbms
Bt0066 dbms
 
Mca2020 advanced data structure
Mca2020  advanced data structureMca2020  advanced data structure
Mca2020 advanced data structure
 
Mi0034 database management system
Mi0034 database management systemMi0034 database management system
Mi0034 database management system
 
СРС АКТ Малошов Нұралы ВМ-МҚБ-11-23.pptx
СРС АКТ Малошов Нұралы ВМ-МҚБ-11-23.pptxСРС АКТ Малошов Нұралы ВМ-МҚБ-11-23.pptx
СРС АКТ Малошов Нұралы ВМ-МҚБ-11-23.pptx
 
Ch-3(b) - Variables and Data types in C++.pptx
Ch-3(b) - Variables and Data types in C++.pptxCh-3(b) - Variables and Data types in C++.pptx
Ch-3(b) - Variables and Data types in C++.pptx
 
Mi0034 – database management system
Mi0034 – database management systemMi0034 – database management system
Mi0034 – database management system
 
Mi0034 database management system
Mi0034   database management systemMi0034   database management system
Mi0034 database management system
 
Mi0034 summer-2016
Mi0034 summer-2016Mi0034 summer-2016
Mi0034 summer-2016
 
Bca examination 2015 dbms
Bca examination 2015 dbmsBca examination 2015 dbms
Bca examination 2015 dbms
 
cprogramming questions for practice end term
cprogramming questions for practice end termcprogramming questions for practice end term
cprogramming questions for practice end term
 
Mi0034 database management system
Mi0034   database management systemMi0034   database management system
Mi0034 database management system
 
Mca1040 system analysis and design
Mca1040  system analysis and designMca1040  system analysis and design
Mca1040 system analysis and design
 
Mca1040 system analysis and design
Mca1040  system analysis and designMca1040  system analysis and design
Mca1040 system analysis and design
 
Bt0066 dbms
Bt0066 dbmsBt0066 dbms
Bt0066 dbms
 
Mi0034 – database management system
Mi0034 – database management systemMi0034 – database management system
Mi0034 – database management system
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
 

Get fully solved MBA assignments by semester and specialization

  • 1. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601 (Prefer mailing. Call in emergency ) Assignment PROGRAM B.Sc IT SEMESTER FIRST SUBJECT CODE & NAME BT0065-C Programming and Data Structures CREDIT 3 BK ID B0949 MAX.MARKS 60 Note – Answer all questions. Each question is followed by evaluation scheme. Q.1 Why data types are required in any programming language? Explain in detail the primary data types of C language. Answer: - Data types are required in any programming language:- a data type or simply type is a classification identifying one of various types of data, such as real, integer or Boolean, that determines the possible values for that type; the operations that can be done on values of that type; the meaning of the data; and the way values of that type can be stored. Data types are used within type systems, which offer various ways of defining, implementing and using them. Different type systems ensure varying degrees of type safety. Almost all programming languages explicitly include the notion of data type, though different languages may use different terminology. Common data types Q.2 Explain the structure of the C program.
  • 2. Answer: - Structure of the C program:- Structure is the collection of variables of different types under a single name for better handling. For example: You want to store the information about person about his/her name, citizenship number and salary. You can create these information separately but, better approach will be collection of these information under single name because all these information are related to person. Structure Definition in C Q.3 i. What is recursion? ii. Differentiate between recursion and iteration. iii. Write a program to generate Fibonacci series using recursion. Answer:- Recursion:- Recursion is the process of repeating items in a self-similar way. For instance, when the surfaces of two mirrors are exactly parallel with each other, the nested images that occur are a form of infinite recursion. The term has a variety of meanings specific to a variety of disciplines ranging from linguistics to logic. The most common application of recursion is in mathematics and computer science, in which it refers to a method of defining functions in which the function being defined is applied within its own definition. Q.4 What do you mean by dynamic memory allocation? Explain the three functions for dynamic memory allocation in C language. Answer: - Dynamic memory allocation:- Dynamic memory allocation is when an executing program requests that the operating system give it a block of main memory. The program then uses this memory for some purpose. Usually the purpose is to add a node to a data structure. In object oriented languages, dynamic memory allocation is used to get the memory for a new object. The memory comes from above the static part of the data segment. Programs may request memory and may also return previously dynamically allocated memory Q.5 Write C program to implement stack using arrays. Answer:- C program to implement stack using arrays:-
  • 3. Q.6 What do you mean by binary tree? Explain the storage representations of binary tree. Answer: - Binary tree:- a binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child. A recursive definition using just set theory notions is that a (non-empty) binary tree is a triple (L, S, R), where L and R are binary trees or the empty set and S is a singleton set.[1] Some authors allow the binary tree to be the empty set as well.[2] From a graph theory perspective, binary (and K-ary) trees as defined here are actually arborescences.[3] A binary tree may thus be also called a bifurcating arborescence[3]—a term which actually appears in some very old programming books,[4] before the Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601 (Prefer mailing. Call in emergency )