SlideShare a Scribd company logo
1 of 3
Download to read offline
Page 1 of 3
Created by: - Umesh Singh (13BC01)
BCA 2nd SEMESTER EXAM. , 2015
PROBLEM SOLVING TECHNIQUE & PROGRAMMING IN C CODE- 303204
Time: 3 hours Full Marks: 60
Instructions:
i. The Marks are indicated in the right -hand margin.
ii. There are SEVEN questions in this paper.
iii. Attempts FIVE question in all.
iv. Question Nos. 1 and 2 are compulsory.
Group - A
1. Answer any six of the following : 2*6=12
(a) Which of the following special symbols allowed in a variable name
(I) * (asterisk) (II) | (pipeline)
(III) - (hyphen) (IV) _ (underscore)
(b) Is there any difference between following declarations?
(1) extern int fun(); (2) int fun();
(I) Both are identical
(II) No difference, except extern int fun(); is probably in another file
(III) int fun(); is overrided with extern int fun();
(IV) None of the above
(c) When we mentation the prototype of a function?
(I) Defining (II) Declaring
(III)Prototyping (IV) Calling
(d) In mathematics and computer programming, which is the correct order of
mathematical operators?
(I) Addition, subtraction, multiplication, division
(II) Division, multiplication, addition, subtraction
(III) Multiplication, addition, division, subtraction
(IV) Addition, division, modulus, subtraction
Page 2 of 3
Created by: - Umesh Singh (13BC01)
(e) Which of the following cannot be checked in a switch-case statement?
(I) Character (II) Integer
(III) FLoat (IV) Enum
(f) Which of the following is the correct usage of conditional operators used in C?
(I) a>b ? c=30 : c=40; (II) a>b ? c=30;
(III) max=a>b ? a>c ? a:c:b>c ? b:c (IV) return (a>b) ? (a:b)
(g) Which of the following are unary operators is C?
1. !
2. Sizeof
3. ~
4. &&
(I) 1, 2 (II) 1, 3
(III) 2, 4 (IV) 1, 2, 3
(h) Input/output function prototypes and macros are defined in which header file?
(I) conio.h (II) stdlib.h
(III) stdio.h (IV) dos.h
(i) What is stderr?
(I) Standard error (II) Standard error types
(III) Standard error streams (IV) Standard error definitions
(j) What is the purpose of fflush() function?
(I) Flushes all streams and specified streams
(II) Flushes only specified streams
(III)Flushes input/output buffer
(IV) Flushes file buffer
Group - B
2. Answer any three of the following: 4*3=12
(a) What do you mean by function? How we can use the user defined functions?
(b) What is a storage class? Discuss the various storage classes.
Page 3 of 3
Created by: - Umesh Singh (13BC01)
(c) What is an array? What is 2-dimensional array? How 2-dimensional arrays are
initialized? Also explain how array elements are accessed in a 2-dimensional array?
give explanation with example.
(d) What do you mean by the user defined data types? Give some differences between
structure and union.
(e) Write the difference between functions and macros.
Group - C
Answer any three of the following: 12*3=36
3. How we open and close an existing file in C? Also discuss the various modes to open a file.
4. Write a program to check whether the number is prime or Armstrong with the help of
user defined functions.
5. Give the advantage of array using pointers. Write a program to access element of an
array by using pointers.
6. What is an operator? What are different types of operators? Discuss the various operators
available in C
7. What do you mean by a recursion? Write a program to print a Fibonacci series using
recursion up to 1000 numbers.
* * *

More Related Content

What's hot

