11.1 - 11 test projectstem coding

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Consider the following HTML code and the web page content it produces: <!DOCTYPE html><html><body><h1>Paris</h1><p>Paris is the capital city of the French Republic. It is the most populous city in France. In 2013, the population inside the city limits was just 2,229,621. However, Ile-de-France, the region which includes Paris and most of its metro area, had a population of 12,005,077 in 2014.</p></body></html> Paris Paris is the capital city of the French Republic. It is the most populous city in France. In 2013, the population inside the city limits was just 2,229,621. However, Ile-de-France, the region which includes Paris and most of its metro area, had a population of 12,005,077 in 2014. Which of the following blocks of HTML code will produce the same result as the code above?

<!DOCTYPE html><html><body><h1>Paris</h1><p>Paris is the capital city of the French Republic. It is the most populous city in France. In 2013, the population inside the city limits was just 2,229,621. However, Ile-de-France, the region which includes Paris and most of its metro area, had a population of 12,005,077 in 2014.</p> </body> </html>

Consider the following content from a web page: If you wanted to add more paragraphs to this document, which of the following code blocks could you use to make sure that the all of the new paragraphs will appear in the Comic Sans font?

<!DOCTYPE html><html><head><style>body {background-color:salmon}p {font-family:Comic Sans MS}</style></head><body><h1>Salmon</h1><p>Did you know that there are many different species of salmon? Each of the salmon species in the Pacific has at least two names. The largest are called Chinooks or king salmon. While all salmon have silvery sides, only the Coho salmon are also known as silvers. Sockeyes, which have a deep red color inside, are also referred to as red salmon. Traditionally, the Chum or dog salmon, was fed to sled dogs in Alaska. Pinks, the smallest of the salmon, are also called humpies because the males take on a hump-shaped appearance before they swim upstream!</p></body></html>

Which line of HTML code creates a link from the word "Instagram" to the https://instagram.com website?

<a href="https://instagram.com">Instagram</a>

This HTML tag is used to add links to web pages.

<a>

Consider the following HTML code: <!DOCTYPE html><html><body style="backgroundcolor:skyblue;"><h1 style="color:lemonchiffon;font-family:arial">Sky Blue</h1><p>Does the color of this web page remind you of the sky at noon?</p><br/><p>Maybe on sunny days! I will have to investigate.</p></body></html> This code contains an error. Choose the line of code below that shows the error and the corrected line of code:

<body style="backgroundcolor:skyblue;"> should read <body style="background-color:skyblue;">

Which of the following pairs of tags cannot be used to make text bold?

<em></em>

The following HTML code is an attempt to replicate the webpage in the image below. However, the code isn't quite right and contains an error. Which of the following describes how to fix the code? Code: <!DOCTYPE html><html><body><h2>Billboard Hot 100 Songs 1980</h2><p>1. Blondie - "Call Me"</p><h2>Billboard Hot R&B/Hip-Hop Songs 1980<h2><p>1. Michael Jackson - "Rock with You"</p> <h2>Billboard Hot Country Songs 1980</h2><p>1. Kenny Rogers - "Coward of the County"</p></body></html>

<h2>Billboard Hot R&B/Hip-Hop Songs 1980<h2> should read <h2>Billboard Hot R&B/Hip-Hop Songs 1980</h2>

Submitting Unit 11 Assignment - Step 1 (100% sorry abt spacing)

<html> <body style="background-color:#A63446;"> <title> About A Cow</title> <h1>Hello, my name is Cowsby</h1> <p><img src="https://pngimg.com/uploads/cow/cow_PNG50632.png" width="250" height="400"></p> <h2>Link to a useless website that takes you to useless websites! </h2> <a href="https://theuselessweb.com/"> Take Me To A Useless Websight Please</a> <h3>Look At That Color!</h3><p style="color:#2a9fc9;">Cow Jokes 1. Why are cows such great dancers? They have all the best moooves! 2. What did the cow tell the butcher? Please stop, or else we're gonna have some beef. 3. What is a cow's favorite newspaper? The Daily Moos. (credit to parade.com)</p> <h4>picture 2 </h4><p><img src="https://media0.giphy.com/media/11lE4F9K9UlqRa/giphy.gif" width="250" height="400" style="float:right;">Do you love cows as much as I love cows? Doubt it. Have you ever met a cow? I have met a cow in the wild. During a hike, I saw a black, magestic, FUZZY cow. His name is Cornelius Sandgrass. He was an amazing cow! </p> <h2>A Cow-Lick is called a Cow-Lick because it supposedly looks like what a baby cow (calf) looks like when a cow licks them. You learn somethin new every day</h2> <h5> This website shows you a random photo somewhere on Earth and you have to guess where it is. Super cool. - </h5><a href = "https://www.geoguessr.com/classic">geoguessr</a> <h6> Yay!!! </h6><p style="font-size:50px;">That was my super cool page! I decided to make it about cows, mostly.</p> <a href="mailto:[email protected]">Here is Email, also</a> </body> </html>

