1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
ss7ja [257]
4 years ago
6

I need to figure out exactly how to make this figure while coding.

Computers and Technology
1 answer:
erastova [34]4 years ago
7 0

Answer:

class Main {

 public static void main(String[] args) {

   System.out.println("   _");

   System.out.println(" /   \\");

   System.out.println("|     |");

   System.out.println(" \\ _ /");

 }

}

Explanation:

Backslashes have a special meaning in string literals. You have to escape them with a backslash, hence the double backslash.

You might be interested in
1. Implement the function dict_intersect, which takes two dictionaries as parameters d1 and d2, and returns a new dictionary whi
stich3 [128]

Answer:

1  

def dict_intersect(d1,d2): #create dictionary

  d3={} #dictionaries

  for key1,value1 in d1.items():       #iterate through the loop  

      if key1 in d2:   #checking condition

          d3[key1]=(d1[key1],d2[key1])   #add the items into the dictionary  

  return d 3

print(dict_intersect({'a': 'apple', 'b': 'banana'}, {'b': 'bee', 'c': 'cat'})) #display

2

def consolidate(*l1):  #create consolidate

  d3={} # create dictionary

  for k in l1:       #iterate through the loop

      for number in k:   #iterate through  the loop                               d3[number]=d3.get(number,0)+1   #increment the value

             return d 3 #return

print(consolidate([1,2,3], [1,1,1], [2,4], [1])) #display

Explanation:

1

Following are  the description of program

  • Create a dictionary i.e"dict_intersect(d1,d2) "   in this dictionary created a dictionary d3 .
  • After that iterated the loop and check the condition .
  • If the condition is true then add the items into the dictionary and return the dictionary d3 .
  • Finally print them that are specified in the given question .

2

Following are  the description of program

  • Create a dictionary  consolidate inside that created a dictionary "d3" .
  • After that iterated the loop outer as well as inner loop and increment the value of items .
  • Return the d3 dictionary and print the dictionary as specified in the given question .

5 0
4 years ago
The __________ unit is capable of mimicking the processor and of taking over control of the system bus just like a processor
Elden [556K]

The unit which is capable of mimicking the processor and of taking over control of the system bus just like a processor is: C) direct memory access.

<h3>What is computer memory?</h3>

A computer memory can be defined as the available space on an electronic device that is typically used for the storage of data or any computer related information.

<h3>What is a CPU?</h3>

CPU is an abbreviation for central processing unit and it can be defined as the main components of a computer because it acts as the “brain” of a computer and does all the processing, calculations, and logical control.

In Computer technology, direct memory access simply refers to the unit which is capable of mimicking the computer's processor and taking over control of the system bus just like a processor.

Read more on processing unit here: brainly.com/question/5430107

#SPJ1

Complete Question:

The __________ unit is capable of mimicking the processor and of taking over control of the system bus just like a processor.

A) interrupt-driven I/O

B) I/O channel

C) direct memory access

D) programmed I/O

5 0
2 years ago
Give two examples of desktop publishing software
soldier1979 [14.2K]
There are quite a lot of desktop publishing software as of today.
I'll give you the names of some of it.
- Adobe inDesign - one of the most popular
- Corel Draw
- Microsoft Publisher
- Serif
- Ultra Xml
And more.
There are actually a lot if you are just about to check in the internet.
7 0
4 years ago
Which team member on a project typically has a skill for creating visual interest?
bixtya [17]
I think designer i mean it should be
7 0
3 years ago
Read 2 more answers
How many Megabytes are there in a Gigabyte?
Tju [1.3M]
<span>
In quantities of data,
"kilo" = 2^10 = 1,024
"mega" = 2^20 = 1,048,576,
"giga" = 2^30 = 1,073,741,824 .

<span> <span /></span></span> <span>1 gig = 1,024 megs<span><span /></span></span>


7 0
4 years ago
Other questions:
  • 3. The invention of the transistor was important to the development of computers because it
    5·1 answer
  • What are the text or graphics that are lighter than the main text located in a document's background called?
    10·1 answer
  • Peter was working on a design for a magazine. He had to give his design to his team for further editing. He wanted to use a file
    8·1 answer
  • Which console was the first to use CD-ROM storage
    5·1 answer
  • When is padding required for a structure type variable? Group of answer choices When the structure contains a word-type variable
    9·1 answer
  • Size of a MAN can range from ​
    5·1 answer
  • Roses are red, violets are blue, I'm going to ki.ll myself, to make life better for you.
    10·2 answers
  • Why are laptop employment of computer popular these days​
    5·1 answer
  • Select each of the steps involved in creating a table in a presentation.
    12·1 answer
  • Write a one register parameter procedure that converts an ASCII digit in AL to its corresponding binary value. If AL already con
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!