Consider the following code segment, which is intended to display "cat".
String[][] keyboard = {{"q", "W", "e", "r", "t"},
{"a", "S", "d", "f", "g"},
{"z", "X", "C", "v", "b"}};
System.out.println(/* missing expression */);
Which of the following can replace /* missing expression */ so that the code segment works as intended?

Answers

Answer 1

Answer:

Explanation: can you include a picture?

Answer 2

Answer:

Replace missing expression with:

keyboard[2][2].toLowerCase()+keyboard[1][0]+keyboard[0][4]

Explanation:

Given

The above code segment

Required

Which code displays "Cat"

First, we need to identify the location of C, a and t in the array

[tex]C \to keyboard[2][2][/tex] i.e. C is at the 2nd row index and 2nd column index

[tex]a \to keyboard[1][0][/tex] i.e. a is at the 1st row index and 0 column index

[tex]t \to keyboard[0][4][/tex] i.e. t is at the 0 row index and 4th column index

Next convert C to lowercase.

This is done using: toLowerCase() method.

So, we have: keyboard[2][2].toLowerCase()

Next, we concatenate each of the above.

i.e. keyboard[2][2].toLowerCase()+keyboard[1][0]+keyboard[0][4]

Lastly, the statement is printed:

System.out.println(keyboard[2][2].toLowerCase()+keyboard[1][0]+keyboard[0][4]);


Related Questions

The operating system that has a significantly lower cost is _____.


Mac

Linux

Windows

Answers

Answer:

Linux

Explanation:

It is free compared to the others.

convert the following decimal number into octal number-147​

Answers

Answer:

The answer for your question is 223

What is the missing line of code?

>>> __________

>>> random.randrange(10)
5
>>> random.shuffle([1,3,6])

A. import random
B. from random import shuffle
C. from random import randrange

Answers

Answer:

B. from random import shuffle

Explanation:

Answer: A.

Explanation: Import random

draw a rose and sunflower using the turtle code

you can only use this four nothing else

funTurtle.forward
funTurtle.right
funTurtle.left
funTurtle.backward

Answers

Answer:

funTurtle.forward

BIG POINTS! BIG POINTS! BIG POINTS!
Does someone know how to fix a A s u s computer that won't turn on. Computer is all the way charged. Here is some screenshots of how it looks. Can this be an easy way to fix it because I can't really take out a battery or use tools. Thanks!

Answers

Try and hold the power button for a little while, and if it doesn't turn on then you might have to contact customer support.

Answer:

take the bottom of take out the battery and putt it back in

Explanation:

Int a = 1; int b = 0; int c = -1; if ((b + 1) == a) { b++; c += b; } if (c == a) { a--; b = 4; }

Answers

Answer:

[tex]a = 1[/tex]

[tex]b = 1[/tex]

[tex]c = 0[/tex]

Explanation:

Given

The above code segment

Required

The final values of [tex]a,\ b\ \&\ c[/tex]

The following line declares and initializes the values of a, b and c

int a = 1;     int b = 0;     int c = -1;

So, we have:

[tex]a = 1; b =0; c = -1[/tex]

Next, the following if condition is tested

if ((b + 1) == a)

[tex]b + 1 =0 +1[/tex]

[tex]b + 1 = 1[/tex]

And:

[tex]a = 1[/tex]

So,

[tex]b + 1 = a = 1[/tex]

Since the condition is true, the statements in the curly brace { } will be executed;

[tex]b++ \to b = b+1 \to b = 0 + 1 \to b = 1[/tex]

So:

[tex]b = 1[/tex]

[tex]c += b \to c = c+b \to c = -1 + 1 \to c = 0[/tex]

So:

[tex]c = 0[/tex]

Next, the following if condition is tested

c == a

c = 0 and a =1

So:

[tex]c \ne a[/tex]

That means, the statements in its curly brace will not be executed.

So, the final values of a, b and c are:

[tex]a = 1[/tex]

[tex]b = 1[/tex]

[tex]c = 0[/tex]

Why when i want to answer a profile that starts with a will put a link to "https://bitly.com/"

