Write the code which prints "Access granted!" if the correct password, "swordfish" is entered, and "Access denied!" otherwise.

JAVA IM DESPERATE!!!!

Answers

Answer 1

im not sure but use some "if" things and do it like "if swordfish is entered display 'access granted' " then like "if swordfish not entered display 'access denied' "

idrk how to write java tho


Related Questions

Which structure carries the semen to the penis?

sperm duct
glands
scrotum
testes

Answers

Answer:

i think sperm duct im taking the test right now on edge 2020

Explanation:

I think

Answer:

Sperm duct

Explanation:

Explain how an off-site computer can be used to modify a drawing held at another computer location.

Answers

Answer:

Through a remote network shared by both computers

Which of the following describes why graphical interfaces quickly became popular after their introduction to the mass market?

A.superior usability
B.form over function
C.strong ISO standards
D.contextual design analysis of a market demographic

Answers

A.superior usability

Which term describes a number in base 16, using the digits from zero to nine along with A, B, C, D, E, and
F?
O byte
O bit
O binary
O hexadecimal

Answers

Answer:

It is Hexadecimal

Explanation:

Hexadecimal EX: A3 B8

Answer:

hexadecimal

Explanation:

A hexadecimal number is a number in base 16, using the digits from zero to nine along with A, B, C, D, E, and F.

Edge 2022

The online underground is used___.
Select 3 options.

Answers

Answer:

I think its the 4th one but im not that sure tho sorry!

Explanation:

Answer:

1,3,4

Explanation:

By cybercriminals to sell ransom services,by cybercriminals to purchase malicious software,for networking by criminal organizations

(in order of a-z)
Telephone Dog chips Snake Airplane Balloons Glove Pen Notebook Flowers Bookmark Hat Orange Turtle Lamp Scissors Poster Cup Boot​

Answers

Answer:

Airplane

Balloons

Bookmark

Boot

Chips

Cup

Dog

Flowers

Glove

Hat

Lamp

Notebook

Orange

Pen

Poster

Scissors

Snake

Telephone

Turtle

Add criteria to this query to return records where the student lastname field begins with the letter



a. run the query. font size

Answers

Answer:

To query the access database to return a group of records with lastname starting with A, change the LastName field's criteria to A, and then click the run button in the results ribbon group of the design ribbon tab.

Explanation:

Microsoft Access is a database management software used to create, manage, and query a database. Just like a spreadsheet and in relational databases, it stores data in records (rows) and fields (columns). To output the result of a query, the run button in the design ribbon tab is clicked.

Which of the following statements best describes the
location of the Options bar?
Select one:
At the top of the workspace window, home for
essential commands, adjustments and actions
Directly beneath the Menu bar, it displays available
options for the tool selected in the Tools Panel
At the left of the workspace window, it is a column
of icons for creating and editing
At the right of the workspace, the contains the
groups of controls for working with images

Answers

The statements that best describes the location of the Options bar is

Directly beneath the Menu bar, it displays available options for the tool selected in the Tools Panel.

What is option bar?

Option bar serves as a tool bar, where some functional tools can be gotten when running a program.

Therefore, option bar is located Directly beneath the Menu bar, it displays available options for the tool selected in the Tools Panel

Learn more about options bar at;

https://brainly.com/question/1360051

Select all that apply.
What features must be completed from the Master Page screen?
Inserting headers or footers
Inserting a watermark
changing the template
Inserting a table

Answers

Answer:

Inserting headers or footers Inserting a watermark

Explanation:

A Master Page is a page which can be used with the majority of the documents of your paper as a reference. Master pages may have visuals elements, such as headlines, footers, column headings, etc that occur on all publishing pages.

Check all of the file types that a Slides presentation can be downloaded as.

.JPEG
.doc
.xls
.PDF
.pptx
.bmp

Answers

Answer:

.JPEG

.PDF

.pptx

General Concepts:

Google

Slides has an option to download a wide multitude of formats

Explanation:

If we go into File, and then under Download, we should be able to see which file types that a Slides presentation can be downloaded as.

Attached below is an image of the options.

The answers are:
.JPEG
.PDF
.pptx

Hope this helped :D

Which pane in PowerPoint contains images of the slides in the order they appear in the presentation

Answers

Answer:

When you insert a picture, you have to click on it a few times to get different designs.

