FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download PTU B.Sc IT (BCA) 2019 May 4th Semester 74083 PROGRAMMING IN PHP Question Paper

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.

This post was last modified on 07 December 2019

This download link is referred from the post: PTU B.Sc IT (BCA) Last 10 Years 2010-2020 Previous Question Papers || Punjab Technical University


Roll No.

Total No. of Questions : 07 Total No. of Pages : 02

B.Sc.(IT) (2015 & Onwards) (Sem.-4)

--- Content provided by FirstRanker.com ---

PROGRAMMING IN PHP

Subject Code : BSIT-401

M.Code : 74083

Time : 3 Hrs. Max. Marks : 60

INSTRUCTIONS TO CANDIDATES :

--- Content provided by FirstRanker.com ---

  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 :

  1. What are the basic DML commands?
  2. --- Content provided by FirstRanker.com ---

  3. PHP is server side language or client side language? Explain your answer.
  4. Write the connectivity string in PHP with Mysql database.
  5. Which operator is used to check the data types of the variables, whether they are same or not?
  6. Differentiate between session and cookie.
  7. How to retrieve a value from textbox in PHP on click event of button?
  8. --- Content provided by FirstRanker.com ---

  9. What is WYSIWYG?
  10. Which server is used to compile PHP code?
  11. Differentiate between $_GET and $_POST methods in PHP.
  12. What are interfaces in PHP?

SECTION-B

--- Content provided by FirstRanker.com ---

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.

--- Content provided by FirstRanker.com ---

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.



--- Content provided by FirstRanker.com ---

This download link is referred from the post: PTU B.Sc IT (BCA) Last 10 Years 2010-2020 Previous Question Papers || Punjab Technical University