Answers

i don’t know i checked it and i think it’s a virus or something like that don’t click on link

What is Inheritence in computer science? Explain in your won words with examples.

Answers

Answer:

Inheritance is when one class or script, inherits the properties and methods of another class. They can be re-used which makes it useful. This is why there are parent classes and child classes. Child classes inherit the properties of the parent class. An example is when a "car", "truck" are subclasses of a class called vehicle. Allowing you to make more vehicle using the same parent class.

Hope this makes sense!

Q)What software application is the most effective tool to create charts of data? *
a)Word Processing software
b)Spreadsheet software
c)Photo editing software
d)Desktop Publishing software

Answers

Answer:

b) spreadsheet software

A five-paragraph essay question is one of the three types of response questions.
Please select the best answer from the choices provided
OT
OF

Answers

Answer: False

Explanation:

It should be noted that the fill in the blank questions are being regarded as the response questions. The three types of response question include the quick time response, lag time response and the no response.

When the individual knows the answer immediately after reading a particular question, it's regarded as quick time response while it is lag time when one doesn't know it immediately.

It should be noted that the five-paragraph essay question is not one of the three types of response questions. Therefore, the answer is false.

BRAINLY!! What’s the significance of the world wide web and how has it affected us. Please try to answer this in 3+ sentences :3

Answers

Answer: Read Below (fixing spelling errors)

Explanation: The world wide web is helpful/significant to use since it not only helps us communicate but helps us explore new things such as hobbies. Having access to the internet and the web can affect us in a good way, we can do research and allow others to see and share our work. It can almost create a bonding experiement. It has truly helped us!

I hope this helps I will fix spelling mistakes and others! <3

Type the correct answer in the box. Spell all words correctly.
Derek wants to share his digital portfolio with a wider audience. How can he do so?
Derek should publish his digital portfolio on the
, to show it to a wider audience.

Answers

Answer:

internet

Explanation:

Derek wants to share his digital portfolio with a wider audience. Then this can be done by the internet.

What is the internet?

An international network is a collection made up of linked networks that use standardized data exchange to provide a range of digital services.

Derek wants to share his digital portfolio with a wider audience. Then this can be done by the internet.

More about the internet link is given below.

https://brainly.com/question/13308791

#SPJ2

how does a demilitarized zone (dmz) work. A.By preventing a private network from sending malicious traffic to external networks B.by monitoring traffic on a private network to protect it from malicious traffic. C. by interacting directly with external networks to protect. D. by interacting with a private network to ensure proper functioning of a firewall E.by monitoring traffic on external networks to prevent malicious traffic from reaching a private network

Answers

Answer:

C. by interacting directly with external networks to protect a private network.

Explanation:

Data theft can be defined as a cyber attack which typically involves an unauthorized access to a user's data with the sole intention to use for fraudulent purposes or illegal operations. There are several methods used by cyber criminals or hackers to obtain user data and these includes DDOS attack, SQL injection, man in the middle, phishing, etc.

Phishing is an attempt to obtain sensitive information such as usernames, passwords and credit card details or bank account details by disguising oneself as a trustworthy entity in an electronic communication usually over the internet.

Phishing is a type of fraudulent or social engineering attack used to lure unsuspecting individuals to click on a link that looks like that of a genuine website and then taken to a fraudulent web site which asks for personal information.

In order to prevent a cyber attack on a private network, users make use of demilitarized zone (DMZ) depending on the situation.

A demilitarized zone (DMZ) work by interacting directly with external networks to protect a private network.

What's the best way to find diamonds in Mine craft?

Answers

Answer:

go to creative mode

make a diamond block

and go to survivor mode and mine

give a like

Go to a certain y level in the ground. (I'm not sure the exact level )

Also you can go to an abandoned ship and find a map.

You can always just go into creative mode and give your self a stack and then go back into survival

Pseudocode is an outline of your code that goes through the steps in human
language.
1) True
2) False

Answers

i think it’s true
hope this help

