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

UI and Oops QP

Uploaded by

Goku
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)
24 views

UI and Oops QP

Uploaded by

Goku
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/ 7

Roll No.

:
Amrita Vishwa Vidyapeetham
BCA Degrce Examination - May 2019
Computer Science and Applications
15CSA115: Object Oriented Programming using C++
Supplementary
Graph not required
Time:Ihrec
hoIs Maximum: 100 Marks
Part A (10 x 3 marks = 30 marks)

does the variable differ from constant? How do you create constants in C++ program?
1.How function2
friend
Whatis syntaxto createa class and object in Ct+ program. Show one example code snippet.
Writethe and its use
destructor function
Define
4 Write a ( C++
program to findthe sum of digits of a number.
Inline functions in a C++
S. the advantage of using program?
What is
6.
cascading?
WhatisIO member is differ from normal data member in memory usage" justify the
7. data
Static
statement.
theoutput
o Predict
using namespace s t :
a, int main ()
yl, z=l;
(int x=l, && ++z)
Cout<(++x | | ++y
<<Z;
Cout<<x<< "<<y<<
return 0; }
sample{al,b, c}:
b. enum
int main ()
X= C;
{ int
int &y=X;
int &Z= X;

y-b;
Cout<<Z--;
return 0;

inheritance.
10.Explain data abstraction and
Part B (7 x 10 marks -= 70marks)
I1.
snippet. 6 marks
a Differentiate callby value and call by reference with example code
4 marks
D. Write a Ct+ program to display elements of an array using pointers.

Page 1 of2
which represent astudent with properties name, course,
12.Create a clasS
SGPA of cnch semester.
Add proper constructor function
to the class,
the student details and SGPA in each semester. Test the class in main function, rol nunbwheri,ch CdiGspPlaAy,.
function
\0 marks
3 statement get executed?
What will happen when the following
class1 ob, ob2; Amartks
classl obl(ob) ;
ob2 = obl;
overload constructor? Explain with sample code.
b. Is it possible to 6marks

do you implement the polymorphism in Ca


14.
a. Define polymorphism. How polymorphism? program?6marksWhat
are the different types of
b.
class Number

Public:
int data;
Number () {data= 0;}

of the data member data with 2in tha o.


Overload the + operator to increment the value
4 marks
class. Implement all the stack operations.,
a class which represent aa stack data structure.
15. Create 10 marks
functions in main class) Con ..
How can you access the virtual
16. What is abstract class? function in a class? explain
with example. 10 marks
include more than one virtual

17. private, and protected data in the class. Smarks


Explain the accessibility of public, inheritance in the following figure.
a.
and implement the
b. Identify the type ofinheritance 5 marks

HOD
uSmam char
password: ch

login)

Stofpromotion
hodF8. intoger
saFB:integar
passper: innegr
Add New Ssf
R&J: Itegar

Addo

Page
2of2
Roll No
AmritaVishwa Vidyapcetham
BCA Degrec Examinations-May 2019
First Semester
Computer Science and Applications
15CSA103 Fundanmentals of Web
Technology
Maximum Marks: 100
mHrs

Section A: 100 marks


Answer all questions. Each question carries 20 marks.

perthe following.
HTMLas
sure youhave vOur document set as HTML and have a body of the page
Make
2 defined.
Background: Set a
background colour and backgroundimage
bold, italics and underlined as well as showing different types of
b.
Font =)Font in sizes.
c. different font colors and
and different headings of different
fonts
Your pageshould have at least two
Headings: should be alignedto the center of the page.
A The main heading
ypes.
need a minimum of 2images: align one left and one right.
Images: You tag to0 set up Some text to appear
exactly as it
e. Pre-format Text: Use the <Pre>
£ code.
doesinyour leasttwo links on your page.
Links: Have at
type of list on your page: Ordered and unordered.
. of each the
Lists: You need one
page (before the end body tag), add a line across
h. bottom of your web the copyright symbol, your name, and
i. Atthe
On the next line center
page and center it.
the date.
breaks <Br> when necessary.
i Use line

