Web Systems, Past Papers

WEB SYSTEM & TECHNOLOGIES BSSE 5th Term 2017 Past Paper UOS

WEB SYSTEM & TECHNOLOGIES BSSE 5th Term 2017 Past Paper UOS

University of Sargodha

BS 5th Term Examination 2017

Subject: Software Engineering
Paper: Web Systems & Technologies (CS: 3548)

Time Allowed: 2:30 Hours
Maximum Marks: 80

Objective Part (Compulsory)

Q.1. Write short answers of the following in 2-3 lines each on your answer sheet. (2*16)

  1. PHP and JavaScript are both programming languages that generate dynamic results for web pages. What is their main difference, and why would you use both of them?
  2. What does CSS stand for?
  3. What is the purpose of an FTP program?
  4. Name the main disadvantage of working on a remote web server.
  5. Which symbol is used to preface all PHP variables?
  6. What can a variable store?
  7. What is the difference between variable == 1?
  8. Are variable names case-sensitive in PHP?
  9. What is the best way to force your own operator precedence?
  10. When would you use the === (identity) operator?
  11. How can you call an initializing piece of code when an object is created?
  12. What is the difference between a numeric and an associative array?
  13. What is the PHP command for deleting the file file.txt?
  14. Which PHP function is used to read in an entire file in one go, even from across the Web?
  15. Which PHP superglobal variable holds the details on uploaded files?
  16. Which PHP function enables the running of system commands?

Subjective: (16 x 3 = 48)

Note: Attempt any three questions. All questions carry equal marks

Q.2. Write PHP code that sends E-mail with text file attachment.
Q.3. Create Login Page log_auth.php that authenticates Username and Password and navigate to profile page prof.php in case of successful authentication otherwise return to log_auth.php page.
Q.4. Write a program in PHP that reads a Text file and prints frequency of each character in a file.
Q.5. Describe web server’s delivery of static contents.
Q.6. What is cascading style sheets? Describe in detail.