
- •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.
Definition for "null"(variable) in javascript.
Exists but was assigned a null value.
What argument(s) has 'mysql_connect' function.
'hostname', 'username', 'password'.
Which is NOT a benefit of javascript?
Not subject to browser compatibility issues.
Can respond to user actions like clicks and key presses.
Can modify a page without having to post back to the server.
Can make small, quick changes to page without waiting for server.
What is an extension of jQuery library?
Js
A correct order for laying out elements is CSS
aligning>floating>positioning
What statement is WRONG about PHP and OOP?
PHP is nowadays procedural language, PHP is not OOP language still.
Which statement is FALSE?
Xhtml describes the appearance and behaviour of the document.
SQL: How to select an information about user with given login and password from table "users"?
Select * from users where login="$login" and password="$password";
Can we place elements like <*div*>, <*h1*>, <*span*> or so on inside FORM, like this: <*form*><*div*><*input type="text" name="name" /*><*/div*><*/form*>?
No, we can place only text, textfields and buttons;
What does AJAX stands for?
Asynchronous JavaScript and XML;
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;
for($i=0; i<*10; i++) echo $i; What will be the output
Code has errors;
Which of the following comments is NOT supported in PHP:
<*!—some code--*>;
Choose the right syntax for inheritance between classes in PHP.
class ClassName extends ClassName2{...}
Correct way of variable declaration in javascript.
Var age;
What is true about AJAX and Jquery?
Jquery provides several functions to AJAX functionality
A correct way to make all <*p*> elements italic?
p {font-style:italic}
Is it possible to create more than one session per client(browser or another client)?
No, only one session per client;
Given code: <*input type="text" name="name1" value="login" /*>. What does "value" attribute specifies?
It specifies initial text - "login" will be written in that text field;
Which statement is WRONG?
Cookies are used only for advertising;
How to set textarea's width and height in html?
rows="10" cols="20";
Which is NOT appropriate rule for XHTML?
All tag attributes must be enclosed in quotation marks
Which attribute gives the URL of the page that will process form's data?
Action
$a=false; do{ echo "hi"; }while($a); What will be the output?
Hi;
Types of properties in CSS that are inheritable by children elements
text, color, and font
Which statement is wrong?
The script with require() will continue run when the target wasn't found;
Which input type DOESN'T exist in html "form"?
input type="directory";
What will be the result of the following code: The answer is<*?=6*7 ?*>;?
The answer is 42;
Input "type" (html form) can NOT be:
Image
$s=array("hello", "world"); $a=implode(" ", $s); What is $a here?
$a is an array of strings, consisting 2 elements - "hello" and "world";
What is NOT a common problem used to be solved by Web frameworks (from our lecture's list) in developing a Web Applications.
Charset problems
How to set temporary(which is deleted when we close browser) cookie (name="login", value="John" )?
setcookie("login", "John");
sider we have table 'user' and we run the following script: "INSERT INTO user (`id`, `login`, `password`, `name`, `surname`) VALUES ('1', 'azicus88', 'mypass', 'Azamat', 'Tolegenov'), ('2', 'tima', 'timapass', 'Timur', 'Yeslamgaliyev'), ('3', 'erba', 'erbapass', 'Erbol', 'Naimanov');" What will be the output of the following code: "$result = mysql_query("SELECT name, id FROM user"); $row = mysql_fetch_row($result); $row = mysql_fetch_row($result); $row = mysql_fetch_row($result); echo $row[1];echo $row[0];"
3Erbol
The stricter and more standard version of HTML is called ....
XHTML
CSS stands for:
Cascading Style Sheets
Choose the correct CSS syntax.
Selector {property1 : value1; ... propertyN : valueN;}
Choose the correct way of constructor syntax in a class in PHP.
public function __construct(parameters){statements;}
Which element is required in all HTML documents, is placed within the HEAD of the page and is displayed when bookmarking the page?
<*title*>
What is FALSE about interfaces and abstract classes
Abstract classes are like interfaces, but you can instantiate them
Choose the correct description of meta data of the Web Page.
<*meta description="Content-Type" content=" introduction to IITU" charset="utf-8" /*>
How do you change the left margin of an element?
margin-left:
How to remove cookie (in php)?
Set cookie again, by passing a timeout that is prior to the present time;
A HTML tag to make a list of items with bullets
<*ul*>
What will be output of the following code: <*?php $a="5"; $b=$a+6; echo $b; ? *>
11
How to send requests to the server without reloading the page?
Using input type="submit";
What is the difference between framework and library.
A framework calls your code, but a library is called by your code.
How to check if $_SESSION["username"] variable is set?
If(isset($_SESSION["username"]));
What is true about 'static' keyword.
Static fields/methods are shared throughout a class rather than replicated in every object
In PHP, a variable is NULL if(choose incorrect answer):