[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...Mumbai B.Sc.IT Study
 
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...Mumbai B.Sc.IT Study
 
Data structure - mcqs
Data structure - mcqsData structure - mcqs
Data structure - mcqssuthi
 
Java and Data Structure (October - 2016) [Revised Course | Question Paper]
Java and Data Structure (October - 2016) [Revised Course | Question Paper]Java and Data Structure (October - 2016) [Revised Course | Question Paper]
Java and Data Structure (October - 2016) [Revised Course | Question Paper]Mumbai B.Sc.IT Study
 
Network Security (Revised Syllabus) [QP / May - 2016]
Network Security (Revised Syllabus) [QP / May - 2016]Network Security (Revised Syllabus) [QP / May - 2016]
Network Security (Revised Syllabus) [QP / May - 2016]Mumbai B.Sc.IT Study
 
Internet Technologies (April – 2013) [Question Paper | IDOL: Revised Course]
Internet Technologies (April – 2013) [Question Paper | IDOL: Revised Course]Internet Technologies (April – 2013) [Question Paper | IDOL: Revised Course]
Internet Technologies (April – 2013) [Question Paper | IDOL: Revised Course]Mumbai B.Sc.IT Study
 
Class xi sample paper (Computer Science)
Class xi sample paper (Computer Science)Class xi sample paper (Computer Science)
Class xi sample paper (Computer Science)MountAbuRohini
 
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...Mumbai B.Sc.IT Study
 
Java and Data Structure (June - 2016) [Revised Course | Question Paper]
Java and Data Structure (June - 2016) [Revised Course | Question Paper]Java and Data Structure (June - 2016) [Revised Course | Question Paper]
Java and Data Structure (June - 2016) [Revised Course | Question Paper]Mumbai B.Sc.IT Study
 
200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)Ankit Dubey
 
[Question Paper] Network Security (Revised Syllabus) [May / 2016]
[Question Paper] Network Security (Revised Syllabus) [May / 2016][Question Paper] Network Security (Revised Syllabus) [May / 2016]
[Question Paper] Network Security (Revised Syllabus) [May / 2016]Mumbai B.Sc.IT Study
 

What's hot (20)

