0% found this document useful (0 votes)
46 views11 pages

BCA SEM4 APR 2023 Question Papers

The document outlines examination instructions and questions for three subjects in the S.Y. B.C.A. program: Object Oriented Programming and C++, Web Technology, and Software Engineering. Each subject includes multiple-choice questions, short answer questions, and programming tasks, covering key concepts and practical applications. The total marks for each subject are 70, with specific guidelines for answering the questions.

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)
46 views11 pages

BCA SEM4 APR 2023 Question Papers

The document outlines examination instructions and questions for three subjects in the S.Y. B.C.A. program: Object Oriented Programming and C++, Web Technology, and Software Engineering. Each subject includes multiple-choice questions, short answer questions, and programming tasks, covering key concepts and practical applications. The total marks for each subject are 70, with specific guidelines for answering the questions.

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 : 4] SEAT No.

P-1357 [Total No. of Pages : 4


[6058]-401
S.Y. B.C.A. (Science)
BCA 241 : OBJECT ORIENTED PROGRAMMING AND
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 diagram wherever necessary.

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


i) Object Oriented Programming follows __________.
a) Top-down approach b) Bottom-up approach
c) Top-up approach d) Left-Right approach
ii) Only one copy of __________ data member is created for entire
class.
a) Static b) Public
c) Private d) Inline
iii) Which is not the characteristics of constructor?
a) They should be declared in public section
b) They do not have return type
c) They cannot be inherited
d) They can be virtual
iv) The ambiguity in Single Level Inheritance is removed by using
a) Colon operator b) Scope Resolution operator
c) Comma d) New operator
v) Binary operators overloaded by means of member function requires
_______explicit arguments.
a) One b) Two
c) Three d) None

P.T.O.
B) Answer the following : [5 × 1 = 5]
i) List the different access specifier.
ii) What is Encapsulation?
iii) List the types of Inheritance.
iv) What is the purpose of fstream class?
v) What is the purpose of Scope Resolution Operator?

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


a) What is Inline function? Give its advantage and syntax.
b) What is Exception? Explain with example.
c) Write any 3 difference between Procedure Oriented Programming and
Object Oriented Programming.
d) Write a C++ program to accept a number ‘n’, pass this number to the
constructor and find sum of numbers from 1 to n.
e) Explain usage of this pointer with example.
f) Read the following code and answer
Class A
{
int a, b;
public :
A ()
{
a = 0;
b = 0;
}
A (int x, int y)
{
a = x;
b = y;
}
void display()
{
cout << a << b << endl;
}
};
main ()
{
A a;
........... Statement 1
........... Statement 2
}

[6058]-401 2
i) How many number of Member function does the code contain.
ii) Write statement 1 to call Parameterized constructor.
iii) Write statement 2 to call display function.

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


a) What is friend function? Discuss its characteristics.
b) Explain in short :
i) Abstract class
ii) Virtual function
c) Write a C++ program to read a text file and count number of Upper
Case, Lower Case, Digits and Spaces.
d) Explain concept of Array of object with example.
e) What is constructor? Explain constructor overloading with example.
f) Write a C++ program to overload ‘+’ operator to perform Addition of
two complex Numbers.
g) Explain Multilevel Inheritance with example.

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


a) Explain private inheritance with example.
b) Which are the two ways of defining Member function? Explain any
one with example.
c) What is operator overloading? Write its syntax and also write the rules
of operator overloading.
d) Discuss conversion of Basic to Class Type with example.
e) Write a C++ program to create a class shape with function to find area
and display name of shape and other essential components of the class.
Create derived class circle, square, rectangle each having overridden
function area and display. Write a suitable program which illustrate
virtual function.
f) Explain the following in short :
i) Object
ii) Class
iii) Reference variable
iv) Function overriding
v) New operator
[6058]-401 3
g) Trace the output and justify
i) # include iostream. h
int z;
main ()
{
int z = 50;
cout << “value of z is” << : : z;
cout << “value of z is” << z;
}
ii) # include iostream. h
Class A
{
public :
A ()
{
cout << “In class A”;
}
~ A ()
{
cout << “In Destructor”;
}
};
Class B : public A
{
public :
B ()
{
cout << “In class B”;
}
~ B ()
{
cout << “In class B Destructor”;
}
};
int main()
{
B b;
return 0;
}


[6058]-401 4
Total No. of Questions : 4] SEAT No. :
P1358 [Total No. of Pages : 3
[6058]-402
S.Y.B.C.A. (Science)
BCA-242 : WEB TECHNOLOGY
(2019Pattern) (Semester-IV)
Time : 3 Hours] [Max. Marks : 70
Instructions to the candidates:
1) All questions are compulsory.
2) Neat diagram must be drawn wherever necessary.

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


a) The________ function returns the column name
i) pg-field-name () ii) pg-col-name()
iii) postgres-field-name () iv) none of these
b) By default the index of array in PHP statrs from
i) 0 ii) 1
iii) –1 iv) 2
c) Which of the following operator when added before an expression
ignores error messages?
i) @ ii) #
iii) % iv) ^
d) XML comments are written as _____
i) <!–!> ii) <!---?
iii) <?-?> iv) <$---%>
e) Which one of the following property scopes is not supported by
PHP?
i) friendly ii) final
iii) public iv) static

1 P.T.O.
[6058]-402
B) Answer the following : [5×1=5]
a) List types of XML parser.
b) For what purpose table Info () method is used?
c) State True/False PHP $–GET[] is super global array in PHP.
d) How static method is invoked?
e) What is the use of array-slice function?

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


a) Explain how PHP works with web server.
b) Differentiate between anonymous function and normal function.
c) What is Introspection. Explain any two functions with example.
d) Explain SSL.
e) List the steps to write ajax code to retrieve. information from XML file
using PHP.
f) Write a PHP program to display the total no. of rows returned by a query
containing students studying in SYBCA class.

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


a) Explain the following PEAR DB to get information about result object
with example.
i) numrows ()
ii) numcols ()
b) Explain (Define) cookies. Give syntax for set cookie and explain the
cookie attributes in detail with example.
c) What are the differences between AJAX and JAVA script.
d) Compare between for and for each loop.
e) Write a program in PHP to find the size of array using count and size of ()
function.
f) Explain what is HTTP authentication?
g) What are the placeholders in query? Explain in detail with example.

[6058]-402 2
Q4) Answer the following: [5×5=25]
a) Explain self processing pages concepts in detail with example.
b) Explain Encapsulation with its advantages .
c) Consider tables: Plant (Plant-id, plant-name, plant-type, price)
Write a PHP script to accept-plant-type. The script schould display the
information of plants belonging to the plant-type entered by user.
d) Create an application that reads Book. XML file into simple XML object.
Display attributes and elements (Hint : use simple-XML-load-file())
e) Explain the following array function, with example.
i) arr-pad ( )
ii) array-values ( )
iii) range ( )
f) What is Sticky form? Explain with example.
g) Explain prepare and excecute functions with suitable example.

  

[6058]-402 3
Total No. of Questions : 4] SEAT No. :
P-1359 [Total No. of Pages : 4

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

Q1) Attempt the following :

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


a) Which of the following is not the element of the system?
i) Control
ii) Input
iii) Environment
iv) Risk

b) Which is the characteristics of software process?


i) Understanding ii) Visibility
iii) Reliability iv) All of the above

c) SDLC stands for _____.


i) System Development Life Cycle
ii) System Development Life Control
iii) Software Development Life Cycle
iv) System Design Layout Cycle

P.T.O.
d) _____ is the final work product produced by the requirement
engineer.
i) Negotiation
ii) Elicitation
iii) Specification
iv) Inception

e) Agile modeling provides guidance to practitioner during which of


the following software task?
i) Analysis
ii) Coding
iii) Design
iv) Both i) and iii)

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

a) What is closed system.

b) Define Software engineering

c) List the activities in SDLC.

d) What is negotiation?

e) What is pseudocode?

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

a) Write a note on DSS.

b) Explain umbrella activities.

c) What are the characteristics of Software? Explain.

d) Explain any three validation phases of V and V model.

[6058]-403 2
e) Explain Adaptive Software Development Model.

f) What is the need of software.

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

a) What is requirement? Explain its types.

b) Explain steps in prototyping model.

c) What is the difference between structured and unstructured interview.

d) Explain output design with example.

e) What is open system? Explain.

f) Explain two advantages and two disadvantages of DFD.

g) What is feasibility study? Explain its types.

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

a) Draw Decision Table for the following :

An organization decides to give Diwali Bonus to all the employees. For


this the management has divided the employees into three categories namely
Administrative staff (AS), Office staff (OS), Workers (W) and consider
the rules given below :

i) If the employee is permanent and in the ‘AS’ category, the bonus


amount is three months salary.

ii) If employee is permanent and in ‘OS’ category, bonus amount is


two months salary.

iii) If employee is permanent and in ‘W’ category, the bonus amount is


one month.

iv) If employee is temporary, then half of the amount is given to them


as per the permanent employee’s bonus amount.

[6058]-403 3
b) Draw context level and 1st level DFD for Hospital Management System.

c) Explain five components of system.

d) Explain different fact finding techniques.

e) Explain process framework activities.

f) What is requirement gathering? Explain.

g) Differentiate between Physical DFD and Logical DFD.



[6058]-403 4

You might also like