Exam Details
Subject | web programming with php | |
Paper | ||
Exam / Course | p.g.d.c.a. | |
Department | ||
Organization | solapur university | |
Position | ||
Exam Date | April, 2017 | |
City, State | andhra pradesh, solapur |
Question Paper
P.G.D.C.A. (Semester (CBCS) Examination, 2017
WEB PROGRAMMING WITH PHP
Day Date: Monday, 08-05-2017 Max. Marks: 70
Time: 10.30 AM to 01.00 PM
N.B. All question are compulsory.
Figures to the right indicate full marks.
Q.1 Choose the correct alternatives: 14
What does PHP stands for?
Personal Home Page Pretext Hypertext processor
Preprocessor Home Page None of these
PHP files have a default file extension of
.html .xml .php .ph
A PHP scripts should starts with and end with
Which of the following must be installed on your computer so as to
run PHP script?
Database Query PHP None of these
We can use to comment a single line.
Which is the following statement will store 111 in variable num?
int $num=111 int num =111
$num=111 None of these
What will be the output of the following php code
Echo $num.
3 1+2 1.+.2 Error
Q.1 Fill in the blanks 07
Numeric array an array with a index.
function creates an array.
PHP scripts are executed on the
in php code is a line that is not read/executed as a part of
program.
In php all keywords are
PHP has different variable scope.
A variable declared within a function has a scope.
Q.2 What is open source? Explain need of open source technology. 07
Explain if and if else statement with syntax and suitable example. 07
Q.3 Explain HTML document structure with suitable example. 07
What is array? Explain types of array with suitable example. 07
Q.4 Write a PHP script to insert record into Emp database with following
fields in Info table Empno, Ename and Age.
07
Write a PHP scripts to print records in Emp database with following
fields in Info table Empno, Ename and Age.
07
OR
What is Mysql? Explain Data types in Mysql. 07
Create a database named Myinfo and table named Master with
following filed and insert any 10 records.
07
Sr. No Filed Name Type Width Keys
1 RollNumber Integer Primary Key
2 Fname String 20
3 Lname String 20
4 Age integer
Q.5 Create a HTML document to insert records like Roll No., First Name,
Last Name, Address, City, Date of Birth, Gender use Check Box and
Age.
07
What is variable? Explain rules for naming variable in PHP. 07
OR
Explain Table tag and its attribute in HTML with suitable example. 07
Write a php script to print the following output 07
1 2 3 4 5
1 2 3 4
1 2 3
1
WEB PROGRAMMING WITH PHP
Day Date: Monday, 08-05-2017 Max. Marks: 70
Time: 10.30 AM to 01.00 PM
N.B. All question are compulsory.
Figures to the right indicate full marks.
Q.1 Choose the correct alternatives: 14
What does PHP stands for?
Personal Home Page Pretext Hypertext processor
Preprocessor Home Page None of these
PHP files have a default file extension of
.html .xml .php .ph
A PHP scripts should starts with and end with
Which of the following must be installed on your computer so as to
run PHP script?
Database Query PHP None of these
We can use to comment a single line.
Which is the following statement will store 111 in variable num?
int $num=111 int num =111
$num=111 None of these
What will be the output of the following php code
Echo $num.
3 1+2 1.+.2 Error
Q.1 Fill in the blanks 07
Numeric array an array with a index.
function creates an array.
PHP scripts are executed on the
in php code is a line that is not read/executed as a part of
program.
In php all keywords are
PHP has different variable scope.
A variable declared within a function has a scope.
Q.2 What is open source? Explain need of open source technology. 07
Explain if and if else statement with syntax and suitable example. 07
Q.3 Explain HTML document structure with suitable example. 07
What is array? Explain types of array with suitable example. 07
Q.4 Write a PHP script to insert record into Emp database with following
fields in Info table Empno, Ename and Age.
07
Write a PHP scripts to print records in Emp database with following
fields in Info table Empno, Ename and Age.
07
OR
What is Mysql? Explain Data types in Mysql. 07
Create a database named Myinfo and table named Master with
following filed and insert any 10 records.
07
Sr. No Filed Name Type Width Keys
1 RollNumber Integer Primary Key
2 Fname String 20
3 Lname String 20
4 Age integer
Q.5 Create a HTML document to insert records like Roll No., First Name,
Last Name, Address, City, Date of Birth, Gender use Check Box and
Age.
07
What is variable? Explain rules for naming variable in PHP. 07
OR
Explain Table tag and its attribute in HTML with suitable example. 07
Write a php script to print the following output 07
1 2 3 4 5
1 2 3 4
1 2 3
1
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