Explanation:

Answer:

thumbnail pain

Explanation:

i just took the review

In microsoft word, you can change the look of paragraphs by: select all that apply
a. changing page margins
b. organizing lists of information into bullets
c. changing text spacing
d. changing text alignment​

Answers

Answer:

Changing Text Alignment, D

Explanation:

The length of time that a slide appears before automatically advancing to the next slide can be set in the

A. Timing group under the Transitions tab.
B. Transition to This Slide group under the Transitions tab.
C. Timing group in the Master Slide view.
D. Transition to This Slide group in the Master Slide view.

Answers

Answer:

A.

Explanation:

The transition time between slides can be specified in a presentation. The duration of transition can be set by going to the 'Transitions Tab' then in 'Timing Group/Section'. In the timing group, duration can be increased or decreased, as per the desire. The time is set in seconds in duration section.

So, the length of time between two slides can be changed by going to the 'Timing group' under the 'Transitions Tab'.

Therefore, option A is correct.

Answer:

A

Explanation:

__________ (10 letters) is space between lines of program code that makes the code easier to read and that the compiler ignores.

Answers

Answer:

Whitespace. I hope this helps

What will be the output of the following lines of code and the user’s response?

>>> answer = input("What does your dog weigh? ")
What do you weigh? 85.7
>>> weight = int(answer)
>>> print("The weight is" , weight)
An error occurs.
The weight is 85.7
The weight is 85
The weight is 86

Answers

Answer:

An error occurs.

Explanation:

You cannot pass a string representation of a float ("85.7") into an int conversion, you'd have to convert it into a float first.

So weight = int(float(answer)) would work.

Answer: an error occurs

Explanation: got it right on edgen

What will be the output of the following lines of code and the user's response?

Answers

Answer:

The answer is C. 85

Explanation:

The int() function is usually used to turn a float, to an int. When you use the int() function, it just cuts of everything past the decimal. It doesn't round the float. Leaving you with the option C. 85

hope this helped you :D

A digital computer has a memory unit with 26 bits per word. The instruction set consists of 756 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. a. How many bits are needed for the opcode? b. How many bits are left for the address part of the instruction? c. What is the maximum allowable size for memory? d. What is the largest unsigned binary number that can be accommodated in one word of memory?

Answers

Answer:

a. the number of bits needed for the opcode = 10

b. address part is = 16 bits

c. maximum allowable size of memory = 65536

d. Maximum memory size per word = 67108864

Explanation:

The memory size of the instruction set is 756 which is less than 2^10 (that is 1024).

Since the word size is 26 bits and the instruction takes 10, the remaining 16 is for the address part which is 65536 memory address. The maximum number of memory size for a word is 67108864.

Which of these is not a way of avoiding email fraud and scams?
If you aren't sure if a link is legitimate, click it to see where it goes.
O Don't open attachments from unknown sender.
O Look for typos and grammatical errors in a suspicious email.
Use an antivirus suite that includes an email scanning tool.

Answers

Answer:

"If you aren't sure if a link is legitimate, click it to see where it goes."

Explanation:

If you click on a unknown URL the host of the website can steal a lot of information from you computer. Like your geolocation  

Answer: a

Explanation:ik

what is 38 - -93 + 2 x 4.6?
and what’s 9,220 - -2.3 x U

Answers

Answer:

the first equation is 140.2

what's the last eqaution U???

Explanation:

En un taller tienen dos taladros de sobremesa de 600 w de potencia, una sierra de calar de 500 w y cuatro soldadores de 50 w. Los taladros funcionan una media de 2 horas diarias, la sierra de calar 1 hora y los cuatro soldadores funcionan una media de 4 horas diarias. Calcular la energía consumida por todos estos aparatos durante un día.

Answers

Answer:

El consumo del taller es de 3.7 kw/h.

Explanation:

Dado que el taller posee dos taladros de sobremesa de 600 vatios de potencia, que son utilizados durante 2 horas diarias; una sierra de calar de 500 vatios de potencia que es utilizada durante 1 hora diaria, y cuatro soldadores de 50 vatios que se utilizan durante 4 horas diarias, para medir el consumo diario de energía del taller es necesario realizar el siguiente calculo:

600 x 2 x 2 = 2,400 vatios de consumo taladros

500 x 1 x 1 = 500 vatios de consumo sierra de calar

