Exam Details
Subject | web programming with php | |
Paper | ||
Exam / Course | p.g.d.c.a. | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | March, 2018 | |
City, State | andhra pradesh, solapur |
Question Paper
P.G.D.C.A. (Semester (CBCS) Examination Mar/Apr-2018
WEB PROGRAMMING WITH PHP
Time: 2½ Hours
Max. Marks: 70
Instructions: All questions are compulsory. Figures to the right indicate full marks.
Q.1
Choose the correct alternative.
14
Which of following commenting is supported by PHP.
Single line syntax
Shell syntax
Both of above
None of above
Which of the following function return 1 when output is successful?
echo
print
both
None
Which of the following data type is compound datatype supported by PHP.
Array
String
Float
Boolean
How to assign a variable in PHP?
Which keyword is used to define constant in PHP.
constant
define();
clear
NOT
USE of echo in PHP?
to print string
to call Function
To define Constant
None of the above
PHP is
Server side scripting language
client side
both side
None of the above
Fill in the blanks:
07
are used to execute the same block of code again and again.
The loop is used to iterate over arrays.
The operator provides a shorthand way of writing the if-else.
The operators are used to compare two values in a Boolean fashion.
There are types of arrays used in PHP.
reduces the repetition of code within a program.
A is a matrix with data.
Q.2
What is open source technology? Explain.
06
What is variable in PHP? Explain with suitable example.
04
Explain tag in Html with suitable example.
04
Q.3
What is PHP? Explain uses of PHP.
06
Explain While statement with suitable example.
04
What is XAMPP server? Explain.
04
Page 2 of 2
SLR-CR-4
Q.4
What is an Array? Explain with suitable example.
06
Write steps to run PHP program on XAMPP server.
04
What is variable? Explain with suitable example.
04
Q.5
What is MySQL? Explain with suitable example?
06
Write a note on functions in PHP.
04
Write a program to print 1 to 10 numbers using for loop.
04
OR
Explain HTML structure with suitable example.
06
Write a program to find given value is odd or even.
04
Write a program to print sum and average of any 5 values.
04
WEB PROGRAMMING WITH PHP
Time: 2½ Hours
Max. Marks: 70
Instructions: All questions are compulsory. Figures to the right indicate full marks.
Q.1
Choose the correct alternative.
14
Which of following commenting is supported by PHP.
Single line syntax
Shell syntax
Both of above
None of above
Which of the following function return 1 when output is successful?
echo
both
None
Which of the following data type is compound datatype supported by PHP.
Array
String
Float
Boolean
How to assign a variable in PHP?
Which keyword is used to define constant in PHP.
constant
define();
clear
NOT
USE of echo in PHP?
to print string
to call Function
To define Constant
None of the above
PHP is
Server side scripting language
client side
both side
None of the above
Fill in the blanks:
07
are used to execute the same block of code again and again.
The loop is used to iterate over arrays.
The operator provides a shorthand way of writing the if-else.
The operators are used to compare two values in a Boolean fashion.
There are types of arrays used in PHP.
reduces the repetition of code within a program.
A is a matrix with data.
Q.2
What is open source technology? Explain.
06
What is variable in PHP? Explain with suitable example.
04
Explain tag in Html with suitable example.
04
Q.3
What is PHP? Explain uses of PHP.
06
Explain While statement with suitable example.
04
What is XAMPP server? Explain.
04
Page 2 of 2
SLR-CR-4
Q.4
What is an Array? Explain with suitable example.
06
Write steps to run PHP program on XAMPP server.
04
What is variable? Explain with suitable example.
04
Q.5
What is MySQL? Explain with suitable example?
06
Write a note on functions in PHP.
04
Write a program to print 1 to 10 numbers using for loop.
04
OR
Explain HTML structure with suitable example.
06
Write a program to find given value is odd or even.
04
Write a program to print sum and average of any 5 values.
04
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