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 MCA
SEMESTER FIRST
SUBJECT CODE & NAME MCA1020- PROGRAMMING INC
CREDIT 4
BK ID B1639
MAX.MARKS 60
Note:Answer all questions.Kindlynote that answersfor 10 marks questionsshouldbe approximately
of 400 words. Each questionis followedbyevaluationscheme.
Q.1. Explainthe history ofC language. What are the advantages ofC language?
Answer:- History of C language:- The C programming language was devised in the early 1970s by Dennis
M. Ritchie anemployeefromBell Labs(AT&T).
In the 1960s Ritchie worked, with several other employees of Bell Labs (AT&T), on a project called
Multics. The goal of the project was to develop an operating system for a large computer that could be
used by a thousand users. In 1969 AT&T (Bell Labs) withdrew from the project, because the project
could not produce an economically useful system. So the employees of Bell Labs (AT&T) had to search
for anotherprojecttowork on(mainlyDennisM.Ritchie
Q.2. Write short notes on:
a) scanf()
b) printf()
Answer:- scanf():- The C library function int scanf(const char *format, ...) reads formatted input from
stdin.
Declaration
Followingisthe declarationforscanf() function.
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 (automatic) variable is a variable definedinside a function
block.
Q.4. Distinguishbetweenpassby value and pass by reference withthe helpof an example.
Answer: - A value-type variable contains its data directly as opposed to a reference-type variable, which
contains a reference to its data. Therefore, passing a value-type variable to a method means passing a
copy of the variable to the method. Any changes to the parameter that take place inside the method
have no affect on the original data stored in the variable. If you want the called method to change the
value of the parameter,youhave to passit by
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 definedwithoutanyvalue orpiece of code butin that case theyare usedonlyfortestingpurpose.
DefiningMacros without values
The most basic use of macros is to define them without values and use them as testing conditions. As an
example,letslookatthe followingpieceof code :
Q. 6 What is the use of fopen () and fclose () function? List and explain different modes for opening a
file.
Answer:- OpeningAnd ClosingA Disk File
 Before we dive into the details, take note that the program examples presented here just for
basicfile I/OthatappliestoDOS and Linux.
 For Windows, you have to study the Win32 programming that provides specifics file I/O and
otherrelatedfunctions.Here we donotdiscussin
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

Development of learned dictionary based spoken language
Development of learned dictionary based spoken languageDevelopment of learned dictionary based spoken language
Development of learned dictionary based spoken languagePallavi Bharti
 
Bt8903,c# programming
Bt8903,c# programmingBt8903,c# programming
Bt8903,c# programmingsmumbahelp
 
Applicatons of derivative optimization and related rates
Applicatons of derivative optimization and related ratesApplicatons of derivative optimization and related rates
Applicatons of derivative optimization and related ratesPorter Nathan
 
ES6 Template Literal & Tag Function
ES6 Template Literal & Tag FunctionES6 Template Literal & Tag Function
ES6 Template Literal & Tag FunctionJae Nam Jung
 
Bt0082, visual basic
Bt0082, visual basicBt0082, visual basic
Bt0082, visual basicsmumbahelp
 
Sem 4 bscit summer 2014 solved assignments
Sem 4 bscit summer 2014 solved assignmentsSem 4 bscit summer 2014 solved assignments
Sem 4 bscit summer 2014 solved assignmentssmumbahelp
 
Bc0053 – vb.net & xml
Bc0053 – vb.net & xmlBc0053 – vb.net & xml
Bc0053 – vb.net & xmlsmumbahelp
 
Chapter 3.0
Chapter 3.0Chapter 3.0
Chapter 3.0sotlsoc
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++smumbahelp
 

What's hot (12)

Development of learned dictionary based spoken language
Development of learned dictionary based spoken languageDevelopment of learned dictionary based spoken language
Development of learned dictionary based spoken language
 
Bt8903,c# programming
Bt8903,c# programmingBt8903,c# programming
Bt8903,c# programming
 
Applicatons of derivative optimization and related rates
Applicatons of derivative optimization and related ratesApplicatons of derivative optimization and related rates
Applicatons of derivative optimization and related rates
 
ES6 Template Literal & Tag Function
ES6 Template Literal & Tag FunctionES6 Template Literal & Tag Function
ES6 Template Literal & Tag Function
 
