What are three ways data can be gathered?Possible answers include:

A. Interviews, surveys, the Internet, tests

B. Instruments, books, catalogs, experiments

C. Magazines, manuals, experts

D. All of the above

Answers

Answer 1

Answer:

D. All of the above

Explanation:

Here are the top six data collection methods:

Interviews. Questionnaires and surveys. Observations. Documents and records. Focus groups. Oral histories.

The system of data collection is based on the type of study being conducted. Depending on the researcher’s research plan and design, there are several ways data can be collected.

The most commonly used methods are: published literature sources, surveys (email and mail), interviews (telephone, face-to-face or focus group), observations, documents and records, and experiments.

1. Literature sources

This involves the collection of data from already published text available in the public domain. Literature sources can include: textbooks, government or private companies’ reports, newspapers, magazines, online published papers and articles.

This method of data collection is referred to as secondary data collection. In comparison to primary data collection, tt is inexpensive and not time consuming.

2. Surveys

Survey is another method of gathering information for research purposes. Information are gathered through questionnaire, mostly based on individual or group experiences regarding a particular phenomenon.

There are several ways by which this information can be collected. Most notable ways are: web-based questionnaire and paper-based questionnaire (printed form). The results of this method of data collection are generally easy to analyse.

3. Interviews

Interview is a qualitative method of data collection whose results are based on intensive engagement with respondents about a particular study. Usually, interviews are used in order to collect in-depth responses from the professionals being interviewed.

Interview can be structured (formal), semi-structured or unstructured (informal). In essence, an interview method of data collection can be conducted through face-to-face meeting with the interviewee(s) or through telephone.

4. Observations

Observation method of information gathering is used by monitoring participants in a specific situation or environment at a given time and day. Basically, researchers observe the behaviour of the surrounding environments or people that are being studied. This type of study can be contriolled, natural or participant.

Controlled observation is when the researcher uses a standardised precedure of observing participants or the environment. Natural observation is when participants are being observed in their natural conditions. Participant observation is where the researcher becomes part of the group being studied.

5. Documents and records

This is the process of examining existing documents and records of an organisation for tracking changes over a period of time. Records can be tracked by examining call logs, email logs, databases, minutes of meetings, staff reports, information logs, etc.

For instance, an organisation may want to understand why there are lots of negative reviews and complains from customer about its products or services. In this case, the organisation will look into records of their products or services and recorded interaction of employees with customers.

6. Experiments

Experiemental research is a research method where the causal relationship between two variables are being examined. One of the variables can be manipulated, and the other is measured. These two variables are classified as dependent and independent variables.

In experimental research, data are mostly collected based on the cause and effect of the two variables being studied. This type of research are common among medical researchers, and it uses quantitative research approach.

Answer 2

These are three possible way:

A. Interviews, surveys, the InternetB. Instruments, books, experimentsC. Magazines, manuals, experts.

What are the different ways of gathering data?

There are many ways to gather data, including:

Surveys and questionnaires: Collecting information through standardized questions, either in written or verbal form.

Interviews: Gathering information through face-to-face or telephone conversations.

Observation: Collecting data by watching and recording behavior or events.

Experiments: Controlled testing to gather data on cause and effect relationships.

Case studies: Detailed examination of a particular individual, group, or situation.

Focus groups: Discussions with a small group of people to gather information on a specific topic.

Online research: Gathering data through the internet using search engines, social media, and other online sources.

Library research: Using books, journals, and other printed materials to gather data.

Archival research: Examining historical documents, records, and other artifacts.

Participatory research: Involving the research subjects in the data collection process.

Learn more about data collection, here:

https://brainly.com/question/21605027

#SPJ2


Related Questions

In this lab, you will design a die game called 15. The object of the game is to score exactly 15 points in as few rolls of the die as possible. After each roll, the player can choose to add the current die value to his or her score or not, unless the die value is six, in which case it is automatically added to the player’s score. If the player’s score exceeds 15, the player loses. If the player’s score is equal to 15, the player wins. Play continues until the player reaches or exceeds 15 points.
Description:
To start the game, the player presses the reset switch. The score will be set to zero and both the Win and Lose LEDs will be turned off. The player then rolls the die by toggling the Rb switch to the Roll position. The die counter should operate with a clock frequency of 27 MHz or 50 MHz so that the player cannot control the outcome of a roll. After about a second or more, the player toggles the Rb switch back to the Off position to end the roll. The Turn Counter should be incremented to indicate that the player has taken a roll. If the player rolled a six, it is automatically added to his or her score. Otherwise, the player can press the Add button to add the die value to his or her score or the player can press the Pass button to leave the score unchanged. After each roll, the score will be greater than, less than or equal to 15. If the score is equal to 15, the player wins – the Win LED should be turned on and remain on until the system is reset for a new game. If the score is greater than 15, the player loses – the Lose LED should be turned on and remain on until the system is reset. Once the player has won or lost, the player cannot roll the die again until the system is reset. (The Rb switch will not have any effect in these states.) If the score is less than 15, the player will roll again. After each roll, the player presses either the Add button or the Pass button (unless a six is rolled) before the die can be rolled again. Play continues until the player’s score equals or exceeds 15.
1) Draw a state diagram for the game as a Moore finite state machine.
2) Draw a state diagram for the game as a Mealy finite state machine.

Answers

Answer:

Explanation:

Check the file attached below to see the diagram that is drawn for the question being answered

