Exam Details
Subject | web programming with php | |
Paper | ||
Exam / Course | p.g.d.c.a. | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | May, 2017 | |
City, State | andhra pradesh, solapur |
Question Paper
P. G. D. C. A. (Semester Examination, 2017
WEB PROGRAMMING WITH PHP
Day Date: Monday, 08-05-2017 Max. Marks: 80
Time: 10:30 AM to 01.30 PM
N.B. Q.1 and Q.7 are compulsory.
Attempt any two Questions from Q .No2, 3 and 4.
Attempt any one question between Q.5 and Q.6.
Figures to the right indicate full marks.
Q.1 Choose the correct alternative: 08
Which datatypes are treated as arrays
Integer Float String Booleans
Identify the variables scope that is not supported by PHP
Local variable Variable
Global variables None of the above
You can test the type of any variable with the function.
whattype() showtype() gettype() settype()
String values must be enclosed in
Single quotes Double quotes
Both A and B None of above
What is the limit of a PHP integer value?
16384 65536 1048576 2147483647
PHP does not support number written in hexadecimal, octal or
scientific notation.
True False
The arguments in a function are evaluated
Left to right
Right to left
Sometimes left to right and sometimes right to left
All of the above
strlen() returns the length of the string on success and if
the string is empty.
NULL Garbage value 0
Page 1 of 2
SLR-T- 9
Fill in the blanks 08
functions count elements in an array?
When compared to the complied program, scripts run
method is suitable when you need to send larger
form submissions.
In Switch the statement is used if no match is found.
function sort arrays in ascending order.
PHP has different variable scope.
statement executes some code if one condition is
true.
The statement is used to create a table in MySQL.
Q.2. Explain data types in Mysql. 08
Explain decision making statement with suitable example. 08
Q.3 Explain the need of Open Source. 08
Explain data type in PHP. 08
Q.4 Explain Looping statement with suitable example. 08
Explain Structure of HTML document and Types of tags in Html
with suitable example.
08
Q.5 Explain functions with suitable example. 08
What is an array? Explain array in php with suitable example. 08
Q.6 Write a program to print following output using looping
statement.
08
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
Create a php/html form which accepts one integer value and
print number in reverse order.
08
Q.7 Write short notes. 16
Apache Web Server
Creating table and Database in Mysql Server
Connecting Mysql table in php
History of PHP
WEB PROGRAMMING WITH PHP
Day Date: Monday, 08-05-2017 Max. Marks: 80
Time: 10:30 AM to 01.30 PM
N.B. Q.1 and Q.7 are compulsory.
Attempt any two Questions from Q .No2, 3 and 4.
Attempt any one question between Q.5 and Q.6.
Figures to the right indicate full marks.
Q.1 Choose the correct alternative: 08
Which datatypes are treated as arrays
Integer Float String Booleans
Identify the variables scope that is not supported by PHP
Local variable Variable
Global variables None of the above
You can test the type of any variable with the function.
whattype() showtype() gettype() settype()
String values must be enclosed in
Single quotes Double quotes
Both A and B None of above
What is the limit of a PHP integer value?
16384 65536 1048576 2147483647
PHP does not support number written in hexadecimal, octal or
scientific notation.
True False
The arguments in a function are evaluated
Left to right
Right to left
Sometimes left to right and sometimes right to left
All of the above
strlen() returns the length of the string on success and if
the string is empty.
NULL Garbage value 0
Page 1 of 2
SLR-T- 9
Fill in the blanks 08
functions count elements in an array?
When compared to the complied program, scripts run
method is suitable when you need to send larger
form submissions.
In Switch the statement is used if no match is found.
function sort arrays in ascending order.
PHP has different variable scope.
statement executes some code if one condition is
true.
The statement is used to create a table in MySQL.
Q.2. Explain data types in Mysql. 08
Explain decision making statement with suitable example. 08
Q.3 Explain the need of Open Source. 08
Explain data type in PHP. 08
Q.4 Explain Looping statement with suitable example. 08
Explain Structure of HTML document and Types of tags in Html
with suitable example.
08
Q.5 Explain functions with suitable example. 08
What is an array? Explain array in php with suitable example. 08
Q.6 Write a program to print following output using looping
statement.
08
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1
Create a php/html form which accepts one integer value and
print number in reverse order.
08
Q.7 Write short notes. 16
Apache Web Server
Creating table and Database in Mysql Server
Connecting Mysql table in php
History of PHP
Other Question Papers
Subjects
- asp.net using c#
- communication skills
- dbms and rdbms using oracle
- fundamentals of computer and information technology
- introduction to accounting package and ms-office
- java programming
- software engineering with ‘c’ programming
- system analysis & design with c programming
- web programming with php