Hello <span>Areyano7475
</span>
Question: T<span>he term drive app is used to describe applications stored on a computer true or false
Answer: False
Hope this helps
-Chris</span>
Answer:
Arrays are described as immutable because they cannot be changed once they are defined. (D on Edge)
Explanation:
It's in the notes and I just took the test (2020)
<span>They wrote live updates to a blog, so D. The blog was called "Eye of the Storm." It was written as a series of personal musings and photographs of places where the storm hit- first hand accounts of the disaster. They received a journalism award for it.</span>
Answer:
#include <iostream>
using namespace std;
int main () {
// for loop execution
int semester_fees=8000;
int b=1;
cout<<"there are 5 years or 10 semester fees breakdown is given below"<<endl;
for( int a = 1; a <=5; a++ ) {
semester_fees = semester_fees*1.03;
cout<<"Semester fees for each of semester"<<b++<<"and"<<b++<<"is:$"<<semester_fees<<endl;
}
return 0;
}
Explanation:
code is in c++ language
Fees is incremented yearly and i have considered only two semester per year
Answer:
Python Code:
def validate_url(url):
#Creating the list of valid protocols and file name extensions
valid_protocols = ['http', 'https', 'ftp']
valid_fileinfo = ['.html', '.csv', '.docx']
#splitting the url into two parts
url_split = url.split('://')
isProtocolValid = False
isFileValid = False
#iterating over the valid protocols and file names for validity
for x in valid_protocols:
if x in url_split[0]:
isProtocolValid = True
break
for x in valid_fileinfo:
if x in url_split[1]:
isFileValid = True
break
#Returning the result if the URL has both valid protocol and file extension
return (isProtocolValid and isFileValid)
url = input("Enter an URL: ")
print(validate_url(url))
Explanation:
The image of the output code is attached. Hope it helps.