0% found this document useful (0 votes)
6 views

BCA_SEM4_OCT_2023_Question_Papers

The document contains examination papers for S.Y. B.C.A. (Science) covering Object Oriented Programming and C++, Web Technology, and Software Engineering. Each section includes multiple-choice questions, short answer questions, and programming tasks. The papers are structured to assess students' understanding of the respective subjects with a total of 70 marks for each paper.

Uploaded by

moreshreya747
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

BCA_SEM4_OCT_2023_Question_Papers

The document contains examination papers for S.Y. B.C.A. (Science) covering Object Oriented Programming and C++, Web Technology, and Software Engineering. Each section includes multiple-choice questions, short answer questions, and programming tasks. The papers are structured to assess students' understanding of the respective subjects with a total of 70 marks for each paper.

Uploaded by

moreshreya747
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Total No. of Questions : 5] SEAT No.

:
P6448 [6158]-41
[Total No. of Pages : 5

S.Y. B.C.A. (Science)


BCA-241 : OBJECT ORIENTED PROGRAMMINGAND C++
(2019 Pattern) (Semester - IV)
Time : 3 Hours] [Max. Marks : 70
Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.
3) Draw neat diagrams wherever necessary.

Q1) A) Choose the correct option. [5×1=5]


a) Abstraction is __________.
i) A collection of similar data items.
ii) A combination of similar data items and function.
iii) The combination of data item and function.
iv) A collection of necessary data items and functions.

b) Which of the following language supports top-down design concept


i) Object oriented programming
ii) Object based programming
iii) Procedure oriented programming
iv) Process oriented programming

c) Reusability can be achieved through ________.


i) Class ii) Inheritance
iii) Polymorphism iv) Encapsulation

d) A file in C++ can be opened using ___________.


i) Constructor of the appropriate class
ii) Open ( ) function
iii) append ( ) function
iv) Both (i) and (ii)

[6158]-41 1 P.T.O.
e) Constructor can return _________.

i) void data

ii) Any data of use defined types

iii) Any data of built in type

iv) No value (not even void)

B) Answer the following. [5×1=5]

a) Define constructor.

b) List the operators which cannot be overloaded.

c) Give any two advantages of Inheritance.

d) Give syntax of Exception Handling.

e) List the situations where in line function does not work.

Q2) Answer the following: (Any five) [5×3=15]

a) What is Manipulator? Enlist them with example.

b) Define the following

i) Object

ii) Class

iii) Polymorphism

c) Which operators are used as Memory Management Operators? Write


the syntax.

d) Write a program to print maximum of two numbers using friend function.

e) Explain single Inheritance with example.

[6158]-41 2
f) Read the code carefully and answer the questions below
Class ABC
{
int temp;
Public:
ABC ( )
{
temp = 0;
}
ABC(int t)
{
temp = t;
}
void display ( )
{
cout << temp << endl;
}
};
main ( )
{
ABC a;
___________ statement 1;
___________ statement 2;
}

i) How many member functions are defined in the above code?

ii) How will you write statement 1 to invoke parameterised constructor.

iii) How will you write statement 2 to invoke display function.

[6158]-41 3
Q3) Answer the following (Any five): [5×4=20]
a) Write 4 differences between Procedure oriented programming and object
oriented Programming.
b) What is operator overloading? Explain rules of operator overloading.
c) Write a program to add two complex numbers using binary operator
overloading.
d) Write a C++ program to copy the contents on one file to another.

e) Which are the two ways of defining member function? Explain any one
with example.

f) What is friend function? Write the properties of friend function.

g) Write a program to create 2 base classes Employee (Name, Designation)


and Project (Projectedidid, Title). Derive a class Employee - Project
(Duration) from Employee and Project. Write a menu driven program to
build and display master table.

Q4) Answer the following (Any five): [5×5=25]

a) Explain Virtual Base class with example.

b) What is a file? Explain various file stream classes for file manipulation.

c) Explain Array of objects with example.

