Answer:
i. site.py module
ii. random integer module
Explanation:
i. The exit() function is a function used to end a program in python and can only be called when the site.py module is present. The site.py module comes pre-installed with Python.
<u>So, the site.py module needs to be imported for the exit() function to be invoked.</u>
ii The randint() function is a function used to generate a random integer between two limits- a lower limit and a higher limit. The randint() function can be called when the random integer module is present.
<u>So, the random integer module needs to be imported to invoke the randint() function.</u>
Answer:
C++.
Explanation:
#include <iostream>
using namespace std;
////////////////////////////////////////////////////////////////
void printPrime(int n) {
if (n > 0) {
cout<<2<<endl;
for (int i=3; i<=n; i++) {
bool isPrime = true;
for (int j=2; j<i; j++) {
if (i % j == 0) {
isPrime = false;
break;
}
}
if (isPrime == true)
cout<<i<<endl;
}
}
else {
cout<<"Invalid input";
}
}
int main() {
int n;
cout<<"Enter positive integer: ";
cin>>n;
printPrime(n);
return 0;
}
Answer:
The correct option is;
C. They make text larger and bold
Explanation:
The semantic reasons for using header tags which are the benefits users derive from including header tags in content published on the web includes;
1) They give structure to the writing included in the document
2) Header tabs allow text to be broken into sections with different content in focus
3) Header tags are used to add key words to a page
4) To boost search engine optimization SEO
5) To improve visibility.
He answer is webbed. <span>A(n) webbed web site structure has no set organization.</span>
Answer:
<em>The </em><em>answer </em><em>is </em><em>(</em><em>A)</em>
Explanation:
Double-click both the worksheet tabs one at a time and then enter the new names.