Select the correct answer.
Lionel writes for his personal blog. He would like to know how many users visit his blog. Which tool will help him to know the number of users visiting his blog?
A.
Microsoft Word
B.
Antiword
C.
StatsCounter
D.
pdftohtml
E.
Cron

Answers

The answer is B I did the test

Answer:

Antiword is your answer

Explanation:

What are the key components to planning a presentation? Check all that apply.
audience
conclusion
methods
purpose
thesis
title
topic

Answers

Answer:

I. audience

II. methods

III. purpose

IV. topic

Explanation:

Presentation can be defined as an act of talking or speaking formally to an audience in order to explain an idea, piece of work, project, and product with the aid of multimedia resources or samples.

Basically, any speaker who wish to create an effective presentation should endeavor to interact frequently with the audience by holding a conversation.

This ultimately implies that, to create an effective presentation, speakers are saddled with the responsibility of interacting more often with the audience by taking questions, making a joke, getting them to repeat informations loud at intervals etc.

Additionally, speakers are advised to be passionate and show enthusiasm during their presentation because it would enhance their ability to speak confidently and as such leading to an engaging presentation.

The key components to planning a presentation include the following;

I. Audience: these are the group of listeners to whom the speaker is making a presentation to.

II. Methods: the speaker should choose the most effective and efficient method to use in getting the message across to the audience (listeners).

III. Purpose: this is the main idea or reason for which the presentation is being created or done by the speaker.

IV. Topic: this is simply the title of the presentation and it describes the subject matter.

What is the first step in changing where templates are stored?
Click the At startup, open all files in box.
Double-click on the Advanced option.
Open the Excel Options dialog box.
Enter the folder path to use for templates.

Answers

Answer:

Open the Excel Options dialog box

Explanation: edg

WLAN is a network connected by cables. *
true or false

Answers

Answer:

are you girl

shslanshaknskaozbdksos

Answer:

true

Explanation:

it is wireless LAN network connected by cables

lcons are normally displayed on​

Answers

home scream of a computer

Need answer ASAP. No links

Select the correct answer

Clara writes online articles based on world religions. Her articles have references to dates. Which HTML element will help her display dates (A.D. or B.C.) correctly on a web page?

Posted the answers on the picture since they don’t show up when I write them on here

Answers

Answer:

A <b>

Normally AD and BC are written in bold letters.

for example : The terms anno Domini (AD) and before Christ (BC).

Within available option the best option to choose is <b> hope it helped

Answer:

its d <small>

Explanation: A:D and B:C are displayed smaller then normal letters

1. Pasar los siguientes ejercicios a diagrama de bloque

Ejercicios:
a) Un editor puede corregir 184 páginas de un libro en 8 horas de trabajo. ¿Cuántas páginas puede corregir los sábados que trabaja únicamente 5 horas?

b) Si 14 lápices cuestan $42 ¿Cuánto cuesta un lápiz y cuánto me costará comprar 25 lápices?


2. Pasar los Diagrama de Bloques obtenidos a Pseudocodigos

Answers

Answer:

A) Los sábados el editor puede corregir 115 páginas.

B) Cada lápiz cuesta $3 y 25 lápices cuestan $75.

Explanation:

A) Dado que un editor puede corregir 184 páginas de un libro en 8 horas de trabajo, para determinar cuántas páginas puede corregir los sábados que trabaja únicamente 5 horas se debe realizar el siguiente cálculo:

184 / 8 x 5 = X

23 x 5 = X

115 = X

Por lo tanto, los sábados el editor puede corregir 115 páginas.

B) Dado que 14 lápices cuestan $42, para saber cuánto cuesta un lápiz y cuánto me costará comprar 25 lápices se deben realizar los siguientes cálculos:

42 / 14 = X

3 = X

3 x 25 = 75

Por lo tanto, cada lápiz cuesta $3 y 25 lápices cuestan $75.

what's your opinion on Pokemon​ and pixeldip

Answers

Answer:

Its a good game but an amazing show. 10/10

Explanation:

so I like pixeldip because it also has made up Pokémon

