Answer:
If you are using Python,
```count = 0
for i in range(0, 79):
a = int(input("Input a number: "))
if 100 <= a <= 1000:
if a > 500:
count += 1
else:
print("Please input a number between 100 and 1000!")
i -= 1
print(count)```
Explanation:
count refers to the number of 500s and above,
the for loop is required for the program to loop 80 times,
a is the input collected,
the nested if is to check whether the number is above 500 and the if is used to check if the number is between 100 and 1000 if not, it will output that you need to input a number between 100 and 1000,
the i-=1 is required to make sure that part wasn't counted.
and the last print is to output the number of numbers above 500
Which of the following represents a bit?
0
01010110
3F02C
12.356
Answer:
0
Explanation:
A bit is a single piece of information and the smallest unit that can possibly represented by a computer, like 1 or 0.
The one that represents a bit is 0. The correct option is A.
What is a binary digit?A binary digit (bit) is the smallest unit of binary data that can be stored in a computer system.
A bit can only be in one of two states: on or off, which are frequently represented by ones and zeros. Which information is entered into and processed by the computer is determined by the combination of ones and zeros.
One of the four types of number systems is a binary number system. Binary numbers are basically represented in computer applications by merely two symbols or digits, namely 0 (zero) and 1 (one).
A bit is a binary digit, which is the smallest data increment on a computer. A bit can only hold one of two values: 0 or 1, which correspond to the electrical values off or on.
Thus, the correct option is A.
For more details regarding binary number, visit:
https://brainly.com/question/28222245
#SPJ2
(03.05 LC
A reliable textbook should contain references to (6 points)
O only primary sources
mainly secondary sources
O both primary and secondary sources
no more than two of each type of source
Helpppp plzzzzz
Answer:
B. both primary and secondary sources.
Explanation:
Information can be defined as processed data that can be used to perform specific tasks or job functions. The two (2) main sources of information are;
I. Primary source: this type of source comprises of raw information that are first-hand in nature i.e a personal experience or witness of an event (occurrence).
II. Secondary source: this type of source relies solely on the primary source for its information and as such it comprises of second-hand information provided by other authors or researchers.
A reliable source is an information source that is unbiased, trustworthy and reliable. Also, a reliable source is typically backed up by evidence from various information channels and should be accurate.
In order to validate a reliable source, it is necessary that the information provided is checked against other credible sources to verify its accuracy.
This simply means that, if you got an information (data) from any source such as newspaper, website, television, books, radio or anywhere else, you should confirm the credibility and reliability of these information by verifying from one or more sources listed in the reference.
Hence, a reliable textbook should contain references to both primary and secondary sources.
Additionally, references are citations or links to all of the sources from which an author, writer, or researcher got his or her information from. One important thing that references show a reader is that the information is well researched.
Write a program code which asks for 80 numbers between 100 and 1000 to be entered.
It checks that the numbers are in the correct range, and stores them in an array. It
counts how many of the numbers are larger than 500 and then outputs the result when
the program is finished.
Answer:
my hearth start with a piece of demon cant let me go!
write the html code to get the following webpage
the solar system
ina solar system the planets move around a star. earth is a planet around sun .there are eight planets in a solar system . in order of increasing distance from the sun these are 1.mercury 2.venus 3.earth 4.mars 5.jupiter 6.saturn 7.uranus 8.neptune
save the html document as solarsystem.html
Answer:
<!DOCTYPE html>
<html>
<head> <title>webpage</title>
</head>
<body>
<h1>The Solar System</h1>
<p>In a solar system the planets move around a star. Earth is a planet around sun. There are eight planets in a solar system . In order of increasing distance from the sun these are: </p>
<ol>
<li>Mercury</li>
<li>Venus</li>
<li>Earth</li>
<li>Mars</li>
<li>Jupiter</li>
<li>Saturn</li>
<li>Uranus</li>
<li>Neptune</li>
</ol>
</body>
</html>
<!-- and save the file as solarsystem.html -->
Consider the following code segment
Answer:
D:
2
54
Explanation:
In line 3 Math.random() will return a number between 0 and 1, so the minimum is 3 (0*5+3=3), therefore it is impossible for line 4 to return the value 2
HTML code to display square bullets in an unordered list.
Answer:
Find the source code below.
Explanation:
HTML is an acronym for hypertext markup language and it is a standard programming language which is used for designing, developing and creating web pages.
Generally, all HTML documents are divided into two (2) main parts; body and head. The head contains information such as version of HTML, title of a page, metadata, link to custom favicons and CSS etc. The body of the HTML document contains the contents or informations of a web page to be displayed.
The complete code for the unordered list with square bullets is written below;
<! DOCTYPE html>
<html>
<head>
<title> Square bullets in an unordered list. </title>
</head>
<body>
<h1> My Favorite Subjects </h1>
<p> This is a list of my favorite subjects; </p>
<ul style =" list- style- type:square">
<li> Computer </li>
<li> Mathematics</li>
<li> Physics </li>
<li> History </li>
</ul>
</body>
</html>
Note: The code isn't indented because i'm not using an appropriate code editor.
Since we are creating a document with an unordered list, we would use the <ul> and </ul> parent tag while the child tag <li> and </li> sorts the list. Also, we would use the style attribute to specify the required inline style (square bullets) for the list.