d) Write a program to create a class shape with function to find area of the
shape and display name of the shape with essential components. Create
derived classes circle, rectangle and trapeziod having overridden function
area and display. Write a program to illustrate use of virtual function.

e) Write the advantages and Applications of C++.

f) Write a program to create a class which contains single dimensional


array. Define function to display median of given array. (Use Dynamic
constructor to (display) allocate and for deallocation use Destructor.

[6158]-41 4
g) Trace the output and justify
i) # include <iostream.h>
class Base 1
{
Public:
Base 1 ( )
{ cout <<“Base 1’s constructor called”<<endl;}
};
class Base2
{
Public :
Base 2 ( )
{ cout <<“Base 2’s constructor called”<<endl;}
};
class Derived : Public Base 1, Public Base 2
{ Public :
Derived ( )
{
cout << “Derived’s constructor called”<<endl;
}
};
main ( )
{
Derived d;
}
ii) # include < iostream.h>
int x;
main ( )
{
int x = 10;
cout <<“value of x is” << : : x;
cout <<“value of x is: << x;
}

 
[6158]-41 5
Total No. of Questions : 4] SEAT No. :

P-6449 [Total No. of Pages : 3


[6158]-42
S.Y. B.C.A. (Science)
BCA-242 : WEB TECHNOLOGY
(2019 Pattern) (Semester - IV)

Time : 3 Hours] [Max. Marks : 70


Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.
3) Draw neat diagrams wherever necessary.

Q1) A) Choose the correct option. [5 × 1 = 5]


a) ________ are case sensitive in PHP.
i) user defined class ii) user defined function
iii) Built - in constructs iv) All of the above
b) $-SERVER array contains
i) HTTP-HOST ii) SELF-PHP
iii) ACCEPT-HTTP iv) PORT-SERVER
c) ________ operator is used to access data members of a class
using an object.
i)  ii) 
iii)  iv) 
d) How to find out XMLHTTP Request has successfully computed?
i) readystate = 1 ii) readystate = 2
iii) readystate = 3 iv) readystate = 4
e) Consider $S = array (‘P’,‘C’,‘m’); $n=array(‘L’,‘B’); $a =
array_Splice($s, 2, 0, $n);
What will be the contents of $a?
i) (‘P’,‘C’,‘L’,‘M’,‘B’) ii) (‘P’,‘C’,‘L’,‘B’,‘M’)
iii) (‘L’,‘B’,‘P’,‘C’,‘M’) iv) (‘P’,‘C’,‘M’,‘L’,‘B’)

P.T.O.
B) Attempt All of the following : [5 × 1 = 5]
a) List different datatypes supported by PHP.
b) Write any two features of HTTP protocol.
c) What is the advantage of default arguments?
d) List different databases supported by PHP.
e) Write statement to create XMLhttpRequest object as per the brower
support.

Q2) Attempt any FIVE of the following : [5 × 3 = 15]


a) What is Introspection? Explain any three functions of it.
b) What is cookie? Explain function with its syntax to create a cookie.
c) Differentiate between asynchronous and synchronous request in AJAX.
d) Explain any three sinuplexXML functions used in PHD.
e) What is reference variable? Explain with suitable example how parameters
are passed by reference.
f) What is an array? Illustrate with suitable example how to use for each
loop to display array elements.

Q3) Attempt any FIVE of the following. [5 × 4 = 20]


a) Define class ‘Employee’ (id, name, dept, salary) with constructor and
display() function. Create a subclass “Manager” with private member
bonus. Create an object of manager. Accept information and display
using appropriate member functions.
b) Write a PHP script to display a count, how many times a web page is
accessed.
c) Explain $_GET, $_POST, $_GLOBALS, $_REQUEST arrays with
example.
d) What is DOM? Explain any three Dom functions to create XML file.
e) Consider table Hall-Booking (b_id, date, time, duration, eventname) &
customer (c_id, name, phno) with m–1 relationship. Write a PHP script
to print report of all booking details of a given date.