50 x 4 x 4 = 800 vatios de consumo soldadores

2,400 + 500 + 800 = 3,700 vatios de consumo total

Pasado a kilovatios, el consumo del taller es de 3.7 kw/h.

4.20 [5] <§4.5> Add NOP instructions to the code below so that it will run correctly on a pipeline that does not handle data hazards. ADDI X1, X2, #5 ADD X3, X1, X2 ADDI X4, X1, #15 ADD X5, X3, X2

Answers

Answer:

Following are the solution to this question:

Explanation:

The following is the sequence of instructions to ensure proper implementation after adding NOPs:  

[tex]ADDI \ Xl,X2, \#5\\NOP\\NOP\\NOP\\ADD \ X3, X1,X2\\ADDI \ X4, X1, \#15\\ADD \ X5, X3,X2\\[/tex]

The value of the X1 is identified in the first ADDI order X1, X2, #5, mostly on the WB level, which appears in clock cycle five. Before the second instructions, three NOPs are added because as second instruction should wait for X1 to be correct.

Its second primary example with cycle 5, but ends through cycle 9. clock. Since X3 quality doesn't execute its third command, no NOP is inserted.

Its third instruction begins at clock cycle 6 and finishes at clock cycle 10. Because the fourth order is not required to execute an X4 value, no NOP is inserted, and the fourth instruction begins in cycle 7 and finishes at clock cycle 11.

What will happen when you drag and drop a worksheet tab into another workbook WITHOUT holding the Ctrl key down?
Choices:
A. The worksheet will be MOVED.
B. The worksheet will be COPIED.
C. Nothing will happen.

Answers

Answer:

Its defeintly not C so pick either A or B depending on what control does

Explanation:

Answer:

A

Explanation:

I went into excel and tried. The sheet gets moved.

What’s 9- 4 x y + 44 - -8
and what is 77 - 1.3 + -22

Answers

Answer:

1. -4y + 61

2. 53.7

Choose the best type of loop for each situation.

1. You are finding the batting average of 13 baseball players.
a- for
b- while

2. You are asking your users for the names of all the stores where they shopped to find their friend's birthday
present. They will show they are done by entering the word "done."
a- for
b- while

Answers

Answer:

1. Option A: for loop is correct

2. Option B: while loop is correct

Explanation:

Two loops are used commonly. For and while

For is used when the number of iterations are already known and while is used when number of iterations is not known and the loop has to be terminated based on any condition.

1. You are finding the batting average of 13 baseball players.

For loop will be used as the number of iterations is already known. The score of 13 players has to be used to calculate the average so there will be 13 iterations. Hence, for loop will be used.

2. You are asking your users for the names of all the stores where they shopped to find their friend's birthday  present. They will show they are done by entering the word "done."

While loop will be used as the termination of loop depends on the input given by the user so the number of iterations are not already known.

Hence,

1. Option A: for loop is correct

2. Option B: while loop is correct

Answer: 1.for 2. while

Explanation: got it right on edgen

Which statements accurately describe the Outlook interface? Check all that apply.

1) Two main elements are items and folders.
2) The content pane contains a list of items to be viewed in the reading pane.
3) The ribbon contains a list of tabs and menu items.
4) Command groups are located in the folder pane.
5) The main Outlook menu has a ribbon tab with default commands.
6) File, Home, Send/Receive, Folder, and View are commands on the main ribbon tab.

Answers

Answer:

1,2,3,5,6 was right on edge

Explanation:

two devices that may be used for creating,storing,and transmitting documents input devices

Answers

Answer:

electronic notebook or a pc?

Explanation:

sorry if its wrong of doesnt help

Mississippi law codes state that bullying and cyberbullying are against the law. A court can decide to incur ____________________ time or a_____________________ or both depending on the degree and the frequency of the infraction, and the age of the perpetrator.

Answers

Answer:

1) Imprisonment

2) Fine

Explanation:

By the 2013 Mississippi Code, on Cybercrimes and Identity Theft, it is against the law to make use of electronic mail or other forma of electronic communication to engage in cyber bullying, which involves the use of threatening language of inflicting arm or with an aim to extort money from another person

The punishment for cyber bullying, includes imprisonment time or a fine or both.