In C++ programming please.
Rock, Paper, Scissors Game.
a) Write a program that lets the user play the game of Rock, Paper, Scissors against the computer. The program should work as follows:
1. When the program begins, a random number in the range of 1 through 3 is generated (1+rand()%3). If the number is 1, then the computer has chosen rock. If the number is 2, then the computer has chosen paper. If the number is 3, them the computer has chosen scissors. (Don't display computer's choice yet).
2. The user enters his or her choice of "rock", "paper", or "scissors" at the keyboard. (You can use a menu if you prefer).
3. The computer's choice is displayed.
4. A winner is selected according to the rock paper scossors game riles.
Be sure to divide the program into the following functions:
int getUserChoice ();
The getUserChoice function displays a menu allowing the user to select rock, paper, or scissors.
4 to Quit the game
The function then returns 1 for rock, or 2 for paper, or 3 for scissors.
User input validation of the choices
int getComputerSchoice ();
The getComputerChoice function returns the computer's game choice.
It returns 1 for rock (via the ROCK constant), or 2 for paper (via the PAPER constant), or 3 for scissors
determineWinner (int, int);
The determineWinner function accepts the user's game choice and the computer's game choice as arguments and displays the choices, and a message indicating the winner.
void displayChoice (int);
The displayChoice function accepts an integer argument and displays rock, paper, or Scissors.
int main ()
Loop while user choice is not 4 (Quit the game)

Answers

Answer:

A program was written in C++ that allows the user to play the game of Rock, Paper, Scissors against the computer.

Explanation:

Solution

C++ CODE:

#include<iostream>

#include <locale>

#include<string>

#include<cstdlib>

#include<time.h>

using namespace std;

int play(int user,int cpu){  

 return(user - cpu);   //here is just substracting and returning the value entered by user and cpu  

}  

void display(int choice){   //to display the choices entered by user or cpu  

 if(choice == 1){    //1 for Rock  

     cout<<"Rock"<<endl;  

 }else if(choice == 2){    //2 for Paper  

     cout<<"Paper"<<endl;  

 }else{       //3 for Scissors  

     cout<<"Scissors"<<endl;  

 }  

}  

void winner(int win){  

 if(win == 0){       //if user and cpu entered same value

     cout<<"A game is a draw."<<endl;  

 }else if(win == 1){   //if user entered Paper and cpu entered Rock or if user entered Scissors and cpu entered Paper  

     cout<<"Hurray You won."<<endl;

 }else if(win == -1){   //if user entered Rock and cpu entered Paper or if user entered Paper and cpu entered Scissors  

     cout<<"CPU won."<<endl;  

 }else if(win == 2){        //if user entered Scissors and cpu entered Rock  

     cout<<"CPU won."<<endl;  

 }else if(win == -2){       //if user entered Rock and cpu entered Scissors  

     cout<<"Hurray You won."<<endl;  

 }  

}  

int cpu_choice(){

 srand (time(NULL));    //this function is to generate random from time to time  

 int cpu = 1000;  

 while(cpu > 3){   //to generate random number between 1 to 3  

     cpu = (rand() % cpu) +1;  

 }  

 return cpu;  

}  

int main(){  

 int choice=0,cpu=0,win=0;  

 locale loc;  

 string ch;  

 cout<<"Enter your choice :"<<endl;  

 cout<<"1. Rock\n2. Paper\n3. Scissors"<<endl<<"\t";

 cin>>ch;ch[0] = toupper(ch[0],loc); //converting the first element to char if by misktake the user have entered lower case  

 if(ch.compare("Rock") == 0 || ch.compare("Paper") == 0 || ch.compare("Scissors") == 0){ //if choice is correct  

     cout<<"You: "<<ch<<endl; //display the choice entered by the user

     if(ch[0] == 'r' || ch[0] == 'R') choice = 1; //if the user enter rock or Rock  

     else if(ch[0] == 'p' || ch[0] == 'P') choice = 2; //if the user enter paper or Paper  

     else if(ch[0] == 's' || ch[0] == 'S') choice = 3; //if the user enter scissors or Scissors  

     cout<<"CPU: ";  

     cpu = cpu_choice(); //get cpu choice

     display(cpu); //display the choice entered by the cpu using the random number

     win = play(choice,cpu); //call the function to play the game and returns the winner

     winner(win); //display the winner

 }else{ //if entered choice is wrong

     cout<<"wrong choice!"<<endl;

 }  

 return 0;  

}

Use computer software packages, such as Minitab or Excel, to solve this problem. The owner of Showtime Movie Theaters, Inc., used multiple regression analysis to predict gross revenue () as a function of television advertising () and newspaper advertising (). Values of , , and are expressed in thousands of dollars. Weekly Gross Revenue ($1000vs) Television Advertising ($1000in) Newspaper Advertising ($1000s) 96 5 1.5 90 2 2 95 4 1.5 92 2.5 2.5 95 3 3.3 94 3.5 2.3 94 2.5 4.2 94 3 2.5 The estimated regression equation was a. What is the estimated gross revenue for a week where thousand is spent on television and thousand is spent on newspaper advertising (to 3 decimals)

Answers

Answer:

a. Gross revenue

b. 95% P.I ( 91.774, 95.400)

Explanation:

Please check the file attached below to see the solution to given question using minitab

Consider the following relational schema, where the primary keys are Bold,
Students(sid, sname, address, dept_id)
Courses(cid, cname, dept_id)
Departments(dept_id, dname, college)
Grades(sid, cid, year, semester, grade)
Write the following queries in SQL. Only use the tables that are absolutely needed for the corresponding query.
1. Find the sids and snames of students who took "Database" course (i.e., cname = ‘Database’) in Fall 2019.
2. Find the average grade of all the students who took "CS327" (i.e., cid=‘CS327’) in Fall 2019. You can assume grade is a numerical attribute.
3. Find the number of distinct courses offered by each department in Fall 2019.
4. Find the sids of students who have taken at least 10 different courses offered by "Computer Science" department (i.e., dname = ‘Computer Science’).

Answers

Answer:

The queries for each question are explained.

1. Find the sids and snames of students who took "Database" course (i.e., cname = ‘Database’) in Fall 2019.

 The columns sid and sname are taken from students table.

The course name belong to the courses table.

The semester and year belong to the grades table.

To get the final query, all these tables need to be joined in the FROM clause using JOIN ON keywords.

select s.sid, sname

from students s join grades g on g.sid = s.sid

join courses c on g.cid = c.cid

where cname like 'database%'

and semester like 'Fall'

and year=2019

2. Find the average grade of all the students who took "CS327" (i.e., cid=‘CS327’) in Fall 2019. You can assume grade is a numerical attribute.