Bandwidth is measured in _____________.

Bitrate

Information on the internet is sent as ____________.

Bits

Fiber Optic Cables are ______________.

Cables that carry light and dramatically increase the speed and accuracy of information over the internet.

Put the following steps in order:1) Content from the IP address is loaded2) Computer uses DNS to look up the domain name3) Type in the URL4) IP address is fetched

3, 2, 4, 1

Most IPv4 addresses today are ______ bits long, divided into 4 sections of ______ bits each.

32, 8

How many unique addresses are there using IPV4?

4 billion

Put the following steps in order: 1) Content from the IP address is loaded2) Computer uses DNS to look up the domain name3) IP address is fetched4) Type in the URL

4, 2, 3, 1

Currently we are transitioning to IP version __________.

6

What is the largest number you can use with the <h> tags?

6

A byte is how many bits?

8

11.4 Code Practice (67%, sorry)

<!DOCTYPE html> <html> <body> <h2>Billboard Hot 100 Songs 1980</h2> <p>1. Blondie - "Call Me"</p> <h2>Billboard Hot R&B/Hip-Hop Songs 1980<h2> <p>1. Michael Jackson - "Rock with You"</p> <h2>Billboard Hot Country Songs 1980</h2> <p>1. Kenny Rogers - "Coward of the County"</p> </br> </body> </html>

Consider the following content from a webpage: Which of the following code blocks would result in a webpage with the following content?

<!DOCTYPE html> <html> <body> <h1>Let's Go Fly a Kite!</h1> <p><img src="kite.jpg" style="float:left;width:100px;height:100px;"/><pre>Let's go fly a kite Up to the highest height! Let's go fly a kite and send it soaring Up through the atmosphere Up where the air is clear Oh, let's go fly a kite! <pre> </p> </body> </html>

____________ is protecting against the criminal or unauthorized use of electronic data, or the measures taken to achieve this.

Cybersecurity

Routers are _____________.

Devices that manage traffic on the Internet.

DNS stands for _____________.

Domain Name System

Why aren't electrical signals used to transmit all data on the internet?

Electrical signals can fade after travelling short distances.

Phishing is ____________.

Emails designed to trick users into sharing private information.

Communication protocols, sets of rules agreed to by all parties, are designed in order to:

Ensure that new technologies and devices that haven't been invented yet can all use the same methods of communication.

Because there is typically only one pathway available for each packet of of information traveling over the internet, if any server on a given route fails, the information will not reach its destination.

False

Data on the internet travels in a fixed path from sender to receiver.

False

HTML Stands for __________ __________ __________ __________.

Hyper Text Markup Language

A(n) ____ is the location of a computer on a network.

IP Address

Packets are _____________.

Information sent over the Internet that is broken into individual pieces.

Consider the following HTML code: <!DOCTYPE html><html><body><h1>Internet Creators</h1><p>Vint Cerf<br>Other creator</p><h1>Internet Search Pioneers</h1><p>Sergey Brin<br>Larry Page</p></body></html> What will this code look like when it is translated into a webpage?

Internet Creators Vint CerfOther creator Internet Search Pioneers Sergey BrinLarry Page

IP stands for ____________ ____________?

Internet Protocol

ISP stands for _____________ _____________ _____________

Internet Service Provider

What is Net Neutrality?

Keeping access to all data equal.

______________ is when a hacker taps into the DNS and changes an entry to point at the wrong IP address.

Spoofing

The commands in between the < > are called _____________.

Tags

What is the role of the Domain Name System (DNS) in internet communications?

