Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
web_final.docx
Скачиваний:
1
Добавлен:
01.05.2025
Размер:
39 Кб
Скачать
☆

It has been assigned False value

  1. Choose client-side language(executed on a browser).

HTML

  1. Which attribute initially checks the checkbox?

checked="checked";

  1. 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?

  1. Choose server-side language/technology(executed on a server).

Servlet

  1. What for we need 'include' statement.

The 'include' statement includes and evaluates the specified file.

  1. Choose method that doesn't exist in javascript.

getElementByParentName?

  1. How to add jQuery to web page?

<*script src="jquery-1.9.1.min.js"*><*/script*>

  1. Can we work with files in PHP?

Yes, we can read/write/create files;

  1. What is the difference between unset($_SESSION["varname"]) and session_destroy()?

Unset() deletes only one variable, session_destroy() - all session variables;

There is no difference, both are used to delete sessions;?

  1. A correct way to specify the destination URL in HTML

<*a href="www.iitu.kz" *>IT University<*/a*>

  1. What statement is NOT appropriate variant of the reasons why we use XHTML?

Works faster and better with javascript and CSS.

  • 61. It is a type of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web.?

  • Web hosting

  1. What is the correct order of functions call to query some data from database.

mysql_select_db() > mysql_connect() > mysql_query()

  1. What will be the result for "2" + 3 in javascript?

23

  1. Which statement is WRONG?

GET variables are not visible in browser address bar

  1. What is the difference between CLASS and ID in CSS?

Class specifies parametres for multiple elements,while id for a single

Choose the correct way of creating an object of a class in PHP.

$person = newPerson("Yerbol");

  1. A HTML tag to make a list of items with bullets

<*ul*>

  1. How to send requests to the server without reloading the page?

Using AJAX;

  1. Choose a php web framework

Yiiframework

  1. What is the description for 'mysql_fetch_array'.

Fetch a result row as an associative array, a numeric array, or both.

  1. What does AJAX stands for?

AsynchronousJavaScriptand XML;

  1. Whichstatementis WRONG?

Cookies are saved on client side;

  1. A correct way to specify the destination URL in HTML

<*a href="www.iitu.kz" *>IT University<*/a*>

  1. Is it possible to create more than one session per client(browser or another client)?

No, only one session per client;

  1. How to process Form data (sent by user) in php script?

Using $_GET, $_POST, $_REQUEST superglobal arrays;

  1. Some tags can contain additional information called ....

Attributes

  1. Which input type DOESN'T exist in html "form"?

inputtype="file";

  1. What argument(s) has 'mysql_connect' function.

'hostname', 'username', 'password'.

  1. What is the result for ("42" === 42) in javascript

False

  1. What will be the result of the following code: The answer is<*?=6*7 ?*>;?

Theansweris 42;

  1. Which element is required in all HTML documents, is placed within the HEAD of the page and is displayed when bookmarking the page?

<*title*>

  1. Correct way of variable declaration in javascript

Varage;

  1. Consider 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'), ('4', 'sima', 'simapass', 'Simbat', 'Turgazinova'), ('5', 'kana', 'kanapass', 'Kanat', 'Zholdibayev');" What will be the output of the following code: "$result = mysql_query("SELECT * FROM user"); $num_rows = mysql_num_rows($result); echo "result is: $num_rows";"

resultis: 5

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]