[6158]-42 2
f) Explain following functions :
i) array_chunk ()
ii) explode()
iii) compact()
iv) list()
g) How variable number of arguments are handled in PHP? Illustrate with
suitable example.

Q4) Attempt any FIVE of the following : [5 × 5 = 25]


a) Define a class student (r_no, name, class, percentage) with constructor
and display() function. Create an array of objects to store students details.
Display student details with maximum percentage.
b) Write a PHP script to convert farenheit temperature to celcius using self-
processing form.
c) Explain any four functions of PEAR DB to handle database.
d) What is AJAX? Explain how get and post methods are used in AJAX.
e) Consider Book.xml file with following tags :
<Bookstore>
<Book>
<name>......... </name>
<price>........</price>
<publication>..... </publication>
<!Book>
</Bookstore>
Write AJAX program to display book details. Accept book name from
the uses.
f) Explain iterater functions in PHP.
g) Illustrate with example scope of a variable in PHP.


[6158]-42 3
Total No. of Questions : 4] SEAT No. :
P6450 [6158]-43
[Total No. of Pages : 3

S.Y. B.C.A. (Science)


BCA-243 : SOFTWARE ENGINEERING
(2019 Pattern) (Semester - IV)
Time : 3 Hours] [Max. Marks : 70
Instructions to the candidates:
1) All questions are compulsory.
2) Figures to the right indicate full marks.
3) Draw neat diagram wherever necessary.

Q1) Attempt the following: [5×1=5]


A) Choose the correct option.
a) Expert system, Robotics comes under _________.
i) Application software ii) Artificial Intelligence
iii) Embeded software iv) Net sourcing

b) The system which is directly interacting with the environment is


known as _________.
i) Abstract system
ii) Open system
iii) Closed system
iv) Transaction processing system

c) Choose the right sequence of SDLC steps.


i) Design, Requirement analysis, Coding, Testing
ii) Requirement Analysis, Design, Coding, Testing
iii) Requirement Analysis, Desgin, Testing, Coding
iv) Desgin, Requirement Analysis, Testing, Coding

[6158]-43 1 P.T.O.
d) __________ is the technique used to extract information from large
number of people.
i) Record review ii) Questionnaires
iii) Observation iv) None of the above

e) Which is not activity of serum method?


i) Sprint ii) User story
iii) Product master iv) Story points

B) Answer the following. [5×1=5]


a) Define software
b) What is DFD?
c) DefineAgility.
d) Explain two advantages of spiral model.
e) What is inception?

Q2) Answer the following: (Any five) [5×3=15]


a) Explain any three characteristics of a system.
b) Explain Mc Call’s quality factors.
c) What are the verification phases of V and V model? Explain.
d) Explain human factors used for agile process.
e) Explain Data Dictionary with its types.
f) Write any three advantages of DFD.

Q3) Answer the following (Any five): [5×4=20]


a) Explain any 4 general Principles of software.
b) Explain waterfall model.
c) What is feasibility study? Explain its types.
d) Write a short note on MIS.

[6158]-43 2
e) Explain XP Model.

f) What is layered Technology? Explain.

g) Explain input design with example.

Q4) Answer the following (Any five): [5×5=25]

a) Consider the following case study & Draw the decision tree.

An insurance company uses the following rule to determine the eligibility


of a driver for insurance. The driver will be insured if:

i) The driver lives in a city with population < 10,000 & he is married.

ii) The driver lives in a city with population < 10,000 and he is married
and his age is above 30 years.

iii) The driver lives in a city with population is 10,000 or more it is


married female.

iv) The driver is male over 30 years.

v) The driver is married and under 30.

b) Draw context level and 1st level DFD for library management system.

c) Explain any five principles of Agile process.

d) What is difference between system analysis and system design.

e) Explain generic process Model.

f) Explain any five requirement engineering task.

g) Differentiate between spiral model and proto type model.

 

[6158]-43 3

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy