DEFINITION of COMPONENT HARDWARE?
Answer: See explanation
Explanation:
Computer hardware refers to the physical parts of a computer, which includes the monitor, mouse, central processing unit (CPU), keyboard, computer data storage etc.
Hardware are the physical, computer devices, which helps in providing support for major functions like input, processing, output, and communication. The computer hardware is directed by the software to perform an instruction.
There is an interface I that has abstract class AC as its subclass. Class C inherits AC. We know that C delegates to an object of D to perform some computations. Besides, C consists of two C1s and one C2 as subcomponents. Object of C2 is still reusable when its major component C is depleted. C1 has a method that takes in an object of E as argument. Which one is invalid
Answer:
are u in HS or college work
I am trying to understand
In which generation of computers are we in?
GENERATIONS OF
ACTIVITY 12
In tabular form differentiate the first four generations of computers.
If one wish to create a loop such that it will continuously add time elapsed between two functions with variable computation time until 1 hour is passed, what type of loop would be best
"Between two functions" not sure of what you mean there but here's a quick way to execute a function for an hour
Answer and Explanation:
var interval=setInterval(function(){
var i=0;
for (i=0; i <=60; i++){
for (i=0; i <70; i++){
console.log(i); }
}}, 60000);
Explain the bad effect and good effect of mobile phone and internet.
Answer:
Bad effect of mobile phone: mobile phones can be a distraction and good effect is that your able to call for emergency and be able to connect with people.
bad effect of internet: internet can be deceiving when hearing a tragedy happen and the good effect is that your able to know news and important things.
If x=50.7,y=25.3 and z is defined as integer z,calculate z=x+y
Answer:
Ans: 76
Explanation:
z=x+y
=50•7 + 25•3
=76#
The function of while loop is
a. Repeata chunk of code a given number of times.
b. Repeat a chunk of code until a condition is true.
c. Repeata chunk of code until a condition is false.
d. Repeata chunk of code indefinitely.
Answer:
B repeat a chunk of code until the condition is true im 88% sure
Write the correct statements for the above logic and syntax errors in program below.
#include
using namespace std;
void main()
{
int count = 0, count1 = 0, count2 = 0, count3 = 0;
mark = -9;
while (mark != -9)
{
cout << "insert marks of students in your class, enter -9 to stop entering";
cin >> mark;
count++;
if (mark >= 0 && mark <= 60);
count1 = count1 + 1;
else if (mark >= 61 && mark <= 70);
count2 = count2 + 1;
else if (mark >= 71 && mark <= 100);
count3 = count3 + 1;
}
cout <<"Report of MTS3013 course" << endl;
cout <<"Mark" << count << endl << endl;
cout << "0-60" << "\t\t\t\t" << count1 << endl;
cout << "61-70" << "\t\t\t\t" << count2 << endl;
cout << "71-100" << "\t\t\t\t" << count3 << endl<< endl << endl;
cout << "End of program";
}
For this assignment, you will use pointers to write a program that can be used to gather statistical data about the number of movies college students see in a month. The program should ask the user how many students were surveyed and dynamically allocate an array of that size. The program should then allow the user to enter the number of movies each student has seen. The program should then calculate the average, median, and mode of the values entered. Be sure to include comments throughout your code where appropriate.
Complete the C++ code
Answer:
Following are the program to the given question:
#include <iostream>//header file
#include <bits/stdc++.h>//header file
using namespace std;
int main()//main method
{
int x,i,sum=0;//defining integer variable
double average, median;//defining double variable
cout<<"How many students were surveyed? ";//print message
cin>>x;//input value
int *a = new int[x]; //dynamically created array
for(i = 0;i<x;i++)//defining for loop to input value in array
{
cout<<"Enter the number of movies seen by student number "<<i+1<<": ";//print message
cin>>a[i];//input value
}
for (int i = 0; i < x; i++)//defining loop for add value
sum += a[i]; //use sum to add array value
average = (double)sum/x;//defining average variable to calculate average
cout<<"Average is "<<average<<endl;//print average value with message
sort(a, a+x); //use sort method to sort array to find the median
if (x % 2 != 0)//use if to check the even value
median = (double)a[x/2];//calculating the median value
else//esle block
median = (double)(a[(x-1)/2] + a[x/2])/2.0;//calculating median value
cout<<"Median is "<<median<<endl;//print median value with message
int m_count=1 ,mode= a[0], c_count = 0;//defining integer variable
for( i=1;i<x;i++)//defining for loop arrenge value
{
if(a[i]==a[i-1])//use if to check array value
{
c_count++;//increment c_count variable value
}
else//else block
{
if(c_count>m_count)//use if to check c_count greater than m_count
{
m_count = c_count;//holding value in m_count
mode = a[i-1];//holding mode value
}
c_count = 1;//holding value integer value in c_count
}
}
cout<<"Mode is "<<mode;//print mode value with message
return 0;
}
Output:
Please find the attachment file.
Explanation:
Including header file.Defining the main method. Declaring integer and double type variables.Declaring integer array.Use the loop to the input value.After input, the value uses double variable "average, the median" that uses the for loop and conditional statement to check the value and hold in its variable.In the next step, another integer variable "m_count, mode, and c_count" is defined that uses the loop and conditional statement to check the median and mode value and hold its value into their variable.Select the correct answer.
What testing approach does a development team use when testing the developed code rather than just the functionality of the code?
A.
white box testing
B.
black box testing
C.
acceptance testing
D.
usability testing
Answer:
D. usability testing
Explanation:
A software can be defined as a set of executable instructions (codes) or collection of data that is used typically to instruct a computer how to perform a specific task and to solve a particular problem.
A software development life cycle (SDLC) can be defined as a strategic process or methodology that defines the key steps or stages for creating and implementing high quality software applications. There are seven (7) main stages in the creation of a software and these are;
1. Planning.
2. Analysis and requirements.
3. Software design and prototyping.
4. Development (coding).
5. Integration and testing
6. Deployment.
7. Operations and maintenance.
Usability testing is a testing technique used by a software development team to test a developed code rather than just the functionality of the code.
The main purpose of usability (user experience) testing is to determine how easy, user-friendly or difficult it is for end users (real people) to use a software application or program.
It's currently 1:00 in the afternoon. You want to schedule the myapp program to run automatically tomorrow at noon (12:00). What two at commands could you use
Answer:
at 12 pm tomorrow
at now +23 hours
Explanation:
The at command could be used in the command line to perform a scheduled command in Unix related systems. The at command coule be ua d to program a complex script or used to perform simple scheduled reminders.
The at command is initiated by first writing the at string followed by the condition or statement to be performed.
Currently (1:00 pm) ; To make a schedule for 12pm then that will be at noon the following day:
at 12:00 pm tomorrow
Or :
Using the number of hours between the current tone and the schedule time : 12 pm tomorrow - 1:00 pm today is a difference of 23 hours ;
Hence, it can be written as :
at +23 hours
Identify some advantages of using Excel over lists, paper files, or simple word documents? Describe some disadvantages of using Excel over lists, paper files, or simple word documents? Summarize one thing in you home life that could be improved or more easily managed using Excel?
Excel
Excel is a software program that contains spreadsheet. Spreadsheet is an electric document that works numbers and display results in graphs. There are vertical columns and horizontal rows.
they are several advantages of excel which is;
Excel is very efficient to use, especially when you have to calculate your data, it's not hard to calculate the computer itself calculates it for you.they are also disadvantages of excel which is;
some users might get a little bit problem when you send Microsoft Excel, here is one sometimes the spreadsheet are difficult to share internally.when describing a software lincense what does the phrase "open source" mean?
To dynamically change a reference line using parameter action, you first create a reference parameter. Next, add a parameter action for it. Finally, _____.a. add a reference line whose value follows a reference parameter.b. add the sheet you want to control as the bottom-right element in the layout.c. also add a URL action that points to the dashboard itself.d. add a reference line with a per pane scope and a tooltip.
Answer:
a. add a reference line whose value follows a reference parameter
Explanation:
To dynamically change a reference line using parameter action, you first create a reference parameter. Next, add a parameter action for it. Finally, "add a reference line whose value follows a reference parameter."
This is because to dynamically change a reference line using parameter action, one needs to do the following:
1. Attribute the reference line with a parameter
2. Utilize a parameter action to make the parameter interactive.
3. As your users interact with the view, the reference lines automatically update to deliver more context to the data.
Answer:
add a reference line whose value follows a reference parameter
Explanation:
add a reference line whose value follows a reference parameter
While using PERT (Program Evaluation Review Technique) and CPM (Critical Path Method) techniques, activities that are on the critical path are more flexible than those activities which are not on the critical path.
a. True
b. False
Answer:
b. False
Explanation:
The Critical Path Method(CPM) is used to determine the maximum time to finish a project based on the total maximum time of the network of interdependent activities in the project. The CPM is usually used in conjunction with the Program Evaluation Review Technique(PERT). If an activity is in the critical path then it is at its maximum or longest duration time and cannot be more flexible at this point.
What are some of the advantages and disadvantages of connection-oriented WAN/Man as opposed to connection-less?
Answer and Explanation:
Connection oriented WAN/MAN as opposed to connection less network is a type of wide area network that requires communicating entities in the network to establish a dedicated connection for their communication before they start communicating. This type of network will use these established network layers only till they release it, typical of telephone networks.
Advantages include:
Connection is reliable and long.
Eliminates duplicate data issues.
Disadvantages include:
Resource allocation while establishing dedicated connection slows down speed and may not fully utilize network resources.
There are no plan B's for network congestion issues, albeit occurring rarely with this type of network.
What will be the output of the following code
1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
2
3
Pim val As Double
val - Math.Sqrt (12)
5
TextBox1.Text = val
6
7 End Sub
Answer:
3.4641016151377544
Explanation:
See picture for corrected code. The OCR messes up the code.
Study the following two class interfaces: class Question { public: Question(); void set_text(string new_text); void set_answer(string new_answer); void display() const; private: string text; string answer; }; class ChoiceQuestion : public Question { public: ChoiceQuestion(); void set_text(string new_text); }; Which member function from the Question class is overridden in the ChoiceQuestion class?
Answer:
The question function
Explanation:
The ChoiceQuestion function inherits from the Question class and should have it's functions and attributes as it is now a child of the Question class. It however overides the Question class function where it sets the ChoiceQuestion class function in the first function definition of the ChoiceQuestion class definition. This allows the child class to have it's own functions as well have access to the attributes and functions of the parent class.
The process by which the kernel temporarily moves data from memory to a storage device is known as what?
Answer: Swapping
Explanation:
Swapping is referred to as the process by which the kernel temporarily moves data from memory to a storage device.
Swapping is simply a memory management scheme whereby the process can be swapped temporarily from the main memory to the secondary memory in order for the main memory to be available for other processes. Swapping is used for memory utilization.
Kareem is working on a project for his manager. He has a few questions for a co-worker who he knows is knowledgeable on the subject. As they're discussing some of the topics, he gives the co-worker permissions to the resources so they can look at the information on their own. Which of the following access control methods does Kareem's company use?
a. DAC
b. RBAC
c. MAC
d. TSAC
Answer: RBAC
Explanation:
The access control methods that Kareem's company uses us the role based access control.
The Role-based access control (RBAC) simply means assigning permissions to users based on the role that such individual plays within an organization.
RBAC is a simple approach to access management and is typically less prone to error than in a scenario whereby permissions are assigned to users individually. Access rights are given to the workers based on what their job entails and what is needed and other information which isn't needed won't be accessible to them.
Select the correct statement(s) regarding PONS. a. only MMF cables can be used, since MMF enables greater data capacities compared to SMF b. PONS systems require active amplifiers, since high frequency signals attenuate quickly over distance c. PONS systems use passive devices between OLT and ONT d. all are correct statements
Answer:
The correct statement regarding PONS is:
c. PONS systems use passive devices between OLT and ONT
Explanation:
PON means Passive Optical Network. Based on fiber-optic telecommunications technology, PON is used to deliver broadband network access to individual end-customers. It enables a single fiber from a service provider to maintain an efficient broadband connection for multiple end-users (homes and small businesses). OLT means Optical Line Terminal, while ONT means Optical Network Terminal. They provide access to the PON.
Write a function gcdRecur(a, b) that implements this idea recursively. This function takes in two positive integers and returns one integer.
''def gcdRecur(a, b):
'''
a, b: positive integers
returns: a positive integer, the greatest common divisor of a & b.
'''
# Your code here
if b == 0:
return a
else:
return gcdRecur(b, a%b)
#Test Code
gcdRecur(88, 96)
gcdRecur(143, 78)
© 2021 GitHub, Inc.
Answer & Explanation:
The program you added to the question is correct, and it works fine; It only needs to be properly formatted.
So, the only thing I did to this solution is to re-write the program in your question properly.
def gcdRecur(a, b):
if b == 0:
return a
else:
return gcdRecur(b, a%b)
gcdRecur(88, 96)
gcdRecur(143, 78)
discuss extensively, the historical development of public Administration
Public administration has ancient origins. In antiquity the Egyptians and Greeks organized public affairs by office, and the principal officeholders were regarded as being principally responsible for administering justice, maintaining law and order, and providing plenty. The Romans developed a more sophisticated system under their empire, creating distinct administrative hierarchies for justice, military affairs, finance and taxation, foreign affairs, and internal affairs, each with its own principal officers of state. An elaborate administrative structure, later imitated by the Roman Catholic Church, covered the entire empire, with a hierarchy of officers reporting back through their superiors to the emperor. This sophisticated structure disappeared after the fall of the Western Roman Empire in the 5th century, but many of its practices continued in the Byzantine Empire in the east, where civil service rule was reflected in the pejorative use of the word Byzantinism.
Scenario You are a network engineer and it is your first day working with ASU and you have been given the job of creating a network for the IT program. You are given the following three tasks to complete. 1. Configure IP addressing settings on network devices. 2. Perform basic device configuration tasks on a router. 3. Verify Layer 3 connectivity via a routing protocol. 4. Setup some access control lists.
what is example of application of machine learning that can be imposed in eduction. (except brainly.)
Answer:
Machine Learning Examples
Recommendation Engines (Netflix)
Sorting, tagging and categorizing photos (Yelp)
Self-Driving Cars (Waymo)
Education (Duolingo)
Customer Lifetime Value (Asos)
Patient Sickness Predictions (KenSci)
Determining Credit Worthiness (Deserve)
Targeted Emails (Optimail)
2) List three (3) negative impact of Technology on society
Answer:
1. social media and mobile devices may lead to psychological.
2. They may contribute to more serious health conditions such as depression.
3. The overuse of technology may have a more significant impact on developing children and teenagers.
Explanation:
may this help you have a good day
Consider a system with seven processes: E, F, G, H, I, J, K and six resources: U, V, W, X, Y, Z. Process E holds U and wants V. Process F holds nothing but wants W. Process G holds nothing but wants V. Process H holds X and wants V and W. Process I holds W and wants Y. Process J holds Z and wants V. Process K holds Y and wants X. Is this system deadlocked?
a. Yes
b. No
Answer:
a. Yes
Explanation:
System is deadlock due to process HIK. Process H holds X and wants V and W. Process I holds W and wants Y. Process K holds Y and wants X. The system will become deadlock due to these three different processes.
Suppose that a disk unit has the following parameters: seek time s = 20 msec; rotational delay rd = 10 msec; block transfer time btt = 1 msec; block size B = 2400 bytes; interblock gap size G = 600 bytes. An EMPLOYEE file has the following fields: Ssn, 9 bytes; Last_name, 20 bytes; First_name, 20 bytes; Middle_init, 1 byte; Birth_date, 10 bytes; Address, 35 bytes; Phone, 12 bytes; Supervisor_ssn, 9 bytes; Department, 4 bytes; Job_code, 4 bytes; deletion marker, 1 byte. The EMPLOYEE file has r = 30,000 records, fixed-length format, and unspanned blocking.
Answer:
20
Explanation:
I hope it helps choose me the brainst
We have an N x N square grid.
We will paint each square in the grid either black or white.
If we paint exactly A squares white, how many squares will be painted black?
A and N are integers,
Print the number of squares that will be painted black.
C++
Answer:
The solution in C++ is:
#include <iostream>
using namespace std;
int main(){
int N, A;
cout<<"Grids: "; cin>>N;
cout<<"White: "; cin>>A;
cout<<"Black: "<<N * N - A;
return 0;
}
Explanation:
This declares N and A, as integers
int N, A;
This gets inputs for N
cout<<"Grids: "; cin>>N;
This gets inputs for A, (the white grids)
cout<<"White: "; cin>>A;
This calculates and prints the number of black grids
cout<<"Black: "<<N * N - A;
PS
From the question, we understand that the grid is N by N square grids.
This means that:
[tex]Total = N * N[/tex]
So, the number of black grids is:
[tex]Black = Total - A[/tex]