Answer:
c = float(input("Enter the temperature in Celsius: "))
f = c * 1.8 + 32
print("The temperature in Fahrenheit: " + str(f))
k = (f - 32) / 1.8 + 273.15
print("The temperature in Kelvin: " + str(k))
Explanation:
*The code is in Python.
Ask the user to enter the temperature in Celsius
Convert the Celsius to Fahrenheit using the conversion formula and print it
Convert the Fahrenheit to Kelvin using the conversion formula and print it
Describe any five GSM PLMN basic services?
Answer:
Your answer can be found in the explanation below.
Explanation:
GSM is the abbreviation for Global System for Mobile communication. Its purpose is to transmit voice and data services over a range. It is a digital cellular technology.
PLMN is the abbreviation for Public Land Mobile network. It is defined as the wireless communication service or combination of services rendered by a telecommunication operator.
The plmn consists of technologies that range from Egde to 3G to 4G/LTE.
PLMN consists of different services to its mobile subscribers or users but for the purpose of this question, i will be pointing out just 5 of them alongside its definitions.
1. Emergency calls services to fire or police: Plmn provides us with the option to make emergency calls in the event of any accident or fire incident, etc.It is available on devices either when locked or unlocked.
2. Voice calls to/from other PLMN: This entails the putting of calls across to persons we cannot reach very quickly. PLMN helps to connect persons through its network of from other networks thus making communication easier.
3. Internet connectivity: PLMN provieds us with internet services through wifi or bundles that enable us have access to the internet as well as help us communicate with people and loved ones over a distance. Internet service are possble either on GPRS or 3G or 4G networks.
4. SMS service: SMS means short messaging service. This is also know as text messages. PLMN allows us to be able to send short messages to people as oppposed to mails. It is mostly instant and can be sent or recieved from the same PLMN or others.
5. MMS service: Multimedia messaging service whose short form is MMS ccan be descibed as the exchange of heavier messages such as a picture or music or document but not from an email. It is availabel for use from one PLMN to another.
Cheers.
If i wanted to change my phones simcard, does anything need transferring, or is it an easy swap?
10. Which of these is not an HTTP verb? PUT AJAX GET DELETE
Answer:
Brainliest!
Explanation:
The primary or most-commonly-used HTTP verbs (or methods, as they are properly called) are POST, GET, PUT, PATCH, and DELETE. These correspond to create, read, update, and delete (or CRUD) operations, respectively. There are a number of other verbs, too, but are utilized less frequently.
-
restapitutorial
.
com
AJAX
The word that is not an HTTP verb is AJAX.
But PUT, GET, and DELETE are HTTP verbs.
A HTTP verb is a word or method (it can also be a noun) for retrieving information (documents) in a web-based environment. There are other HTTP verbs used for various purposes. The most common include PUT, GET, DELETE, and POST.
HTTP is a computer-based abbreviation that means Hypertext Transfer Protocol. It is the protocol for transferring data over the web using a client's home computer, laptop, or mobile device.
AJAX, which means Asynchronous Javascript and XML, is mainly used as a technique for creating fast and dynamic web pages using small amounts of data.
There is no suitable reference of HTTP verbs at brainly.com.
In this lab, you declare and initialize constants in a C++ program. The program, which is saved in a file named NewAge2.cpp, calculates your age in the year 2050.
Answer:
#include <iostream>
using namespace std;
int main()
{
const int YEAR = 2050;
int currentYear = 2020;
int currentAge = 38;
cout<<"You will be " << currentAge + (YEAR - currentYear) << " years old in " << YEAR;
return 0;
}
Explanation:
Initialize the YEAR as a constant and set it to 2050
Initialize the currentYear as 2020, and currentAge as 38
Calculate and print the age in 2050 (Subtract the currentYear from the YEAR and add it to the currentAge)
Type a statement using srand() to seed random number generation using variable seedVal. Then type two statements using rand() to print two random integers between (and including) 0 and 9. End with a newline. Ex: #include < iostream > #include < cstdlib > // Enables use of rand() #include < ctime > // Enables use of time() using namespace std: int main() { int seedVal = 0 /* Your solution goes here */ return 0: }
Answer:
Replace /* Your solution goes here */ with the following code segment
srand(seedVal);
cout<<rand()%(int)(9 - 0 + 1) + 0<<endl;
cout<<rand()%(int)(9 - 0 + 1) + 0<<endl;
Explanation:
From the code segment, the seedVal has already been declared and initialized to 0; The next step is to seed it as random number using srand.
The first line of the code segment in the Answer section "srand(seedVal); " is used to achieve that task.
Having done that, the next step is to write statements to generate the two random numbers using rand();
When generating random numbers, two things are to be noted;
The lower bound; LThe upper bound; UHere, the lower bound is 0 and the upper bound is 9;
C rand() function uses the following syntax to generate random numbers
rand()%(int)(U - L + 1) + L
Where U = 9 and L = 0
Replacing U and L with there respective values; the syntax becomes
rand()%(int)(9 - 0 + 1) + 0
So, the two print statements will be written as
cout<<rand()%(int)(9 - 0 + 1) + 0;
Also, the question states that, each print statement be ended with a new line;
So, the print statements will be
cout<<rand()%(int)(9 - 0 + 1) + 0<<endl;
Alternatively, by solving (9 - 0 + 1) + 0; the statements can be written as
cout<<rand()%(int)(10)<<endl;
Conclusively, the complete statements is as follows;
srand(seedVal);
cout<<rand()%(int)(9 - 0 + 1) + 0<<endl;
cout<<rand()%(int)(9 - 0 + 1) + 0<<endl;
or
srand(seedVal);
cout<<rand()%(int)(10)<<endl;
cout<<rand()%(int)(10)<<endl;
if you want to exclude a portion of an image which option should be chosen?? A. Arrange B. Position C. Crop D. Delete
Write a python program that asks the user to enter a student's name and 8 numeric tests scores (out of 100 for each test). The name will be a local variable. The program should display a letter grade for each score, and the average test score, along with the student's name. There are 12 students in the class.
Write the following functions in the program:
calc_average - this function should accept 8 test scores as arguments and return the average of the scores per student
determine_grade - this function should accept a test score average as an argument and return a letter grade for the score based on the following grading scale:
90-100 A
80-89 B
70-79 C
60-69 D
Below 60 F
Answer:
The program doesn't make use of comments (See Explanation)
Also the source code is attached as image to enable you see the proper format and indexing of the source code
The program using python is as follows
def calc_average(name):
score = []
sum = 0
for j in range(8):
inp = int(input("Test Score"+str(j+1)+": "))
score.append(inp)
sum = sum + inp
if inp>=90 and inp<=100:
print("A")
elif inp>=80 and inp<90:
print("B")
elif inp>=70 and inp<80:
print("C")
elif inp>=60 and inp<70:
print("D")
else:
print("F")
avg = sum/8
print("Result Details of "+name)
print("Average Score: "+str(avg))
return avg
def determine_grade(result):
if float(result) >= 90.0 and float(result) <= 100.0:
print("Letter Grade: A")
elif float(result) >= 80.0 and float(result) <90.0:
print("Letter Grade: B")
elif float(result) >= 70.0 and float(result) < 80.0:
print("Letter Grade: C")
elif float(result) >= 60.0 and float(result) < 70.0:
print("Letter Grade: D")
else:
print("Letter Grade: F")
print(" ")
for i in range(2):
name = input("Student Name: ")
result = calc_average(name)
determine_grade(result)
Explanation:
def calc_average(name): -> Declares the function calc_average(name); It accepts local variable name from the main function
score = []
-> Initialize an empty list to hold test scores
sum = 0
-> Initialize sum of scores to 0
for j in range(8):
-> Iterate from test score 1 to 8
inp = int(input("Test Score"+str(j+1)+": "))
-> This line accepts test score from the user
score.append(inp)
-> The user input is then saved in a lisy
sum = sum + inp
-> Add test scores
The following lines determine the letter grade of each test score
if inp>=90 and inp<=100:
print("A")
---
else:
print("F")
avg = sum/8 -> Calculate average of the test score
The next two lines prints the name and average test score of the student
print("Result Details of "+name)
print("Average Score: "+str(avg))
return avg
-> This line returns average to the main method
The following is the determine_grade method; it takes it parameter from the main method and it determines the letter grade depending on the calculated average
def determine_grade(result):
if float(result) >= 90.0 and float(result) <= 100.0:
print("Letter Grade: A")
elif float(result) >= 80.0 and float(result) <90.0:
print("Letter Grade: B")
elif float(result) >= 70.0 and float(result) < 80.0:
print("Letter Grade: C")
elif float(result) >= 60.0 and float(result) < 70.0:
print("Letter Grade: D")
else:
print("Letter Grade: F")
print(" ")
for i in range(2):
-> This is the main method
name = input("Student Name: ") -> A local variable stores name of the student
result = calc_average(name) -> store average of scores in variable results
determine_grade(result)-> Call the determine_grade function
In this exercise we have to use the computer language knowledge in python to write the code as:
the code is in the attached image.
In a more easy way we have that the code will be:
def calc_average(name):
score = []
sum = 0
for j in range(8):
inp = int(input("Test Score"+str(j+1)+": "))
score.append(inp)
sum = sum + inp
if inp>=90 and inp<=100:
print("A")
elif inp>=80 and inp<90:
print("B")
elif inp>=70 and inp<80:
print("C")
elif inp>=60 and inp<70:
print("D")
else:
print("F")
avg = sum/8
print("Result Details of "+name)
print("Average Score: "+str(avg))
return avg
def determine_grade(result):
if float(result) >= 90.0 and float(result) <= 100.0:
print("Letter Grade: A")
elif float(result) >= 80.0 and float(result) <90.0:
print("Letter Grade: B")
elif float(result) >= 70.0 and float(result) < 80.0:
print("Letter Grade: C")
elif float(result) >= 60.0 and float(result) < 70.0:
print("Letter Grade: D")
else:
print("Letter Grade: F")
print(" ")
for i in range(2):
name = input("Student Name: ")
result = calc_average(name)
determine_grade(result)
See more about python at brainly.com/question/26104476
DEF is a small consulting firm with ten on-site employees and 10 to 12 part-time (off-site) software consultants. Currently, the network consists of 2 servers for internal business processes, 1 server that handles the call-in connections; 10 on-site wireless workstations/devices, and 2 printers. Respond to the following in a minimum of 175 words: Identify one network security strategy that would help this organization. Why did you choose this strategy over others
Answer:
What i would suggest for the organization is to use the Testing Infrastructure strategy. it is good for your consulting firm because it is less costly and provide security.
Explanation:
Solution
There are different network security strategy which is listed below:
Segment the network:
Segmentation in network is very useful for providing security.If any threat is occur only one segment is effected remaining are safe and it is less cost process. very useful for small organizations.
Test your infrastructure :
Testing infrastructure also very good technique.
Always we have to test our infrastructure whether threat is occur or not.
If any threat is happen we can detect that easily by testing our infrastructure.
Regularly update anti-virus software :
This is very useful for small organizations and it is less cost.with less cost we can provide security for all devices like computer,server,modems etc.
Frequently backup your critical data :
This is very good technique for crucial data.If we backup important data any time that will be useful if any attack is happen.
This is less costs and simple.
Change router default security settings :
Changing router password and settings also helpful for providing security.If we maintain same password and same settings for a long time that may lead to data hacking.It is cost less process very useful for small organizations.
Assign True to the variable is_ascending if the list numbers is in ascending order (that is, if each element of the list is greater than or equal to the previous element in the list). Otherwise, assign False with is_ascending.
Answer:
The question seem incomplete as the list is not given and the programming language is not stated;
To answer this question, I'll answer this question using Python programming language and the program will allow user input.
Input will stop until user enters 0
The program is as follows
newlist = []
print("Input into the list; Press 0 to stop")
userinput = int(input("User Input:"))
while not userinput == 0:
newlist.append(userinput)
userinput = int(input("User Input:"))
is_ascending = "True"
i = 1
while i < len(newlist):
if(newlist[i] < newlist[i - 1]):
is_ascending = "False"
i += 1
print(newlist)
print(is_ascending)
Explanation:
This line declares an empty list
newlist = []
This line prompts gives instruction to user on how to stop input
print("Input into the list; Press 0 to stop")
This line prompts user for input
userinput = int(input("User Input:"))
This next three lines takes input from the user until the user enters 0
while not userinput == 0:
newlist.append(userinput)
userinput = int(input("User Input:"))
The next line initialized "True" to variable is_ascending
is_ascending = "True"
The next 5 line iterates from the index element of the list till the last to check if the list is sorted
i = 1
while i < len(newlist):
if(newlist[i] < newlist[i - 1]):
is_ascending = "False"
i += 1
The next line prints the list
print(newlist)
The next line prints the value of is_ascending
print(is_ascending)