Primeira página
/
Tecnologia
/
a) Write down the basic structure of a HTML page with a JavaScript code that pops up when the page loads. [10Marks] b) The internet has many advantages and many applications have been developed that utilize this vast network . STATE and EXPLAIN some of the applications ; of the internet. [10Marks] UESTION THREE (20 MARKS) a) Using an example show how you can create a table in a MySQL database [5Marks] b) Write a CSS class that is called in a HTML paragraph. [5Marks] c) Show a Simple Active Server Page Displays the Date and Time. [5Marks] d) State FIVE internet protocols used today. [5Marks]

Pergunta

a) Write down the basic structure of a HTML page with a JavaScript code that pops
up when the page loads.
[10Marks]
b) The internet has many advantages and many applications have been developed
that utilize this vast network . STATE and EXPLAIN some of the applications ; of
the internet.
[10Marks]
UESTION THREE (20 MARKS)
a) Using an example show how you can create a table in a MySQL database [5Marks]
b) Write a CSS class that is called in a HTML paragraph.
[5Marks]
c) Show a Simple Active Server Page Displays the Date and Time.
[5Marks]
d) State FIVE internet protocols used today.
[5Marks]

a) Write down the basic structure of a HTML page with a JavaScript code that pops up when the page loads. [10Marks] b) The internet has many advantages and many applications have been developed that utilize this vast network . STATE and EXPLAIN some of the applications ; of the internet. [10Marks] UESTION THREE (20 MARKS) a) Using an example show how you can create a table in a MySQL database [5Marks] b) Write a CSS class that is called in a HTML paragraph. [5Marks] c) Show a Simple Active Server Page Displays the Date and Time. [5Marks] d) State FIVE internet protocols used today. [5Marks]

Solução

expert verifiedVerification of experts
4.7273 Voting
avatar
NatashaMestre · Tutor por 5 anos

Responder

a) Here is an example of the basic structure of an HTML page with a JavaScript code that pops up when the page loads:<br />```html<br /><!DOCTYPE html><br /><html><br /><head><br /> <title>My HTML Page</title><br /> <script><br /> function popup() {<br /> alert("Welcome to my page!");<br /> }<br /> </script><br /></head><br /><body onload="popup()"><br /> <h1>Welcome to my page!</h1><br /></body><br /></html><br />```<br />b) Some of the applications of the internet include:<br /><br />1. Communication: The internet allows people to communicate with each other through email, instant messaging, video conferencing, and social media platforms.<br />2. Entertainment: The internet provides a wide range of entertainment options, such as streaming music, videos, and online games.<br />3. Education: The internet provides access to a vast amount of information and resources, making it easier for people to learn and acquire new skills.<br />4. Shopping: The internet allows people to shop online from the comfort of their homes, with options for buying clothes, electronics, and other products.<br />5. Banking: The internet allows people to manage their finances and conduct transactions online, such as paying bills and transferring money.<br /><br />QUESTION THREE (20 MARKS)<br /><br />a) Here is an example of how you can create a table in a MySQL database:<br />```sql<br />CREATE TABLE customers (<br /> id INT AUTO_INCREMENT PRIMARY KEY,<br /> name VARCHAR(100) NOT NULL,<br /> email VARCHAR(100) NOT NULL<br />);<br />```<br />b) Here is an example of a CSS class that is called in an HTML paragraph:<br />```html<br /><style><br /> .my-class {<br /> color: blue;<br /> }<br /></style><br /><br /><p class="my-class">This text is blue.</p><br />```<br />c) Here is an example of a Simple Active Server Page that displays the date and time:<br />```php<br /><!DOCTYPE html><br /><html><br /><head><br /> <title>Server Page</title><br /></head><br /><body><br /> <h1>Welcome to my server page!</h1><br /> <p>The current date and time are: <?php echo date("Y-m-d H:i:s");?></p><br /></body><br /></html><br />```<br />d) Some of the internet protocols used today include:<br /><br />1. HTTP (Hypertext Transfer Protocol): This protocol is used for transferring web pages and other resources over the internet.<br />2. SMTP (Simple Mail Transfer Protocol): This protocol is used for sending email messages over the internet.<br />3. IMAP (Internet Message Access Protocol): This protocol is used for retrieving email messages from a mail server.<br />4. FTP (File Transfer Protocol): This protocol is used for transferring files over the internet.<br />5. DNS (Domain Name System): This protocol is used for translating domain names into IP addresses.
Clique para avaliar: