Answer:
Computer science is about how computers work, in terms of programming, design and data processing.
Explanation:
Computer science is a discipline that studies issues related to information technology and its use, including the storage, processing, presentation, and transfer of information.
The fringes of computer science extend to many other sciences: for example, usability research is closely related to psychology and bioinformatics to biology, among others. Digital media research, on the other hand, has links to media science and communications research. Computer science also has a strong interaction with computational science and information society research examining the wider effects of data processing in different areas.
Answer:
Enter time 1 HH:MM:SS8:5:22
Enter time 2 HH:MM:SS7:24:37
0:40:45
Explanation:
The program for above in Python is:
from datetime import datetime
s1 = input("Enter time 1 HH:MM:SS")
s2 = input("Enter time 2 HH:MM:SS")
Format1 = '%H:%M:%S'
tdiff = datetime.strptime(s1, Format1) - datetime.strptime(s2, Format1)
print(tdiff)
We are using the datetime class in datetime module for using strptime to find the difference between the two times.
Answer:
people still play fortnight?!?!
Explanation:
psn: Smallboy_life
Answer:
The program to this question as follows:
Program:
PRINT "Program: Area of Triangle" 'print message
INPUT "Enter base: ", base 'defining the variable base and input value from the user
INPUT "Enter height:",height 'defining variable height and input a value from user
Area=base*height/2 'formula to calculate Area
PRINT "Area of Triangle:", Area 'print Area
Output:
Program: Area of Triangle
Enter base: 2
Enter height: 3
Area of Triangle: 3
Explanation:
In the above Qbasic program, first, a print function is used to print the message.
In the next line, the input function is defined, which uses the "base and height" variable for user input.
Then another variable "Area" is defined that uses user input values to calculate the area of a triangle, and also store its calculated value. At the last, the print function is used to print Area variable value