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
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.Kindlynote that answersfor 10 marks questionsshouldbe approximately
of 400 words. Each questionis followedbyevaluationscheme.
Q.1 Explainthe structure of the C program.
Answer:A C program basicallyhasthe followingform:
 PreprocessorCommands
 Functions
 Variables
Q.2 Explainbubble sort with the helpof an example.
Answer: Bubble sorting is one of the simplest sorting algorithm that we can use to sort an array or a
structure. Though it is so simple to implement in a C program, bubble sort is also considered as an
inefficient sorting algorithm. Bubble sort comes handy in cases where the total number of elements to
be sorted is so small (may be in the 100’s range). When the data size is large/huge bubble sort is seldom
used in practical programming world. Let’s analyse bubble sort algorithm in detail by implementing it as
a C program.
Q.3 What is structure? What is its importance? Explain with an example how to declare and initialize
structure.
Answer: A structure is a collection of variables under a single name. These variables can be of different
types, and each has a name which is used to select it from the structure. A structure is a convenient way
of groupingseveral piecesof relatedinformationtogether.
A structure can be defined as a new named type, thus extending the number of available types. It can
use otherstructures,arrays or pointersassome of its
Q.4 Explainall file openfunctionswith examples.
Answer:File handlingisacore concept in programminglanguage.
File handlingfunctions
fopen()
FILE *fopen(constchar*path,const char *mode);
The fopen() function is used to open a file and associates an I/O stream with it. This function takes two
arguments. The first argumentis a pointer to a string containing name of the file to be opened while the
secondargumentisthe mode inwhichthe file isto be opened.The mode canbe :
 ‘r’ : Opentextfile forreading.The streamis
Q.5 Write a program to implementstack usingarrays.
Answer:
#include
#define SIZE4
voidpush();
voidpop();
Q.6 Write an algorithm for selection sort. Sort the list given below in ascending order by using this
sorting technique.64,25, 12, 22 , 11
Answer: Selection sort is a sorting algorithm, specifically an in-place comparison sort. It has O(n2) time
complexity, making it inefficient on large lists, and generally performs worse than the similar insertion
sort. Selectionsortisnotedforitssimplicity,andithas
Dear students get fully solved 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

Accurately and Reliably Extracting Data from the Web:
Accurately and Reliably Extracting Data from the Web: Accurately and Reliably Extracting Data from the Web:
Accurately and Reliably Extracting Data from the Web: butest
 
Programming in C session 3
Programming in C session 3Programming in C session 3
Programming in C session 3Prerna Sharma
 
C programming session 07
C programming session 07C programming session 07
C programming session 07Dushmanta Nath
 
Enumerated data types in C
Enumerated data types in CEnumerated data types in C
Enumerated data types in CArpana shree
 
Structure in c language
Structure in c languageStructure in c language
Structure in c languagesangrampatil81
 
C programing -Structure
C programing -StructureC programing -Structure
C programing -Structureshaibal sharif
 
Presentation on c programing satcture
Presentation on c programing satcture Presentation on c programing satcture
Presentation on c programing satcture topu93
 
User defined data type
User defined data typeUser defined data type
User defined data typeAmit Kapoor
 
Learning VB.NET Programming Concepts
Learning VB.NET Programming ConceptsLearning VB.NET Programming Concepts
Learning VB.NET Programming Conceptsguest25d6e3
 
C programming session 09
C programming session 09C programming session 09
C programming session 09Dushmanta Nath
 
Bt0065 c programming and data structures - theory-de
Bt0065 c programming and data structures - theory-deBt0065 c programming and data structures - theory-de
Bt0065 c programming and data structures - theory-desmumbahelp
 

What's hot (20)

Accurately and Reliably Extracting Data from the Web:
Accurately and Reliably Extracting Data from the Web: Accurately and Reliably Extracting Data from the Web:
Accurately and Reliably Extracting Data from the Web:
 
Structures
StructuresStructures
Structures
 
Programming in C session 3
Programming in C session 3Programming in C session 3
Programming in C session 3
 
C programming session 07
C programming session 07C programming session 07
C programming session 07
 
Structure in C
Structure in CStructure in C
Structure in C
 
Ir 09
Ir   09Ir   09
Ir 09
 
Data types vbnet
Data types vbnetData types vbnet
Data types vbnet
 
Enumerated data types in C
Enumerated data types in CEnumerated data types in C
Enumerated data types in C
 
Structure in c language
Structure in c languageStructure in c language
Structure in c language
 
Normalization
NormalizationNormalization
Normalization
 
C programing -Structure
C programing -StructureC programing -Structure
C programing -Structure
 
Presentation on c programing satcture
Presentation on c programing satcture Presentation on c programing satcture
Presentation on c programing satcture
 
Structure c
Structure cStructure c
Structure c
 
User defined data type
User defined data typeUser defined data type
User defined data type
 
Learning VB.NET Programming Concepts
Learning VB.NET Programming ConceptsLearning VB.NET Programming Concepts
Learning VB.NET Programming Concepts
 
C programming session 09
C programming session 09C programming session 09
C programming session 09
 
