Answer:
Moreover, buildings need HVAC installed in them because:
HVAC systems are used for controlling the overall climate in a building. ...
HVAC fosters enhanced productivity in offices as they feel comfortable. ...
HVAC improves air quality in the building, helping make it appropriate for human breathing and comfort. ...
HVAC systems help you achieve more savings when it comes to energy bills
Explanation:
Answer:
Units larger than a terabyte include a petabyte, exabyte, zettabyte, yottabyte and brontobyte. A geopbyte is also larger than a terabyte and refers to 10 30 bytes, or 1,000 brontobytes. Additional units of measurement become necessary as the amount of data in the world increases.
Explanation:
Write a function named count_vowels that accepts two arguments: a string and an empty dictionary. The function should count the number of times each vowel (the letters a, e, i, o, and u) appears in the string, and use the dictionary to store those counts. When the function ends, the dictionary should have exactly 5 elements. In each element, the key will be a vowel (lowercase) and the value will be the number of times the vowel appears in the string. For example, if the string argument is 'Now is the time', the function will store the following elements in the dictionary: 'a': 0 • 'e': 2 'i': 2 'o': 1 'u': 0 The function should not return a value.
The function that counts the number of times a vowel exist in a string is as follows:
def count_vowels(string, dictionary):
vowels = 'aeiou'
dictionary = {}.fromkeys(vowels, 0)
for i in string:
if i in vowels:
dictionary[i] += 1
return dictionary
print(count_vowels("trouble", {}))
Code explanation.The code is written in python.
we defined a function named "count_vowels". The function accept a string and an empty dictionary.Then. we store the vowels in a variable vowels.The dictionary is used to store the key value pair i.e the vowels and the number of times they appear.We looped through the string.If any value in the string is in vowels, we increase the dictionary values by 1.Then, we return the dictionary.Finally, we call the function with it parameters.learn more on function here: https://brainly.com/question/27219031
Write multiple if statements:
If carYear is before 1967, put "Probably has few safety features.\n" to output.
If after 1970, put "Probably has head rests.\n" to output.
If after 1992, put "Probably has anti-lock brakes.\n" to output.
If after 2002, put "Probably has airbags.\n" to output.
Ex: If carYear is 1995, then output is:
Probably has head rests.
Probably has anti-lock brakes.
Hope this is good enough! Good luck.
Complete the sentence.
Times New Roman, Courier New, Arial and Verdana are all examples of _____.
1. web-safe colors
2. web-safe fonts
3. formatting templates
4. accessible fonts
Answer:
web-safe fonts
Explanation:
Because if you look at the different fonts they are all readable
Answer: 2. web-safe fonts
Explanation: got it right on edgen
Two gamers are programming each player in a football team to throw a football
across the stadium at a specific speed to arrive at the running back's hand. Which is
the parameter and which is the argument in the code below?
The parameter and argument are the same, speed by 5 or 2
The parameter is speed, the argument is 5 or 2
The parameter is 5 or 2, the argument is speed
There are no parameters or arguments
The parameter and the argument in the code below is that the parameter is speed, the argument is 5 or 2.
Can programmers be said to be gamers?Gaming is known to be a kind of starting point for new set of programmers as a lot of game designers do uses different kinds of skills.
Note that in the above scenario, it the parameter is speed, the argument is needs to be 5 or 2 for it to work well.
Learn more about code from
https://brainly.com/question/25605883
6. Create lookup functions to complete the summary section. In cell I6, create a formula using the VLOOKUP function to display the number of hours worked in the selected week. Look up the week number in cell I5 in the range A17:G20, and return the value in the 2nd column. Use absolute references for cell I5 and the range A17:G20.
Answer:
Reporting period hours Timesheet Due Name 44260 Period Start 44228 Period End 40965 Summary Balances Date Completed 43722 Week # 1 Period Start Period End Worked
What is Word's default color for highlighting text?
O orange
O gray
O yellow
O blue
Answer:
Yellow.
Explanation:
Yellow is typically the color but you can always manually change it.
Answer:
yellow
Explanation:
On the home tab of the ribbon the default color for highlighting text and tool is yellow
The algorithm solves the problem
of size n by recursively solving
sub-problems of size n – 1, and
then combining the solutions in
Q(n) time.
Looking at the question on algorithm above, the correct answer is: [tex]O( {2}^{n} )[/tex]
What is algorithm?Algorithm refers to a sequence of instructions that have been well-defined which helps to solve specific problems. Algorithm is used in computation.
The recurrence relation is:
T(n)=2.T(n-1)+c , n>0
T(n)=1, n=0.
Considering the back substitution method,
T(n) = 2kT(n-k)+ 2k-1c+....+20c
Substitute n-k=0
Therefore, we will have:
T(n) = 2nT(0)+ 2k-1c+....+20c
T(n) = [tex] {2}^{n - 1} + 1[/tex]
T(n) = [tex]O( {2}^{n} )[/tex]
Learn more about algorithm on https://brainly.com/question/24953880
A team member who does not feel comfortable disagreeing with someones opinion in front of the team would most likely come from a
Answer:
discussions and decisions made about public policy
Explanation:
Computer A uses Stop and Wait ARQ to send packets to computer B. If the distance between A and B is 40000 km, the packet size is 5000 bytes and the
bandwidth is 10Mbps. Assume that the propagation speed is 2.4x108m/s
a) How long does it take computer A to receive acknowledgment for a packet?
b) How long does it take for computer A to send out a packet?
The time that it takes the computer to receive acknowledgment for a packet is 0.1667 seconds. The time it takes to send out a packet is 4 x 10⁻³seconds
1 The acknowledgment time for the packetspeed = 2.4x108m/s
Distance = 40000 km,
Time = distance/ speed
= 40000 x10³/ 2.4x10⁸m/s
= 0.1667
The time that it take is 0.1667 seconds.
b. Number of bytes = 5000
5000x 8 = 40000bits
10 mbps = 10000 kbps
10000 kbps = 10000000
packet size / bit rate = 40000/10000000
= 4 x 10⁻³seconds to send a packet out
Read more on computer bandwith here: https://brainly.com/question/27020560
What command allows the root user to create a crontab file for the user jdoe?
The command allows the root user to create a crontab file for the user jdoe is As root, execute crontab -e jdoe.
What is the command in crontab?The crontab command is known to be that often submits, make some editing, lists, or delete cron jobs.
Note that A cron job is a type of command that is often aided or run by the cron daemon at a consistent and scheduled times.
Conclusively, The As root, execute crontab -e jdoe command will give room for the root user to create a crontab file for the user named jdoe.
Learn more about command form
https://brainly.com/question/25243683
9.12: Element Shifter
Write a function that accepts an int array and the array’s size as arguments. The function should create a new array that is one element larger than the argument array. The first element of the new array should be set to 0. Element 0 of the argument array should be copied to element 1 of the new array, element 1 of the argument array should be copied to element 2 of the new array, and so forth. The function should return a pointer to the new array. Demonstrate the function by using it in a main program that reads an integer N (that is not more than 50) from standard input and then reads N integers from a file named data into an array. The program then passes the array to your element shifter function, and prints the values of the new expanded and shifted array on standard output, one value per line. You may assume that the file data has at least N values.
Prompts And Output Labels. There are no prompts for the integer and no labels for the reversed array that is printed out.
Input Validation. If the integer read in from standard input exceeds 50 or is less than 0 the program terminates silently.
The Element shifter program illustrates the use of functions and arrays
Arrays are used to hold multiple valuesFunctions are used as subroutines of a programThe Element shifter programThe Element shifter program written in C++, where comments are used to explain each action is as follows:
#include <iostream>
using namespace std;
//This declares the ElementShifter function
int* ElementShifter(int *arr, int size){
//This declares the new array
int *newArr = new int[size * 2];
//The following loop populates the new array
for (int i = 0; i < size * 2; i++) {
if(i == 0){
*(newArr+i) = 0;
}
else if(i < size+1){
*(newArr+i) = *(arr+i-1);
}
else{
*(newArr+i) = 0;
}
}
//This returns a pointer to the new array
return newArr;
}
//The main method begins here
int main(){
//This declares and gets input for N
int N; cin>>N;
int myArr[N];
//If N is between 1 and 50
if(N > 0 && N <=50){
//This populates the array
for(int i = 0; i<N; i++){
cin>>myArr[i];
}
//This calls the Element shifter function
int *ptr = ElementShifter(myArr, N);
//This prints the new array
for (int i = 0; i < N*2; i++) {
cout << ptr[i] << " ";
}
}
return 0;
}
Read more abou C++ programs at:
https://brainly.com/question/27246607
why is this not working for my plus membership
Answer:
The overwhelming main cause for PlayStation Plus subscriptions not being recognised is because of PlayStation server maintenance which prevents your PS4 from communicating with Sony and discovering that you are a paid up PS Plus subscriber.
display unit is capable of displaying test but not
Answer:
I think your question must be display unit is capable of displaying text but not.
Explanation:
A text display is an electronic alphanumeric display device that is mainly or only capable of showing text, or extremely limited graphic characters.
Define a function FindLargestNum() with no parameters that reads integers from input until a negative integer is read. The function returns the largest of the integers read
The FindLargestNum program is an illustration of function; where its execution is done when its name is called or evoked
The function FindLargestNumThe FindLargestNum function written in Python, where comments are used to explain each action is as follows:
#Thie defines the FindLargestNum function
def FindLargestNum():
#This gets the first input
num = int(input())
#This initializes the minimum value
maxm = num
#The following is repeated until the user enters a negative input
while num >= 0:
#This determines the largest input
if num > maxm:
maxm = num
#This gets the another input
num = int(input())
#This prints the largest input
print(maxm)
Read more about functions at:
https://brainly.com/question/24941798
How can use of the Internet potentially be a security issue?
Programs, such as spyware, are mistakenly accessed by visiting an infected
website.
Individuals called viruses attempt to secretly enter another computer to harm it.
Phishing attempts to get someone's personal data with fake emails and social
media requests.
Unwanted software called hackers can transmit personal data from a computer.
Answer:
Unwanted software called hackers can transmit personal data from a computer.
Explanation:
The other options mention "attempt" meaning it hasn't happened yet. So I'm going to assume the last one is right. I'm not 100%
Strategies of Green computing include:
Answer:
Equipment recycling, reduction of paper usage, virtualisation, cloud computing, power
explains why it is important to select the correct data when creating a chart
Answer:
to be organized
Explanation:
because when you are organized to select the correct data, you won't confusedwhat is computers machain?
Answer:
the electronic device which take data process it and give meaningful results is called computer machine
PLS HELP In VPython, finish the code to draw a horizontal axis.
origin = vector (0, 0, 0)
axis = cylinder(pos=origin, axis=vector(________)
options are (50, 0, 0), (0, 50, 0) and (0, 0, 50)
its NOT (0, 50, 0)
Use the knowledge in computational language in python to write a code that draw a horizontal axis with vectors.
How to define vectors in Python?In Python it is possible to define a vector with characters, forming a word, that is, a string of characters, which is abbreviated as "string". To do this, you can assign it as a constant or read the data as a word.
So in an easier way we have that the code is:
mybox = box(pos=vector(x0,y0,z0),
axis=vector(a,b,c)
length=L,
height=H,
width=W,
up=vector(q,r,s))
See more about python at brainly.com/question/18502436
Sorry for being late, but the answer is...
50, 0, 0
PROOF:
type of software designed for users to customise programs is?
In the 1760s and early 1770s, the British government wanted to raise money by taxing the residents of its colonies in North America. They taxed goods such as sugar and tea and even placed a tax on the printing of documents. These actions angered the colonists, who thought that taxation was unfair since they had no representation in the British government. For this reason, a group of colonists dumped hundreds of chests of tea from Britain into Boston Harbor in 1773, in what became known as the Boston Tea Party. As a result, England passed a series of harsh new laws to punish the colonists, further angering them. The Continental Congress met to voice the colonists' grievances, and eventually, on July 4, 1776, the colonists declared their independence from Britain.
Answer:
Taxes and other laws imposed on the colonies led the colonists to declare independence from England.
Explanation:
During the British government, laws taxes, and other laws increased in the colonies which led the colonists to declare independence from England.
How colonists declared their independence from Britain?As a result, the British were forced to deploy a large army in North America on March 22, 1765, the British parliament passed the Stamp Act.
Which aimed to raise money by levying a tax on all legal and official papers and publications that were being distributed across the colonies. The Stamp Act angered the American colonists, which moved fast to oppose it.
A direct appeal to Parliament was virtually difficult due to the colony's extreme distance from London, the heart of British politics.
Therefore to raise money and increase taxes and laws colonists declared their independence on 4 July 1776 from Britain.
Learn more about the British government, here:
https://brainly.com/question/2848503
#SPJ5
A desktop is one kind of computer. Name two other kinds?
Answer:
Notebook, supercomputer.
Explanation:
Notebooks are laptops, usually low performance.
Supercomputers are the best performing computers in the world.
Answer:
super computers and mainframe computers
Explanation:
these computers were used way before desktop computers
Intro to Computer Science:
A zero-tolerance policy means that if the employee violates the policy, they will be _____.
promoted
fired
warned
reprimanded
The correct answer is: fired :)
A zero-tolerance policy means that if the employee violates the policy, they will be fired. Thus, the correct answer is option B.
What is a Zero-tolerance policy?A zero tolerance policy is one that penalizes every violation of a stated rule. People in positions of authority are prohibited by zero tolerance policies from exercising discretion or changing punishments to fit the circumstances subjectively. They must impose a predetermined punishment regardless of individual guilt, extenuating circumstances, or history.
Zero tolerance policies are studied in criminology and are used in both formal and informal policing systems worldwide. If an employee violates the policy, there will be no tolerance and they will be fired.
Therefore, a zero-tolerance policy means that if the employee violates the policy, they will be fired.
To learn more about zero-tolerance policy, click here:
https://brainly.com/question/27293242
#SPJ2
Which of the following are logical functions? Select all the options that apply.
Answer:
functions (reference)
Function Description
IFS function Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.
NOT function Reverses the logic of its argument
OR function Returns TRUE if any argument is TRUE
ICT4AD was meant to modernize the civil service through E-governance implementation.
Explain why you believe that this policy has achieved or not achieved this goal?
ICT4AD work through E-governance implementation fail as a result of:
Lack of Infrastructure. High cost of running its affairs as it needs huge public expenditure. Issues with Privacy and Security and others.What is the aim of e-governance?The objectives of e-Governance is created so as to lower the level of corruption in the government and to make sure of fast administration of services and information.
Conclusively, It is known to fail due to the reasons given above and if they are worked on, the service would have prospered.
Learn more about civil service from
https://brainly.com/question/605499
This week, we have covered network management which include topics such as System message log, SNMP, Netflow, QoS, VPN, and default gateway redundancy. Discuss one feature you would implement in your network and how you use it.
There are lot of system network. I would love to implement the use of VPN in my network.
What is a gains of implementing a VPN?The use of VPNs is one that helps a person to have a better form of total security, it also make performance better, remote access, anonymity, an others.
Conclusively, Note that the use of VPN can be affordable as it is cheap and it can prevent hackers having access to your data or system.
Learn more about VPN from
https://brainly.com/question/25554117
what seemingly useless item can be of social, ecological or commercial value?
Some seemingly useless item can be of social, ecological or commercial value is money, behavior, death etc.
What is something really useless?A useless item are known to be things that are said to be rubbish.
They are items that is useless, of no value. Some useless item can be of social, ecological or commercial value is money, behavior, vehicles etc.
Learn more about commercial value from
https://brainly.com/question/25528419
Which programming term describes the value that is passed to a method when called
so that the method knows what to do?
A parameter
An argument
A function
A variable
The programming term that describes the value that is passed to a method when called so that the method knows what to do is an Argument
What is an Argument?
An argument in Programming are variables used to specify a value when you want to call a fuhnction which provides the programs utilizing more informathion.
A bettrer understanding is as follows:
create a function, pass in data in the form of an argumentProgram utilizes more information from the value of the argument.For example
Say you want to create a function that describes how much money you're having; We can use artgument to descriptive as possible.
Before now, the function may have looked like:
string howMuchmoney() {
return "so much money";
Modifying the function prototype and implementation to take a string argument, it becomes
string howMuchmoney(string amount);
Change your return statement to:
return amount + "money";
Add a string to the parentheses where you call the function:
howMuchmoney("tons of")
Learn more in using Argument here:https://brainly.com/question/6067168
Try it
Which phrases best describe plagiarism? Check all that apply.
presenting someone else's words as if they were your own
using someone else's idea without giving him or her credit
quoting and citing information as a reference or source
using an idea you found online and claiming it as your own
presenting your own original ideas
Answer:
Using Someone else's idea without giving him or her credit
Explanation:
In My Opinion
Answer:
124 :)
Explanation:
Develop a program to sort a file consisting of bonks details in the alphabetical order of author names. The details of books include book id, author_name, price. no of pages, publisher, year of publishing
Please provide C++ program for above question.
Use the knowledge in computational language in C++ to write the a code with alphabetical order of author name.
How to define an array in C++?An Array is a set of values arranged in lists and accessible through a positive numeric index. So, we have that each position of our Array is a variable of the type of our Array, so we have to have a way to initialize this set of variables.
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
using namespace std;
struct Book {
string title;
string author;
};
const int ARRAY_SIZE = 1000;
Book books [ARRAY_SIZE];
string pathname;
ifstream library;
int LoadData();
void ShowAll(int count);
void ShowBooksByAuthor(int count, string name);
void ShowBooksByTitle(int count, string title);
void sortByTitle(int count, string title);
void sortByAuthor(int count, string author);
int main()
{
int count = 0;
char selector = 'q', yesNoAnswer = 'n';
string name;
string title;
cout << "Welcome to Forrest's Library Database." << endl;
cout << "Please enter the name of the backup file: ";
getline(cin, pathname);
LoadData();
count = LoadData();
cout << count << " records loaded successfully." << endl;
do
{
cout << endl << "\t(S)how All, Search (A)uthor, Search (T)itle, (Q)uit: ";
cin >> selector;
selector = toupper(selector);
switch(selector)
{
case 'S':
sortByTitle(count, title);
if (count <= 0)
cout << "No counts found!\n";
else
ShowAll(count);
break;
case 'A':
sortByAuthor(count, name);
cout << "bookAuthor: ";
cin.ignore();
getline(cin, name);
if (count <= 0)
cout << "No records found!\n";
else
ShowBooksByAuthor(count, name);
break;
case 'T':
sortByTitle(count, title);
cout << "bookTitle: ";
cin.ignore();
getline(cin, title);
if (count <= 0)
cout << "No records found!\n";
else
ShowBooksByTitle(count, title);
break;
}
}
while (selector != 'q' && selector != 'Q');
return 0;
}
int LoadData()
{
int count = 0;
int i = 0;
library.open(pathname);
ifstream library(pathname);
if (!library)
{
cout << "Cannot open backup file" << endl;
return 0;
}
while (!library.eof())
{
getline(library, books[count].title);
getline(library, books[count].author);
count++;
}
return count;
}
void ShowAll(int count)
{
for (int i = 0; i < count; i++)
{
cout << books[i].title << " " << "(" << books[i].author << ")" << endl;
}
}
void ShowBooksByAuthor(int count, string name)
{
int j = 0;
for (int i = 0; i < count; i++)
{
if(books[i].author.find(name) < 100)
{
cout << books[i].title << " " << "(" << books[i].author << ")" << endl;
j++;
}
}
cout << j << " records found";}
void ShowBooksByTitle(int count, string title)
{
int j = 0;
for (int i = 0; i < count; i++)
{
if(books[i].title.find(title) < 100)
{
cout << books[i].title << " " << "(" << books[i].author << ")" << endl;
j++;
}
}
cout << j << " records found";
}
void sortByTitle(int count, string title) {
string temp;
for (int i = 0; i < count; i++) {
for(int j = 0; j < count - i; j++) {
if (books[j].title > books[j + 1].title) {
temp = books[j].title;
books[j].title = books[j + 1].title;
books[j + 1].title = temp;
}
}
}
}
void sortByAuthor(int count, string name) {
string temp;
for (int i = 0; i < count; i++) {
for(int j = 0; j < count - i; j++) {
if (books[j].author > books[j + 1].author) {
temp = books[j].author;
books[j].author = books[j + 1].author;
books[j + 1].author = temp;
}
}
}
}
See more about C++ at brainly.com/question/19705654