Bt0082, visual basic
Bt0082, visual basicBt0082, visual basic
Bt0082, visual basic
 
Sem 4 bscit summer 2014 solved assignments
Sem 4 bscit summer 2014 solved assignmentsSem 4 bscit summer 2014 solved assignments
Sem 4 bscit summer 2014 solved assignments
 
Decision tables
Decision tablesDecision tables
Decision tables
 
ForecastIT Course Outline
ForecastIT Course OutlineForecastIT Course Outline
ForecastIT Course Outline
 
Bc0053 – vb.net & xml
Bc0053 – vb.net & xmlBc0053 – vb.net & xml
Bc0053 – vb.net & xml
 
M4t
M4tM4t
M4t
 
Chapter 3.0
Chapter 3.0Chapter 3.0
Chapter 3.0
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
 

Similar to Get fully solved assignments by mailing semester details

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
 
Bca5010 web design
Bca5010  web designBca5010  web design
Bca5010 web designsmumbahelp
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programmingsmumbahelp
 
Bt0065, c programming and data structures
Bt0065, c programming and data structuresBt0065, c programming and data structures
Bt0065, c programming and data structuressmumbahelp
 
Concept Detection of Multiple Choice Questions using Transformer Based Models
Concept Detection of Multiple Choice Questions using Transformer Based ModelsConcept Detection of Multiple Choice Questions using Transformer Based Models
Concept Detection of Multiple Choice Questions using Transformer Based ModelsIRJET Journal
 
Bt0082 visual basic
Bt0082   visual basicBt0082   visual basic
Bt0082 visual basicsmumbahelp
 
Bca2030 object oriented programming – c++
Bca2030   object oriented programming – c++Bca2030   object oriented programming – c++
Bca2030 object oriented programming – c++smumbahelp
 
Cmps 260, fall 2021 programming assignment #3 (125 points)
Cmps 260, fall 2021 programming assignment #3 (125 points)Cmps 260, fall 2021 programming assignment #3 (125 points)
Cmps 260, fall 2021 programming assignment #3 (125 points)mehek4
 
Javascript breakdown-workbook
Javascript breakdown-workbookJavascript breakdown-workbook
Javascript breakdown-workbookHARUN PEHLIVAN
 
C programming interview questions
C programming interview questionsC programming interview questions
C programming interview questionsadarshynl
 
Bca winter 2013 2nd sem
Bca winter 2013 2nd semBca winter 2013 2nd sem
Bca winter 2013 2nd semsmumbahelp
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++smumbahelp
 
Om0010 operations management
Om0010 operations managementOm0010 operations management
Om0010 operations managementsmumbahelp
 
Mca2050 computer architecture
Mca2050  computer architectureMca2050  computer architecture
Mca2050 computer architecturesmumbahelp
 
Object Oriented Concepts and Principles
Object Oriented Concepts and PrinciplesObject Oriented Concepts and Principles
Object Oriented Concepts and Principlesdeonpmeyer
 
Cprogramminginterviewquestions 120622074544-phpapp01
Cprogramminginterviewquestions 120622074544-phpapp01Cprogramminginterviewquestions 120622074544-phpapp01
Cprogramminginterviewquestions 120622074544-phpapp01chandu_microcosm
 
Om0010 operations management
Om0010 operations managementOm0010 operations management
Om0010 operations managementStudy Stuff
 
Bt8901 object oriented systems-de (1)
Bt8901 object oriented systems-de (1)Bt8901 object oriented systems-de (1)
Bt8901 object oriented systems-de (1)smumbahelp
 

Similar to Get fully solved assignments by mailing semester details (20)

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
 
Bca5010 web design
Bca5010  web designBca5010  web design
Bca5010 web design
 
Bt8903, c# programming
Bt8903, c# programmingBt8903, c# programming
Bt8903, c# programming
 
Bt0065, c programming and data structures
Bt0065, c programming and data structuresBt0065, c programming and data structures
Bt0065, c programming and data structures
 
Concept Detection of Multiple Choice Questions using Transformer Based Models
Concept Detection of Multiple Choice Questions using Transformer Based ModelsConcept Detection of Multiple Choice Questions using Transformer Based Models
Concept Detection of Multiple Choice Questions using Transformer Based Models
 