Structure in c
Structure in cStructure in c
Structure in c
 
Bt0065 c programming and data structures - theory-de
Bt0065 c programming and data structures - theory-deBt0065 c programming and data structures - theory-de
Bt0065 c programming and data structures - theory-de
 
Structure in C language
Structure in C languageStructure in C language
Structure in C language
 
Impquest2
Impquest2Impquest2
Impquest2
 

Viewers also liked

09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structures09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structuresjntuworld
 
07 A1 Ec01 C Programming And Data Structures
07 A1 Ec01 C Programming And Data Structures07 A1 Ec01 C Programming And Data Structures
07 A1 Ec01 C Programming And Data Structuresguestac67362
 
C Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYC Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYRajeshkumar Reddy
 
important C questions and_answers praveensomesh
important C questions and_answers praveensomeshimportant C questions and_answers praveensomesh
important C questions and_answers praveensomeshpraveensomesh
 
25422733 c-programming-and-data-structures-lab-manual
25422733 c-programming-and-data-structures-lab-manual25422733 c-programming-and-data-structures-lab-manual
25422733 c-programming-and-data-structures-lab-manualkamesh dagia
 
VTU PCD Model Question Paper - Programming in C
VTU PCD Model Question Paper - Programming in CVTU PCD Model Question Paper - Programming in C
VTU PCD Model Question Paper - Programming in CSyed Mustafa
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit orderMalikireddy Bramhananda Reddy
 
C programming & data structure [character strings & string functions]
C programming & data structure   [character strings & string functions]C programming & data structure   [character strings & string functions]
C programming & data structure [character strings & string functions]MomenMostafa
 

Viewers also liked (15)

09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structures09 a1ec01 c programming and data structures
09 a1ec01 c programming and data structures
 
07 A1 Ec01 C Programming And Data Structures
07 A1 Ec01 C Programming And Data Structures07 A1 Ec01 C Programming And Data Structures
07 A1 Ec01 C Programming And Data Structures
 
C Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYC Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDY
 
important C questions and_answers praveensomesh
important C questions and_answers praveensomeshimportant C questions and_answers praveensomesh
important C questions and_answers praveensomesh
 
6th Semester (December; January-2014 and 2015) Computer Science and Informati...
6th Semester (December; January-2014 and 2015) Computer Science and Informati...6th Semester (December; January-2014 and 2015) Computer Science and Informati...
6th Semester (December; January-2014 and 2015) Computer Science and Informati...
 
25422733 c-programming-and-data-structures-lab-manual
25422733 c-programming-and-data-structures-lab-manual25422733 c-programming-and-data-structures-lab-manual
25422733 c-programming-and-data-structures-lab-manual
 
6th Semester (June; July-2015) Computer Science and Information Science Engin...
6th Semester (June; July-2015) Computer Science and Information Science Engin...6th Semester (June; July-2015) Computer Science and Information Science Engin...
6th Semester (June; July-2015) Computer Science and Information Science Engin...
 
1st semester chemistry stream (2015-June) Question Papers
1st semester chemistry stream (2015-June) Question Papers 1st semester chemistry stream (2015-June) Question Papers
1st semester chemistry stream (2015-June) Question Papers
 
6th Semester (June; July-2014) Computer Science and Information Science Engin...
6th Semester (June; July-2014) Computer Science and Information Science Engin...6th Semester (June; July-2014) Computer Science and Information Science Engin...
6th Semester (June; July-2014) Computer Science and Information Science Engin...
 
6th semester Computer Science and Information Science Engg (2013 December) Qu...
6th semester Computer Science and Information Science Engg (2013 December) Qu...6th semester Computer Science and Information Science Engg (2013 December) Qu...
6th semester Computer Science and Information Science Engg (2013 December) Qu...
 
VTU PCD Model Question Paper - Programming in C
VTU PCD Model Question Paper - Programming in CVTU PCD Model Question Paper - Programming in C
VTU PCD Model Question Paper - Programming in C
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
 
6th Semester CS / IS (2013-June) Question Papers
6th Semester CS / IS (2013-June) Question Papers6th Semester CS / IS (2013-June) Question Papers
6th Semester CS / IS (2013-June) Question Papers
 
C programming & data structure [character strings & string functions]
C programming & data structure   [character strings & string functions]C programming & data structure   [character strings & string functions]
C programming & data structure [character strings & string functions]
 
Writing algorithms
Writing algorithmsWriting algorithms
Writing algorithms
 

Similar to Get fully solved C Programming assignments for BSC IT semester 1

4 pillars of OOPS CONCEPT
4 pillars of OOPS CONCEPT4 pillars of OOPS CONCEPT
4 pillars of OOPS CONCEPTAjay Chimmani
 
Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in csmumbahelp
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in csmumbahelp
 
Presentation 1st
Presentation 1stPresentation 1st
Presentation 1stConnex
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in csmumbahelp
 
Presentation 3rd
Presentation 3rdPresentation 3rd
Presentation 3rdConnex
 
Interoduction to c++
Interoduction to c++Interoduction to c++
Interoduction to c++Amresh Raj
 