The DNS translates website names to IP addresses, so that users can use the website names, while computers and servers use the IP addresses.

Latency is _____________.

The amount of time it takes for bits to travel from one place to another.

What's the body of an HTML file?

The area where the page content is stored.

What is displayed in a browser if you leave off a closing tag in your HTML code? For example: <h2>Section 1

The browser shows the page content but the formatting is incorrect.

Why are IP addresses that are longer than 32-bits being assigned?

The four billion addresses available under the IPv4 protocol will all be used at some point in the future. The new, longer addresses are needed to ensure that the supply of addresses will be greater than the demand for addresses.

Change this line of code: <img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600"> To say: <img src="img_girl.jpg" alt="Girl in a jacket" width="10" height="10"> What happens?

The image becomes smaller and hard to see.

______________ is a network of networks.

The internet

Which of the following best describes HTML?

The markup language used to create web pages.

What is bitrate?

The number of bits per second a system can transmit.

What of these describes markup languages?

They transform text into the images, links, tables, and lists that make up web pages and other documents.

In the future, more and more IPv6 web addresses will be issued.

This is true, because in the future there will not be enough IPv4 addresses to meet the world's need for IP addresses.

A browser's job is to ______________.

Translate HTML code to a webpage we see on the screen.

Disguising a virus as a security update is a common way of infecting a computer.

True

Every device on a network has its own IP address.

True

Net Neutrality is a political issue.

True

Net Neutrality is an issue around the world.

True

True or false: the <h> tags include a return at the end of the line.

True

Radio waves are ______________.

Used to send bits wirelessly.

A denial-of-service attack is ____________.

When hackers overwhelm a website with too many requests.

You develop a magic 2-ball that has a coin inside it. This coin has a 1 on one side and a 0 on the other side. You offer to answer questions for your friends and tell them that if the magic 2-ball shows them a 1, the answer is yes, and if the magic 2-ball shows them a 0, the answer is no. Which of the following questions can be answered by the magic 2-ball?

Will I get the highest score in my video game this afternoon?

Change the h2 tag to: <h2 align="center"> Does the align attribute work with the <h> tags?

Yes

The <head> of an HTML file ____________________.

contains information about the file

Test 11 (100%)

continue

In an HTML file, the <body> tag:

defines the contents of the document body, containing items such as text, hyperlinks, images, tables and lists

Consider the following HTML code: <!HTML document><body><h1>There's no accounting for taste...</h1><p>Some people like to <strong>emphasize</strong> every <mark>other</mark> word by adding <em>many</em> types of formatting.</p><p>Other people like to take a humbler approach, and <ins>even</ins> show <del>there</del> their mistakes.</body> Which of the following web pages content will result from the HTML code above?

emphasize is in bold, other is highlighted, even is underlined, and there is crossed out.

When information is sent over the internet in a secure manner, hackers are unlikely to be able to access it because ________.

encryption techniques mean that even with the world's most sophisticated computers, hackers will need many years to find the security keys that will enable them to gain access to encrypted information sent over the internet.

Which tag is used to change the name of your page in the browser?

title

Radio waves are ___________.

used to send bits wirelessly

The rest of the lessons have no questions. Hope this helped.

¯\_(ツ)_/¯

Why do we use the term binary to describe information sent over the Internet?

Because the binary number system uses only two numbers, 0 and 1.

If net neutrality is not adopted, which of the following strategies would be most likely to enable Internet Service Providers to make additional money?

Allowing some content to travel to internet users faster than other content.

Which of the following will be most likely to increase the speed at which information travels from a server to a student's laptop?

An increase in the bandwidth of the network.

Which symbol marks a closing tag?

/

What is an Internet Fast Lane?

Bandwidth set aside for specific data.

Submitting Unit 11 Assignment - Step 2 (100% again sorry for spacing)