Based on what you've learned about the main elements, themes, and conventions in
Gothic literature and based on the popular Gothic works that you've read and analyzed,
what does the Gothic genre mean to you? If you had to write a Gothic story, what are
the elements and themes you'd want to include and why?
Further your participation in the discussion by reading and responding to what others
post

Answers

Hey!

Answer:

Gothic literature is a genre that emerged as one of the eeriest forms of Dark Romanticism in the late 1700s, a literary genre that emerged as a part of the larger Romanticism movement. Dark Romanticism is characterized by expressions of terror, gruesome narratives, supernatural elements, and dark, picturesque scenery. Gothic fiction, sometimes called Gothic horror in the 20th century, is a genre of literature and film that covers horror, death and at times romance. It is said to derive from the English author Horace Walpole's 1764 novel The Castle of Otranto, later subtitled "A Gothic Story".

Gothic elements include the following:

Setting in a castle An atmosphere of mystery and suspense An ancient prophecy is connected with the castle or its inhabitants (either former or present) Omens, portents, visions Supernatural or otherwise inexplicable events High, even overwrought emotion Women in distress etc.

This genre is dark, eerie, and mysterious, often containing elements of terror, horror, and the macabre and the bizarre. Common themes and motifs of the Gothic include power, confinement, and isolation.

Hope it helps :)

Have a great day!

HELP ASAP!!!!
I don't know the code to these images and I need that code now.

Answers

Answer:

Menu of turtle moves

Explanation:

Convert the following denary numbers into binary using 8-bit register:

00000011

00000101

00010101

00111001

01001100

01000001

00101011

10010011

10101010

11111111

Answers

Answer:

1) 3

2) 5

3) 21

4) 57

5) 76

It would be much more easier if there were a grid containing all the numbers.

WHO SAYS BUP ALL THE TIME ​

Answers

Answer:

Mario

Explanation:

100 POINTS. DO NOT SPAM. OR I WILL REPORT.
Write about various image degradation function.(minimum 5)​

Answers

Answer:

Explanation:

In digital image processing, degradation is a process of introducing defects to the image. Understanding the degradation function will allow restoration of the original image.

There are many different causes for image degradation such as motion blur, digital noise and lens off-focus. In cases like motion blur, it is possible to come up with an very good estimate of the actual blurring function and "undo" the blur to restore the original image. For digital noise, a statistical model can be set up to compensate for the degradation it caused.  Similarly  lens focus can be compensate by an optical model if the mis-focus is known.

The above are three degradations that I could find. A lot more information can be found about restoration functions. If you search for image degradation online, you will find a discussion on Quora and an interesting introduction from Rice University. Good luck!

Answer:

Explanation:

image degradation function helps 2 understand how a digital image has degraded n how 2 restore it

to come up w the function, start by observing the degraded image. look 4 areas w less degradation n use them as reference of the original

if equipment used 2 take the degraded image is available, try finding the exact conditions which produce the same degradation. dat will provide clues for restoration

if the degraded image can be scanned, it can be manipulated digitally w various pre-programmed functions n look 4 any improvement

one of the above should help in restoring the degraded image

Which of the following are exclusively associated with copyright protection? (Select three.)

Right to reproduce small excerpts of a work

Right to apply for a patent


Right for anyone to display a work

Right to lend a work

Right to use a trademark

Right to make derivatives of a work

Right to reproduce a work

Answers

Answer:

Right to make derivatives of a work.

Right to reproduce a work.

Right to lend a work.

Explanation:

Just took the quiz on testout.

The rights which are exclusively associated with copyright protection are:

F. Right to make derivatives of a work. G. Right to reproduce a work. D. Right to lend a work.

Copyright protection has to do with an intellectual property law which makes it illegal for a person to copy the work of another, without approval, or adequate reference

As a result of this, we can see that the rights which are exclusively associated with copyright protection are the rights to make derivatives of a work, reproduce a work and to lend a work because they are the intellectual property of the author.

Therefore, the correct answers are options F, G, and D

Read more here:

https://brainly.com/question/23385572