Java 2 chapter 10 - basic oop in java
Java 2   chapter 10 - basic oop in javaJava 2   chapter 10 - basic oop in java
Java 2 chapter 10 - basic oop in javalet's go to study
 
VB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.pptVB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.pptBhuvanaR13
 
C Sharp: Basic to Intermediate Part 01
C Sharp: Basic to Intermediate Part 01C Sharp: Basic to Intermediate Part 01
C Sharp: Basic to Intermediate Part 01Zafor Iqbal
 
OOP, Networking, Linux/Unix
OOP, Networking, Linux/UnixOOP, Networking, Linux/Unix
OOP, Networking, Linux/UnixNovita Sari
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in csmumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programmingsmumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programmingsmumbahelp
 
Bca winter 2013 2nd sem
Bca winter 2013 2nd semBca winter 2013 2nd sem
Bca winter 2013 2nd semsmumbahelp
 
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
 
Introduction to objective c
Introduction to objective cIntroduction to objective c
Introduction to objective cSunny Shaikh
 
The Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docxThe Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docxjmindy
 

Similar to Get fully solved C Programming assignments for BSC IT semester 1 (20)

4 pillars of OOPS CONCEPT
4 pillars of OOPS CONCEPT4 pillars of OOPS CONCEPT
4 pillars of OOPS CONCEPT
 
Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in c
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
 
Presentation 1st
Presentation 1stPresentation 1st
Presentation 1st
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
 
Presentation 3rd
Presentation 3rdPresentation 3rd
Presentation 3rd
 
Interoduction to c++
Interoduction to c++Interoduction to c++
Interoduction to c++
 
Java 2 chapter 10 - basic oop in java
Java 2   chapter 10 - basic oop in javaJava 2   chapter 10 - basic oop in java
Java 2 chapter 10 - basic oop in java
 
VB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.pptVB_ERROR CONTROL_FILE HANDLING.ppt
VB_ERROR CONTROL_FILE HANDLING.ppt
 
C Sharp: Basic to Intermediate Part 01
C Sharp: Basic to Intermediate Part 01C Sharp: Basic to Intermediate Part 01
C Sharp: Basic to Intermediate Part 01
 
OOP, Networking, Linux/Unix
OOP, Networking, Linux/UnixOOP, Networking, Linux/Unix
OOP, Networking, Linux/Unix
 
Oops ppt
Oops pptOops ppt
Oops ppt
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
 
Bca winter 2013 2nd sem
Bca winter 2013 2nd semBca winter 2013 2nd sem
Bca winter 2013 2nd sem
 
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
 
My c++
My c++My c++
My c++
 
Introduction to objective c
Introduction to objective cIntroduction to objective c
Introduction to objective c
 
The Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docxThe Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docx
 

Get fully solved C Programming assignments for BSC IT semester 1

  • 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 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.Kindlynote that answersfor 10 marks questionsshouldbe approximately of 400 words. Each questionis followedbyevaluationscheme. Q.1 Explainthe structure of the C program. Answer:A C program basicallyhasthe followingform:  PreprocessorCommands  Functions  Variables Q.2 Explainbubble sort with the helpof an example. Answer: Bubble sorting is one of the simplest sorting algorithm that we can use to sort an array or a structure. Though it is so simple to implement in a C program, bubble sort is also considered as an inefficient sorting algorithm. Bubble sort comes handy in cases where the total number of elements to be sorted is so small (may be in the 100’s range). When the data size is large/huge bubble sort is seldom used in practical programming world. Let’s analyse bubble sort algorithm in detail by implementing it as a C program.
  • 2. Q.3 What is structure? What is its importance? Explain with an example how to declare and initialize structure. Answer: A structure is a collection of variables under a single name. These variables can be of different types, and each has a name which is used to select it from the structure. A structure is a convenient way of groupingseveral piecesof relatedinformationtogether. A structure can be defined as a new named type, thus extending the number of available types. It can use otherstructures,arrays or pointersassome of its Q.4 Explainall file openfunctionswith examples. Answer:File handlingisacore concept in programminglanguage. File handlingfunctions fopen() FILE *fopen(constchar*path,const char *mode); The fopen() function is used to open a file and associates an I/O stream with it. This function takes two arguments. The first argumentis a pointer to a string containing name of the file to be opened while the secondargumentisthe mode inwhichthe file isto be opened.The mode canbe :  ‘r’ : Opentextfile forreading.The streamis Q.5 Write a program to implementstack usingarrays. Answer: #include #define SIZE4 voidpush(); voidpop(); Q.6 Write an algorithm for selection sort. Sort the list given below in ascending order by using this sorting technique.64,25, 12, 22 , 11 Answer: Selection sort is a sorting algorithm, specifically an in-place comparison sort. It has O(n2) time complexity, making it inefficient on large lists, and generally performs worse than the similar insertion sort. Selectionsortisnotedforitssimplicity,andithas Dear students get fully solved assignments
  • 3. Send your semester & Specialization name to our mail id : “ help.mbaassignments@gmail.com ” or Call us at : 08263069601