
- •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.
A correct order for laying out elements is css
aligning>floating>positioning
Which statement is right?
Cookies are saved in client side, session – in server
What function(s) opens a connection to a MySQL server.
mysql_connect(),mysqli_connection()
What is the difference between unset($_SESSION["varname"]) and session_destroy()?
Unset() deletes only one variable, session_destroy() - all session variables;
Choose method that doesn't exist in javascript.
getElementByParentName
What is FALSE about interfaces and abstract classes
Abstract classes are like interfaces, but you can instantiate them.
Which attribute gives the URL of the page that will process form's data?
url
Input "type" (html form) can NOT be:
Image
Given the following code: <*p*>Watch how high I can count: <*?php for($i=0; $i<*=10; $i++){ ?*><*br /*><*? echo $i; ?*><*/p*> What will be the output of that program?
We will see an error
What does VISIBILITY property makes with <*p*> element in p {visibility:hidden}?
used to hide content within the element on the HTML page
$.post("login.php", "login=qwerty", function(data){ alert(data); }); What is "data" here?
Data, which is sent to the server;
Two days ago John has authenticated at facebook.com. Today he typed "facebook.com" in his browser's address bar, and his profile page was opened. How does the site know that he is John?
Information about authentication is saved in cookies;
Choose method of "window" object in javascript.
getElementById
Which are block elements?
<*div*>, <*p*>
$a=false; do{ echo "hi"; }while($a); What will be the output?
hi;
How to set temporary(which is deleted when we close browser) cookie (name="login", value="John" )?
setcookie("login", "John");
What statement is WRONG about PHP and OOP?
PHP is nowadays procedural language, PHP is not OOP language still.
Whichstatementis FALSE?
Block elements must be nested inside inline elements
What is true about AJAX and Jquery?
Jquery provides several functions to AJAX functionality;
What is true about CSS?
The author's style sheet is the strongest and takes precedence over the user's and the browser's style sheets.
What will be the result of the following code: <*?php $a="Hello world"; echo $a[2]; ? *>
L
$s = "hello world"; $a=explode(" ", $s); What is $a here?
$a is an array of strings, consists 2 elements - "hello" and "world";
In PHP, a variable is NULL if(choose incorrect answer):
It has not been set to any value?
Which one is WRONG way to create an object in javascript?
Varobj = newvar;
Choose the correct css syntax.
Selector {property1 : value1; ... propertyN : valueN;}
How to check if $_SESSION["username"] variable is set?
How to check if $_SESSION["username"] variable is set?
If(isset($_SESSION["username"]));
What is Controller in MVC pattern.
The Controller receives input and initiates a response by making calls on model object
Can we place elements like <*div*>, <*h1*>, <*span*> or so on inside FORM, like this: <*form*><*div*><*input type="text" name="name" /*><*/div*><*/form*>.
Yes
What statement is true about HTML "form"?
Accept information from the user and sends the information to a web server…
How input type="radio" elements are grouped (that only one can be checked at a moment)?
By "name" attribute;
We have a function f1($a, $b){ return $a+$b; } How can we call this function?
$a = f1(5, 6);
How to check if $a*>0 and $a<*100 inside one "if" statement?
if($a*>0&&$a<*100);