The grade column is taken from grades table.

The course id belongs to the grades table.

The semester and year also belong to the grades table.

The final query is formed using the grades table only.

 select avg(grade)

from grades

where cid like 'CS327'

and semester like 'Fall'

and year=2019

 3. Find the number of distinct courses offered by each department in Fall 2019.

 The department id belongs to the courses table.

The course id belongs to the grades table.

The semester and year also belong to the grades table.

To get the final query, the courses and the grades tables are joined in the FROM clause using JOIN ON keywords.

select dept_id, count(distinct g.cid)

from courses c join grades g on c.cid = g.cid

where semester like 'Fall'

and year=2019

group by dept_id

what term defines inventiveness uncertainty and futuristic ideas typically deals with science and technology

Answers

Answer:

Innovation.

Explanation:

Innovation can be considered the ideal term, because an innovative idea arises from the set of a new technique, method or invention that aims to improve an existing method, standard, or product.

However, added to an innovative idea is the risk, since innovation breaks an already established standard, so it is through science and technology that an invention will gain greater foundation and recognition, which increases its credibility and acceptance.

can a +2 management studnet from nepal study computer engineer in UK?​

Answers

Answer: The UK government offers a global scholarship programme called “Chevening”. It is open to all international students who meet the Chevening eligibility criteria, which states you must have applied for at least three degree courses in the UK, usually one-year Master's courses

Explanation: So yes that should be fine

Create a simple program that calls a function call gradeCalculated, in the main area the user is asked to enter their grade from 0-100. (Python)

Answers

Answer:

def gradeCalculated(score):

   if score < 60:

       letter = 'F'

   elif score < 70:

       letter = 'D'

   elif score < 80:

       letter = 'C'

   elif score < 90:

       letter = 'B'

   else:

       letter = 'A'

   return letter

def main():

   grade = int(input("enter your grade from 0-100: "))

   print("Letter grade for ",grade,"is:",gradeCalculated(grade))

   if(grade>80):

       print("You are doing good! keep it up!!")

   else:

       print("You have to get work hard")

main()

Explanation:

See attached image for output

For this problem, use a formula from this chapter, but first state the formula. Frames arrive randomly at a 100-Mbps channel for transmission. If the channel is busy when a frame arrives, it waits its turn in a queue. Frame length is exponentially distributed with a mean of 10,000 bits/frame. For each of the following frame arrival rates, give the delay experienced by the average frame, including both queueing time and transmission time.
a. 90 frames/ sec.
b. 900 frames/ sec.
c. 9000 frames/ sec

Answers

Answer:

(a). 0.1 × 10^-3 = 0.1 msec.

(b). 0.11 × 10^-3 = 0.11 msec.

(c). 1 × 10^-3. = 1 msec.

Explanation:

So, in order to solve this problem or question there is the need to use the Markov queuing formula which is represented mathematically as below;

Mean time delay, t = /(mean frame length,L) × channel capacity, C - frame arrival rate, F. ---------------------------------(1).

(a). Using equation (1) above, the delay experience by 90 frames/sec.

=> 1/(10^-4× 10^8 - 90). = 0.1 × 10^-3= 0.1 msec.

(b). Using equation (1) above, the delay experience by 900 frames/sec.

=> 1/(10^-4× 10^8 - 900). = 0.11 × 10^-3= 0.11 msec.

(c). Using equation (1) above, the delay experience by 90 frames/sec.

=> 1/(10^-4× 10^8 - 9000). = 1 × 10^-3= 1 msec.

Hence, the operating queuing system is; 900/10^-4 × 10^8 = 0.9.

Must be completed in JAVA

Complete SortedTableMap. The SortedTreeMap from the final lecture uses an AVLTree to implement the SortedMap interface so that the essential methods run in O(log n) time, which is relatively quite good. For this problem, complete the empty SortedTableMap class by using an ArrayList to implement the SortedMap interface. It will not be possible to implement all of the essential methods so that they run in O(log n) time, but your implementation should be as runtime efficient as possible. Specifically, the get method can be done in O(log n) time; some other methods can be done in O(n), some can be done in O(1).

package Class;

/*
* This file should not be modified
*/

public interface SortedMap extends Map {

Entry firstEntry();
Entry lastEntry();
Entry floorEntry(K key);
Entry ceilingEntry(K key);
Entry lowerEntry(K key);
Entry higherEntry(K key);
Iterable> subMap(K fromKey, K toKey);

}

package Class;

import java.util.ArrayList;
import java.util.Comparator;

/*
* Complete this file for part 3 of the assignment
*
* No additional classes should be imported
*/

public class SortedTableMap extends AbstractMap implements SortedMap {


}

Answers

Answer:

What is your question?

A potential danger of social media is that

Answers

It can cause users to want to live up to standards that they see on social media platforms and want to change their appearances because of things and people that they see on the platforms.

Answer: information can be viewed my strangers

Explanation:

Apex

It is only likely for a guest to receive outstanding service at luxury brands. That's why Ritz-Carlton, Mandarin Oriental, Four Seasons, and others are the best at what they do.

Answers

Answer:

FALSE

Explanation:

as a sales person which size hard disc would you recommend a customer who needs to use Microsoft PowerPoint application?

Answers

Answer:

Not very big - maybe 64 GB or 128 GB

Explanation:

PPT doesn't take up much space

A company with a large number of hosts creates three subdomains under a main domain. For easier management of the host records, how many zones should be used

Answers

Answer:

4

Explanation:

For easier management of the host records of the company 4 zones should be used because

subdomain is part of a larger domain and the main domain which is the primary domain is the name which the company have decide to use which will represent the company website address and in a situation where the company

have different domain names in which they had registered, they will need to choose one among the domain which will inturn be their main domain.

Therefore for easier , efficient and effective management of the host records 4 zones will be the best zones to be used.

Example of sub domain is north.example.com

For easier management of the host records, 4 zones should be used

Host record or a DNS host, is simply known as record in one's domain's DNS zone file that is said to create the connection between one's domain and its matching IP address.