2Answerthefollowing.
with the following designs.
HTML table
a Create an
Time Table
Wed Thu Fri
Mon Tue
|Science|Maths ScienceMathsArts
HistoryEnglish Social Sports
|Social
Hours Lunch
ScienceMaths ScienceMaths
Project
Social HistoryEnglish Social
b. Design an HTML form as follows.

rForm Validation
Name:

Usermame:
Password
Re-type pasSword
Gender. O Male O Female O Other
Progranning skills: DJava Android ORuby D Net
Contact no:
Emal

College: |Select college |


Submit

3. What are frames and framesets? Write down any four


pages.Also create the following frameset design. HTML tags used to create
Netscape [file:l/C)/DATA/QUEBOOK/HTML/Chap15/FrameOne.html
Fle Edt Vew Go Bookmarks Opions Drectory Window Heo
DrokFuwad Home

Thisis a header.

Look in the box at Here is some infomaion,


the right for some
information.

This is a footer.

Tkal DocuTent Done

4. What are stylesheets? How do youadd style information toan HTML file? Write C3So
apply the following style information to HTML content.
a. Set the background colour for your page
b. Setthe colour ofAll paragaphs
C. Set a margin of 2 px for the paragraphs
d. Set the font size of paragraphs to 12 px
e. Set the text style as italic for h4 tag
Createa heading which is underlined.
f
Justifythe paragraph text on both sides.
Doublethe size Ofthe first letter of the first paragraph of your page.
h.
short nootes
on the following.
Write Web server
b.
a. Webclient

Webhosting
d.
C. ProXyserver

e. DNSserver
f Databaseserver
URL
h. DOM
i. IPAddresses
j HTTP
lable. . 2
Write page Write 4 sie. Create 3 .
c.
k a Ad
fol owirnugles:
another and PHP Valaidate a Set Setd. Set c an e. c. b. a. Crate cO(mpone
ol owingnts: Hours
display course Headi ngs: Text: viewing.
they
are
An Atitle Aframeset. A a A a
a any the space external table
PHP program the background
it preference
Form format ting table's that Your imagesomewherecopyright minimum course
in Answer
program ina isYou body style in the 12CSA236:
subsequent readtofields captionGeneva,should the of management
to page color info text sheet Lab Projects stpage.atement three all SupplementaryBachclorAmrita
on questions.
store all using to Vidyapectham
Vishwa
Amrita
the using for using tobold, alsshoul
display O d Assigments each your in pages Section Web School
the page. the web
JavaScript. al a 16 be page (iome,
course values lnclude
pt., Home site
HIMLparagraphs. CSS
with in course Each Technologies Computerof of
A:
uppercase. Verdana, page. proVIdng using
Examination,
Engineering,
preferences entered tornms class. a at page. Projects, question 50
bold, least management marks
HTML
by in the and Applications
the italic one 10 and carries y
the pt. user MaAmritapuri
entered above tont, section Lab frames. Applications Enrollment
Number
user web with 10 2019
by in course site The marks
the heading information Assignments)
the by site
user coursemanagement
in
adding
must Marks:
Max.100
in your on arranged
Page apreterence at what contain
1 MySQL content least
of web page using
2 the the
10. 9. 8. 7. 6.
Answer codeExplainthe Differentiate
following.
the Wri te a What
a. b. a. AddressesIP e. URL d. DNS C. XSL b. DTD a. client
b.
blocks,
validate What PHP. inWrite the Internet Web short side is
the
are following. explain
sample Document servers and
notes signilicance
HTML regular and Answer
onserver
PHP how web and the
form Object proxy al
expressions? code DOM following side ofquestions.
data state state
blocks servers Section
can Model
using management
management
be
to used(DOM) Each B:
PHP/JavaScript.Explain create
question 50
to marks
how an retrieve
JavaScript. of techniques
technique
indexed
regular carries
data
used in
array from Using a 10
expressions in web marks.
and an PHP.
sample application?
an HTML
associative
can JavaScript
form
be Eadbarae,
used aray
to

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