Exam Details
Subject | web technology – ii | |
Paper | ||
Exam / Course | b.c.a | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | March, 2018 | |
City, State | maharashtra, solapur |
Question Paper
B.C.A. (Semester IV) (CGPA) Examination Mar/Apr-2018
WEB TECHNOLOGY II
Time: 2½ Hours
Max. Marks: 70
Instructions: Q.1 and Q.7 are compulsory. Attempt any two questions from Q. 3 and 4. Attempt any one question from Q. 5 and 6. All questions carry equal marks.
Q.1
Choose the correct alternatives:
14
PHP is a widely used open source general purpose scripting language that is especially suited for web development.
True
False
Which of the following php statement/statements will store 111 in variable num?
int $num 111;
int num 111;
$num 111;
All of these
The function checks if the "end-of-file" has been reached.
feofs()
feof()
Which of the following method is suitable when you need to send larger from submissions?
Get
Post
Both a and b
None of these
Which of the following PHP statement will display "PHP is an Open Source" on the screen?
echo ("PHP is an Open Source");
print ("PHP is a Open Source");
printf ("PHP is an Open Source");
All of these
Which function is used to erase all session variables stored in the current session?
Session_destroy()
Session_change
Session_remove()
Session_unset()
Which of the following keyword is used to inherit subclass into a superclass?
Extends
Implements
Inherits
None of these
What is the correct way to connect to a MySQL database?
dbopen("localhost");
mysql_open("localhost");
mysql_connect("localhost");
connect _mysql("localhost");
Which of the following statement is correct about PHP?
It is a server side scripting language
A PHP file may contain text, html tags or scripts
Both a and b
None of these
10) is a special variable, which can hold more than one value at a time.
Array
Class
Structure
Interface
Page 2 of 2
SLR-CV-9
11) $this is used to refer to properties or methods within the class itself.
True
False
12) new_rows()method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query.
True
False
13) Which of the following is not true about PHP?
PHP can be used to develop web applications.
PHP makes a website dynamic.
PHP applications support to the OOP's Concept
PHP cannot be embedded into html
14) The PHP syntax is most similar to
C Language
Java Script
VB Script
Visual Basic
Q.2
What is PHP? Explain the benefits of PHP as server side languages.
05
Explain server side validation.
05
Write note on global keyword.
04
Q.3
Define session. Explain how to initiate and destroy a session in PHP.
05
Write a program which uses the static methods and static variables.
05
Write note on super global variables.
04
Q.4
Differentiate call by values and call by reference with example.
05
Explain working with PHP and MySQL environment
05
Differentiate between the functions strstr() and stristr()
04
Q.5
What is interface? Differentiate abstract classes and interfaces with example.
07
Explain the following form controls.
Text box
Check box
List box
07
Q.6
Explain the following functions with syntax and purpose.
array_diff()
asort()
array_sum()
array_merge()
07
Design a web application that uses cookies and session object.
07
Q.7
Write short note on the following:-
14
Differentiate session and cookie
Hidden field
Use of final keyword
Types of function
WEB TECHNOLOGY II
Time: 2½ Hours
Max. Marks: 70
Instructions: Q.1 and Q.7 are compulsory. Attempt any two questions from Q. 3 and 4. Attempt any one question from Q. 5 and 6. All questions carry equal marks.
Q.1
Choose the correct alternatives:
14
PHP is a widely used open source general purpose scripting language that is especially suited for web development.
True
False
Which of the following php statement/statements will store 111 in variable num?
int $num 111;
int num 111;
$num 111;
All of these
The function checks if the "end-of-file" has been reached.
feofs()
feof()
Which of the following method is suitable when you need to send larger from submissions?
Get
Post
Both a and b
None of these
Which of the following PHP statement will display "PHP is an Open Source" on the screen?
echo ("PHP is an Open Source");
print ("PHP is a Open Source");
printf ("PHP is an Open Source");
All of these
Which function is used to erase all session variables stored in the current session?
Session_destroy()
Session_change
Session_remove()
Session_unset()
Which of the following keyword is used to inherit subclass into a superclass?
Extends
Implements
Inherits
None of these
What is the correct way to connect to a MySQL database?
dbopen("localhost");
mysql_open("localhost");
mysql_connect("localhost");
connect _mysql("localhost");
Which of the following statement is correct about PHP?
It is a server side scripting language
A PHP file may contain text, html tags or scripts
Both a and b
None of these
10) is a special variable, which can hold more than one value at a time.
Array
Class
Structure
Interface
Page 2 of 2
SLR-CV-9
11) $this is used to refer to properties or methods within the class itself.
True
False
12) new_rows()method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query.
True
False
13) Which of the following is not true about PHP?
PHP can be used to develop web applications.
PHP makes a website dynamic.
PHP applications support to the OOP's Concept
PHP cannot be embedded into html
14) The PHP syntax is most similar to
C Language
Java Script
VB Script
Visual Basic
Q.2
What is PHP? Explain the benefits of PHP as server side languages.
05
Explain server side validation.
05
Write note on global keyword.
04
Q.3
Define session. Explain how to initiate and destroy a session in PHP.
05
Write a program which uses the static methods and static variables.
05
Write note on super global variables.
04
Q.4
Differentiate call by values and call by reference with example.
05
Explain working with PHP and MySQL environment
05
Differentiate between the functions strstr() and stristr()
04
Q.5
What is interface? Differentiate abstract classes and interfaces with example.
07
Explain the following form controls.
Text box
Check box
List box
07
Q.6
Explain the following functions with syntax and purpose.
array_diff()
asort()
array_sum()
array_merge()
07
Design a web application that uses cookies and session object.
07
Q.7
Write short note on the following:-
14
Differentiate session and cookie
Hidden field
Use of final keyword
Types of function
Other Question Papers
Subjects
- advance programming in c
- advanced java – i
- advanced java – ii
- advanced programming in ‘c’
- advanced web technology
- basics of ‘c’ programming
- business communication
- business statistics
- communication skills
- computer graphics
- computer oriented statistics
- core java
- cyber laws and security control
- data structure using ‘c’
- data structures using ‘c’
- data warehouse and data mining
- database management system
- dbms with oracle
- development of human skills
- digital electronics
- discrete mathematics
- e-commerce
- e-governance
- financial accounting with tally
- financial management
- fundamentals of computer
- fundamentals of financial accounting
- introduction to data mining & warehousing
- introduction to information technology
- linux and shell programming
- management information system
- networking & data communication
- networking and data communication
- object oriented programming with c++
- oop with c++
- operating system
- operations research
- operting system
- procedural programming through ‘c’
- python
- rdbms with oracle
- software engineering
- software project management
- software testing
- theory of computation
- visual programming
- web technology
- web technology – ii
- web technology – iii