<html> <body style="background-color:#A63446;"> <title> About A Cow</title> <h1>Hello, my name is Cowsby</h1> <p><img src="https://pngimg.com/uploads/cow/cow_PNG50632.png" width="250" height="400"></p> <h2>Link to a useless website that takes you to useless websites! </h2> <a href="https://theuselessweb.com/"> Take Me To A Useless Websight Please</a> <h3>Look At That Color!</h3><p style="color:#2a9fc9;">Cow Jokes1. Why are cows such great dancers? They have all the best moooves! 2. What did the cow tell the butcher? Please stop, or else we're gonna have some beef. 3. What is a cow's favorite newspaper? The Daily Moos. (credit to parade.com)</p> <h4>Have you ever met a cow? </h4><p><img src="https://media0.giphy.com/media/11lE4F9K9UlqRa/giphy.gif" width="250" height="400" style="float:right;">Do you love cows as much as I love cows?Have you ever met a cow? I have met a cow in the wild. During a hike, I saw a black, magestic, FUZZY cow. His name is Cornelius Sandgrass. He was an amazing cow! </p> <h2>A Cow-Lick is called a Cow-Lick because it supposedly looks like what a baby cow (calf) looks like when a cow licks them. You learn something new every day</h2> <h5> This website shows you a random photo somewhere on Earth and you have to guess where it is. Super cool. </h5><a href = "https://www.geoguessr.com/classic">geoguessr</a> <h6> Yay!!! </h6><p style="font-size:50px;">That was my super cool page! I decided to make it about cows, mostly.</p> <a href="mailto:[email protected]">***Email here***</a></body> </html>

11.6 Code Practice (67% sorry)

<html> <body> <a href=" [https://en.wikipedia.org] "> <img src=" [https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSKP2dQCUI-D1bJOZt2-wWlOySM8PsX1kKZJg&usqp=CAU] "></a> </body> </html>

11.5 Code Practice (100%)

<html> <body> <p style="text-align:center;color:red;">This is some red text. I don't know what to put here; thus I shall write down something about green bean casserole. You can make it many different ways, I personally do the following.</p> <p style="text-align:right;color:black;"><i>I will now tell you in this italic text. So I use cream of mushroom soup. I'm not a big mushroom fan, but you really can't taste it much. Ofcource, you need the green beans. I use canned ones, then you season it. A simple salt, pepper, garlic powder seasoning palate will suffice. You'll need milk. I don't like very cow-ish milk, so I have triple filtered lactose free. Bake in a casserole dish, then walah. Now just put some fried onion on top for crunch and you have a simple green bean casserole dish. Perfect for Thanks-Giving.</i></p> </body> </html>

The following colors are used in the web page below: Light-Blue: #99d9eaWhite: #ffffffBlack: #000000 Here is a picture of the webpage: Which of the following blocks of code was used to create the webpage above?

<html><body style="background-color:#99d9ea"><h1>Page Title</h1><p>This is information about this webpage. Below you will see a picture of a dog.</p><p>The picture is not a part of this webpage, instead the browser combines the code and the external image file when it renders the page.</p><img src="dog.jpg"/></body></html>

This HTML tag is used to add images to webpages.

<img>

This HTML tag defines a section of text. All whitespace in the section of text is ignored and a blank line is placed after the closing tag.

<p>

Which tag is used to create paragraphs?

<p>

When a website asks your browser for a secure connection over the Secure Sockets Layer (SSL), which of the following acts as a digital ID card that verifies that the website really is the one it claims to be?

A digital certificate

A botnet is ____________.

A network of private computers infected with malicious software and controlled as a group without the owners' knowledge.

Change the line <a href="https://www.w3schools.com"> to <a href="https://www.w3schools.com" target="new"> What happens?

A new tab is opened and the W3 Schools main page is opened in the new tab.

A virus is ____________.

A piece of code that is capable of copying itself and typically has a detrimental effect, such as corrupting the system or destroying data.

A protocol is __________.

A set of rules and standards

Transmission Control Protocol is _____________.

A set of rules that manage how information is sent over the Internet.

Which of the following can be sent in one piece over the internet?

None of the items listed. Each one is made up of hundreds of thousands of bits, so each must be broken into packets to be sent over the internet.

Which one of the following is least likely to prevent a webpage from displaying an image included in the web page's HTML code?

Omitting the float attribute from the <img> element


Ensembles d'études connexes

Mental Health Chapter 6_Legal and Ethical Considerations

View Set

Abnormal Ch 11-15 - Marc_DeLoach

View Set

CompTIA A+ 220-901 Connector Types and Cables

View Set

IS-706: NIMS Intrastate Mutual Aid - An Introduction

View Set

world history chapter 10, WHAP Ch 10, APWH 10 quiz

View Set