
- •Not subject to browser compatibility issues.
- •Xhtml describes the appearance and behaviour of the document.
- •Information about authentication is saved in cookies;
- •It specifies initial text - "login" will be written in that text field;
- •Which statement is wrong?
- •It has been assigned False value
- •A correct order for laying out elements is css
- •Choose the correct css syntax.
- •How to remove cookie (in php)?
- •Hover, b) link
- •121. Types of properties in css that are inheritable by children elements
- •What is not a common problem used to be solved by Web frameworks (from our lecture's list) in developing a Web Applications.
- •1Azamat
- •Which is not a benefit of javascript?
- •Var obj {name: “Aza”,getName: function(){return this.Name;}};
- •Which is not appropriate rule for xhtml?
- •Choose the correct description of meta data of the Web page.
Choose the correct description of meta data of the Web page.
<*meta name = “description “content =”introduction to IITU”/>
What is the description for 'mysql_fetch_assoc'.
Fetch a result row as an associative array
Can PHP code be embedded in XHTML code?
Yes,if file extension is .php
What will be the result for “2” + 3?
“23”
Which are block elements?
<*div*>,<*p*>
Cookie can be used for:
Authentication;
Choose the right syntax for class and interface relation in PHP
Class ClassName implements InterfaceName{….}
What is the description for ‘mysql_fetch_row’
Get a result row as an enumerated array
What function is used to close the MySql connection
Mysql_close_con()
Sider we have table ‘user’and we run the following script:…; while($row = mysql_fetch_array($result,MYSQL_NUM)) {echo $row[1].’data: ‘ $row[2].#’;}”
Azicus88 data:mypass # tima data:…
$a=”hello”;$b=”world”; How to rpint “hello world” using only variables?
Echo $a. “ ”.$b
SQL: How to add a new entry to users table?
Inserts into users(login,password) values (‘$login’$password);
Sider we have table ‘user’and we run the following script:…; $row = mysql_fetch_row($result);echo $row[0];echo $row[1];”
Timur2
Functionality: can be directly clicked on
•Styling: can be styled by CSS rules
•Accessibility: screen reader will read it when selected
Myths: Cookies are like worms/viruses and can erase data from the user's hard disk.
Cookies are a form of spyware and can steal your personal information.
Cookies generate popups and spam.
Cookies are only used for advertising.
Facts: Cookies are only data, not program code.
Cookies cannot erase or read information from the user's computer.
Cookies are usually anonymous (do not contain personal information).
Cookies CAN be used to track your viewing habits on a particular site.
Session cookie : the default type; a temporary cookie that is stored only in the browser's memory When the browser is closed, temporary cookies will be erased
Can not be used for tracking long-term information
Safer, because no programs other than the browser can access them
Persistent cookie : one that is stored in a file on the browser's computer
Can track long-term information
Potentially less secure, because users (or programs they run) can open cookie files, see/change the cookie values, etc.
MVC
The model is the domain-specific representation of the data upon which the application operators.
The View renders the model into a form suitable for interaction,typically a user interface element.
The Controller receives input and initiates a response by making calls on model objects.