It is also called an A or Address record. It is said to links a domain to the physical IP address of a computer hosting that has the domain's services.

4 zones in the subdomain is good because a subdomain is part of a larger domain and the main domain and therefore having four will cater for all.

Its gives a creative approach to the management of DNS, DHCP, and IPAM data.

Conclusively, the use of host records helps to manage multiple DNS records, DHCP and IPAM data.

Learn more from

https://brainly.com/question/19281141

short notes on Supply chain Management System (SCMS)

Answers

Answer: Its the is the centralized management of the flow of goods and services and includes all processes that transform raw materials into final products. By managing the supply chain, companies are able to cut excess costs and deliver products to the consumer faster.

It is a management of the flow of goods, data, and finances related to a product or service, from the procurement of raw materials to the delivery of the product at its final destination.

Explanation: ik its long but hope it helps

Write a procedure named Str_find that searches for the first matching occurrence of a source string inside a target string and returns the matching position. The input parameters should be a pointer to the source string and a pointer to the target string. If a match is found, the procedure sets the Zero flag and EAX points to the matching position in the target string. Otherwise, the Zero flag is clear and EAX is undefined.

Answers

Answer: Provided in the explanation section

Explanation:

Str_find PROTO, pTarget:PTR BYTE, pSource:PTR BYTE

.data

target BYTE "01ABAAAAAABABCC45ABC9012",0

source BYTE "AAABA",0

str1 BYTE "Source string found at position ",0

str2 BYTE " in Target string (counting from zero).",0Ah,0Ah,0Dh,0

str3 BYTE "Unable to find Source string in Target string.",0Ah,0Ah,0Dh,0

stop DWORD ?

lenTarget DWORD ?

lenSource DWORD ?

position DWORD ?

.code

main PROC

  INVOKE Str_find,ADDR target, ADDR source

  mov position,eax

  jz wasfound           ; ZF=1 indicates string found

  mov edx,OFFSET str3   ; string not found

  call WriteString

  jmp   quit

wasfound:                   ; display message

  mov edx,OFFSET str1

  call WriteString

  mov eax,position       ; write position value

  call WriteDec

  mov edx,OFFSET str2

  call WriteString

quit:

  exit

main ENDP

;--------------------------------------------------------

Str_find PROC, pTarget:PTR BYTE, ;PTR to Target string

pSource:PTR BYTE ;PTR to Source string

;

; Searches for the first matching occurrence of a source

; string inside a target string.

; Receives: pointer to the source string and a pointer

;    to the target string.

; Returns: If a match is found, ZF=1 and EAX points to

; the offset of the match in the target string.

; IF ZF=0, no match was found.

;--------------------------------------------------------

  INVOKE Str_length,pTarget   ; get length of target

  mov lenTarget,eax

  INVOKE Str_length,pSource   ; get length of source

  mov lenSource,eax

  mov edi,OFFSET target       ; point to target

  mov esi,OFFSET source       ; point to source

; Compute place in target to stop search

  mov eax,edi    ; stop = (offset target)

  add eax,lenTarget    ; + (length of target)

  sub eax,lenSource    ; - (length of source)

  inc eax    ; + 1

  mov stop,eax           ; save the stopping position

; Compare source string to current target

  cld

  mov ecx,lenSource    ; length of source string

L1:

  pushad

  repe cmpsb           ; compare all bytes

  popad

  je found           ; if found, exit now

  inc edi               ; move to next target position

  cmp edi,stop           ; has EDI reached stop position?

  jae notfound           ; yes: exit

  jmp L1               ; not: continue loop

notfound:                   ; string not found

  or eax,1           ; ZF=0 indicates failure

  jmp done

found:                   ; string found

  mov eax,edi           ; compute position in target of find

  sub eax,pTarget

  cmp eax,eax    ; ZF=1 indicates success

done:

  ret

Str_find ENDP

END main

cheers i hoped this helped !!

Write a program to create a customer bill for a company. The company sells only five products: TV, DVD player, Remote Controller, CD Player, and Audio Visual Processor. The unit prices are $500.00, $380.00, $35.20, $74.50, and $1500.00, respectively. Part I ( this part is not that much different from Lab 2, as far as formatting) Prompt the user and input for the quantity of each product sold. Calculate the Subtotal for each item and the Subtotal of the bill. Calculate the Tax on the Bill Subtotal. Last calculate the grand Total of Subtotal plus Tax. Test Data sets: 13, 2, 3, 1, 21 Sample Outputs: How many TVs were sold? 13 How many DVD players were sold? 2 How many Remote Controller units were sold? 3 How many CD Players were sold? 1 How many AV Processors were sold? 21

Answers

Answer:

A program written in C++ was create for a customer bill for a company. the company sells five products, which are TV, DVD player, Remote Controller, CD Player, and Audio Visual Processor.

The code is implemented and shown below in the explanation section

Explanation:

Solution:

The C++ Code:

#include<iostream>

#include<string>

#include<iomanip>

using namespace std;

#define taxrate 8.75

