WEB SYSTEM & TECHNOLOGIES BSCS 6th Term 2017 Past Paper UOS

University of Sargodha
B.S. 6th Term Examination 2017
Subject: Computer Science
Paper: Web System & Technologies (CS-3548)
Time Allowed: 2.30 Hours
Maximum Marks: 80
Objective Part
(Compulsory)
Q. No.1. Write short answers of the following in 2-3 lines on your answer sheet. (2*16)
i. What does CSS stand for?
ii. If you encounter a bug (which is rare) in one of the open source tools, how do you think you could get it fixed?
iii. What is the purpose of an FTP program?
iv. Name the main disadvantage of working on a remote web server.
v. What are the two types of comment tags?
vi. Which character must be placed at the end of every PHP statement?
vii. What can a variable store?
viii. What syntax would you use to create a subclass from an existing one?
ix. Why is it a good idea to explicitly declare properties within a class?
x. What is the difference between foreach and each?
xi. How can you create a multidimensional array?
xii. How can you set PHP’s internal pointer into an array back to the first element of the array?
xiii. Which printf conversion specifier would you use to display a floating-point number?
xiv. Are the operators && and and interchangeable?
xv. How can you create a multiline echo or assignment?
xvi. PHP function enables the running of system commands?
Subjective Part
(4*12=48)
Q. No.2: What is the difference between a WAMP, a MAMP, and a LAMP?
Q. No.3: 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?
Q. No.4: If a form has to offer three choices to a user, each of which is mutually exclusive (so that only one of the three can be selected), which input type would you use for this, given a choice between checkboxes and radio buttons?
Q. No.5: Where are the username and password stored in a PHP program when using HTTP authentication?
Q. No.6: Give two cross-browser methods to display the URL assigned to the link with an id of this link.
Q. No.7: Both SELECT DISTINCT and GROUP BY cause the display to show only one output row for each value in a column, even if multiple rows contain that value. What are the main differences between SELECT DISTINCT and GROUP BY?