Answer:
An internal server error
50 PTS
in Java
Write a program with a method called passwordCheck to return if the string is a valid password. The method should have the signature shown in the starter code.
The password must be at least 8 characters long and may only consist of letters and digits. To pass the autograder, you will need to print the boolean return value from the passwordCheck method.
Hint: Consider creating a String that contains all the letters in the alphabet and a String that contains all digits. If the password has a character that isn’t in one of those Strings, then it’s an illegitimate password!
import java.util.Scanner;
public class JavaApplication46 {
public static boolean passwordCheck(String pass){
String alphanum = "abcdefghijklmnopqrstuvwxyz1234567890";
boolean legit = true;
if (pass.length()>= 8){
for(int i = 0; i < pass.length(); i++){
if (alphanum.indexOf(pass.charAt(i)) != -1 && legit != false){
legit = true;
}
else{
legit = false;
}
}
}
else{
legit = false;
}
return legit;
}
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.print("Enter a password: ");
String password = scan.next();
System.out.println(passwordCheck(password));
}
}
I hope this helps!
What number will be output by the console.log command on line 7? *
2 points
Captionless Image
Answer:
The output is 100
Explanation:
See attachment for complete question
I'll be making reference to the attachment time to time.
On line 1 of the attachment, variable fizz was declared
On line 2, variable bop was declared
Variable bop was initialised to 10 on line 3
Variable fizz was initialised to 20 on line 4
On line 5, 100 was assigned to bop
On line 6, 200 was assigned to fix
The value of bop was printed on line 7.
Note that, the current value of bop is not 100 (as updated on line 5).
Hence, the output of the program at line 7 is 100
Based on the program command displayed in the console, the output displayed by the console.log command would be 100.
The variable bop is assigned a value of 10 based on the command in line 3 In line 5 however, an update has been made to the bop variable, and the variable has been update to 100.The newly assigned varibale value on line 5 would be the value of the bop variable unless updated again.Hence, the output would be 100.
Learn more : https://brainly.com/question/20304083
While an image is still being editing, it is best to save it as a PDF. Group of answer choices True False
Answer:
f
Explanation:
PLEASE HURRY
In binary, an individual 0 or 1 is called a bit O True O False
the answer is true !
Answer:
true
Explanation:
true
Order the steps for accessing the junk email options in Outlook 2016
Select Junk Email Options
Click the Junk button
Select a message
Choose one of the protection levels
Locate the Delete group on the ribbon
Answer:
To access the the junk email options in Outlook 2016, follow the following steps.
1. Click the Junk Button
This will take you to the Junk messages that you have.
2. Select a message
Select a junk message from the list.
3. Locate the Delete group on the ribbon
The Junk email options is located in the 'Delete' group on the ribbon in the Home tab.
4. Select Junk Email Options
Click on the Junk email options button and a popup window will appear.
5. Choose one of the protection levels
Select the protection level you want from the various options listed including low, high, automatic etc.
Answer:
select a message, locate the Delete group on the ribbon, click the junk button, select junk email options, choose one of the protection levels.
Explanation:
The meaning of docile can be determined by the... context clue. synonym atonym or explanation
Answer:
Synonym
Explanation:
I'm pretty sure it's either synonym or explanation, but if there isn't an explanation, it's almost always synonym... so... synonym is correct.
Answer:
it is explanation
Explanation:
trust me
PLEASE HURRY!!
Look at the image below
Answer:
Second part:
answer = multiply(8, 2)
First part:
def multiply(numA, numB):
return numA * numB
Third part:
print(answer)
Explanation:
When creating a function, we always start with def function_name(): so the code for the first line is:
def multiply(numA, numB):
return numA * numB ( * symbol refers to multiplication)
We are now left with two pieces of code: answer = multiply(8, 2) and print(answer). Since we need to always define a variable before using it, answer = multiply(8, 2) will come before print(answer).
Resulting Code:
def multiply(numA, numB): <- first part
return numA * numB
answer = multiply(8, 2) <- second part
print(answer) <- third part
Hope this helps :)
a.
Define a computer with its proper meaning.
Answer:
Computer
Explanation:
a programmable electronic device designed to accept data, perform prescribed mathematical and logical operations at high speed, and display the results of these operations.
Answer:
computer
Explanation:
An electronic machine that processes, stores data, and does calculations.
ABC IF U HAVE A LEGENDARY PET ON ADOPT ME OR ANYTHING COOL!! <3
Answer:
ABC PLEASE
Explanation:
Answer:
ABC i have mega owl and neon cow and mega frost <3
What sorts of changes have you been observing in your society in your society in comparison in last 3 years
Prepare a profile on major universities in the country Nepal
Answer:
Formal higher learning in Nepal began with the establishment of Tri-Chandra College in 1918, the first college in the country. Until 1985, Tribhuvan University (TU) was the only university in the country. The second university to be founded was Mahendra Sanskrit University. The inception of this university was soon followed by Kathmandu University in 1990, and Purbanchal and Pokhara Universities in 1995 and 1996, respectively. Many schools and colleges are run privately but none of the universities in Nepal are private.
This list includes all notable universities and colleges/campuses in Nepal. Entries are organised by courses offered, and listed in alphabetical order. Some entries that provide multiple courses may be duplicated in each of the relevant categories.
There are fourteen universities in Nepal. They are: Khwopa University (Proposed)
Agriculture and Forestry University in Chitwan
Far-western University in Kanchanpur
Gandaki University in Tanahun
Kathmandu University in Dhulikhel
Lumbini Bouddha University
Madan Bhandari University of Science and Technology
Manmohan Technical University in Biratnagar
Mid Western University in Birendranagar
Nepal Open University[1][2] in Lalitpur
Nepal Sanskrit University
Pokhara University in Pokhara
Purbanchal University in Biratnagar
Rajarshi Janak University in Janakpurdham
Tribhuvan University in Kirtipur
The university that will be profiled in their case is the Agriculture and Forestry University, Chitwan, Nepal.
The Agriculture and Forestry University, Chitwan, Nepal offers undergraduate, graduate, and PhD programs in agricultural sciences.
The university has several faculties such as the faculty of agriculture and animal sciences, fisheries, and aquaculture.
Learn more about universities on:
https://brainly.com/question/25853486
What is GIGO ?
plz answer me
Answer:
Garbage in, garbage out
Explanation:
In computer science, garbage in, garbage out is the concept that flawed, or nonsense input data produces nonsense output or garbage
Python Project Worksheet
Print | Save
Output: Your goal
You will write a program that asks a user to fill in a story. Store each response in a variable, then print the story based on the responses.
Part 1: Plan and Write the Pseudocode
Use the following guidelines to write your pseudocode for a fill-in story program.
Decide on a list of items the program will ask the user to input.
Your program should include at least four interactive prompts.
Input from the user should be assigned to variables and used in the story.
Use concatenation to join strings together in the story.
Print the story for the user to read.
Write your pseudocode here:
Part 2: Code the Program
Use the following guidelines to code your program.
Use the Python IDLE to write your program.
Using comments, type a heading that includes your name, today’s date, and a short description.
Set up your def main(): statement. (Don’t forget the parentheses and colon.)
Conclude the program with the main() statement.
Include at least two print statements and two variables.
Include at least four input prompts.
Use concatenation to join strings.
Follow the Python style conventions regarding indentation in your program.
Run your program to ensure it is working properly. Fix any errors you may observe.
Example of expected output: The output below is an example of a “Favorite Animal” message. Your specific results will vary depending on the choices you make about your message.
Output
The kangaroo is the cutest of all. It has 5 toes and a beautiful heart. It loves to eat chips and salsa, although it will eat pretty much anything. It lives in New York, and you must be super sweet to it, or you may end up as its meal!
When you've completed writing your program code, save your work by selecting 'Save' in the Python IDLE. When you submit your assignment, you will attach this Python file separately.
Part 3: Post Mortem Review (PMR)
Using complete sentences, respond to all the questions in the PMR chart.
Review Question Response
What was the purpose of your program?
How could your program be useful in the real world?
What is a problem you ran into, and how did you fix it?
Describe one thing you would do differently the next time you write a program.
Part 4: Save Your Work
Don't forget to save this worksheet. You will submit it for your assessment.
Print | Save
Answer:
I will do it and send it in a pic
Explanation:
give me a sec
Select the correct answer. Which sign or symbol will you use to lock cells for absolute cell reference?
A.
ampersand
B.
asterisk
C.
dollar sign
D.
exclamation mark
Answer:
A. ampersand
Explanation:
Answer:
C. Dollar Sign
Explanation:
I NEED HELP ASAP IM BAD AT THIS
A float is a floating point number. This means that's the number has a decimal place. Numbers with or without decimal places can be stored in a float variable but more commonly numbers with decimal points.
The correct choices are 1 and 3.4
Someone plz im begging for ur help plzz??
Answer:
woah what subject is this-
Explanation:
The spreadsheet prepared on the computer is called..........
Answer:
electronic spreadsheet
Explanation:
I got it from google. Not 100% sure. Tell me if i'm wrong.
Answer:
Explanation:
electrion got it from goggle to sorry if it is wrong
Need answer Asap!!!! Which file type is the best choice if the image will be made into a billboard?
Answer:
A .psd file
Explanation:
Adobe photoshop files are always going to be same and there is no compression. Even better .ai files are saved into equations so you can't alter or dumb it down.
What is the output of the following code:
lang=
['Python','C','C++, JAVA,ASP'PHP',VB', Oracle
'MySQL)
list1 = lang(2:-2]
list2 = langl-2:-5)
list3 = langl: : 3]
print(list)
print(list)
print(list3)
Answer:
Syntax error.
Explanation:
There are many typing mistakes in this source code.
Problems that are undecidable and algorithms that are unreasonable both touch on the limits of the kinds of computing
that a computer can accomplish. In your own words, explain the difference between undecidable problems and
unreasonable time algorithms.
Answer:
An unsolvable problem is one for which no algorithm can ever be written to find the solution. An undecidable problem is one for which no algorithm can ever be written that will always give a correct true/false decision for every input value.
Undecidable problems simply describes problems which do not have the algorithm to produce the required 'yes' or 'no' solution while unreasonable time algorithm are those problems which run time grows exponentially.
A problem is tagged as Undecidable if no algorithm exists to allow such problem produce a 'yes' or 'no' solution. Hence, undecidable problems would sometimes run infinitely or give a wrong output in some cases. Unreasonable time algorithm describes problems whose run time increases in an exponential nature. Such programs increases in run time very quickly due to the nature of the of the computation. Example ; 10^n.., where n is a range of values.Therefore, both undecided and unreasonable time algorithm affects the limits of computing attainable by different computer systems.
Learn more :https://brainly.com/question/21242780?referrer=searchResults
PLEASE HELP!!
Computer networks allow computers to send information to each other. What is the term used to describe the basic unit of data passed from one computer to another?
message
package
packet
transmission
Answer:
Paquete de red o paquete de datos es cada uno de los bloques en que se divide la información para enviar, en el nivel de red. Por debajo del nivel de red se habla de trama de red, aunque el concepto es análogo. En todo sistema de comunicaciones resulta interesante dividir, la información a enviar, en bloques de un tamaño máximo conocido. Esto simplifica el control de la comunicación, las comprobaciones de errores, la gestión de los equipos de encaminamiento (routers), etcétera.
Al igual que las tramas, los paquetes pueden estar formados por una cabecera, una parte de datos y una cola. En la cabecera estarán los campos que pueda necesitar el protocolo de nivel de red; en la cola, si la hubiere, se ubica normalmente algún mecanismo de comprobación de errores.
Explanation:spero teyaudee
Answer:
Packet
Explanation:
A data packet is the precisely formatted unit of data that travels from one computer to another.
(Confirmed on EDGE)
I hope this helped!
Good luck <3
who invite computer ?
Answer:
Charles Babbage, an English mechanical engineer and polymath, originated the concept of a programmable computer. Considered the "father of the computer", he conceptualized and invented the first mechanical computer in the early 19th century.
Justify the use of an e-diary in the organisation of the meeting.
Answer:
It can be used to easily organize stuff
Explanation: It can be easily used to organize meetings & write important stuff, and you will also never run out of pages, which is better than having no diary.
can anyone answer this
Answer:
I dont see the question
Explanation:
Does anyone have a leg pet on adopt me? Ty!
Answer:
no
Explanation:
I have a legendary pet in adopt me, these are the legendaries im TRADING:
frost furry, ride or fly kitsune, mega neon owl (Traded), and kangeroo (traded).
are you interseted in anything?
Four common types of distractions are
Question 1 (10 points)
When using MLA format your font type and font size should be what?
Question 1 options:
Rockwell 12
Calisto 11
Times New Roman 11
Times New Roman 12
Question 2 (10 points)
What tab would you go to to add citations to your paper so you can include your source information?
Question 2 options:
Insert
Design
View
References
Question 3 (10 points)
What tab do you go to to put a header on your paper
Question 3 options:
References
Insert
Layout
Home
Question 4 (10 points)
When the same word is used in multiple locations or a word is used that was not quite appropriate, a thesaurus can be used to look up a (n) ____________ or word similar in meaning.
Question 4 options:
Synonym
Homonym
Antonym
Metronym
Question 5 (10 points)
In Word you can force a page break
Question 5 options:
By positioning your cursor at the appropriate place and pressing the F1 key
By hitting the enter key twice really fast
By clicking the Insert Tab and selecting Page Break in the ribbon
By changing the font size of your document
Question 6 (10 points)
In your ruler there are two triangles. The triangle on top that points down is called
Question 6 options:
First Line Indent
Hanging Indent
Tab
Left Indent
Question 7 (10 points)
Which would you choose to save a document with a new name?
Question 7 options:
Press Ctrl+S
Click File, Save
Click Tools, Options, Save
Click File, Save As
Question 8 (10 points)
To put a ruler on your screen to help you with spacing and alignment on your paper you would go to this tab
Question 8 options:
Insert
References
Design
View
Question 9 (10 points)
User can use ______ commands to search for and correct words in a document
Question 9 options:
Copy and Paste
Find and Replace
Header and Footer
Print and Print preview
Question 10 (10 points)
What tab do you go to for the spelling and grammar check?
Question 10 options:
Home
Review
Insert
File
Answer:
Find and replace header and footer
In most places of work, how long should it take someone to respond to an e-mail?
no obligation to respond
one hour
twenty-four hours
one week
Answer:
24 Hours
Explanation:
Now Ideally, someone when they are working should respond immediately, but its 24 hours because, if someone is in a different Timezone, Or you sent an email late and tehy read it at 12pm or something it allows them good wiggle room while giving you a dcently fast reply.
Answer: 24 hours
Explanation: It's correct
4.5 code practice edhesive
Answer:
n= input("Please enter the next word: ")
x=1
while(n != "STOP"):
print("#" + str(x) + ": You entered " + n)
x=x+1
n= input("Please enter the next word: ")
print("All done. " + str(x-1) + " words entered.")
Explanation:
Which kind of a person will you be if you prove to be accountable for your actions?
Answer: You would be a person of integrity.
Explanation: Look up Integrity for details.