The document outlines a series of questions and tasks related to PHP programming, covering topics such as variables, arrays, cookies, sessions, and database operations. It includes instructions to attempt various combinations of questions, with specific focus on coding examples and theoretical explanations. The document is structured into sections with varying point values for each task.
The document outlines a series of questions and tasks related to PHP programming, covering topics such as variables, arrays, cookies, sessions, and database operations. It includes instructions to attempt various combinations of questions, with specific focus on coding examples and theoretical explanations. The document is structured into sections with varying point values for each task.
a. Describe advantage of PHP. b. What is array? How to store data in array ? c. List types of inheritance. d. How can we destroy cookies? e. List any four data types in MySQL, f. Write syntax of PHP. g. How to create session variable in PHP? h. State the advantages of PHP (any four). i. State the use of strlen() & strrev(). j. Define introspection. k. Enlist the attributes of cookies. l. Write syntax of constructing PHP webpage with MySQL. m. Define GET & POST methods. n. State the use of "$" sign in PHP. o. List attributes of cookie. p. List different types of arrays. q. Explain cloning object. r. State any 2 difference between for and for each. s. Explain class and object creation. t. Explain functions. List its types. u. Define MySQL. v. List any four advantages of PHP. w. State the use of str-word-count along with its syntax. x. Define Serialization. y. Differentiate between Session & Cookies. (Any two points) z. List out the database operations.. aa. Write a program using Foreach loop. bb. Explain in short how can we destroy cookies. 2. Attempt any THREE 4x3-12 Remark a. Write down rules for declaring PHP variable. b. Write a program to create associative array in PHP. c. Define Introspection and explain it with suitable example. d. Write difference between get() & post() method of form (Any four points). e. Write a program using do-while loop. f. Explain associative and multi-dimensional arrays. g. Define serialization and explain it with example. h. Describe the procedure of sending e-mail. i. Develop a simple program for sending and receiving plain text message. j. Explain the use of break and continue statement. k. Explain constructor and destructor in PHP. l. Explain update and delete operations on table data. m. Explain different loops in PHP. n. Differentiate between implode & explode functions. o. Define Introspection and explain it with suitable example. p. Explain mail () function in PHP with example. 3. Attempt any THREE 4 x 3 =12 Remark a. Define function. How to define user defined function in PHP? Give example. b. Explain method overloading with example. c. Define session & cookie. Explain use of session start. d. Explain delete operation of PHP on table data. e. Differentiate between implode and explode functions. f. Explain the concept of cloning of an object. g. Describe the procedure of validation of web page. h. Write update & delete operations on table data. i. Differentiate between session and cookies. j. List loop control structures. Explain any one loop control structure. k. Explain the operations on string: l. (i) strrev() m. (ii) strpos() n. Explain the following: o. (i) POD: construct() p. (ii) mysqli connect() q. Explain Indexed & Associative arrays with suitable example. r. Explain constructor with example. s. Define session & cookie. Explain use of session start. t. Explain inserting and retriving the query result operations. 4. Attempt any THREE 4 x 3- 12 Remark a. Write PHP script to sort any five numbers using array function. b. Write PHP program for cloning of an object. c. Create customer form like customer name, address, mobile no, date of birth using different form of input elements & display user inserted values in new PHP form. d. Inserting and retrieving the query result operations. e. How do you validate user inputs in PHP? f. State user defined function and explain it with example. g. Describe inheritance, overloading, overriding & cloning object. h. Explain web server role in web development. i. Explain inserting & retrieving the query result operations. j. Create a web page using GUI components. k. Develop a program to connect PHP with MySQL. l. Develop a PHP program for overriding. m. Explain procedure to create PDF in PHP. Write example. n. Design a web page using following form controls: o. (i) Radio Button p. (ii) Checkbox q. Explain the following terms: r. (i) Variables s. (ii) Datatypes t. (iii) Constant u. (iv) Operators v. Write a program to create PDF document in PHP. w. Write a program to demonstrate concept of inheritance in PHP. x. Create Employee form like employee_name, Address, Mobile_No., Date of birth, Post and Salary using different form input element and display user inserted values in new PHP form. y. Write PHP program to demonstrate delete operation on table data. z. Explain web page validation with example. 5. Attempt any TWO 6x2-12 Remark a. Explain different loops in PHP with example. b. How do you connect MySQL database with PHP. c. Create a class as "Percentage" with two properties length & width. Calculate area of rectangle for two objects. d. Implement any three data types used in PHP with illustration. e. Write a program to connect PHP with MySQL. f. Explain the concept of constructor and destructor in detail. g. Write a PHP program on Introspection. h. List string function in PHP. Explain any two. i. Write a PHP program to demonstrate session management. j. Explain decision making statements along with their syntax in PHP. k. Write PHP program to demonstrate database operation using PHP and MySQL. l. Explain method overriding with example. 6. Attempt any TWO 6x2-12 Remark a. Write a PHP program to demonstrate use of cookies. b. Explain any four string functions in PHP with example. c. (i) What is inheritance ? d. (ii) Write update operation on table data. e. Describe form controls text box, text area, radio button, check box, list & buttons. f. Write a program to create PDF document in PHP. g. Elaborate the following: h. (i) call () i. (ii) Mysqli connect () j. Develop a PHP program to k. (i) Enter data into database l. (ii) Retrieve and present data from database m. Develop a PHP program to create constructor to initialize object of class. n. Develop a PHP program without using string functions: o. (i) To calculate length of string p. (ii) To count the number of words in string q. Write a PHP program to demonstrate use of cookies. r. Explain the following string functions with example: s. (i) Str-replace t. (ii) Vcwords() u. (iii) Strlen() v. (iv) Strtoupper() w. Explain interface with example.
Design Patterns Explained A New Perspective on Object Oriented Design 2nd Edition Alan Shalloway - The complete ebook version is now available for download
Design Patterns Explained A New Perspective on Object Oriented Design 2nd Edition Alan Shalloway - The complete ebook version is now available for download