Answer:
Answered below
Explanation:
# Program is written in Java
class WeekHours{
double school;
double fun;
double sleep;
double sports;
WeekHours( ){
school = 0.0;
fun = 0.0;
sleep = 0.0;
sports = 0.0;
}
public void setSchool ( double x){
school = x;
}
public void setFun( double y){
fun = y;
}
public void setSleep( double w){
sleep = w;
}
public void setSports( double z){
sports = z;
}
public void totalHours(){
double tHours = school + fun + sleep + sports;
System.out.print(tHours);
}
}
Answer:
see explaination
Explanation:
If the cache contains 2k blocks, then the data at memory address i would go to cache block index ( i mod 2k )
Memory address = 5 bit
Cache block = 23
So, if the memory location is 9, then binary address = 01001 and cache block = 9 % 8 = 1 = 001
if the memory location is 12, then binary address = 01100 and cache block = 12 % 8 = 4 = 100
if the memory location is 15, then binary address = 01111 and cache block = 15 % 8 = 7 = 111
Answer:
True
Explanation:
Enterprise resource planning is the integration of various corporate functions using information technology. The main objective of a small or large manufacturing company's ERP project is to track its supply chain activities from inventory purchase to processing and final shipment to customers.
Answer:
- #include <iostream>
- using namespace std;
- struct Point{
- double x;
- double y;
- };
- int main()
- {
- Point origin;
- origin.x = 0;
- origin.y = 0;
- return 0;
- }
Explanation:
The solution code is written in C++.
Firstly, we create a data structure Point with two fields, x and y (Line 5 -8).
In the main program, declare an origin object with Point type (Line 12).
Set the x and y fields of origin object to zero using dot syntax (Line 13-14).
Answer:
The answer to this question is given below in the explanation section
Explanation:
The correct answer to this question is: it used a more English-like syntax.
The software developer use high-level language to develop or author the program because it is more likely to English syntax and it would be easy for a software developer to author a program easily instead of using low level language and remembering ones and zeros.
Other options are not correct because:
It can be used on computers without microprocessors: Each computer has a microprocessor either you develop a program using high-level or low-level languages. Changes and modifications are easy in high-level language than in low-level languages. so, the option that prevents anyone from making changes to the software later is wrong. However, high-level languages are less complicated in learning and in authoring the programs but it does not use zeros and ones, it uses English-like syntax. So, the last option is also wrong.