what is considered an important ethical consideration when working with families

Answers

Ethical considerations
Informed consent.
Voluntary participation.
Do no harm.
Confidentiality.
Anonymity.
Only assess relevant components
Other Questions
How did the U.S civil war begin What is true about migration and native dislocation? a. Native Americans won victories against American soldiers at Sand Creek b. President Harrison tried to protect native peoples in Oklahoma c. American soldiers ignore Grant's peace policy d. protected native lands increased in size after Oklahoma Land Rush List the stages of the Silk Road from oldest to the most recent The Silk Road during the Tang and Song Dynasties expanding more Arabic citiesEarly 200s BC the Silk Road was established from China to European civilizations for trade The Silk Road with roads and ferries covering 31 countries from East Asia to Istanbul, TurkeyThe Silk Road was under Islamic Turkish rule and then mongol control Is inequality today the result of Capitalisms root in imperialism? Or is capitalism designed to have inequality?if you have an answer and it's really good ill make you the brainiest and give you 5 stars. First, come first serve. Which option identifies ways that people positively affect Earth's resources? use cars that emit fewer harmful gases, build dams, and stop using all resources How do the boys respond to the potential ghost in the house?From the story THE NIGHT THE GHOST GOT IN You are filling charts for a hospital and notice a misplaced file. Read through the notes to determine which department this file belongs to.GROSS DESCRIPTION:IReceived in formalin in a container labeled with the patient's name and "Rarm" is a single 0.5x04 x 0.1 cm irregular light gray-tan rough portion of tissue. The specimen is inked, bisected, wrapped in biopsy paper and submitted entirely in cassette A.MICROSCOPIC DESCRIPTION:The sections show a hyperplastic epidermis with channels containing brightly eosinophilic elastic fibers and basophilic debris. The adjacent dermis contains no xenocytes Special stains for micro organisms (PAS, GAS, and Gram) are negative. NED Kirk made the graph to show his prediction of a population of bacteria over time. Which function best models the data in the graph?mc001-1. jpgmc001-3. jpgmc001-2. jpgmc001-4. jpgJana predicts that the population, y, will grow according to y = 12 log(x + 1) + 10, where x is the time in minutes. How much greater does Kirks model predict the population will be after 60 minutes than Janas model? greater by about 50 bacteria This week only, the local coffee shop is reducing the price of a cup of coffee from $3.00 to $2.28. By what percentage is the price reduced? A coin is flipped 150 times. The results of the experiment are shown in the following table:Heads Tails84 66Which of the following statements best describes the experimental probability of getting heads? It is equal to the theoretical probability. It is 6% lower than the theoretical probability. It is 6% higher than the theoretical probability. The experimental probability cannot be concluded from the data in the table. cual es la trascendencia del mito y la leyenda? respondan por favorr A bag of M&Ms contains 13 blue, 5 brown, 10 orange, 8 yellow, 8 red, and 4green. Reaching into the bag, a person grabs 5 M&Ms.What is the probability of getting no browns? Round to 3 decimal places. quick please 7.find the area of the shaded region of the rectangle: What does the word proletariat most likely mean? A)heavy indclassB) craftsmen and merchants C) modern machinery D) the working class the coordinates of point D are (-10, -3) and the coordinates for point G are (-2, -3). Where is point D in relation to point G? Weather balloons are filled with hydrogen and released at various sites to measure and transmit data about conditions such as air pressure and temperature. A weather balloon is filled with hydrogen at the rate of 0.5 ft^3/s. Initially, the balloon has 4 ft^3 of hydrogen. Initially, the balloon has 2 ft^3 of hydrogen.Required:a. Find a linear function V that models the volume of hydrogen in the balloon at any time t.b. If the balloon has a capacity of 15 ft^3, how long does it take to completely fill the balloon? using the URL:http://www.armyschools.edu/news/sports.html, Identify the protocol,domain name and path. How many moles of Oxygen atoms are contained in 45.9 mol CO2? principal actividaf economica de puerto rico a inicios del sigloXVI What are the x and y coordinartes of the point at 4pi/3