int main(){

const double upTv = 500.00;

const double upDvdPlayer = 380.00;

const double upRemoteController = 35.00;

const double upCdPlayer = 74.00;

const double upAudioVideoProcessor = 1500.00;

cout << "How many TVs were sold? ";

double ntv;

cin >> ntv;

cout << "How many DVD players were sold? ";

double ndvd;

cin >> ndvd;

cout << "How many Remote Controllers were sold? ";

double nrc;

cin >> nrc;

cout << "How many CD Players were sold? ";

double ncd;

cin >> ncd;

cout << "How many AV Processors were sold? ";

double nav;

cin >> nav;

double ptv = ntv * upTv;

double pdvd = ndvd * upDvdPlayer;

double prc = nrc * upRemoteController;

double pcd = ncd * upCdPlayer;

double pav = nav * upAudioVideoProcessor;

double tp = ptv + pdvd + prc + pcd + pav;

cout << setw(5) << left << "QTY";

cout << setw(20) << left << "Description";

cout << setw(15) << left << "Unit Price";

cout << setw(15) << left << "Price" << endl;

cout << setw(5) << left << (int)ntv;

cout << setw(20) << left << "TV";

cout << setw(15) << left << fixed << setprecision(2) << upTv;

cout << setw(15) << left << fixed << setprecision(2) << ptv << endl;

cout << setw(5) << left << (int)ndvd;

cout << setw(20) << left << "DVD";

cout << setw(15) << left << fixed << setprecision(2) << upDvdPlayer;

cout << setw(15) << left << fixed << setprecision(2) << pdvd << endl;

cout << setw(5) << left << (int)nrc;

cout << setw(20) << left << "Remote Controller";

cout << setw(15) << left << fixed << setprecision(2) << upRemoteController;

cout << setw(15) << left << fixed << setprecision(2) << prc << endl;

cout << setw(5) << left << (int)ncd;

cout << setw(20) << left << "CD Player";

cout << setw(15) << left << fixed << setprecision(2) << upCdPlayer;

cout << setw(15) << left << fixed << setprecision(2) << pcd << endl;

cout << setw(5) << left << (int)nav;

cout << setw(20) << left << "AV Processor";

cout << setw(15) << left << fixed << setprecision(2) << upAudioVideoProcessor;

cout << setw(15) << left << fixed << setprecision(2) << pav << endl;

cout << setw(15) << left << "SUBTOTAL";

cout << setw(15) << left << fixed << setprecision(2) << tp << endl;

cout << setw(15) << left << "TAX";

cout << setw(15) << left << fixed << setprecision(2) << taxrate << endl;

double ttp = tp + 0.0875 * tp;

cout << setw(15) << left << "Total";

cout << setw(15) << left << fixed << setprecision(2) << ttp << endl;

return 0;

}

