Class:
- B.Com/B.Sc.
III (COMP VOC)
Subject:
- Programming with PHP &
MySql Max. Marks: -65/75
Paper:
- II Time:-3.00
Hrs.
Attempt any five question in all, select at least one question from
each unit. All questions carry equal marks.
UNIT -I
Q1. What do mean by a scripting language?
How it is different from a programming language? Explain in context with php. [13
/ 15]
Scripting
language D;k gS ;g fdl
rjg programming language ls fHkUu gS
php ds fglkc ls crk,s A
OR
Q2.
Describe the term "OPEN Source".How it is useful in development of
Generalized softwares for common society. [13 / 15]
"OPEN Source" term D;k gS ;g Generalized
softwares developement es
fdl รงdkj mi;ksxh
gSA
UNIT -II
Q3. In context of PHP, what is ARRAY? What are the various methods
to create and use array in PHP? Write a code in PHP to sort an array. [13 / 15]
PHP es ARRAY D;k
gSA es
D;k gSA ARRAY create djus ds various
methods crkvks
OR
Q4. Write short notes on any 4 of the following. [13 / 15]
a. Conditional Structure
b. PHP Operators c. Global Variables
d. Constants e. Foreach constructs
d. Constants e. Foreach constructs
UNIT -III
Q5. Discuss about following MySql commands. [13 / 15]
a. Update b.
delete c. Disp Stru d. Insert
e. Show
OR
Q6. What are the various types of MySql tables and storage engines? Explain
in detail. [13 / 15]
fofHkUu rjg ds MySql tables
vksj storage engines fd O;k[;k djs A
UNIT -IV
Q7. Write a PHP code to use a HTML Form which have various
components on it, now put some data in it and process thru PHP Program. [13 / 15]
HTML Form dk iz;ksx djrs gqz, dqN components dks use dj PHP code fy[ks A Form ds components dks
process djus dk PHP
Program fy£sa A
OR
Q8. Describe and discuss various PHP library Functions giving
suitable examples. [13 / 15]
Examples lfgr PHP library Functions dks crkvks A
UNIT -V
Q9.Write a PHP Code to link a PHP+HTML page with a MySql Table. Now
use this table to retrieve data and display using suitable HTML commands. [13 / 15]
PHP+HTML page dks MySql Table ls link djus dks fy, PHP Code fy[ks A vc table
ls data use djus ds fy, suitable HTML
Program fy£sa A
OR
Q10. Write
a PHP Code to Insert, Update, Delete a record from a MySql table. [13 / 15]
Thanku
ReplyDelete