Professional Documents
Culture Documents
Звіт з Практики-3 - В20
Звіт з Практики-3 - В20
Перевірив викладач
________________Г.В. Носова
(дата, підпис)
2023
С2.
ЛІСТИНГ ПРОГРАМИ
Частина 1.
1. (Обов’язковий рівень) Створити макет сторінки index.html, використовуючи
табличне верстання, згідно варіанту завдання.
В10
4-В
(Високий рівень) Змінити зовнішній вигляд меню та хлібних крихт з
використанням CSS
body { .krosh {
color: black; width: 1503px;
font-size: 30px; float: top;
} padding-bottom: 10px;
}
.row:after {
visibility: hidden; .inner-krosh {
display: block; background: #4682B4;
font-size: 0; min-height: 50px;
content: " "; }
clear: both;
height: 0; .content {
} width: 90%;
.row { display: inline-block; } float: left;
/* start commented backslash hack \*/ }
* html .row { height: 1%; }
.row { display: block; } .inner-content {
/* close commented backslash hack */ background: #B0C4DE;
min-height: 500px;
.hed:after { padding-top: 1px;
visibility: hidden; }
display: block;
font-size: 0; #menu {
content: " "; color: #666;
clear: both; font-family: Times New Roman, sans-serif;
height: 0; font-size: 30px;
} text-align: left;
.hed { display: inline-block; } }
/* start commented backslash hack \*/
* html .hed { height: 1%; } #menu hr {
.hed { display: block; } width: 200px;
max-width: 100%;
.header { margin-top: 0px;
margin-bottom: 20px; margin-bottom: 0px;
width: 1522px; font-family: Times New Roman, sans-serif;
max-height: 100px; }
}
#menuHrefs a {
.inner-header { padding: 3px;
background: #4682B4; border-radius: 5px;
height: 100px; margin-right: 5px;
font-family: Vinque, sans-serif; color: #000000;
font-size: 60px; border: 2px solid black;
position: relative; background: #6495ED;
} margin-top: 20px;
}
.logo{
float: right; hr {
width: 10%; display: ;
border: 0;
} height: 0px;
border-top: 1px solid #ccc;
.inner-logo{ padding: 0;
}
С7.
.vertical-menu a {
background-color: #6495ED; /* Grey background color */
h1 { color: black; /* Black text color */
font-family: Times New Roman, sans-serif; display: block; /* Make the links appear below each other */
font-size: 30px; padding: 12px; /* Add some padding */
} text-decoration: none; /* Remove underline from links */
font-family: Arial, sans-serif;
h2 { text-decoration: underline;
font-size: 25px; border: 2px solid black;
font-family: Times New Roman, sans-serif; }
font-weight: normal;
} .vertical-menu a: hover {
background-color: #4682B4; /* Dark grey background on
.sidebar { mouse-over */
width: 10%; }
float: left;
padding-left: 10px; .vertical-menu a.active {
} background-color: #4682B4; /* Add a green color to the
"active/current" link */
.inner-sidebar { color: white;
background: #4682B4; }
min-height: 507px;
padding-top: 10px; .footer {
} margin-top: 10px;
}
.vertical-menu {
width: 100%; .inner-footer {
/* Set a width if you like */ background: #4682B4;
} height: 100px;
}
Частина 2.
Створити форму на екрані з необхідними полями вводу, та виконати завдання
згідно з варіантом, написавши програму на JavaScript.
Завдання 1 (В10). Дано два поля вводу чисел. Розділити більше число на менше та
вивести результат.
С8.
<head>
break;
<id="operator_btns"> }
<button id="divide" onclick="op='/'">:</button>
document.getElementById("result").innerHTML = result;
<input id="num2" /> }
</script>
<button onclick="func()">Посчитать</button>
</body>
<p id="result"></p> </html>
</div>
background-color: white;
.content {
width: 50%;
float: center;
background-color: gray;
margin-top: 200px;
margin-right: 60px;
margin-left: 60px;
padding: 50px;
}
С9.
<head> });
</head> </html>
margin-right: 60px;
input.addEventListener('input', () => {
margin-left: 60px;
if (input.value === '!') {
padding: 50px;
image.s
}
tyle.display = 'none';
С10.
Частина 3. (В10)
Завдання 1. Розробити базу даних «Футбол» згідно відповідному технічному
завданню.
С11.
Частина 3. (В20)
Завдання 1
20 Іподром • Кличка коня, масть, вік, вид забігу, є кінь фаворитом,
прізвище наїзника, зайняте місце, примітка;
• ранг змагання, місце проведення, дата проведення,
кількість учасників, склад учасників.
Приклад виконання
P[i][j] = P[m][j];
int** D = new int*[size];
}
for (int i = 0; i <size; i++)
}
D[i] = new int[size];
С15.
Print(D, size);
Print(P, size);
cout << 6;
int i = P[start][end];
while (1)
i = i - 1;
if (i == start) break;