Given the following Java code:
public static boolean f(int [] arr) {
for (int i = 0; i < arr.length - 1; i++) {
for (int j = i + 1; j < arr.length; j++) {
if (arr[i] < arr[j]) // *HERE*
return false;}
return true;}
(i) Find the number of times the comparison marked by *HERE* will be evaluated for each input:
{1, 2}
{10, 20, 30}
{30, 20, 10}
{-4, 7, 1}
(ii) For an array of size ????, what is the big-oh runtime of this code in the worst case?

Answers

Answer:

See explaination

Explanation:

{1, 2}

Runs only once for 1 < 2

{10, 20, 30}

Runs 1 for 10 < 20

Runs 1 for 10 < 30

Runs 1 for 20 < 30

Total 3 times

{30, 20, 10}

Runs 1 for 30 < 20

Runs 1 for 30 < 10

Runs 1 for 20 < 10

Total 3 times

{-4, 7, 1}

Runs 1 for -4 < 7

Runs 1 for -4 < 1

Runs 1 for -7 < 1

​​​​​​​Total 3 times

Generalizing it will run for n*(n-1)/2 so for 2 element it will run for 2*1/2 = 1

For 3 element it will run for 3*2/2 = 3 times

(ii) (3 points) For an array of size , what is the big-oh runtime of this code in the worst case?

Time complexity in Worst case is O(n^2). Reason being it uses two for loop where first loop runs for n time and the second loop runs for n*n time in worst case hence its O(n^2)

Chemical equations of Carbon + water​

Answers

Answer:

Aqueous carbon dioxide, CO2 (aq), reacts with water forming carbonic acid, H2CO3 (aq). Carbonic acid may loose protons to form bicarbonate, HCO3- , and carbonate, CO32-. In this case the proton is liberated to the water, decreasing pH. The complex chemical equilibria are described using two acid equilibrium equations.

PLS MARK AS BRAINLIEST

Joe, Kate and Jody are members of the same family. Kate is 5 years older than Joe. Jody is 6 years older than Kate . The sum of their ages squared is 961 years. What are their ages?

Answers

Answer:

5, 10 and 16

Explanation:

The sum of their ages is √961 = 31

If Joe is x years old, the equation that follows is:

x + (x+5) + (x+5+6) = 31

This simplifies to

3x = 31 - 11 - 5 = 15

so x=5

From that you can find

Joe = x = 5

Kate = x+5 = 10

Jody = x+5+6 = 16

What kind of testing is basically checking whether a game or feature works as expected by the developers?
acceptance
functional
compatibility
load

Answers

Compatibility testing or functional testing I believe. I’m guessing functional

Create a single list that contains the following collection of data in the order provided:
[1121, "Jackie Grainger", 22.22,

1122, "Jignesh Thrakkar", 25.25,

1127, "Dion Green", 28.75, False,

24.32, 1132, "Jacob Gerber",

"Sarah Sanderson", 23.45, 1137, True,

"Brandon Heck", 1138, 25.84, True,

1152, "David Toma", 22.65,

23.75, 1157, "Charles King", False,

"Jackie Grainger", 1121, 22.22, False,

22.65, 1152, "David Toma"]


The data above represents employee information exported from an Excel spreadsheet. Whomever typed the data in originally didn't give much care to how the information was formatted, unfortunately. Each line of data has in it employee information (the whole number), the name of the employee (the string), and the employee's hourly wage (the decimal number). Some rows have extra information in them from a column in the spreadsheet that no one can remember what its purpose was.

Note that the presence of a couple of new data types in the above - "float" values (the numbers with the decimals in them) and "bool" [short for boolean] values (True and False).
Assume that the above information is a small sample of the company's data. Programmatically sort the information into three different lists: one for employee numbers, one for employee names, and one for employee salary information.
No duplicate data should make its way into the new lists.
For each value in the list containing hourly wage information, multiply the current value by 1.3 (since benefits are about 30% of a person's salary) and store each value in a list called total_hourly_rate. Programmatically determine the maximum value in the list and if it's over over 37.30, throw a warning message that someone's salary may be a budget concern.
Determine if anyone's total hourly rate is between 28.15 and 30.65. If they are, add the hourly rate a new list called underpaid_salaries.
For each value in the list that contains unmodified salary information, calculate a raise in dollars according to the following rules:

If the hourly rate is between 22 and 24 dollars per hour, apply a 5% raise to the current rate. If the hourly rate is between 24 and 26 dollars per hour, apply a 4% raise to the current rate. If the hourly rate is between 26 and 28 dollars per hour, apply a 3% raise to the current rate. All other salary ranges should get a standard 2% raise to the current rate.

Add each new value you calculate to a new list called company_raises.
Design your own complex condition with no fewer than four different truth tests in it (all conditions must be on one line, in other words). Above your condition, write out in comments the exact behavior you are implementing with Python.

Answers

Answer:

A code was created to single list that contains the following collection of data in the order provided

Explanation:

Solution

#list that stores employee numbers

employeee_numbers=[1121,1122,1127,1132,1137,1138,1152,1157]

#list that stores employee names

employee_name=["Jackie Grainger","Jignesh Thrakkar","Dion Green","Jacob Gerber","Sarah Sanderson","Brandon Heck","David Toma","Charles King"]

#list that stores wages per hour employee

hourly_rate=[22.22,25.25,28.75,24.32,23.45,25.84,22.65,23.75]

#list that stores salary employee

company_raises=[]

max_value=0

#list used to store total_hourly_rate

total_hourly_rate=[]

underpaid_salaries=[]

#loop used to musltiply values in hourly_wages with 1.3

#and store in new list called total_hourly_rate

#len() is used to get length of list

for i in range(0,len(hourly_rate)):

#append value to the list total_hourly_rate

total_hourly_rate.append(hourly_rate[i]*1.3)

for i in range(0,len(total_hourly_rate)):

#finds the maximum value

if(total_hourly_rate[i]>max_value):

max_value=total_hourly_rate[i] #stores the maximum value

if(max_value>37.30):

print("\nSomeone's salary may be a budget concern.\n")

for i in range(0,len(total_hourly_rate)):

#check anyone's total_hourly_rate is between 28.15 and 30.65

if(total_hourly_rate[i]>=28.15 and total_hourly_rate[i]<=28.15):

underpaid_salaries.append(total_hourly_rate[i])

for i in range(0,len(hourly_rate)):

#check anyone's hourly_rate is between 22 and 24

if(hourly_rate[i]>22 and hourly_rate[i]<24):

#adding 5%

hourly_rate[i]+=((hourly_rate[i]/100)*5)

elif(hourly_rate[i]>24 and hourly_rate[i]<26):

#adding 4%

hourly_rate[i]+=((hourly_rate[i]/100)*4)

elif(hourly_rate[i]>26 and hourly_rate[i]<28):

#adding 3%

hourly_rate[i]+=((hourly_rate[i]/100)*3)

else:

#adding 2% for all other salaries

hourly_rate[i]+=((hourly_rate[i]/100)*2)

#adding all raised value to company_raises

company_raises.extend(hourly_rate)

#The comparison in single line

for i in range(0,len(hourly_rate)):

 For this exercise i used ternary

operator hourly_rate[i]= (hourly_rate[i]+((hourly_rate[i]/100)*5)) if (hourly_rate[i]>22 and hourly_rate[i]<24) else (hourly_rate[i]+((hourly_rate[i]/100)*4)) if (hourly_rate[i]>24 and hourly_rate[i]<26) else hourly_rate[i]+((hourly_rate[i]/100)*2)

Which three statements about RSTP edge ports are true? (Choose three.) Group of answer choices If an edge port receives a BPDU, it becomes a normal spanning-tree port. Edge ports never generate topology change notifications (TCNs) when the port transitions to a disabled or enabled status. Edge ports can have another switch connected to them as long as the link is operating in full duplex. Edge ports immediately transition to learning mode and then forwarding mode when enabled. Edge ports function similarly to UplinkFast ports. Edge ports should never connect to another switch.

Answers

Answer:

Edge ports should never connect to another switch. If an edge port receives a BPDU, it becomes a normal spanning-tree port. Edge ports never generate topology change notifications (TCNs) when the port transitions to a disabled or enabled status.

Assume variables SimpleWriter out and int n are already declared in each case. Write a while loop that printsA. All squares less than n. For example, if n is 100, print 0 1 4 9 16 25 36 49 64 81.B. All positive numbers that are divisible by 10 and less than n. For example, if n is 100, print 10 20 30 40 50 60 70 80 90C. All powers of two less than n. For example, if n is 100, print 1 2 4 8 16 32 64.

Answers

Answer:

This program has been written using JAVA. The code is written beloe:

// import library

import java.util.Scanner;

public category Main operate

public static void main(String[] args)

{

// scanner category

Scanner scan=new Scanner(System.in);

System.out.println("Enter Number:");

int n=scan.nextInt();

//All squares but n

System.out.println("All squares but n are: ");

int temp=0,square=0,i=0;

while(square

range

square=i*i;

if(square>=n)break;

System.out.print(square+" ");

i++;

}

//All positive numbers that are divisible by 10 but less than n

System.out.println(" ");

System.out.println(" ");

System.out.println("All positive numbers are divisible by 10 and less than n are: ");

i=1;

while(i

{

if(i%10==0)

System.out.print(i+" ");

if(i>=n)break;

i++;

}

System.out.println(" ");

System.out.println(" ");

System.out.println("All powers of 2 that are less than n are: ");

//All powers of 2 less than n

i=0;

while(i

mathematics.pow(2, i);

if(num_power

System.out.print(num_power+" ");

i++;

}

}

}

Explanation:

With SimpleWriter out and int n already declared in each case this program makes use of a while loop condition to satisfy the following;

1. All squares less than n

2. positive numbers that are divisible by 10 and less than n.

3. All powers of two less than n.

This assignment deals with Logical Equivalences. Review section 1.7 of the text before completing the assignment. The assignment may be handed in twice before it is graded. Consider the statements in the left column of the tables below. Translate each into a propositional statement. In the box below, indicate which two statements are logically equivalent. The gray shaded box is the Equation editor that should be used to enter the propositional expression.
Question 1
Statement Reason
Whenever there is a puppy in the house, I feel happy
If I am happy, then there is a puppy in the house
If there is not a puppy in the house, then I am not happy.
If I am not happy, then there is no puppy in the house
Question 2
Statement Reason
If I am in school today, then I am in CSC231 class
If I am not in school today, then I am not civics class
If I am not in CSC231 class, then I am not in school today
If I am in CSC231 class, then I am in school today

Answers

Answer:

Question (1) the statements (i) and( iv) are logically equivalent and statements (ii) and (iii) are logically equivalent. Question (2) the statements (i) and (iii) are logically equivalent.

Explanation:

Solution

Question (1)

Now,

Lets us p as puppy in the house, and q as i am happy

So,

p : puppy in the house,  and q : i am happy

Thus,

The Statements

(i) so if there is a puppy in the house, I feel happy :  p -> q

(ii) If I am happy, then there is a puppy in the house : q -> p

(iii) If there is no puppy in the house, then I am not happy.   : ~ p -> ~q

(iv) If I am not happy, then there is no puppy in the house : ~q -> ~p

Hence, the statements (i) and( iv) are logically equivalent and statements (ii) and (iii) are logically equivalent.

Question (2)

Let us denote p as i am in school today, and q as i am in CSC231 class, and r as i am in civics class,

So,

p: i am in school today, q: i am in CSC231 class, r: i am in civics class,

Now,

(i) if I am in school today, then I am in CSC231 class  :p -> q

(ii) If I am not in school today, then I am not civics class  :~p -> ~r

(iii) If I am not in CSC231 class, then I am not in school today  :~q -> ~p

(iv) If I am in CSC231 class, then I am in school today  : q -> p

Therefore, the statements i) and iii) are logically equivalent.

Translate We get up at 8 o'clock into Spanish in the box below:​

Answers

Answer:

nos despertamos a las ocho

Explanation:

Consider the code fragment below. Show the values stored at each location in memory and as they change while the code executes. Use the memory addresses given in the comments following each statement. Assume all integer and pointer sizes are four bytes and each box in the memory representation is 4 bytes.

int x; // x is at memory address 5000
int *y; // *y is at memory address 5004
int *z; // *z is at memory address 5008
int *a; // a is at memory address 5012
z=&x;
y=malloc(5 * sizeof(int)); // malloc returns
// address 6000
X = 10;
y[1] = 15;
y[2] = *z; x=*(y + 1);
a = malloc(sizeof(int)); // malloc returns // address 6020
*a = *y; a = z; *z= 25; *a = 12; y[3] = *z; y[4] = x; y[0] = x;

Answers

Answer:

see explaination

Explanation:

Final value :-

Memory => value = reference in code

5000 => 12 = x

5004 => 6000 = *y

5008 => 5000 = *z

5012 => 5000 = *a

6000 => 12 = y[0]

6004 => 15 = y[1]

6008 => 10 = y[2]

6012 => 12 = y[3]

6016 => 12 = y[4]

6020 =>

Write a class named Car that has the following fields: yearMode1. The yearModel field is an int that holds the car's year model. make. The make field is a String object that holds the make of the car, such as "Ford" "Chevrolet", "Honda", etc. speed. The speed field is an int that holds the car's current speed. In addition, the class should have the following methods . Constructor. The constructor should accept the car's year model and make as ments. These values should be assigned to the object's yearModel and make fields. The constructor should also assign 0 to the speed field. Accessor. The appropriate accessor methods get the values stored in an object's yearModel, make, and speed fields. , accelerate. The accelerate method should add 5 to the speed field each time it is called _________. brake. The brake method should subtract 5 from the speed field each time it is called.

Answers

Skeh wkf ahfmroztdjdy
Dmgk
Ann Write a class named Car that has the following fields: yearMode1. The yearModel field is an int that holds the car's year model. make. The make field is a String object that holds the make of the car, such as "Ford" "Chevrolet", "Honda", etc. speed. The speed field is an int that holds the car's current speed. In addition, the class should have the following methods . Constructor. The constructor should accept the car's year model and make as ments. These values should be assigned to the object's yearModel and make fields. The constructor should also assign 0 to the speed field. Accessor. The appropriate accessor methods get the values stored in an object's yearModel, make, and speed fields. , accelerate. The accelerate method should add 5 to the speed field each time it is called _________. brake. The brake method should subtract 5 from the speed field each time it is called.
Answer:

//Write the class definition for the class Car

public class Car {

   //Declare the instance variables(fields)

   int yearModel;

   String make;

   int speed;

   

   //Declare the constructor: Make sure the constructor has  

   //the same name as the name of the class - Car.

   //The constructor receives two parameters - yearModel and make.

   //The parameters are then assigned to their respective fields.

   //The speed field is given a value of zero.

   public Car(int yearModel, String make){

       this.yearModel = yearModel;

       this.make = make;

       this.speed = 0;

   }

   //Accessor method - get - for the yearModel

   //returns the yearModel of the car

   public int getYearModel() {

       return yearModel;

   }

   //Accessor method - get - for the make

   //returns the make of the car

   public String getMake() {

       return make;

   }

   //Accessor method - get- for the speed

   //returns the speed of the car

   public int getSpeed() {

       return speed;

   }

   

   //Method accelerate() to increase the speed of the car by 5

   //each time it is called

   public void accelerate(){

       this.speed += 5;

   }

   

   //Method brake() to decrease the speed of the car by 5

   //each time it is called

   public void brake(){

       this.speed -= 5;

   }

   

}    //End of class declaration

Explanation:

The code above has been written in Java. It contains comments explaining the code. Please go through the comments. The actual lines of code that are executable are written in bold-face to distinguish them from the comments.

What happens in the process represented by the flowchart ?

A) The person drinks water if the answer to “Thirsty?” is no.
B) The person always drinks water.
C) The person drinks water if the answer to “Thirsty?” is yes.
D) The person never drinks water.