Therefore, for the question, we have; Mississippi law codes state that bullying and cyberbullying are against the law. A court can decide to incur imprisonment time or a fine or both depending on the degree and the frequency of the infraction, and the age of the perpetrator.

what is the name of the statement used for providing calculations in pseudocode​

Answers

Answer:

processing statement

Explanation:

processing statement is used to perform calculation or assignment.

Which statement will remove 5:'softball' from the dictionary?

sports = {2:'football', 3:'soccer', 4:'volleyball', 5:'softball'}
sports.remove()

sports.pop()

sports.pop(5)

sports.remove('softball')

Answers

Answer:

sports.pop(5)

Explanation:

edg 2020

Answer:

sports.pop(5)

Explanation:

evaluate:15+5*(8-5)/14

Answers

Answer:

225/14

Explanation:

By BODMAS

15 + 5 × (8-5) ÷ 14

= 15 + 5 × 3 ÷ 14

= 15 + 5 × 3/14

= 15 + 15/14

= 210/14 + 15/14

= (210 + 15)/14

= 225/14

Other Questions
What social concept was damaged the most by the government program of land allotment?O sense of self-worthO sense of communityO sense of honestysense of trust Is the economic model of decision-making intended as a literal description of how individuals, firms, and the governments actually make decisions write this sentence correctly using correct punctuation and capitalization//I tried to pass james a note but the teacher took it This table gives a few (x,y) pairs of a line in the coordinate plane Emma was given a system of equations to solve by graphing. Which statement correctly identifies Emmas error? Emmas Graph On a coordinate plane, a line with equation y = negative one-third x + 2 goes through (0, 1) and (3, 0). A line with equation y = 2 x minus 5 goes through (0, negative 5) and (3, 1). Line 1 should have a y-intercept at (0, 2). Line 2 should have a y-intercept at (0, 2). Line 1 should have a slope of 2. Line 2 should have a slope of 5. helpppp please will give brainliest Why is the above painting representative of the Romantic period? a. It contains a high contrast of light and dark. b. It is highly emotional, idealized, and full of feeling. c. It depicts a scene of love. d. all of the above HELPP PLEASE ASAP its for a testWhen and where were the first rules of modern Handball created?1972 in Russia1906 in Denmark1928 in America1944 in Switzerland PLEASE HELP MEWarmup: Which of the geometric figures are scaled copies of each other? What is the scale factor of the images you choose? Calculate the area of a square with sides of 5 inches. Aaron is taking a multiple choice test with a total of 20 points available. Each question is worth exactly 1 point. What would be Aaron's test score (out of 20) if he got 6 questions wrong? What would be his score if he got x x questions wrong? Cesar, Carlos, David, and Edwin decided to have a push-up contest. The following table describes the push-up speeds of the four boys. Which boy has the fastest speed? In the Industrial Age, who filed a patent for the incandescent light bulb? Henry Ford Thomas Edison Madam CJ Walker Alexander Graham Bell Choose all the answers that apply.Which of the following statements are true?OThe space between neurons is called a synapse.OThe nucleus of a neuron is located in the cell body.O Practice can increase the speed of neuron signal transfer.0Axons carry messages toward the cell body.o Electrical impulses in neurons go two ways. Reread the simile. Describe how it helps you see and understand what the author is experiencing.please help me asap!im in middle school idk why it says highschool What was the biological weapon brought by the Spaniards to the New World? How did it affect the Native Americans? A::A represents1. two lone pairs of electrons.2. one lone pair of clectrons.3. a double bond.4. quadruple bond. What is an equation in slope-intercept form of the line that passes through (6, 10) and is parallel to the graph of y=1/3x1?Here are the answer choices:A: y10=1/3(x6)B: y=1/3x+8C: y10=3(x6)D: y=3x+28 Which TWO phrases describe a universal theme?Group of answer choicesexamines topics related to outer spaceis relevant only to modern societiesis common to all cultureshas to do with medieval Europeexplores basic human experiences PLEASE HELP!!How would Clays American System with high tariffs on imported goods have benefited the West and South? A. He expected that money from tariffs would be used to help farmers ship their goods to the North. B. He expected that Northerners would use their profits to buy farmed goods from the West and South. C. He expected that the South and West would profit by importing goods from countries on which the United States did not impose the tariff. D. He expected that state-constructed roads, which would make the transportation of goods from each region profitable, would be built from the funds.