Download PTU (Punjab Technical University) BSc IT (BCA) 4th Semester 74083 PROGRAMMING IN PHP Last 10 Years 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011 and 2010 Previous Question Papers.
1 | M - 7 4 0 8 3 ( S 3 ) - 6 3 3
Roll No. Total No. of Pages : 02
Total No. of Questions : 07
B.Sc.(IT) (2015 & Onwards) (Sem.?4)
PROGRAMMING IN PHP
Subject Code : BSIT-401
M.Code : 74083
Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks
each.
2. SECTION-B contains SIX questions carrying TEN marks each and students have
to attempt any FOUR questions.
SECTION-A
1) Answer briefly :
a) What are the basic DML commands?
b) PHP is server side language or client side language? Explain your answer.
c) Write the connectivity string in PHP with Mysql database.
d) Which operator is used to check the data types of the variables, whether they are same
or not?
e) Differentiate between session and cookie.
f) How to retrieve a value from textbox in PHP on click event of button?
g) What is WYSIWYG?
h) Which server is used to compile PHP code?
i) Differentiate between $_GET and $_POST methods in PHP.
j) What are interfaces in PHP?
FirstRanker.com - FirstRanker's Choice
1 | M - 7 4 0 8 3 ( S 3 ) - 6 3 3
Roll No. Total No. of Pages : 02
Total No. of Questions : 07
B.Sc.(IT) (2015 & Onwards) (Sem.?4)
PROGRAMMING IN PHP
Subject Code : BSIT-401
M.Code : 74083
Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks
each.
2. SECTION-B contains SIX questions carrying TEN marks each and students have
to attempt any FOUR questions.
SECTION-A
1) Answer briefly :
a) What are the basic DML commands?
b) PHP is server side language or client side language? Explain your answer.
c) Write the connectivity string in PHP with Mysql database.
d) Which operator is used to check the data types of the variables, whether they are same
or not?
e) Differentiate between session and cookie.
f) How to retrieve a value from textbox in PHP on click event of button?
g) What is WYSIWYG?
h) Which server is used to compile PHP code?
i) Differentiate between $_GET and $_POST methods in PHP.
j) What are interfaces in PHP?
2 | M - 7 4 0 8 3 ( S 3 ) - 6 3 3
SECTION-B
2) Write a PHP script which takes the username, password and e-mail values from user and
checks whether the user has filled the textboxes or not. Also, check the e-mail field
whether it is incorrect format or not.
3) Write a function that interchange and prints the value of two integers A and B without
using any extra variable.
4) How a Browser communicate with Web Servers?
5) How to save the user's data in file? Also, write a program on it?
6) Write a program to update a value of database on user request.
7) What are FORMS? Explain different Form fields.
NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any
page of Answer Sheet will lead to UMC against the Student.
FirstRanker.com - FirstRanker's Choice
This post was last modified on 07 December 2019