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
olga55 [171]
2 years ago
6

1. 5 Code Practice: Quetion 1

Computers and Technology
1 answer:
sp2606 [1]2 years ago
6 0

A one-line program to output the following haiku is shown below.

print("Moon and tar\n\twonder\nwhere have all the people gone\n\t\talone in hiding.")

This condition is known as coding.

Coding is the process of using a programming language to create instructions that a computer can follow to complete a task. Coding involves writing code, debugging it, and testing it to ensure that it works as intended. It is a crucial skill for computer programmers and is used in a wide range of fields, including software development, data science, and web design. Coding can be challenging and requires a strong foundation in math and problem-solving skills, but it can also be rewarding and is a valuable skill to have in the modern world.

Learn more about coding, here brainly.com/question/20712703

#SPJ4

You might be interested in
A number of LC-3 instructions have an "evaluate address" step in the instruction cycle, in which a 16-bit address is constructed
hjlf

Answer: you want to list all LC structers

Explanation:

4 0
4 years ago
15 _____ 3 = 0 Question 11 options: a) / b) % c) * d) //
Vesnalui [34]
The option B is correct
5 0
3 years ago
Create an ArrayList of strings to store the names of celebrities and athletes. Add 5 names to the list. Process the list with a
mr Goodwill [35]

Answer:

// ArrayList class is imported

import java.util.ArrayList;

// Iterator class is imported

import java.util.Iterator;

// Main class is defined

class Main {

   // main method to begin program execution

   public static void main(String args[]) {

       // names ArrayList of String is defined

       ArrayList<String> names = new ArrayList<>();

       // 5 names are added to the list

       names.add("John");

       names.add("Jonny");

       names.add("James");

       names.add("Joe");

       names.add("Jolly");

       // for loop to print the names inside the arraylist

       for(int index = 0; index <names.size(); index++){

         System.out.println(names.get(index));

       }

       

       // A blank line is printed

       System.out.println();

       // A newMethod is called with names as argument

       newMethod(names);

       // A blank line is printed

       System.out.println();

       // Instance of Iterator class is created on names

       Iterator<String> iter

           = names.iterator();

 

       // Displaying the names after iterating

       // through the list

       while (iter.hasNext()) {

           System.out.println(iter.next());

       }

   }

   // the newmethod is created here

   public static void newMethod(ArrayList<String> inputArray){

     // A new name is added at index 2

     inputArray.add(2, "Smith");

     // the name in index 4 is removed

     inputArray.remove(4);

     // for each is used to loop the list and print

     for (String name : inputArray) {

       System.out.println(name);

       }

   }

}

Explanation:

The code is well commented. An output image is attached.

7 0
4 years ago
A web page without a bibliography, or sources, is an indicator of an unreliable site.
alisha [4.7K]
A.True because without a source then it could just be made up.......hope this helps :)

5 0
3 years ago
Read 2 more answers
Most internet connections use blank transmission
LiRa [457]
Wireless connection I hope I helped!!!
7 0
4 years ago
Other questions:
  • You are troubleshooting a computer that is in the design phase. The problem you see is that the CPU is not receiving information
    13·1 answer
  • Sometimes we write similar letters to different people. For example, you might write to your parents to tell them about your cla
    9·1 answer
  • Which type of engine has been used to power airships and/or dirigibles?
    13·1 answer
  • The atomic number of oxygen is 8. the atomic mass of oxygen is 16. him many neutrons does oxygen have
    12·1 answer
  • On many advanced routers and switches, you can implement QoS through bandwidth management, such as __________, where you control
    5·1 answer
  • What's the difference between leafgreen and firered?
    9·1 answer
  • I really need help with this question, I can’t fail this please :) tysm
    10·1 answer
  • What is the difference between a 13 column abacus and 5 column abacus?
    10·1 answer
  • In what situation is a read receipt notification not sent when an email is opened or previewed bya recipient?
    8·2 answers
  • Difference between software developer and software engineer.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!