public class JavaApplication78 {
public boolean findChar(String string, String key){
if (string.contains(key)){
return true;
}
return false;
}
public static void main(String[] args) {
JavaApplication78 java = new JavaApplication78();
System.out.println(java.findChar("hello", "h"));
}
}
First I created the findChar method using the contains method. It checks to see if a certain sequence of characters is in another string. We returned the result. In our main method, we had to create a new instance of our main class so we could call our findChar method.
Which of the following would be appropriate to create using the CMYK color model?
Select all that apply.
a printed takeout menu a printed takeout menu , ,
a photography blog a photography blog , ,
a tri-fold brochure a tri-fold brochure , ,
a mobile app logo
Answer:
B, and C
Explanation:
they look like the only two answers that make sence
What is payload?
a block of data inside the packet
a block of data transmitted across a network
the maximum amount of data a network can transmit
a 32-bit numeric address
Answer:
a block of data inside the packet
Write a multi-way if statement that compares the double variable pH with 7.0 and makes the following assignments to the bool variables neutral, base, and acid:
Answer:
try:
pH = float(input("Enter number between 0 to 14: "))
except ValueError:
print("input must be a number")
if pH < 7:
print("pH is Acidity")
elif pH == 7:
print("pH is neutral")
else:
print("pH is Base/alkaline")(
Explanation:
The try and except statement is used to check if the input is a number, if its not, the print statement is displayed. The nested if statement compares the pH input to know if it is an acid, base or neutral.
PLzzzzzz help me!! I will mark brainiest to the one who answers it right!!
Answer it quickly!!
Write a pseudo code for an algorithm to center a title in a word processor.
Answer: abstract algebra
Explanation: start with the algorithm you are using, and phrase it using words that are easily transcribed into computer instructions.
Indent when you are enclosing instructions within a loop or a conditional clause. ...
Avoid words associated with a certain kind of computer language.
Answer:
(Answers may vary.)
Open the document using word processing software.
In the document, select the title that you want to center. The selected word is highlighted.
On the Menu bar, select the Format tab.
In the Format menu, select Paragraph.
The Paragraph dialog box opens with two sub tabs: Indents and Spacing, and Page and Line Breaks. The first tab is selected by default.
Adjust the indentation for the left and right side. Ensure that both sides are equal.
Preview the change at the bottom of the dialog box.
Click OK if correct, otherwise click Cancel to undo changes.
If you clicked OK, the title is now centered.
If you clicked Cancel, the title will remain as it is.
Explanation:
I took the unit activity
How do I do these? I dont understand.
How would you reply to an email message you've received that has multiple recipients, all of whom you would like to see your reply?
Answer:
depends on the app. if it's in google you can hit the reply all button and that will send the reply to all people or you can copy the email addresses from the original email into a new email
Answer:
the answer is c :D
Explanation:
One of the primary principles of the Rapid Application Development methodology is early prototyping of the _______ in the development cycle
Answer:
Software Applications
Explanation:
Rapid Application Development (RAD) also is an agile project management strategy used in the development of software. RAD is also referred to as Rapid Application Building (RAB).
Its greatest advantage is that it reduces the time taken to churn out a program and this is why a lot of developers are now adopting it.
This is made possible by reducing the amount of time and effort spent on planning and increasing the amount of energy spent on creating prototypes.
Other merits of this methodology are:
It reduces the risk associated with the project by ensuring that the program is first used as a prototype rather than the real deal. It ensures better quality. When users interact with the prototypes, they are able to provide very useful feedback that goes back into development to enhance the quality of the project.Cheers!
True or false: Simultaneous multithreading (SMT) uses threads to improve resource utilization of a dynamically scheduled, out-of-order processor.
Answer:
True
Explanation:
Simultaneous multithreading or otherwise called, SMT that is a technique that us used for improving the total and overall efficiency of superscalar CPUs with hardware multithreading. Simultaneous Multithreading allows different types of independent threads, ability to execute and then eventually take optimum and much better use of the resources that is provided by modern processor architectures. Multithreading can not only allow multiple threads to be executed simultaneously in a single CPU core, it also allows multiple tasks some of which are different page tables, different I/O permissions, and others to be executed