SlideShare a Scribd company logo
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 BCA 
SEMESTER FIRST 
SUBJECT CODE & NAME MCA1020- PROGRAMMING IN C 
CREDIT 4 
BK ID B1639 
MAX.MARKS 60 
Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately 
of 400 words. Each question is followed by evaluation scheme. 
Q.1 Define operators. Briefly explain about any four Operators in C. 
Answer: - Operators are the symbol which operates on value or a variable. For example: + is a operator 
to perform addition programming language has wide range of operators to perform various operations. 
For better understanding of operators, these 
2 Differentiate between while and do-while statements. 
Answer: - While: - The while loop checks whether the test expression is true or not. If it is true, code/s 
inside the body of while loop is executed, that is, code/s inside the braces { } are executed. Then again 
the test expression is checked whether test expression is true or not. This process continues until the 
test expression becomes false. 
Q. 3. Describe about static and external variables.
Answer:- Lifetime of a static variables is throughout a program but its accessibility within the function in 
which it is declared. External variables are global variables. it can be accessed in any function within a 
program or out side of the program. 
external variables:- In the C programming language, an external variable is a variable defined outside 
any function block. On the other hand, a local ( 
4 Define structure. What is the syntax for defining a structure? Write a simple program using 
structure. 
Answer: - Structure:- A struct in the C programming language (and many derivatives) is a complex data 
type declaration that defines a physically grouped list of variables to be placed under one name in a 
block of memory, allowing the different variables to be accessed via a single pointer, or the struct 
declared name which returns the same address. The struct can contain many other complex and simple 
data types in an association, so is a natural organizing 
Q. 5 Define macro. How we can declare a macro statement? Explain with an example. 
Answer:- A Macro is typically an abbreviated name given to a piece of code or a value. Macros can also 
be defined without any value or piece of code but in that case they are used only for testing purpose. 
Defining Macros without values 
Q. 6 What is the use of fopen () and fclose () function? List and explain different modes for opening a 
file. 
Answer:- Opening And Closing A Disk File 
 Before we dive into the details, take note that the program examples presented here just for 
basic file I/O that applies to DOS and Linux. 
 For Windows, you have to study the Win32 programming that provides specifics file I/O and 
other related functions. Here we do not 
Dear students get fully solved assignments 
Send your semester & Specialization name to our mail id : 
“ help.mbaassignments@gmail.com ” 
or
Call us at : 08263069601
Ad

More Related Content

What's hot (19)

Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
smumbahelp
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
smumbahelp
 
Bt0074
Bt0074Bt0074
Bt0074
smumbahelp
 
Mit4021 c# and .net
Mit4021   c# and .netMit4021   c# and .net
Mit4021 c# and .net
smumbahelp
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
talha ijaz
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
smumbahelp
 
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...
Simplilearn
 
Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in c
smumbahelp
 
Mca 108
Mca 108Mca 108
Mca 108
smumbahelp
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
Study_of_Sequence_labeling_Systems
Study_of_Sequence_labeling_SystemsStudy_of_Sequence_labeling_Systems
Study_of_Sequence_labeling_Systems
Jayavardhan Reddy Peddamail
 
End-to-end sequence labeling via bi-directional LSTM-CNNs-CRF
End-to-end sequence labeling via bi-directional LSTM-CNNs-CRFEnd-to-end sequence labeling via bi-directional LSTM-CNNs-CRF
End-to-end sequence labeling via bi-directional LSTM-CNNs-CRF
Jayavardhan Reddy Peddamail
 
Smu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignmentsSmu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignments
smumbahelp
 
Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with java
smumbahelp
 
Lecture 2
Lecture 2Lecture 2
Lecture 2
Md. Rakibuzzaman Khan Pathan
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
smumbahelp
 
Chapter 7 review questions
Chapter 7 review questionsChapter 7 review questions
Chapter 7 review questions
loayshabaneh
 
C# question answers
C# question answersC# question answers
C# question answers
application developer
 
Chapter 8 review questions
Chapter 8 review questionsChapter 8 review questions
Chapter 8 review questions
loayshabaneh
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
smumbahelp
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
smumbahelp
 
Mit4021 c# and .net
Mit4021   c# and .netMit4021   c# and .net
Mit4021 c# and .net
smumbahelp
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
smumbahelp
 
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...
C# Interface | Interfaces In C# | C# Interfaces Explained | C# Tutorial For B...
Simplilearn
 
Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in c
smumbahelp
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
End-to-end sequence labeling via bi-directional LSTM-CNNs-CRF
End-to-end sequence labeling via bi-directional LSTM-CNNs-CRFEnd-to-end sequence labeling via bi-directional LSTM-CNNs-CRF
End-to-end sequence labeling via bi-directional LSTM-CNNs-CRF
Jayavardhan Reddy Peddamail
 
Smu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignmentsSmu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignments
smumbahelp
 
Bt0074 oop with java
Bt0074   oop with javaBt0074   oop with java
Bt0074 oop with java
smumbahelp
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
smumbahelp
 
Chapter 7 review questions
Chapter 7 review questionsChapter 7 review questions
Chapter 7 review questions
loayshabaneh
 
Chapter 8 review questions
Chapter 8 review questionsChapter 8 review questions
Chapter 8 review questions
loayshabaneh
 

Similar to Mca1020 programming in c (20)

Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
smumbahelp
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
smumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
smumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
smumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
Study Stuff
 
Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in c
smumbahelp
 
Bca winter 2013 2nd sem
Bca winter 2013 2nd semBca winter 2013 2nd sem
Bca winter 2013 2nd sem
smumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
smumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
smumbahelp
 
Bt0082, visual basic
Bt0082, visual basicBt0082, visual basic
Bt0082, visual basic
smumbahelp
 
C programming session7
C programming  session7C programming  session7
C programming session7
Keroles karam khalil
 
C programming session7
C programming  session7C programming  session7
C programming session7
Keroles karam khalil
 
Bt0065, c programming and data structures
Bt0065, c programming and data structuresBt0065, c programming and data structures
Bt0065, c programming and data structures
smumbahelp
 
Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in java
smumbahelp
 
Password protected diary
Password protected diaryPassword protected diary
Password protected diary
SHARDA SHARAN
 
Bc0051 – system software
Bc0051 – system softwareBc0051 – system software
Bc0051 – system software
smumbahelp
 
Bca5010 web design
Bca5010  web designBca5010  web design
Bca5010 web design
smumbahelp
 
Mca winter 2013 2nd sem
Mca winter 2013 2nd semMca winter 2013 2nd sem
Mca winter 2013 2nd sem
smumbahelp
 
Chapter 5: Names, Bindings and Scopes (review Questions and Problem Set)
Chapter 5: Names, Bindings and Scopes (review Questions and Problem Set)Chapter 5: Names, Bindings and Scopes (review Questions and Problem Set)
Chapter 5: Names, Bindings and Scopes (review Questions and Problem Set)
Farwa Ansari
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
smumbahelp
 
Bca1020 programming in c
Bca1020  programming in cBca1020  programming in c
Bca1020 programming in c
smumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
smumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
smumbahelp
 
Mi0041 java and web design
Mi0041  java and web designMi0041  java and web design
Mi0041 java and web design
Study Stuff
 
Mca1020 programming in c
Mca1020  programming in cMca1020  programming in c
Mca1020 programming in c
smumbahelp
 
Bca winter 2013 2nd sem
Bca winter 2013 2nd semBca winter 2013 2nd sem
Bca winter 2013 2nd sem
smumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
smumbahelp
 
Bca5020 visual programming
Bca5020  visual programmingBca5020  visual programming
Bca5020 visual programming
smumbahelp
 
Bt0082, visual basic
Bt0082, visual basicBt0082, visual basic
Bt0082, visual basic
smumbahelp
 
Bt0065, c programming and data structures
Bt0065, c programming and data structuresBt0065, c programming and data structures
Bt0065, c programming and data structures
smumbahelp
 
Mca 4030 programming in java
Mca 4030   programming in javaMca 4030   programming in java
Mca 4030 programming in java
smumbahelp
 
Password protected diary
Password protected diaryPassword protected diary
Password protected diary
SHARDA SHARAN
 
Bc0051 – system software
Bc0051 – system softwareBc0051 – system software
Bc0051 – system software
smumbahelp
 
Bca5010 web design
Bca5010  web designBca5010  web design
Bca5010 web design
smumbahelp
 
Mca winter 2013 2nd sem
Mca winter 2013 2nd semMca winter 2013 2nd sem
Mca winter 2013 2nd sem
smumbahelp
 
Chapter 5: Names, Bindings and Scopes (review Questions and Problem Set)
Chapter 5: Names, Bindings and Scopes (review Questions and Problem Set)Chapter 5: Names, Bindings and Scopes (review Questions and Problem Set)
Chapter 5: Names, Bindings and Scopes (review Questions and Problem Set)
Farwa Ansari
 
Bt0074, oops with java
Bt0074, oops with javaBt0074, oops with java
Bt0074, oops with java
smumbahelp
 
Ad

Mca1020 programming in c

  • 1. Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ [email protected] ” or Call us at : 08263069601 ASSIGNMENT PROGRAM BCA SEMESTER FIRST SUBJECT CODE & NAME MCA1020- PROGRAMMING IN C CREDIT 4 BK ID B1639 MAX.MARKS 60 Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately of 400 words. Each question is followed by evaluation scheme. Q.1 Define operators. Briefly explain about any four Operators in C. Answer: - Operators are the symbol which operates on value or a variable. For example: + is a operator to perform addition programming language has wide range of operators to perform various operations. For better understanding of operators, these 2 Differentiate between while and do-while statements. Answer: - While: - The while loop checks whether the test expression is true or not. If it is true, code/s inside the body of while loop is executed, that is, code/s inside the braces { } are executed. Then again the test expression is checked whether test expression is true or not. This process continues until the test expression becomes false. Q. 3. Describe about static and external variables.
  • 2. Answer:- Lifetime of a static variables is throughout a program but its accessibility within the function in which it is declared. External variables are global variables. it can be accessed in any function within a program or out side of the program. external variables:- In the C programming language, an external variable is a variable defined outside any function block. On the other hand, a local ( 4 Define structure. What is the syntax for defining a structure? Write a simple program using structure. Answer: - Structure:- A struct in the C programming language (and many derivatives) is a complex data type declaration that defines a physically grouped list of variables to be placed under one name in a block of memory, allowing the different variables to be accessed via a single pointer, or the struct declared name which returns the same address. The struct can contain many other complex and simple data types in an association, so is a natural organizing Q. 5 Define macro. How we can declare a macro statement? Explain with an example. Answer:- A Macro is typically an abbreviated name given to a piece of code or a value. Macros can also be defined without any value or piece of code but in that case they are used only for testing purpose. Defining Macros without values Q. 6 What is the use of fopen () and fclose () function? List and explain different modes for opening a file. Answer:- Opening And Closing A Disk File  Before we dive into the details, take note that the program examples presented here just for basic file I/O that applies to DOS and Linux.  For Windows, you have to study the Win32 programming that provides specifics file I/O and other related functions. Here we do not Dear students get fully solved assignments Send your semester & Specialization name to our mail id : “ [email protected] ” or
  • 3. Call us at : 08263069601