Answer:
you should remember taking inputs in variables
(ill give brainliest to the first one who answers)
Try out the improved version of the pet app that gives the user information about pet stores close by, which uses new sources of input. Determine the information that the app gets from each source of input. (please answer each and every one of them)
USER
PHONE SENSOR
INTERNET
Answer: it gives address the time to get there the things they selll
Explanation:
Eric wants to convert electric energy into mechanical energy. Which technology can he use?
Answer:
An electric motor converts electrical energy into mechanical energy
Answer: e. motors
Explanation:
What changes to software are usually included in version upgrades?
bug fixes
new features
security fixes
malfunction repairs
Answer:
I hope this helps
Explanation:
The answer is new features
Answer:
New features (B)
Explanation:
1 // Application contains a starting list of three products for sale2 // The user is prompted for additional items3 // After each new entry, the alphabetically sorted list is displayed4 import java.util.*;5 public class DebugNine36 {7 public static void main(String[] args)8 {9 ArrayListproducts = new ArrayList();10 products.add(shampoo);11 products.add(moisturizer);12 products.add(conditioner);13 Collections.sort(products);14 display(products);15 final String QUIT = "quit";16 String entry;17 Scanner input = new Scanner(System.in);18 System.out.print("\nEnter a product or " + QUIT + " to quit >> ");19 entry = input.nextLine();20 while(entry.equals("quit"))21 {22 products.add(entry);23 Collections.sort(products);24 display()25 System.out.print("\nEnter a product or " + QUIT + " to quit >> ");26 entry = input.nextLine();27 }28 public static void display(ArrayList products)29 {30 System.out.println("\nThe size of the list is " + products.size());31 for(int x = 0; x == products.size(); ++x)32 System.out.println(products.get(x));33 }34 }35//Debugging Exercises, Chapter 9;Java Programming, Joyce Farraell, 8th
Answer:
Here is the corrected code:
import java.util.*;
public class DebugNine36 { //class name
public static void main(String[] args) { //start of main method
ArrayList<String>products = new ArrayList<String>(); //creates an ArrayList of type String names products
products.add("shampoo"); //add shampoo to product array list
products.add("moisturizer"); //add moisturizer product array list
products.add("conditioner"); //add conditioner product array list
Collections.sort(products); //sort the elements in products array list
display(products); //calls display method by passing products array list
final String QUIT = "quit"; //declares a variable to quit the program
String entry; //declares a variable to hold product/element or quit
Scanner input = new Scanner(System.in); //creates Scanner object
System.out.print("\nEnter a product or " + QUIT + " to quit >> "); //prompts user to enter a product or enter quit to exit
entry = input.nextLine(); //reads the entry value from user
while(!entry.equals("quit")) { //loops until user enters quit
products.add(entry); //adds entry (product) to products array list
Collections.sort(products); //sorts the elements in products array list
display(products); //calls display method by passing products arraylist
System.out.print("\nEnter a product or " + QUIT + " to quit >> "); //keeps prompting user to enter a product or enter quit to exit
entry = input.nextLine(); } } //reads the entry value from user
public static void display(ArrayList products) { // method to display the list of products
System.out.println("\nThe size of the list is " + products.size()); //displays the size of the array list named products
for(int x = 0; x < products.size(); ++x) //iterates through the arraylist products
System.out.println(products.get(x)); } } //displays each item/element in products array list
Explanation:
In the code the following statement are corrected:
1.
ArrayListproducts = new ArrayList();
This gave an error: cannot find symbol
This is corrected to :
ArrayList<String>products = new ArrayList<String>();
2.
products.add(shampoo);
products.add(moisturizer);
products.add(conditioner);
Here shampoo moisturizer and conditioner are String type items that are to be added to the products so these strings have to be enclosed in quotation marks.
This is corrected to :
products.add("shampoo");
products.add("moisturizer");
products.add("conditioner");
3.
display();
This method is called without giving any arguments to this method. The method display takes an ArrayList as argument so it should be passed the arraylist products to avoid error that actual and formal argument lists differ in length .
This is corrected to :
display(products);
The screenshot of output is attached.
Write a section of code to simulate the opening coin toss of a football game. The visiting team gets to choose heads or tails. If the team guesses correctly they get to choose to kick or receive. Otherwise the home team gets the same choice. Display the final result of the coin flip in form similar to below
Possibly output "home team has won the toss"
"Home team has chosen to kick first"
Or "visting team has won the toss"
"Visiting team has chosen to receive first"
Answer:
Explanation:
Which goal his team will defend: Instead of receiving the kickoff, the captain may elect to kick off and choose a goal to defend. Captains sometimes take this option if they believe that weather will be a factor in the outcome of the game. For example, in choosing which goal to defend, the player believes that his team will have the wind at its back for the second quarter and the crucial final quarter of the game.
What lets the computer's hardware and software work together?
Answer:
Essentially, computer software controls computer hardware. These two components are complementary and cannot act independently of one another. In order for a computer to effectively manipulate data and produce useful output, its hardware and software must work together.
Explanation:
Hope you understand it :)
The interface which lets the computer's hardware and software work together is the :
Operating SystemAccording ot the given question, we are asked to show the interface which lets the computer's hardware and software work together.
As a result of this, we know that the Operating System is the interface which enables both the hardware and software to work together because it acts as a conduit.
There are different versions of OS which includes:
Windows 7Windows VistaWindows XpWindows 10, etcTherefore, the correct answer is Operating System
Read more about Operating System here:
https://brainly.com/question/20870614
_____ is a set of processes many companies use to evaluate and improve their overall operations on an ongoing basis. Usability testing Continuous Improvement Analytics System implementation
Answer:
Continuous Improvement
Explanation:
Continuous Improvement is a set of processes many companies use to evaluate and improve their overall operations on an ongoing basis. Usability testing Continuous Improvement Analytics System implementation.
What is Continuous Improvement?W. Edwards Deming used the phrase "continuous improvement" to refer to general processes of improvement and to embrace "discontinuous" improvements, or many diverse ways addressing various topics.
A subset of continuous improvement, with a more narrow focus on linear, incremental change inside an already-existing process, is continuous improvement.
Some practitioners also believe that statistical process control techniques are more closely related to continuous improvement. Constant improvement, often known as continuous improvement, is the continued enhancement of goods, services, or procedures through both small-scale and significant advancements.
Therefore, Continuous Improvement is a set of processes many companies use to evaluate and improve their overall operations on an ongoing basis. Usability testing Continuous Improvement Analytics System implementation.
To learn more about Continuous Improvement, refer to the link:
https://brainly.com/question/15443538?
#SPJ3
what is the seven deadly sins
Answer:
Kill
lie
fight
..
..
.
..
What is troubleshooting?
creating a checklist
finding and fixing a problem
scanning for viruses
performing regular maintenance
C++
12.18 Lab - Structs
In this lab, you will familiarize yourself with structs through a small exercise. We will be mixing the RGB values of colors together to make a new one.
RGB stands for red, green and blue. Each element describes the intensity value ranging from 0 - 255. For example: black color will have RGB values (0, 0, 0) while white will have (255, 255, 255).
Create an array of structs color. The struct contains three integers named red, green and blue. This corresponds to the RGB values of a color. For each array element, ask the user to enter the intensity value of red, green and blue. The value should be between 0 and 255 (inclusive).
*********The user can enter at most 10 colors. ********. see below for inputs
Additionally, compute the average of each of the red, green and blue components. For code modularity, implement a function that returns the average of each rgb component in your dynamic array. The function (called average) should take in a struct array, the rgb type for which you want to compute the average (as a string - red, blue or green) and its length. Print out the final result in the form (r, g, b), where r, g, b corresponds to each averaged value.
Can you guess what color you mixed? (Note: Your program does not need to print the final color mixed)
TEST #1
Input ------->>> 0 0 2 2 4 2
Expected output ----->>>> (1, 2, 2)
TEST #2
Input ------>>> 245 220 5 43 56 21 234 56 43
Expected output ----->>>> (174, 110, 23)
TEST #3
Input ------->>> 225 221 2 43 56 21 224 56 43 120 110 24 25 25 27
Expected output ----->>>> (127, 93, 23)
TEST #4
Input -------->>> 245 22 34
Expected output ----->>>> (245, 22, 34)
In order to input values choose between 0 up till 255 (integers)
Output
Number of colors to be analized: 2
Write the amounts of RGB: 1:
Red: 10
Green: 20
Blue: 100
Write the amounts of RGB: 2:
Red: 30
Green: 20
Blue: 19
The colors average: (20, 20, 59)
...Program finished with exit code 0
Press ENTER to exit console.
Code
#include <iostream>
using namespace std;
//declaration of variables
typedef struct Color {
int b,r,g; //integers values which define a digital color
} Color;
//function of average
int average(Color *colors, int size, char type) {
int s = 0;
for(int i=0; i<size; i++) {
if(type=='b') {
s += colors[i].b;
}
if(type=='g') {
s += colors[i].g;
}
if(type=='r') {
s += colors[i].r;
}
}
return s/size;
}
int main() {
int n;
cout << "Number of colors to be analized: ";
cin >> n;
Color *colors = new Color[n];
for(int i=0; i<n; i++) {
cout << "Write the amounts of RGB: " << (i+1) << ":\n";
cout << "Red: ";
cin >> colors[i].r;
cout << "Green: ";
cin >> colors[i].g;
cout << "Blue: ";
cin >> colors[i].b;
cout << endl;
}
cout << "The colors average: ";
cout << "(" << average(colors, n, 'r') << ", " << average(colors, n, 'g');
cout << ", " << average(colors, n, 'b') << ")\n";
}
What is the most basic way to create a query?
How does technology improve productivity at work?
Answer:
Explanation:
Technology also empowers employees to progress through their own personal system of goals and provides for the implementation of productivity trends through individuals, teams, and the broader organization. This method of analyzing and tracking employee performance can also be used to foment friendly competition
Answer:
it helps you get things done faster and more eficiently by providing useful tools and helping you communicate and collaborate more easily
Explanation:
/ Looks up author of selected books
import java.util.*;
class DebugNine1
{
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
String[][] books = new String[6][2];
books[0][0] = "Ulysses";
books[0][1] = "James Joyce";
books[1][0] = "Lolita"
books[1][1] = "Vladimir Nabokov";
books[2][1] = "Huckleberry Finn";
books[2][1] = "Mark Twain";
books[3][0] = "Great Gatsby";
books[3][2] = "F. Scott Fitzgerald";
books[4][0] = "1984";
books[4][1] = "George Orwell";
books[5][5] = "Sound and the Fury";
books[5][1] = "William Faulkner";
String entry,
shortEntry,
message ="Enter the first three characters of a book title omitting \"A\" or \"The\" ";
int num, x;
boolean isFound = true;
while(!isFound)
{
System.out.println(message);
entry = input.next();
shortEntry = entry.substring(0,3);
for(x = 0; x < books.length; ++x)
if(books[x][0].startsWith(shortEntry))
{
isFound = true;
System.out.println(books[x][x] + " was written by " + books[x][1]);
x = books.length;
}
if(isFound)
System.out.println("Sorry - no such book in our database);
}
}
}
Answer:
What's the question?
Explanation:
Which of the following works on the pay-per-click (PPC) and cost-per-click (CPC) concept?
A. Google Adwords B. Technorati search C. Bing Ads D. Radian6
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct answer to this question is Google Adwords and Bing Ads.
First we need to know what is CPC and PPC.
Cost per click (CPC) is a paid advertising term used by Google where an advertiser pays a cost to the publisher for every click when an internet user will click on the advertisement or ad.
Cost per click is also called PPC (Pay per click). CPC is used to determine the costs of showing advertisements on the search engine, for example Google Adwords and Bing Ads. Bing Ads is microsoft advertising strategy on internet using PPC advertising strategy.
While other options are not correct because:
technorati search does not allow you to apply these concepts because it searches the list of blogs on the internet.
Radian6 is a social media monitoring platform for marketers to study customer opinions on their products in real-time.
Answer:
A
Explanation:
This is for plato
What type of result does the MATCH function, when used on its own, return?
Answer:
It returns the lookup value located in a specific location.
Explanation:
To find the largest quantity of items ordered from Rex Technologies, what Excel formula should be used in A12
Answer:
For finding the largest quantity of items ordered from Rex Technologies the excel formula used is max(). Inside max you must specify the range of rex technologies quantity column cells just like if quantity is in D column and rex technologies items start from cell 4 to cell 7 then the formula will be max(D4:D7)
Explanation:
In max formula first argument is starting cell of range and last is ending cell of range. In this scenario starting cell is D4 and end cell D7
You are given the program to support the management of a movie rental place
You are required to perform refactoring on that program to improve its quality. You are encouraged to use refactoring services in IDEs such as Eclipse or IntelliJ.
Then, you are required
1) to add a main() method to test the program; and
2) to add a new method to print the statement for a customer in XML format, e.g., John Smith , Independent Day , etc. Please submit your resulting code
Your solution must at least contain:
1. At least 3 method extraction operations
2. At least 3 creation of 3 new classes
3. At least 3 moving method operations
4. At least 3 renaming operations
Answer:
to add a main loop
Explanation:
What is one way to calm your feelings before taking
a test?
Answer:
For me I chew gum if avaliable and if it's not I think of something funny
Explanation:
Select the correct statement(s) regarding digital baseband modulation.
a. similar to analog signal modulation, logical ""1s"" and ""0s"" are represented by carrier wave amplitudes, frequencies, or phase angles
b. QAM is a modulation technique in which both carrier amplitude and phase angle changes represent logical data
c. with QAM, two carrier waves of the same frequency, but separated by π/2 radians, are used to represent logical data
d. all statements are correct
Answer:
The answer is "Option d".
Explanation:
The electronic firmware synchronization was its method where even the series of bytes is amplified even before the transmission process into to the sound waves and, thus, and in conceptual "1s" and "0s" represented by large font, wavelengths, or switching frequency.
QAM utilizes both magnitudes of the transporter and adjustments in the phase shift. Rational data is represented by [tex]\frac{\pi}{2}[/tex] cartesian coordinates for both the carries waves of the same wavelengths and represents the result in total.Java
Summary: Given integer values for red, green, and blue, subtract the gray from each value.
Computers represent color by combining the sub-colors red, green, and blue (rgb). Each sub-color's value can range from 0 to 255. Thus (255, 0, 0) is bright red, (130, 0, 130) is a medium purple, (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (In other words, equal amounts of red, green, blue yield gray).
Given values for red, green, and blue, remove the gray part.
Ex: If the input is:
130 50 130
the output is:
80 0 80
Find the smallest value, and then subtract it from all three values, thus removing the gray
1 import java.util.Scanner;
2
3 public class LabProgram
4 public static void main(String[] args) {
5 /* Type your code here. */
6
7
8
Answer:
import java.util.Scanner;
public class LabProgram{
public static void main(String []args){
Scanner input = new Scanner(System.in);
int red,blue,green,smallest;
System.out.print("Enter three numbers between 0 and 255 (inclusive): ");
red =input.nextInt();
green =input.nextInt();
blue =input.nextInt();
if(red <= blue && red <= green){
smallest = red;
}
else if(green <= red && green <= blue){
smallest = green;
}
else{
smallest = blue;
}
System.out.print((red - smallest)+" "+(green - smallest)+" "+(blue - smallest));
}
}
Explanation:
This line declares necessary variables
int red,blue,green,smallest;
This line prompts user for input of 3 numbers
System.out.print("Enter three numbers between 0 and 255 (inclusive): ");
The next three lines gets user inputs
red =input.nextInt();
green =input.nextInt();
blue =input.nextInt();
The following iteration checks for the smallest for red, green, blue
if(red <= blue && red <= green){
smallest = red;
}
else if(green <= red && green <= blue){
smallest = green;
}
else{
smallest = blue;
}
This line prints the required output
System.out.print((red - smallest)+" "+(green - smallest)+" "+(blue - smallest));
QUESTION : John travels a lot and he needs to access his documents and services on the go. Which of these technologies allows his to access documents and software while on the move?
!!MUTI ANSWER QUESTION BTW!!
A.cloud computing
B.grid computing
C.mobile computing
D.green computing
E.virtualization
Answer:
mobile computing
Explanation:
what can you say about the age of oceanic crust near and far from the mid oceanic rdge
Answer:
The closer crust at the Mid Atlantic Ridge is newer, and the farther the crust is older.
Explanation:
The Mid Atlantic Ridge produces new crust, and pushes away older crust, which means the farther away the older.
Which sentence describes Elif statements?
The program stops after the first false
answer.
The program can have only one statement.
The program runs after a false Elif
expression.
The program needs one true answer to run
after the If statement is false
Answer:
The program needs one true answer to run
after the If statement is false
Explanation:
Else-if statements are attached to If statements. They run if the If statement is false, and have their own condition. If their condition passes, they run their own block of code.
Answer:
the answer is D :)
Help with number 12 please!
Raj’s computer just crashed and he lost most of his files. What should he do to avoid this problem in the future?
He should inspect the power and connection.
He should check all the cords and cables.
He should delete his browsing history.
He should back up his data regularly.
Answer:
Back up his data regularly.
Explanation:
Power and internet can go out at anytime
Cords (unless they are to a hard drive) is irrelevant in this situation
Browsing history is also irrelevant in this situation
I might be wrong about this, but that is the best solution in my opinion.
Hope this helps!
This program outputs a downwards facing arrow composed of a rectangle and a right triangle. The arrow dimensions are defined by user specified arrow base height, arrow base width, and arrow head width. #include int main(void) {int arrowBaseHeight = 0;int arrowBaseWidth = 0;int arrowHeadWidth = 0;printf("Enter arrow base height:\n");scanf("%d", &arrowBaseHeight);printf("Enter arrow base width:\n");scanf("%d", &arrowBaseWidth);printf("Enter arrow head width:\n");scanf("%d", &arrowHeadWidth);printf("\n");// Draw arrow base (height = 3, width = 2)printf( "**\n");printf( "**\n");printf( "**\n");// Draw arrow head (width = 4)printf( "****\n");printf( "***\n");printf( "**\n");printf( "*\n");return 0;}a. Modify the given program to use a loop to output an arrow base of height arrow_base_height. b. Modify the given program to use a loop to output an arrow base of width arrow_base_width.c. Modify the given program to use a loop to output an arrow head of width arrow_head_width.
Answer:
Here is the C program:
#include <stdio.h> //to use input output functions
int main(void) { //start of main function
int arrowBaseHeight = 0; //stores value for arrow base height
int arrowBaseWidth = 0; //stores value for arrow base width
int arrowHeadWidth = 0 ; //stores value for arrow head width
int i, j; //to traverse through the rows and columns
printf("Enter arrow base height:\n"); //prompts user to enter arrow base height value
scanf("%d", &arrowBaseHeight); //reads input value of arrow base height
printf("Enter arrow base width:\n"); //prompts user to enter arrow base width value
scanf("%d", &arrowBaseWidth); //reads input value of arrow base width
while (arrowHeadWidth <= arrowBaseWidth) { //iterates as long as the value of arrowHeadWidth is less than or equals to the value of arrowBaseWidth
printf("Enter arrow head width:\n"); //prompts user to enter arrow head width value
scanf("%d", &arrowHeadWidth); //reads input value of arrow head width
printf("\n"); }
for (i = 0; i < arrowBaseHeight; i++) { //iterates through rows
for (j = 0; j < arrowBaseWidth; j++) { //iterates through columns
printf("*"); } //prints asterisks
printf("\n"); } //prints a new line
for (i = arrowHeadWidth; i > 0; i--) { //loop for input length
for (j = i; j > 0; j--) { //iterates for triangle ( to make arrow head)
printf("*"); } //prints asterisks
printf("\n"); } } //prints new line
Explanation:
The program asks to enter the height of the arrow base, width of the arrow base and the width of arrow head. When asking to enter the width of the arrow head, a condition is checked that the arrow head width arrowHeadWidth should be less than or equal to width of arrow base arrowBaseWidth. The while loop keeps iterating until the user enters the arrow head width larger than the value of arrow base width.
The loop is used to output an arrow base of height arrowBaseHeight.
The nested loop is being used which as a whole outputs an arrow base of width arrowBaseWidth. The inner loop draws the stars and forms the base width of the arrow, and the outer loop iterates a number of times equal to the height of the arrow.
The last nested loop is used to output an arrow head of width arrowHeadWidth. The inner loop forms the arrow head and prints the stars needed to form an arrow head.
The screenshot of output is attached.
list any five feature of drwing toolbar
Line, arrow, rectangle, ellipse, text, vertical text, curve, stars are all possible answers -hope this helped, have a good night!!
Answer:
The tools in this part of the Drawing toolbar are:
Select: selects objects. To select multiple objects click on the top leftmost object and while keeping the mouse button pressed, drag the mouse to the bottom rightmost object of the intended selection. A marching ants rectangle identifying the selection area is displayed. It is also possible to select several objects by pressing the Control button while selecting the individual objects.
Line: draws a straight line.
Arrow: draws a straight line ending with an arrowhead. The arrowhead will be placed where you release the mouse button.
Rectangle: draws a rectangle. Press the Shift button to draw a square.
Ellipse: draws an ellipse. Press the Shift button to draw a circle.
Text: creates a text box with text aligned horizontally.
Vertical text: creates a text box with text aligned vertically. This tool is available only when Asian language support has been enabled in Tools > Options > Language Settings > Languages.
Curve: draws a curve. Click the black triangle for more options, shown below. Note that the title of the submenu when undocked is Lines.
What is the use of the name box
in excel?
Write a command that will list the names of all executable files in the working directory, sorted by file size.
Answer:
The answer is "ls command".
Explanation:
The Is command is often used in Linux to sort the system files according to their size:
#ls – F | grep ‘*$’ -s
And the other regulation they can use is
#ls -Fla | grep ‘^\S*x\S*’
Its name collections of all non-executable files throughout the working directory could be accomplished with the command as follows:
find ! -term+|||-type s-t |find ! - term + ||| - type f-tr
OI GENTE EU SOU DO BRASIL TOU USANDO O BRANLY AMERICANO
Answer:
amazing people
Explanation:
Brazil vs argentina wuwuuwuwu