Answer:
Broken Link testing.
Explanation:
Took the test and did research.
Answer:
Broken link testing
Explanation:
Broken link testing is when you test all of your hyperlinks in a browser window. You can do this by clicking each hyperlink to see if it works. This will ensure the best possible user experience.
Does the submission include the file "SuperPower.java"? Does the file include a public class called "SuperPower"? Does the class include a public method called "main"? Is the "main" method static? Does the main method have a String assignment statement that uses "JOptionPane.showInputDialog"? Does the main method have a statement that uses "JOptionPane.showMessageDialog"? Does the program convert the String from "JOptionPane.showInputDialog" using the "toUpperCase" method? Does the submission include a screenshot that shows an Input dialog that asks, "What is your superpower?" Does the submission include a screenshot that shows a Message dialog stating " TO THE RESCUE!", where "" is the input converted to upper case?
Answer:
Here is the program fulfilling all the requirements given:
import javax.swing.JOptionPane;
public class SuperPower{
public static void main(String[] args) {
String power;
power = JOptionPane.showInputDialog("What is your super power?");
power = power.toUpperCase();
JOptionPane.showMessageDialog(null, power);} }
Explanation:
Does the file include a public class called "SuperPower"
See the statement:
public class SuperPower
Does the class include a public method called "main"? Is the "main" method static?
See the statement:
public static void main(String[] args)
Does the main method have a String assignment statement that uses "JOptionPane.showInputDialog"
See the statement:
power = JOptionPane.showInputDialog("What is your super power?");
Does the main method have a statement that uses "JOptionPane.showMessageDialog"?
See the statement:
JOptionPane.showMessageDialog(null, power);
Does the program convert the String from "JOptionPane.showInputDialog" using the "toUpperCase" method?
See the statement:
power = power.toUpperCase();
Does the submission include a screenshot that shows an Input dialog that asks, "What is your superpower?" Does the submission include a screenshot that shows a Message dialog stating " TO THE RESCUE!", where "" is the input converted to upper case?
See the attached screenshots
If the program does not let you enter an exclamation mark after "to the rescue" then you can alter the code as follows:
import javax.swing.JOptionPane;
public class SuperPower{
public static void main(String[] args) {
String power;
power = JOptionPane.showInputDialog("What is your super power?");
power = power.toUpperCase();
JOptionPane.showMessageDialog( null, power+"!");} } // here just add an exclamation mark which will add ! after the string stored in power
Write a program that produces a Caesar cipher of a given message string. A Caesar cipher is formed by rotating each letter of a message by a given amount. For example, if your rotate by 3, every A becomes D; every B becomes E; and so on. Toward the end of the alphabet, you wrap around: X becomes A; Y becomes B; and Z becomes C. Your program should prompt for a message and an amount by which to rotate each letter and should output the encoded message.
Answer:
Here is the JAVA program that produces Caeser cipher o given message string:
import java.util.Scanner; //to accept input from user
public class Main {
public static void main(String args[]) { //start of main function
Scanner input = new Scanner(System.in); //creates object of Scanner
System.out.println("Enter the message : "); //prompts user to enter a plaintext (message)
String message = input.nextLine(); //reads the input message
System.out.println("Enter the amount by which by which to rotate each letter : "); //prompts user to enter value of shift to rotate each character according to shift
int rotate = input.nextInt(); // reads the amount to rotate from user
String encoded_m = ""; // to store the cipher text
char letter; // to store the character
for(int i=0; i < message.length();i++) { // iterates through the message string until the length of the message string is reached
letter = message.charAt(i); // method charAt() returns the character at index i in a message and stores it to letter variable
if(letter >= 'a' && letter <= 'z') { //if letter is between small a and z
letter = (char) (letter + rotate); //shift/rotate the letter
if(letter > 'z') { //if letter is greater than lower case z
letter = (char) (letter+'a'-'z'-1); } // re-rotate to starting position
encoded_m = encoded_m + letter;} //compute the cipher text by adding the letter to the the encoded message
else if(letter >= 'A' && letter <= 'Z') { //if letter is between capital A and Z
letter = (char) (letter + rotate); //shift letter
if(letter > 'Z') { //if letter is greater than upper case Z
letter = (char) (letter+'A'-'Z'-1);} // re-rotate to starting position
encoded_m = encoded_m + letter;} //computes encoded message
else {
encoded_m = encoded_m + letter; } } //computes encoded message
System.out.println("Encoded message : " + encoded_m.toUpperCase()); }} //displays the cipher text (encoded message) in upper case letters
Explanation:
The program prompts the user to enter a message. This is a plaintext. Next the program prompts the user to enter an amount by which to rotate each letter. This is basically the value of shift. Next the program has a for loop that iterates through each character of the message string. At each iteration it uses charAt() which returns the character of message string at i-th index. This character is checked by if condition which checks if the character/letter is an upper or lowercase letter. Next the statement letter = (char) (letter + rotate); is used to shift the letter up to the value of rotate and store it in letter variable. This letter is then added to the variable encoded_m. At each iteration the same procedure is repeated. After the loop breaks, the statement System.out.println("Encoded message : " + encoded_m.toUpperCase()); displays the entire cipher text stored in encoded_m in uppercase letters on the output screen.
The logic of the program is explained here with an example in the attached document.
In this exercise we have to use the computer language knowledge in JAVA to write the code as:
the code is in the attached image.
In a more easy way we have that the code will be:
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner input = new Scanner(System.in);
System.out.println("Enter the message : ");
String message = input.nextLine();
System.out.println("Enter the amount by which by which to rotate each letter : ");
int rotate = input.nextInt();
String encoded_m = "";
char letter;
for(int i=0; i < message.length();i++) {
letter = message.charAt(i);
if(letter >= 'a' && letter <= 'z') {
letter = (char) (letter + rotate);
if(letter > 'z') {
letter = (char) (letter+'a'-'z'-1); }
encoded_m = encoded_m + letter;}
else if(letter >= 'A' && letter <= 'Z') {
letter = (char) (letter + rotate);
if(letter > 'Z') {
letter = (char) (letter+'A'-'Z'-1);}
encoded_m = encoded_m + letter;}
else {
encoded_m = encoded_m + letter; } }
System.out.println("Encoded message : " + encoded_m.toUpperCase()); }}
See more about JAVA at brainly.com/question/2266606
Which device listed below is NOT a storage device?
ROM
RAM
SSD
Removable FLASH drive
What will be the result from running the following program? print grades print 92 print 80print total print 92+80
Answer:
Grades
92
80
Total
92 + 80
Explanation:
When utilizing quotations, you enable to code to print what wrote, as it is. So, instead of adding the 92 + 80, it's printed out.
I hope this helped!
Good luck <3
What are three ways that you can protect and care for your camera? Why is taking care of your camera important?
Answer in 1-3 sentences.
avoid dirt and sand, touching your camera lense, and any type of liquid. be careful when cleaning dirt and sand off of your camera lense, as not doing so could scratch lense.
Write a program that prompts the user to input an integer that represents the money in cents. The program will the calculate the smallest combination of coins that the user has. For example, 42 cents is 1 quarter, 1 dime, 1 nickel, and 2 pennies. Similarly, 49 cents is 1 quarter, 2 dimes, and 4 pennies
Answer:
The program in Python is as follows:
cents = int(input("Cent: "))
quarter = int(cents/25)
if quarter > 1:
print(str(quarter)+" quarters")
elif quarter == 1:
print(str(quarter)+" quarter")
cents = cents - quarter * 25
dime = int(cents/10)
if dime>1:
print(str(dime)+" dimes")
elif dime == 1:
print(str(dime)+" dime")
cents = cents - dime * 10
nickel = int(cents/5)
if nickel > 1:
print(str(nickel)+" nickels")
elif nickel == 1:
print(str(nickel)+" nickel")
penny = cents - nickel * 5
if penny > 1:
print(str(penny)+" pennies")
elif penny == 1:
print(str(penny)+" penny")
Explanation:
This line prompts user for input in cents
cents = int(input("Cent: "))
This line calculates the number of quarters in the input amount
quarter = int(cents/25)
This following if statement prints the calculated quarters
if quarter > 1:
print(str(quarter)+" quarters")
elif quarter == 1:
print(str(quarter)+" quarter")
cents = cents - quarter * 25
This line calculates the number of dime in the input amount
dime = int(cents/10)
This following if statement prints the calculated dime
if dime>1:
print(str(dime)+" dimes")
elif dime == 1:
print(str(dime)+" dime")
cents = cents - dime * 10
This line calculates the number of nickels in the input amount
nickel = int(cents/5)
This following if statement prints the calculated nickels
if nickel > 1:
print(str(nickel)+" nickels")
elif nickel == 1:
print(str(nickel)+" nickel")
This line calculates the number of pennies in the input amount
penny = cents - nickel * 5
This following if statement prints the calculated pennies
if penny > 1:
print(str(penny)+" pennies")
elif penny == 1:
print(str(penny)+" penny")
Define the P0 and P1 indicators and explain what they mean?
Answer: The headcount index (P0) is used to measures the proportion of the population which are poor.
The poverty gap index (P1) is used measure the extent to which individuals fall below the poverty line.
Explanation:
The headcount index (P0) like the name suggests is used to measure or know the proportion of a population which are poor, this does not indicate or show us how poor, the poor people in that society are.
The poverty gap index (P1) is used measure the extent to which individuals fall below the poverty line. This is used or compared to a poverty line already created. To know how far below individuals are under the poverty line system.
What is the purpose of application software policies?
a. They define boundaries of what applications are permitted.
b. They use a database of signatures to identify malware.
c. They take log data and convert it into different formats.
d. They serve to help educate users on how to use software more securely
Answer:
d. They serve to help educate users on how to use software more securely.
Explanation:
A software policy can be defined as a set of formally written statements that defines how a software application or program is to be used.
The purpose of application software policies is that they serve to help educate users on how to use software more securely. It must be easy to read, learn and understand by the end users.
The purpose of application software policies is that they serve to help educate users on how to use software more securely. Thus, option D is correct.
A software policy can be defined as a set of formally written statements that defines how a software application or program is to be used.
The purpose of application software policies is that they serve to help educate users on how to use software more securely. It must be easy to read, learn and understand by the end users.
Therefore, The purpose of application software policies is that they serve to help educate users on how to use software more securely.
Learn more about software on:
https://brainly.com/question/32393976
#SPJ6
Where is the video card located in a computer?
What is 10X Profit Sites?
Answer:
Wow! That's amazing!
Explanation:
The _____ is the size of the opening in the camera that the light passes through.
Shutter
Lens
Aperture
Sensor
Answer:
now you can give them brainlist by clicking on the crown on their answer! :)
Explanation:
Why is it unlawful for an employer to refuse to employ someone based solely on their gender without evidence that such a characteristic is necessary for successful completion of the job? Answer by writing a paragraph of two to three sentences.
Employing someone based on gender is unlawful because, it is the skill which matters to get the required job done and skills are not based on gender. There is no evidence that this particular gender cannot do this job and this particular gender can do. Everyone who posses the required skillsets are eligible to get employed irrespective of gender.
===============================================
I tried my best
What is the name of a shortcut you can click to access other websites? A. A post B. A key C. HTML D. A link
Answer:
D. A link
Explanation:
I hope this helps.
Answer:
A LINK
Explanation:
I just did the test
identify the benefit of modeling to communicate a solution.
Answer:
provides a graphical design or representation of solution with symbols.
Explanation:
Communication models help identify and understand the components and relationship of the communication process being studied. Models represent new ideas and thought on various aspects of communication which helps us to plan for effective communication system.
Answer: D
Explanation:
Why do I have two random warnings?
Answer:
bc of katie
Explanation:
Imagine you were using some of our pixelation tools to create an image and you posted it online for your friends to see - but, a week later you find out someone took that image and put it on a T-shirt that they’re selling for $10 each.
Now that we understand Copyright, what would need to change in order for the scenario from the warm-up to be okay?
Answer:
I will develop a CREATIVE COMMONS LICENSE
Explanation:
Based on the scenario given what i would need to change for the scenario from the warm-up to be okay is for me develop CREATIVE COMMONS LICENSE and the reason why I would develop this type of license is that it will enable people or the public to freely make use of my work or have free licence to the work that I have created by freely using it on their own products which will enables them to sell their work which have my own work on them easily and freely without any form of restrictions.
Copyright allows the creator or owner of a property (usually intellectual property) to have an absolute right over his property.
What needs to be done in this scenario is to create a creative common license.
In copyright, creative common license allows the members of the public to make use of an intellectual property for free, while the owner still retains the ownership and right, over the property.
When the creative common license is done, the seller of the T-shirt can sell the T-shirt without remitting any incentive to you; however, the seller gives you credit and recognition for the image.
Read more about copyrights at:
https://brainly.com/question/17357239
Which of these is NOT a desktop computer operating system?
iOS
Linux
macOS
Windows
Answer:
IOS
Explanation:
IOS is used for mobile devices
IOS is not a desktop computer operating system. The correct option is A.
What is an operating system?A computer's operating system is a piece of software that enables users to run other programs on the system. Almost all programs are created to operate on an operating system in order to be independent of the hardware design and are not typically intended to communicate directly with the hardware.
The main function of an operating system are:
Control the central processing unit, memory, disk drives, and printers of a computer.Create a user interface to make human-computer interaction easier.Run software programs and offer related services.Apple Inc. conceived and developed the mobile operating system known as iOS specifically for its hardware. Many of the company's mobile devices, notably the iPhone, run on this operating system.
Therefore, IOS is a mobile operating system.
To know more about an operating system follow
https://brainly.com/question/22811693
#SPJ2
Naseer has inserted an image into his document but needs the image to appear on its own line.
Which option should he choose?
•Top and Bottom
•Tight
•Through
•In front of text
Answer:
Top and Bottom
Explanation:
took the test
Answer: A
Explanation:
Hulu suggestions? I just got it and I wanna know what's good :)
Answer:
I love hulu almost everything is good but I recommend Zoey's Extrordinary playlist
Explanation:
Your network administrator finds a virus in the network software. Fortunately, she was able to eliminate it before it resulted in a denial-of-service attack, which would have prevented legitimate users of the networked database from gaining access to the records needed. It turns out that the network software did not have adequate security protections in place. The fact that this virus was successfully inserted into the network software points to a ______ the network software.
Answer:
Vulnerability of.
Explanation:
In this scenario, your network administrator finds a virus in the network software. Fortunately, she was able to eliminate it before it resulted in a denial-of-service attack, which would have prevented legitimate users of the networked database from gaining access to the records needed. It turns out that the network software did not have adequate security protections in place. The fact that this virus was successfully inserted into the network software points to a vulnerability of the network software.
In Cybersecurity, vulnerability can be defined as any weakness, flaw or defect found in a software application or network and are exploitable by an attacker or hacker to gain an unauthorized access or privileges to sensitive data in a computer system.
This ultimately implies that, vulnerability in a network avail attackers or any threat agent the opportunity to leverage on the flaws, errors, weaknesses or defects found in order to compromise the security of the network.
Some of the ways to prevent vulnerability in a network are;
1. Ensure you use a very strong password with complexity through the use of alphanumerics.
2. You should use a two-way authentication service.
3. You should use encrypting software applications or services.
10010010 + 01100010 =
The problem above is called an _________. It means that there are more ________ than can be stored in a byte, or eight bit number.
Answer:
1. binary number or 8 bit
2. bits
Explanation:
What is the Internet address of the speech you listed to?
Answer:
To get the address of a website page, check the URL address at the top of the browser window.
Explanation:
The internet is global interconnection of multiple networks. All devices in the network must have a web address to communicate in the network. The IP version 4 and 6 are two concepts of addressing devices on the internet. The DHCP and DNS internet protocols are used to assign address and map addresses to string-like URLs respectively.
Which of these is an example of gathering secondary data?
searching for a chart
drafting a map
collecting soil samples
interviewing experts
Answer:
searching for a chart
Explanation:
:)
Answer:a
Explanation:
took the quiz
Create a datafile called superheroes.dat using any text-based editor, and enter at least three records storing superheroes’ names and main superpower. Make sure that each field in the record is separated by a space.
Answer:
Open a text-based editor like Microsoft word, notepad, libraoffice, etc, type the name of the super hero on the first field and the main power on the second field. Then click on the file menu or press ctrl-s and save file as superheroes.dat.
Explanation:
The file extension 'dat' is used to hold data for programs, for easy access. The file above holds data in fields separated by a space and has multiple records.
Property Tax
Madison County collects property taxes on the assessed value of property, which is 60 percent of its actual value. For example, if a house is valued at $158,000, its assessed value is $94,800. This is the amount the homeowner pays tax on. At last year's tax rate of $2.64 for each $100 of assessedvalue, the annual property tax for this house would be $2502.72.
Write a program that asks the user to input the actual value of a piece of property and the current tax rate for each $100 of assessed value. The program should then calculate and report how much annual property tax the homeowner will be charged for this property.
Answer:
sorry i really dont know
Explanation:
Answer:
Here is the C++ program
====================================================
#include <iostream>
#include <iomanip>
using namespace std;
int main(){
const double ASSESS_VALUE_WEIGHT = 0.60;
double houseValue, assessedValue, taxRate, tax;
cout<<"Enter the actual value of property: ";
cin >> houseValue;
cout<<"Enter the current tax rate for every $100: ";
cin >> taxRate;
assessedValue = houseValue * ASSESS_VALUE_WEIGHT;
tax = assessedValue * taxRate / 100;
cout<<setprecision(2)<<fixed<<showpoint;
cout<<"Annual property tax: $ " << tax;
return 0;
}
Explanation:
Which of the following is NOT an advantage to using inheritance?
a. Code that is shared between classes needs to be written only once.
b. Similar classes can be made to behave consistently.
c. Enhancements to a base class will automatically be applied to derived classes.
d. One big superclass can be used instead of many little classes.
Answer:
D)One big superclass can be used instead of many little classes.
Explanation:
Inheritance could be described as getting new class on another existing class with almost same execution,
inheritance allows codes to be re-used. It should be noted that inheritance bring about the code sharing among class.
The advantages of using inheritance includes but not limited to
✓ Code that is shared between classes needs to be written only once.
✓Similar classes can be made to behave consistently.
✓ Enhancements to a base class will automatically be applied to derived classes.
A major disadvantage of inheritance is that child/children classes depends on parent class, hence a change in the parent class will affect the child class, therefore option C is the correction option.
Inheritance is a type of programming concept where by a class (Child) can inheritance methods, properties of another class (Parent).
Inheritance allows us to reuse of code, one advantage of Inheritance is that the code that is already present in base class need not be rewritten in the child class.
The different types of Inheritance are:
Single Inheritance.Multiple Inheritance.Multi-Level Inheritance.Hierarchical Inheritance.Hybrid Inheritance.Learn more:
https://brainly.com/question/4560494
What is the difference between an IP address and an IP Packet?
Answer:
The IP address is a numerical number assigned to a device when connected to the internet for better identification. Whereas, the IP packet is the packet which contains the total information of the content that is carried over the network from host to destination and vice versa.
Explanation:
I hope this helped and plz give brainliest!
What code would you use to tell if "schwifty" is of type String?
a. "schwifty".getClass().getSimpleName() == "String"
"b. schwifty".getType().equals("String")
c. "schwifty".getType() == String
d. "schwifty" instanceof String
Answer:
d. "schwifty" instanceof String
Explanation:
Given
List of options
Required
Determine which answers the question.
The syntax to check an object type in Java is:
[variable/value] instanceof [variable-type]
Comparing this syntax to the list of options;
Option d. "schwifty" instanceof String matches the syntax
Hence;
Option d answers the question
PowerPoint Presentation on What type of device will she use to display her presentation and explain it to the rest of the children in her class?
Input Device
Output Device
Processing Device
Storage Device
Answer:
Output device
Explanation:
The screen/projector puts out data (in this case the presentation) for viewers.
What is the outside of an iPhone called?
Sam card tray is the answer