CORRECT ANSWER: C!!!

Answers

Answer:

the person drinks water if the answer to “thirsty?” is yes

Answer:

C

Explanation:

What process is used to convert numbers between the binary system and the decimal system?

ANSWER: D) Look up the number on a binary-to-decimal conversion table

Answers

Answer:

The method is easy . Divide the binary number by 2 and write the remainder . Again divide by 2 and write remainder and continue till remainder becomes 1 . Then write all the remainders (0 , 1) in the order . The decimal is converted into binary

If you wanna convert binary into decimal , number the digits of a binary number from right to left and from 0 to how much digits are there. Then the digit 1 or 0 is multiplied by the corresponding power of 2 , which comes after numbering . Add all them and you get them into decimal

Answer:

The answer is D) Look up the number on a binary-to-decimal conversion table.

Explanation:

Exact Target was acquired by Salesforce, which in turn was converted to __________.

Answers

Answer:

Salesforce Marketing Cloud.

Explanation:

Exact Target was founded by Peter McCormick, Chris Baggott and Scott Dorsey on the 15th of December, 2000 in Indianapolis, Indiana, United States of America and was later acquired by Salesforce in the year 2013 for $2.5 billion. Salesforce in turn converted Exact Target to Salesforce Marketing Cloud in the year 2014.

