Web technologies

                                                MID II



1. Number of ways to delete a cookie                                                                                                       (  )
a.1          b.2          c.3          d.4
2. The single data types that are handled by the sessions include                                                      (  )
A. integer            besting floating point    deal
3. The number of approaches to delete a browser                                                                                (  )
a.1          b.2          c.3          d.4
4. $_SERVER [HTTP_USER_AGENT] gives information about                                                               (   )
A. browser version         password            agent    d.a&c
5. The http headers are used for                                                                                                                (  )
a.controlling      b.finding the file format              c.rectifying errors            d.a&b
6.the function used to authenticate  a user is                                                                                         (  )
a.header()          b.issset()             c.a&b    d.none
7.____________fuction calculates the time of sunrise for a given day and location                        (  )
a.Date_Sunrise()   b.Date_Sunset()  c.Date()   d.GetDate()
8.__________function performs the conversion of local date/time values into a UNIX time stamp (  )
a.StripTime()  b.StrtoTime()  c.StrfTime()  d.mk time()
9.______________function provides current system date & time as a UNIX time stamp                  (  )
a.Stop time  b.Str to timest  c.Strif time d.none
10.______________are complex data types in sessions.                                                                            (  )
a.objects  b. classes  c.interfaces  d.all
11.In _______method, all the data in the form fields are appended to the URL at the browser.      (  )
a.GET  b. POST  c.SET  d. None
12. The validation for multuiple form submission can be done In _______ways                                     (  )
a.1          b.2          c.3          d.4
13._____________ function converts the attempted HTML into its equivalent special characters       (  )
a. Time   b.  HTML special chars()  c. Strip tags()  d. Add slashes()
14.___ Function inserts a slash at the beginning of characters that are harmful to the data base       (  )
a.strip_tags        b.add_slashes   c.trim()                 d.html special chars ()
15. Which one of the following is not an attack on websites                                                                         (  )
a.file deletion   b.cross site scripting`     c.a&b    d.none
16._________button is used to select an option                                                                                            (   )
a.select                                b.list      c.check box        d.radio
17.______________is a field on the form that hides the data it contains                                                 (  )
A.output              b.input                 c. hidden input                 d.all
18. The _______element of a form contains multiple options and is a drop down box                      (  )
a.select                                b.list      c.check box        d.radio
19.___________method is used to send the data in the form fields to standard input.                      (  )
a.GET  b. POST  c.SET  d. None
20. In order to secure the script the register_globals are turned ________                                            (  )
a. on   b. off  c. a&b d. None
21. Which command is used to change the format of the table?                                                                 (  )
a. insert   b. change  c.Alter  d. delete
22. The _______components of MVC renders the components of a model.                                             (  )
a. model  b. view  c. controller  d. None
23. Which field is used mto identify each record uniquely?                                                                          (  )
a. name  b.Title  c. ID d. None
24. Which functions is used to specify the number of rows returned from a select statement?            (   )
a. Mysql_rows()  b. select()  c. number_of_rows()  d. mysql_num_rows()
25._______is an optional parameter in the prototype for Mysql_close                                                       (  )
a.Server  b. user name  c. Resource link identifiers  d. New_link
26.______function is used for querying the database                                                                                     (  )
a. Mysql_query()  b. select()  c. number_of_rows()  d. mysql_num_rows()
27. __________is a function is used to retrieve the row in a database.                                                       (  )
a. Mysql_fetch_array()  b. select()  c. number_of_rows()  d. mysql_num_rows()
28. To modify a set of data ____________fields are to be referenced.                                                         (  )
a. name  b.Title  c. Record ID d. None
29. To remove part of data from a table __________clause is used.                                                            (   )
a. insert   b. change  c.Alter  d. where

30.The syntax for object creation is___________________________ 

No comments:

Post a Comment