SMU ,CA FALL 2014 ASSIGNMENTS
SMU ,CA FALL 2014 ASSIGNMENTSSMU ,CA FALL 2014 ASSIGNMENTS
SMU ,CA FALL 2014 ASSIGNMENTS
 
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
[Question Paper] Object Oriented Programming With C++ (Revised Course) [Janua...
 
7th semester Computer Science and Information Science Engg (2013 December) Qu...
7th semester Computer Science and Information Science Engg (2013 December) Qu...7th semester Computer Science and Information Science Engg (2013 December) Qu...
7th semester Computer Science and Information Science Engg (2013 December) Qu...
 
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...
[Question Paper] Fundamentals of Digital Computing (Revised Course) [January ...
 
Data structure - mcqs
Data structure - mcqsData structure - mcqs
Data structure - mcqs
 
1st Semester M Tech Computer Science and Engg (Dec-2013) Question Papers
1st Semester M Tech Computer Science and Engg  (Dec-2013) Question Papers 1st Semester M Tech Computer Science and Engg  (Dec-2013) Question Papers
1st Semester M Tech Computer Science and Engg (Dec-2013) Question Papers
 
Java and Data Structure (October - 2016) [Revised Course | Question Paper]
Java and Data Structure (October - 2016) [Revised Course | Question Paper]Java and Data Structure (October - 2016) [Revised Course | Question Paper]
Java and Data Structure (October - 2016) [Revised Course | Question Paper]
 
Network Security (Revised Syllabus) [QP / May - 2016]
Network Security (Revised Syllabus) [QP / May - 2016]Network Security (Revised Syllabus) [QP / May - 2016]
Network Security (Revised Syllabus) [QP / May - 2016]
 
Internet Technologies (April – 2013) [Question Paper | IDOL: Revised Course]
Internet Technologies (April – 2013) [Question Paper | IDOL: Revised Course]Internet Technologies (April – 2013) [Question Paper | IDOL: Revised Course]
Internet Technologies (April – 2013) [Question Paper | IDOL: Revised Course]
 
Class xi sample paper (Computer Science)
Class xi sample paper (Computer Science)Class xi sample paper (Computer Science)
Class xi sample paper (Computer Science)
 
5th Semester CS / IS (2013-June) Question Papers
5th Semester CS / IS (2013-June) Question Papers5th Semester CS / IS (2013-June) Question Papers
5th Semester CS / IS (2013-June) Question Papers
 
7th Semester (December; January-2014 and 2015) Computer Science and Informati...
7th Semester (December; January-2014 and 2015) Computer Science and Informati...7th Semester (December; January-2014 and 2015) Computer Science and Informati...
7th Semester (December; January-2014 and 2015) Computer Science and Informati...
 
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...[Question Paper] Data Communication and Network Standards (Revised Course) [J...
[Question Paper] Data Communication and Network Standards (Revised Course) [J...
 
Blue print
Blue printBlue print
Blue print
 
Java and Data Structure (June - 2016) [Revised Course | Question Paper]
Java and Data Structure (June - 2016) [Revised Course | Question Paper]Java and Data Structure (June - 2016) [Revised Course | Question Paper]
Java and Data Structure (June - 2016) [Revised Course | Question Paper]
 
1
11
1
 
200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)200 mcq c++(Ankit dubey)
200 mcq c++(Ankit dubey)
 
Bba 406 2015
Bba 406 2015Bba 406 2015
Bba 406 2015
 
7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
7th Semester (Dec-2015; Jan-2016) Computer Science and Information Science En...
 
[Question Paper] Network Security (Revised Syllabus) [May / 2016]
[Question Paper] Network Security (Revised Syllabus) [May / 2016][Question Paper] Network Security (Revised Syllabus) [May / 2016]
[Question Paper] Network Security (Revised Syllabus) [May / 2016]
 

Viewers also liked

AdviserLogic - Your Solution
AdviserLogic - Your SolutionAdviserLogic - Your Solution
AdviserLogic - Your SolutionDaniel Gara
 
Breakfast briefing - Change Management
Breakfast briefing - Change ManagementBreakfast briefing - Change Management
Breakfast briefing - Change ManagementMaria Volpe
 
THE IRISH ARTICLES OF RELIGION OF 1615
THE IRISH ARTICLES OF RELIGION OF 1615THE IRISH ARTICLES OF RELIGION OF 1615
THE IRISH ARTICLES OF RELIGION OF 1615Peter McIntyre
 
3ª Reunião com Monitores de Informática
3ª Reunião com Monitores de Informática3ª Reunião com Monitores de Informática
3ª Reunião com Monitores de Informáticaguest496c2b9
 

Viewers also liked (11)

AdviserLogic - Your Solution
AdviserLogic - Your SolutionAdviserLogic - Your Solution
AdviserLogic - Your Solution
 
Presentation_NEW.PPTX
Presentation_NEW.PPTXPresentation_NEW.PPTX
Presentation_NEW.PPTX
 
Breakfast briefing - Change Management
Breakfast briefing - Change ManagementBreakfast briefing - Change Management
Breakfast briefing - Change Management
 
Toyota 2016 Chase
Toyota 2016 ChaseToyota 2016 Chase
Toyota 2016 Chase
 
CHINTAN DESAI CV
CHINTAN DESAI CVCHINTAN DESAI CV
CHINTAN DESAI CV
 
amberresume
amberresumeamberresume
amberresume
 
Ed270
Ed270Ed270
Ed270
 
THE IRISH ARTICLES OF RELIGION OF 1615
THE IRISH ARTICLES OF RELIGION OF 1615THE IRISH ARTICLES OF RELIGION OF 1615
THE IRISH ARTICLES OF RELIGION OF 1615
 
3ª Reunião com Monitores de Informática
3ª Reunião com Monitores de Informática3ª Reunião com Monitores de Informática
3ª Reunião com Monitores de Informática
 
KapustaBell
KapustaBellKapustaBell
KapustaBell
 
Drip irrigation
Drip irrigationDrip irrigation
Drip irrigation
 

Similar to Problem solving technique & programming in c code 303204 bca 2nd semester exam. 2015

Programming fundamentals using c++ question paper 2014 tutorialsduniya
Programming fundamentals using c++  question paper 2014   tutorialsduniyaProgramming fundamentals using c++  question paper 2014   tutorialsduniya
Programming fundamentals using c++ question paper 2014 tutorialsduniyaTutorialsDuniya.com
 
Qno1
Qno1Qno1
Qno1kvs
 
Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 FarhanAhmade
 
Operating system and unix code 303205 bca 2nd semester exam. ...
Operating system  and unix    code  303205   bca     2nd semester     exam.  ...Operating system  and unix    code  303205   bca     2nd semester     exam.  ...
Operating system and unix code 303205 bca 2nd semester exam. ...umesh singh
 
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice PaperCAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice PaperAlex Stewart
 
CXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice QuestionsCXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice QuestionsElliot Seepaul
 
CS Sample Paper 1
CS Sample Paper 1CS Sample Paper 1
CS Sample Paper 1kvs
 
System analysis and design code 303203 bca 2nd semester exam. ...
System analysis and design    code  303203   bca     2nd semester     exam.  ...System analysis and design    code  303203   bca     2nd semester     exam.  ...
System analysis and design code 303203 bca 2nd semester exam. ...umesh singh
 
Model paper 6 (UGC NET Paper-1)
Model paper 6 (UGC NET Paper-1)Model paper 6 (UGC NET Paper-1)
Model paper 6 (UGC NET Paper-1)Raja Adapa
 
Smu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignmentsSmu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignmentssmumbahelp
 
CBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question PaperCBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question PaperMalathi Senthil
 
Problem solving and programming concept code 303106 bca 1st sem...
Problem solving and programming concept      code   303106    bca     1st sem...Problem solving and programming concept      code   303106    bca     1st sem...
Problem solving and programming concept code 303106 bca 1st sem...umesh singh
 
Computer Science Sample Paper 2
Computer Science Sample Paper 2Computer Science Sample Paper 2
Computer Science Sample Paper 2kvs
 
Sem 1 bscit summer 2014 solved assignments
Sem 1 bscit summer 2014 solved assignmentsSem 1 bscit summer 2014 solved assignments
Sem 1 bscit summer 2014 solved assignmentssmumbahelp
 
Computer science ms
Computer science msComputer science ms
Computer science msB Bhuvanesh
 
Computer science sqp
Computer science sqpComputer science sqp
Computer science sqpB Bhuvanesh
 

Similar to Problem solving technique & programming in c code 303204 bca 2nd semester exam. 2015 (20)

Programming fundamentals using c++ question paper 2014 tutorialsduniya
Programming fundamentals using c++  question paper 2014   tutorialsduniyaProgramming fundamentals using c++  question paper 2014   tutorialsduniya
Programming fundamentals using c++ question paper 2014 tutorialsduniya
 
Qno1
Qno1Qno1
Qno1
 
Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021 Question Paper Code 065 informatic Practice New CBSE - 2021
Question Paper Code 065 informatic Practice New CBSE - 2021
 
Fic (sendup dec17) cs lb
Fic (sendup dec17) cs lbFic (sendup dec17) cs lb
Fic (sendup dec17) cs lb
 
Fic (sendup dec17) cs lb
Fic (sendup dec17) cs lbFic (sendup dec17) cs lb
Fic (sendup dec17) cs lb
 
Operating system and unix code 303205 bca 2nd semester exam. ...
Operating system  and unix    code  303205   bca     2nd semester     exam.  ...Operating system  and unix    code  303205   bca     2nd semester     exam.  ...
Operating system and unix code 303205 bca 2nd semester exam. ...
 
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice PaperCAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
 
CXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice QuestionsCXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice Questions
 
CS Sample Paper 1
CS Sample Paper 1CS Sample Paper 1
CS Sample Paper 1
 
System analysis and design code 303203 bca 2nd semester exam. ...
System analysis and design    code  303203   bca     2nd semester     exam.  ...System analysis and design    code  303203   bca     2nd semester     exam.  ...
System analysis and design code 303203 bca 2nd semester exam. ...
 
Model paper 6 (UGC NET Paper-1)
Model paper 6 (UGC NET Paper-1)Model paper 6 (UGC NET Paper-1)
Model paper 6 (UGC NET Paper-1)
 
Smu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignmentsSmu bscit sem 2 fall 2014 assignments
Smu bscit sem 2 fall 2014 assignments
 
CBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question PaperCBSE Grade12, Computer Science, Sample Question Paper
CBSE Grade12, Computer Science, Sample Question Paper
 
Problem solving and programming concept code 303106 bca 1st sem...
Problem solving and programming concept      code   303106    bca     1st sem...Problem solving and programming concept      code   303106    bca     1st sem...
Problem solving and programming concept code 303106 bca 1st sem...
 
Computer Science Sample Paper 2
Computer Science Sample Paper 2Computer Science Sample Paper 2
Computer Science Sample Paper 2
 
Sem 1 bscit summer 2014 solved assignments
Sem 1 bscit summer 2014 solved assignmentsSem 1 bscit summer 2014 solved assignments
Sem 1 bscit summer 2014 solved assignments
 
Gate-Cs 1998
Gate-Cs 1998Gate-Cs 1998
Gate-Cs 1998
 
Qno 1 (f)
Qno 1 (f)Qno 1 (f)
Qno 1 (f)
 
Computer science ms
Computer science msComputer science ms
Computer science ms
 
Computer science sqp
Computer science sqpComputer science sqp
Computer science sqp
 

Recently uploaded

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 

Recently uploaded (20)

Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 

Problem solving technique & programming in c code 303204 bca 2nd semester exam. 2015

  • 1. Page 1 of 3 Created by: - Umesh Singh (13BC01) BCA 2nd SEMESTER EXAM. , 2015 PROBLEM SOLVING TECHNIQUE & PROGRAMMING IN C CODE- 303204 Time: 3 hours Full Marks: 60 Instructions: i. The Marks are indicated in the right -hand margin. ii. There are SEVEN questions in this paper. iii. Attempts FIVE question in all. iv. Question Nos. 1 and 2 are compulsory. Group - A 1. Answer any six of the following : 2*6=12 (a) Which of the following special symbols allowed in a variable name (I) * (asterisk) (II) | (pipeline) (III) - (hyphen) (IV) _ (underscore) (b) Is there any difference between following declarations? (1) extern int fun(); (2) int fun(); (I) Both are identical (II) No difference, except extern int fun(); is probably in another file (III) int fun(); is overrided with extern int fun(); (IV) None of the above (c) When we mentation the prototype of a function? (I) Defining (II) Declaring (III)Prototyping (IV) Calling (d) In mathematics and computer programming, which is the correct order of mathematical operators? (I) Addition, subtraction, multiplication, division (II) Division, multiplication, addition, subtraction (III) Multiplication, addition, division, subtraction (IV) Addition, division, modulus, subtraction
  • 2. Page 2 of 3 Created by: - Umesh Singh (13BC01) (e) Which of the following cannot be checked in a switch-case statement? (I) Character (II) Integer (III) FLoat (IV) Enum (f) Which of the following is the correct usage of conditional operators used in C? (I) a>b ? c=30 : c=40; (II) a>b ? c=30; (III) max=a>b ? a>c ? a:c:b>c ? b:c (IV) return (a>b) ? (a:b) (g) Which of the following are unary operators is C? 1. ! 2. Sizeof 3. ~ 4. && (I) 1, 2 (II) 1, 3 (III) 2, 4 (IV) 1, 2, 3 (h) Input/output function prototypes and macros are defined in which header file? (I) conio.h (II) stdlib.h (III) stdio.h (IV) dos.h (i) What is stderr? (I) Standard error (II) Standard error types (III) Standard error streams (IV) Standard error definitions (j) What is the purpose of fflush() function? (I) Flushes all streams and specified streams (II) Flushes only specified streams (III)Flushes input/output buffer (IV) Flushes file buffer Group - B 2. Answer any three of the following: 4*3=12 (a) What do you mean by function? How we can use the user defined functions? (b) What is a storage class? Discuss the various storage classes.
  • 3. Page 3 of 3 Created by: - Umesh Singh (13BC01) (c) What is an array? What is 2-dimensional array? How 2-dimensional arrays are initialized? Also explain how array elements are accessed in a 2-dimensional array? give explanation with example. (d) What do you mean by the user defined data types? Give some differences between structure and union. (e) Write the difference between functions and macros. Group - C Answer any three of the following: 12*3=36 3. How we open and close an existing file in C? Also discuss the various modes to open a file. 4. Write a program to check whether the number is prime or Armstrong with the help of user defined functions. 5. Give the advantage of array using pointers. Write a program to access element of an array by using pointers. 6. What is an operator? What are different types of operators? Discuss the various operators available in C 7. What do you mean by a recursion? Write a program to print a Fibonacci series using recursion up to 1000 numbers. * * *