The Salesforce Marketing Cloud is a company that provide services such as digital marketing automation and analytics software. Salesforce Marketing Cloud softwares are sold primarily on a multi-year subscription basis and based on number of users, features enabled, and level of customer service. It is a hosted, online subscription model that provides users with services such as, consulting, mobile, implementation, email, social and digital marketing.

Other Questions
Whats the correct answer for this? A plane starting from rest accelerates to 40 m/s in 10 s. How far did the plane travel during this time?PLEASE ANSWER FAST!! Thankew You are trying to pick the least-expensive car for your new delivery service. You have two choices: the Scion xA, which will cost $22,500 to purchase and which will have OCF of $2,900 annually throughout the vehicles expected life of three years as a delivery vehicle; and the Toyota Prius, which will cost $31,000 to purchase and which will have OCF of $1,500 annually throughout that vehicles expected 4-year life. Both cars will be worthless at the end of their life. You intend to replace whichever type of car you choose with the same thing when its life runs out, again and again out into the foreseeable future. If the business has a cost of capital of 13 percent, calculate the EAC. Identify all values that are irrational.-1/3-313Pi/3 Can u help me with this pls where is the site of fertilization Autotrophic nutrition does NOT occur in(A) moss(B) zooplankton (C) tomato plants (D) blue-green algae x-5x divided by 2= 0 VOLUME of Rectangle !! Fill in the blanks -------1. Length is 6.0, Width is 3.2, HEIGHT ?? ( ANSWER ) total volume 96 cm .FIND THE HEIGHT HERE !! 2.LENGTH ?? ( ANSWER ) width is 2.0, height 1.1 total volume 22 cm .FIND THE LENGTH HERE !!3. length is 12.0, WIDTH ?? ( ANSWER ), Height is 4.0 and the total volume is 120 cm.FIND THE WIDTH HERE !! PLEASE....HELP !!! WRITE PROPERLY PLEASE... CORRECT ANSWER PLSS... anyone please appreciate yall x Each of the 108 students attending a conservatory of music plays at least one of the piano, harp, and clarinet. 67 play the piano, 46 play the harp, 32 play the clarinet, 19 play the piano and the harp, 13 play the harp and the clarinet, and 8 play the piano and the clarinet. How many play all three instruments? Hint: Let x represent the number of students who play all three instruments. Students are expected to respond to one of the two questions described below. Students should provide examples to clarify their response.1. Manufacturing systems may be classified into types, such as customized production, batch production, and continuous production. Describe examples of how each product type is applied; cite examples of products that are produced as customized, batch, and continuous.2. The interchangeability of parts increases the effectiveness of manufacturing processes. Describe situations where parts are developed to be interchangeable and why this is important for industry. Consider the initial value problem y+2y=4t,y(0)=8. a. Take the Laplace transform of both sides of the given differential equation to create the corresponding algebraic equation. Denote the Laplace transform of y(t) by Y(s). b. Solve your equation for Y(s).c. Take the inverse Laplace transform of both sides of the previous equation to solve for y(t). Which statement describes Axum's economy?Axum's economy was strong due to the rich resources of the surrounding desertsAxum had a weak economy because Axum had conquered the Kingdom of KushAxum's economy was strengthened by connections withyhe Roman Empire and AsiaAxum had a weak economy because Axum did not have access to water You invest money at 6% interest compounded annually for 3 years. If the future value of your investment is $1800, how much money did you invest? Show your work. How did the Nineteenth Amendment affect citizenship in the United States?O A. It expanded the definition of citizenship to include women's rightto vote.B. It expanded the definition of citizenship to include formerlyenslaved people.C. It expanded the definition of citizenship to include AmericanIndians.D. It expanded the definition of citizenship to include younger adults. Eighth grade boys and girls tried on Confederate and Yankee shell jackets. They examined displays of powder horns, sabers, belts, canteens, and musical instruments of the time.Choose the best way to combine the two sentences above. A. Eighth grade boys and girls tried on Confederate and Yankee shell; and they examined displays of powder horns, sabers, belts, canteens; and musical instruments of the time. B. Eighth grade boys and girls tried on Confederate and Yankee shell jackets, they examined displays of powder horns, sabers, belts, canteens, and musical instruments of the time. C. Eighth grade boys and girls tried on Confederate and Yankee shell jackets. And they examined displays of powder horns, sabers, belts, canteens, and musical instruments of the time. D. Eighth grade boys and girls tried on Confederate and Yankee shell jackets, and they examined displays of powder horns, sabers, belts, canteens, and musical instruments of the time.Reset Which of the following terms does not refer to something that is used to limit imports?Trade restrictionBalance of paymentsProtectionismTrade barrier What is the topic of the poem? love and marriage faith and morality wealth and prosperity Which statement is best represented by the inequality d less-than 0.35?The pen costs less than $0.35.The pencil costs are greater than $0.35.The toy costs more than $0.35.The stamps cost is equal to $0.35.