Bt0082 visual basic
Bt0082   visual basicBt0082   visual basic
Bt0082 visual basic
 
Bca2030 object oriented programming – c++
Bca2030   object oriented programming – c++Bca2030   object oriented programming – c++
Bca2030 object oriented programming – c++
 
Cmps 260, fall 2021 programming assignment #3 (125 points)
Cmps 260, fall 2021 programming assignment #3 (125 points)Cmps 260, fall 2021 programming assignment #3 (125 points)
Cmps 260, fall 2021 programming assignment #3 (125 points)
 
Javascript breakdown-workbook
Javascript breakdown-workbookJavascript breakdown-workbook
Javascript breakdown-workbook
 
C programming interview questions
C programming interview questionsC programming interview questions
C programming interview questions
 
Bca winter 2013 2nd sem
Bca winter 2013 2nd semBca winter 2013 2nd sem
Bca winter 2013 2nd sem
 
Mca2030 object oriented programming – c++
Mca2030  object oriented programming – c++Mca2030  object oriented programming – c++
Mca2030 object oriented programming – c++
 
Om0010 operations management
Om0010 operations managementOm0010 operations management
Om0010 operations management
 
Mca2050 computer architecture
Mca2050  computer architectureMca2050  computer architecture
Mca2050 computer architecture
 
Object Oriented Concepts and Principles
Object Oriented Concepts and PrinciplesObject Oriented Concepts and Principles
Object Oriented Concepts and Principles
 
Cprogramminginterviewquestions 120622074544-phpapp01
Cprogramminginterviewquestions 120622074544-phpapp01Cprogramminginterviewquestions 120622074544-phpapp01
Cprogramminginterviewquestions 120622074544-phpapp01
 
Om0010 operations management
Om0010 operations managementOm0010 operations management
Om0010 operations management
 
Bt8901 object oriented systems-de (1)
Bt8901 object oriented systems-de (1)Bt8901 object oriented systems-de (1)
Bt8901 object oriented systems-de (1)
 

Get fully solved assignments by mailing semester details

  • 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 MCA SEMESTER FIRST SUBJECT CODE & NAME MCA1020- PROGRAMMING INC CREDIT 4 BK ID B1639 MAX.MARKS 60 Note:Answer all questions.Kindlynote that answersfor 10 marks questionsshouldbe approximately of 400 words. Each questionis followedbyevaluationscheme. Q.1. Explainthe history ofC language. What are the advantages ofC language? Answer:- History of C language:- The C programming language was devised in the early 1970s by Dennis M. Ritchie anemployeefromBell Labs(AT&T). In the 1960s Ritchie worked, with several other employees of Bell Labs (AT&T), on a project called Multics. The goal of the project was to develop an operating system for a large computer that could be used by a thousand users. In 1969 AT&T (Bell Labs) withdrew from the project, because the project could not produce an economically useful system. So the employees of Bell Labs (AT&T) had to search for anotherprojecttowork on(mainlyDennisM.Ritchie Q.2. Write short notes on: a) scanf()
  • 2. b) printf() Answer:- scanf():- The C library function int scanf(const char *format, ...) reads formatted input from stdin. Declaration Followingisthe declarationforscanf() function. 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 (automatic) variable is a variable definedinside a function block. Q.4. Distinguishbetweenpassby value and pass by reference withthe helpof an example. Answer: - A value-type variable contains its data directly as opposed to a reference-type variable, which contains a reference to its data. Therefore, passing a value-type variable to a method means passing a copy of the variable to the method. Any changes to the parameter that take place inside the method have no affect on the original data stored in the variable. If you want the called method to change the value of the parameter,youhave to passit by 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 definedwithoutanyvalue orpiece of code butin that case theyare usedonlyfortestingpurpose. DefiningMacros without values The most basic use of macros is to define them without values and use them as testing conditions. As an example,letslookatthe followingpieceof code : Q. 6 What is the use of fopen () and fclose () function? List and explain different modes for opening a file.
  • 3. Answer:- OpeningAnd ClosingA Disk File  Before we dive into the details, take note that the program examples presented here just for basicfile I/OthatappliestoDOS and Linux.  For Windows, you have to study the Win32 programming that provides specifics file I/O and otherrelatedfunctions.Here we donotdiscussin 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 )