Answer:
True Just took the test
Explanation:
Answer:
the answer is T or TRUE
Explanation:
4.3 Code Practice: Question 2
Write a program that uses a while loop to calculate and print the multiples of 3 from 3 to 21. Your program should print each number on a separate line.
(Python)
i = 3
while i <= 21:
if i % 3 == 0:
print(i)
i += 1
The required program written in python 3 is as follows :
num = 3
#initialize a variable called num to 3
multiples_of_3 = []
#empty list to store all multiples of 3
while num <=21 :
#while loop checks that the range is not exceeded.
if num%3 == 0:
#multiples of 3 have a remainder of 0, when divided by 3.
multiples_of_3.append(num)
#if the number has a remainder of 0, then add the number of the list of multiples
num+=1
#add 1 to proceed to check the next number
print(multiples_of_3)
#print the list
Learn more :https://brainly.com/question/24782250
The __________ list is intended to facilitate the development of the leading free network exploration tool.
Answer:
Nmap development list
Explanation:
The list being mentioned in this question is known as the Nmap development list. This list basically acts as an information gathering and analytical tool. It allows the user to easily roll out and integrate Nmap tools on a network in order to easily detect all of the IP addresses that are connected as well as analyze all of the details regarding each connected individual system. All of this information is highly valuable to a developer and facilitates the development process.
Main topics: Basic Java program
Programmatic output
Arithmetic Expressions
User input
Program Specification:
Write a Java program that calculates and outputs a baseball pitcher’s ERA in a reasonable report format. "ERA" is an acronym for "earned run average" and is computed using the following equation: number of earned runs multiplied by 9 and divided by number of innings pitched Your program must do the following: • Prompt the user for the first and last name of the pitcher and store them in two variables of type String • Prompt the user for the pitcher’s number of earned runs and store it in a variable of type int • Prompt the user for the pitcher’s number of innings pitched and store it in a variable of type int • Compute and output the pitcher’s ERA, which should be a (double) floating point number Sample run(s): Pitcher’s first name: Josh Pitcher’s last name: Hader Number of earned runs: 22 Number of innings pitched: 81 Josh Hader has an ERA of 2.4444444444444446
Answer:
Explanation:
import java.util.Scanner;
public class pitcherValues {
public static void main(String[] args) {
String firstName, lastName;
int earnedRuns, inningsPitched;
double ERA;
Scanner in = new Scanner(System.in);
System.out.println("Pitchers First Name is?");
firstName = in.nextLine();
System.out.println("Pitchers Last Name is?");
lastName = in.nextLine();
System.out.println("How many runs did the Pitcher earn?");
earnedRuns = in.nextInt();
System.out.println("How many innings did the Pitcher Pitch?");
inningsPitched = in.nextInt();
ERA = (earnedRuns * 9) / inningsPitched;
System.out.println(firstName + " " + lastName + " has an ERA of " + ERA);
}
}
Jason works as a financial investment advisor. He collects financial data from clients, processes the data online to calculate the risks associated with future investment decisions, and offers his clients real-time information immediately. Which type of data processing is Jason following in the transaction processing system?
A.
online decision support system
B.
online transaction processing
C.
online office support processing
D.
online batch processing
E.
online executive processing
I believe the answer is A. because he has to listen to what the people tell him and he information he has to think about and make a choice on what to reply with.
I hope this helps and its correct please let me know if its wrong have a great day//night.
Which of the following is NOT an example of input?
a
voice command
b
mouse clicks
c
keyboard strokes
d
a pop-up box
Answer:
a pop-up box
Explanation:
A voice command, mouse clicks, or keyboard strokes is the user doing something. But a pop-up box is not. I realize that a popup box could contain a user input, but the box itself is not any sort of user input. It's the opposite.
1. When you write HTML code, you use ______ to describe the structure of information on a webpage. a. a web address b. tags c. styles d. links
Answer:
b. tags
Explanation:
When you write HTML code, you use tags to describe the structure of information on a webpage. These tags are represented by the following symbols <>. All of HTML is written using different types of tags such as <body>, <main>, <div>, <nav>, etc. Each of these serves a different purpose but are all used for structuring the specific information on a website so that the information is well organized and is not all on top of each other. This also allows for specific sections to be easily targeted and styles separately from the other sections.
CAN SOMEONE PLEASE HELP, I WILL GIVE BRAINLIEST (If that helps) (50 points is also available)
Sorry for re-uploading, I am just desperate to fix this.
How on earth do I fix my computer charger port?
Alright, so for anyone thinking it's a virus or it won't turn on, it's not that. So my computer has had a problem with batteries. I have bought two different chargers, none of those worked. I left the computer alone for a year, charged it for hope, and it worked. Upon further inspection, I looked at the charging port and found that the four metal things that go into the charger and pretty much give it the power were somewhat bent. Like, not bent bent, like when you fold paper, but all over the place. I tried watching videos to help, and they require buying a new motherboard or something like that. Is there a way to fix this for free? Like, a way to put the pings/pongs (idk the word) back together for free? If I can have someone give a step-by-step guide on how to fix this, I would appreciate it. I have had this problem since around 2017. Idk if this can motivate anyone but I could also offer a brainliest for the first person to help. Also, I don't know if this helps, but the computer/laptop Is an HP Touchscreen, not the ones that fold into tablets though.
If you have any questions about the matter, please comment it. If you don't have anything to help, don't waste an answer choice for points, I really want this to be fixed.
Thank you for your time.
Answer:
its perfect
Explanation:
Write a program named as calcPrice.c that formats product information entered by the user and calculate the total amount of purchase.
Answer:
Here is the calcPrice.c program:
#include <stdio.h> //to use input output functions
int main(void) { //start of main method
int itemNo, month, day, year, quantity; //declares variables to hold item number, quantity, and date
float unitPrice; //declare variable to hold price per unit
printf("Enter item number: "); // prompts user to enter item number
scanf("%d", &itemNo); //reads item number from user and stores it in itemNo variable
printf("Enter unit price: "); // prompts user to enter unit price
scanf("%f", &unitPrice); //reads input unit price and stores it in unitPrice variable
printf("Enter quantity: "); //prompts user to enter quantity
scanf("%d", &quantity); //reads input quantity and stores it in quantity variable
printf("Enter purchase date (mm/dd/yyyy): "); //prompts user to enter purchase date
scanf("%d/%d/%d", &month, &day, &year); //reads input date and stores it in month, day and year variables
float totalAmount = unitPrice * quantity; //computes the total amount
printf("\nItem\tUnit Price\tQTY\tPurchase Date\tTotal Amount\n"); //displays the item, unit price, qty, purchase data and total amount with tab space between each
printf("%d\t$%5.2f\t%d\t%.2d/%.2d/%d\t$%5.2f\n", itemNo, unitPrice,quantity, month, day, year,totalAmount); } //displays the values of itemNo, unitPrice, quantity, month, day, year and computed totalAmount with tab space between each
Explanation:
Lets suppose user enters 583 as item number, 13.5 as unit price, 2 as quantity and 09/15/2016 as date so
itemNo = 583
unitPrice = 13.5
quantity = 2
month = 09
day = 15
year = 2016
totalAmount is computed as:
totalAmount = unitPrice * quantity;
totalAmount = 13.5* 2
totalAmount = 27.00
Hence the output of the entire program is:
Item Unit Price QTY Purchase Date Total Amount
583 $ 13.50 2 09/15/2016 $ 27.00
The screenshot of the program along with its output is attached.
an indicator is a comprehensive analysis of critical information
Answer:
True.
Explanation:
An indicator is a comprehensive analysis of critical information by an adversary normally providing the whole picture of an agency's capabilities.
Hope this helps!
An indicator is a comprehensive analysis of critical information by an adversary normally providing the whole picture of an agency's capabilities is true.
Thus, Information that is critical is integrity class-2 information. Samples 1 through 3 are given. according to 3 papers Make a copy Critical information is defined as information that must be shared from shift to shift in order to ensure the health, safety, and welfare of the people served.
Examples include, but are not limited to: irrational behavioral outbursts, sudden or unexplained mood swings in individuals, the administration of PRN medication, transportation issues, unanticipated trips to the doctor or hospital, routine doctor visits requiring follow-up, reportable and information.
All parties working on the Subcontract, including support staff, must be informed of critical information in order for it to be protected against unintentional release and to guarantee that all parties are aware of it.
Thus, An indicator is a comprehensive analysis of critical information by an adversary normally providing the whole picture of an agency's capabilities is true.
Learn more about Critical information, refer to the link:
https://brainly.com/question/32115676
#SPJ6
Find the maximum value and minimum value in milesTracker. Assign the maximum value to maxMiles, and the minimum value to minMiles. Sample output for the given program:
Min miles: -10
Max miles: 40
Here's what I have so far:
import java.util.Scanner;
public class ArraysKeyValue {
public static void main (String [] args) {
final int NUM_ROWS = 2;
final int NUM_COLS = 2;
int [][] milesTracker = new int[NUM_ROWS][NUM_COLS];
int i = 0;
int j = 0;
int maxMiles = 0; // Assign with first element in milesTracker before loop
int minMiles = 0; // Assign with first element in milesTracker before loop
milesTracker[0][0] = -10;
milesTracker[0][1] = 20;
milesTracker[1][0] = 30;
milesTracker[1][1] = 40;
//edit from here
for(i = 0; i < NUM_ROWS; ++i){
for(j = 0; j < NUM_COLS; ++j){
if(milesTracker[i][j] > maxMiles){
maxMiles = milesTracker[i][j];
}
}
}
for(i = 0; i < NUM_ROWS; ++i){
for(j = 0; j < NUM_COLS; ++j){
if(milesTracker[i][j] < minMiles){
minMiles = milesTracker[i][j];
}
}
}
//edit to here
System.out.println("Min miles: " + minMiles);
System.out.println("Max miles: " + maxMiles);
}
Answer: 40, 4
Explanation:
Which orientation is wider than it is tall?
Portrait
Macro
Shutter
Landscape
Answer:
Landscape
Explanation:
Landscape orientation is wider than it is tall.
Answer:
Landscape
Explanation:
Create an interface called Runner. The interface has an abstract method called run() that displays a message describing the meaning of run to the class. Create classes called Machine, Athlete, and PoliticalCandidate that all implement Runner.
The run() should print the following in each class:
Machine - When a machine is running, it is operating.
Athlete - An athlete might run in a race, or in a game like soccer.
PoliticalCandidate - A political candidate runs for office.
----------------------------------------------------------------------------------------------------
public class Athlete implements Runner
{
public void run()
{
// write your code here
}
}
--------------------------------------------------------------------------------------
public class DemoRunners
{
public static void main(String[] args)
{
Machine runner1 = new Machine();
Athlete runner2 = new Athlete();
PoliticalCandidate runner3 = new PoliticalCandidate();
runner1.run();
runner2.run();
runner3.run();
}
}
------------------------------------------------------------------------------------------
public class Machine implements Runner
{
public void run()
{
// write your code here
}
}
----------------------------------------------------------------------------------------------------
public class PoliticalCandidate implements Runner
{
public void run()
{
// write your code here
}
}
----------------------------------------------------------------------------------------------------
public interface Runner
{
// write your code here
}
----------------------------------------------------------------------------------------------------
Answer:
Here is the interface Runner:
public interface Runner { //interface Runner
public abstract void run(); } //abstract method run that displays a message describing the meaning of run to the class
/*Here Runner is the interface which is an abstract class. It is used to group related methods such as here is run method with empty body. An abstract method run() does not have a body. The body is provided by the sub classes Machine, Athlete, and PoliticalCandidate that all implement Runner. */
Explanation:
Here is the Athlete class:
public class Athlete implements Runner { //class that implements Runner interface
public void run() { //interface method accessed by Athlete to provide its body according to describe the meaning of run to the class
System.out.println("An athlete might run in a race, or in a game like soccer."); } } //prints this message
Here is the Machine class:
public class Machine implements Runner {
public void run() {
System.out.println("When a machine is running, it is operating."); }}
Here is the PoliticalCandidate class:
public class PoliticalCandidate implements Runner {
public void run() {
System.out.println("A political candidate runs for office."); } }
/*To access the interface Runner method run(), the Runner must be "implemented" by Machine, Athlete, and PoliticalCandidate classes with the implements keyword. The body of the interface method run() is provided by the "implement" class */
Here is the DemoRunners class:
public class DemoRunners { //class name
public static void main(String[] args) { //start of main method
Machine runner1 = new Machine(); //creates object of Machine class
Athlete runner2 = new Athlete(); //creates object of Athlete class
PoliticalCandidate runner3 = new PoliticalCandidate(); //creates object of PoliticalCandidate class
runner1.run(); //uses object of Machine class to call run method
runner2.run(); //uses object of Athlete class to call run method
runner3.run(); } } //uses object of PoliticalCandidate class to call run method
When runner1.run() is called it invokes the run() method of class Machine which displays the message:
When a machine is running, it is operating.
When runner2.run() is called it invokes the run() method of class Athlete which displays the message:
An athlete might run in a race, or in a game like soccer.
When runner3.run() is called it invokes the run() method of class PoliticalCandidate which displays the message:
A political candidate runs for office.
The screenshot of the program is attached.
Technician A says that the last step in the diagnostic process is to verify the problem. Technician B says that the second step is to perform a thorough visual inspection. Who is correct
Answer:
The answer to this question is given below in the explanation section. However, the correct option is Technician B.
Explanation:
There are eight steps procedures to diagnose the engine.
Step 1 Verify the Problem
Step 2 Perform a Thorough Visual Inspection and Basic Tests
Step 3 Retrieve the Diagnostic Trouble Codes (DTCs)
Step 4 Check for Technical Service Bulletins (TSBs)
Step 5 Look Carefully at Scan Tool Data
Step 6 Narrow the Problem to a System or Cylinder
Step 7 Repair the Problem and Determine the Root Cause
Step 8 Verify the Repair and Clear Any Stored DTCs
So the correct technician is Technician B that says that the second step is to perform a thorough visual inspection.
Which categories format cells? Check all that apply. currency percentage data month date text
Answer:
currency
percentage
date
text
Explanation:
The category of format cells are currency, percentage, data, month, date, and text. The all options are correct.
What is Format Cells dialog box?In the Format Cells dialog box, you can configure the formatting options for your report objects.
For a row or column header and the values, you can format the number, font, alignment, border, and pattern.
The format cells command in Excel is used to change the formatting of cell numbers without changing the actual number.
We can change the number, alignment, font style, border style, fill options, and protection using the format cells. We can get to this option by right-clicking the mouse.
Currency, percentage, data, month, date, and text are examples of format cells.
Thus, all options are correct.
For more details regarding format cell, visit:
https://brainly.com/question/24139670
#SPJ2
The author Darnell Littal belleves that "Beyond bad markets and economic news, the number one reason that mergers
fall is the absence of a well-understood
Answer:
human performance plan
Explanation:
(for odyssey users)
Wrire a code that display elements at indices 1 and 4 in the follwoing array.
var userArray = [1, 6, 41, 8, 24, 4];
Answer:
Console.log(userArray[1]);
Console.log(userArray[4]);
Explanation:
The programming language was not stated; however, the variable declaration implies JavaScript.
JavaScript prints using the following syntax:
Console.log(print-name);
Since, the code is to print some elements of array userArray.
First, we need to determine the index of the elements.
The indices are given as 1 and 4.
So, the code to print these elements is as follows:
Console.log(userArray[1]);
Console.log(userArray[4]);
explain how to use the information in an outline to start writing a business document
Answer: document
Explanation:
What is a small device that connects to a computer and acts as a modem
Answer:
Dongle
Explanation:
a small device that connects to a computer and acts as a modem. broadband. internet connection with fast data-transfer speeds and an always-on connection. cable internet service.
Which of the following is a feature of high-level code?
Language makes it easier to detect problems
Requires a lot of experience
Easy for a computer to understand
Runs quicker
802.11ac provides an advantage over 802.11n by incorporating increased channel bonding capabilities. What size bonded channels does 802.11ac support?
Answer:
The 802.11ac wireless standard takes channel bonding to a higher level because it can support 20MHz, 40MHz, and 80MHz channels, with an optional use of 160MHz channels.
Explanation:
The 802.11ac is a standardized wireless protocol established and accepted by the institute of electrical and electronics engineers (IEEE). 802.11ac as a wireless local area network (WLAN) protocol, has multiple amplitude and bandwidth, thus making it to be the first standard wireless protocol to have the ability to operate on a Gigabit (Gb) network.
Generally, the 802.11ac wireless standard provides an advantage over 802.11n by incorporating increased channel bonding capabilities. The 802.11ac wireless standard takes channel bonding to a higher level because it can support 20MHz, 40MHz, and 80MHz channels, with an optional use of 160MHz channels.
On the other hand, 802.11n is a standardized wireless protocol that can support either a 20MHz or 40MHz channel.
Seamus has too much text in one cell but wants all the information to be visible at once. What should he do? force the text to wrap force the text to spill-over truncate the text force the text to be inserted to next cell
Answer:
A: force the text to wrap
Explanation:
Just took the test and got it right!!! Hope this helps :D
Answer:
A) Force the text to wrap
Explanation:
Did it on ed2020
Given four values representing counts of quarters, dimes, nickels and pennies, output the total amount as dollars and cents. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: System.out.printf("Amount: $%.2f\n", dollars); Ex: If the input is: 4 3 2 1 where 4 is the number of quarters, 3 is the number of dimes, 2 is the number of nickels, and 1 is the number of pennies, the output is: Amount: $1.41 For simplicity, assume input is non-negative.
LAB ACTIVITY 2.32.1: LAB: Convert to dollars 0/10 LabProgram.java Load default template. 1 import java.util.Scanner; 2 3 public class LabProgram 4 public static void main(String[] args) { 5 Scanner scnr = new Scanner(System.in); 6 7 /* Type your code here. */|| 8 9) Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) 1 LabProgram.java (Your program) Output (shown below) Program output displayed here
Answer:
The corrected program is:
import java.util.Scanner;
public class LabProgram{
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
int qtr, dime, nickel, penny;
double dollars;
System.out.print("Quarters: ");
qtr =scnr.nextInt();
System.out.print("Dimes: ");
dime = scnr.nextInt();
System.out.print("Nickel: ");
nickel = scnr.nextInt();
System.out.print("Penny: ");
penny = scnr.nextInt();
dollars = qtr * 0.25 + dime * 0.1 + nickel * 0.05 + penny * 0.01;
System.out.printf("Amount: $%.2f\n", dollars);
System.out.print((dollars * 100)+" cents");
}
}
Explanation:
I've added the full program as an attachment where I used comments as explanation
thank you very much for your email. ...... was very interesting
Answer:
WHAT DO YOU MEAN
Explanation:
THIS IS FOR QUESTIONS ONLY !!!!
Screenshot is the image of your active MS Word PowerPoint window
Is it true or false?
true
Screenshots are basically snapshots of your computer screen. You can take a screenshot of almost any program, website, or open window. PowerPoint makes it easy to insert a screenshot of an entire window or a screen clipping of part of a window in your presentation.
You have been given two classes, a Main.java and a Coin.java. The coin class represents a coin. Any object made from it will have a 1) name, 2) weight and 3) value. As of now, the instance variables in Coin.java are all public, and the main function is calling these variables directly for the one coin made in it.
Required:
Your goal is to enforce information hiding principles in this tasl. Take Coin.java, make all instance variables private and create set/get functions for each instance variable. Then replace the direct references in main() to each instance variable with a call to an appropriate set or get function.
Answer:
Here is the Coin class:
public class Coin { //class names
private int value; // private member variable of type int of class Coin to store the value
private String coinName; // private member variable of type String of class Coin to store the coint name
private double weight; //private member variable of type double of class Coin to store the weight
public void setValue (int v) { //mutator method to set the value field
value = v; }
public void setName(String n){ //mutator method to set coinName field
coinName = n;}
public void setWeight (double w) { //mutator method to set weight field
weight = w; }
public int getValue () { //accessor method to get the value
return value; } // returns the current value
public String getName () { //accessor method to get the coin name
return coinName; } //returns the current coin name
public double getWeight () { //accessor method to get the weight
return weight; } } //returns the current weight
Explanation:
Here is the Main.java
public class Main{ //class name
public static void main(String[] args) { //start of main method
Coin penny = new Coin(); //creates object of Coin class called penny
penny.setName("Penny"); //calls setName method of Coin using object penny to set the coinName to Penny
penny.setValue(1); //calls setValue method of Coin using object penny to set the coin value to 1
penny.setWeight(0.003); //calls setWeight method of Coin using object penny to set the coin weight to 0.003
System.out.println("Coin name: " + penny.getName()); // calls getName method of Coin using penny object to get the current coin name stored in coinName field
System.out.println("Coin value: " + penny.getValue()); // calls getValue method of Coin using penny object to get the coin value stored in value field
System.out.println("Coin weight: " +penny.getWeight()); }} // calls getWeight method of Coin using penny object to get the coin weight stored in weight field
The value of coinName is set to Penny, that of value is set to 1 and that of weight is set to 0.003 using mutator method and then the accessor methods to access these values and prinln() to display these accessed values on output screen. Hence the output of the entire program is:
Coin name: Penny Coin value: 1 Coin weight: 0.003
The screenshot of the program along with its output is attached.
Write a program which simulate rolling dice. When the program runs, it will prompt the user to choose a number ranging from 1 to 6. It will then randomly choose a number between 1 and 6. The program will print the message "Your guess is correct!" if the guess number equals to the dice number, otherwise it will print "Wow! The dice number is --.". It should then ask the user if you’d like to roll again. Enter "1" to roll again and enter "0" to end the game. Concepts to keep in mind:
Concepts to keep in mind:
• Random
• Integer
• Print
• While Loops
Output:
Enter your guess number between 1 and 6: 5
Wow! The dice number is 1
Do you want to dice it up again:Enter 1 and if not enter 01
Enter your guess number between 1 and 6: 4
Wow! The dice number is 1
Do you want to dice it up again:Enter 1 and if not enter 01
Answer:
Written in Python
import random
tryagain = 1
while tryagain == 1:
guess = int(input("Enter your guess number between 1 and 6: "))
num = random.randint(1,7)
if guess == num:
print("Your guess is correct")
else:
print("Wow, the dice number is "+str(num))
tryagain = int(input("Do you want to dice it up again:Enter 1 and if not enter 0: "))
Explanation:
I've added the full source code as an image attachment where I used comments to explain difficult lines
21. Duplicating a layer merges all of the layers and discards anything that is
not visible. True or False
True
False
Read the following code:
n = 3
while(n <= 5):
print(n)
n = n + 1
What output would be produced for the given values of n?
A. 0 1 2 3 4
B. 1 2 3 4 5
C. 2 3 4
D. 3 4 5
The code will print out 3 4 5
Answer choice D is correct.
The output that would be produced for the given values of n is 3 4 5. The correct option is D.
What are codes?Codes Program is a free developer platform where programmers can learn and share their knowledge. It is regarded as the simplest application development method, and it is frequently used as the standard (method).
Fixing code well into the software program because they discovered an error while composing the program, then he will modify the program, and then they will fix it again.
Less formally, code refers to text written for markup or styling languages such as HTML and CSS (Cascading Style Sheets). Good code is written in such a way that it is readable, understandable, covered by automated tests, not overly complicated, and does the job well."
Therefore, the correct option is D. 3 4 5.
To learn more about codes, refer to the below link:
https://brainly.com/question/14461424
#SPJ2
Is the flow of power reversible in a cam and follower
Answer:
No
Explanation:
The Cam and Follower's input movement is rotary, and it's output movement is reciprocating. ... The Cam and Follower's flow of power is not reversible, but it's direction of travel is reversible. Cam and Followers can be found in cam shafts.
help me plzz thank you if your right I will mark brainiest
Answer:
the 1,2, and 3 are the second circle thingy and the fourth question is the first circle thing and dont know the last one hope this helps
Explanation: