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
wel
3 years ago
9

Find the error in the statement below.

Computers and Technology
1 answer:
qwelly [4]3 years ago
4 0

Answer:

I think it's C) The semi-colon should be a colon.

Explanation:

You might be interested in
Libreoffice is an example of which type of software?.
max2010maxim [7]

LibreOffice is an Open Source Software.

<h3>Open Source Software (OSS)</h3>

A software is classified as <u>Open Source</u> when your code can be use, modified and distribute with its original rights.

<h3>LibreOffice</h3>

For answering this question, you should know a software LibreOffice.

LibreOffice is a software that allows to create: sheets, documents, drawing, charting, database, presentations, etc. It's free and an open source software - main advantages when compared to other software available.

In the other words, LibreOffice is free because the user does not need to pay any license. Also, it is an open source software because your code can manipulate for any developer.

Read more about Open Source Software here:

brainly.com/question/4593389

3 0
3 years ago
Write a method named numUnique that accepts a sorted array of integers as a parameter and that returns the number of unique valu
SVEN [57.7K]

Answer:

The method in Java is as follows:

public static int numUnique(int list[]) {  

int unique = 1;  

for (int i = 1; i < list.length; i++) {  

 int j = 0;  

 for (j = 0; j < i; j++) {

  if (list[i] == list[j])  

   break;  

 }

 if (i == j)  

  unique++;  

}  

return unique;  

}  

Explanation:

This line defines the numUnique method

public static int numUnique(int list[]) {

This initializes the number of unique elements to 1

int unique = 1;  

This iterates through the list

for (int i = 1; i < list.length; i++) {

The following iteration checks for unique items

 int j = 0;  

<em>  for (j = 0; j < i; j++) { </em>

<em>   if (list[i] == list[j]) </em><em>If current element is unique, break the iteration</em><em> </em>

<em>    break;  </em>

<em>  } </em>

 if (i == j)  

  unique++;  

}

This returns the number of unique items in the list

return unique;  

}  

3 0
3 years ago
"On a TCP/IP network, which of the following are used by a router to determine the destination of a packet?"
Nastasia [14]

Answer: Switching packets function.

Explanation: while the main function of a router is to forward packets to their target destination, this can be actualised by adopting a switching packet function.

Switching packet function is the process which the router uses to accept a packet from one interface and passes it to another interface. The main function the switching packet plays is to encapsulate the packets in the right data link frame type for the data link meant to be sent out.

The switching is about moving the packet to the right destination without been mistaken with the layer 2 switch function.

3 0
4 years ago
Given num_rows and num_cols, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or 3E. Print
nata0808 [166]

Answer:

Following are the program for the above question in python:

Explanation:

def seat(num_rows,num_cols):#function definition.

   for x in range(1,num_rows+1):#first for loop.

       c='A'

       for y in range(1,num_cols+1): #second for loop.

           print(str(x)+c,end=" ") #print the value

           c=chr(ord(c)+1) #expression to form a charater addition.

seat(int(input("enter the number of rows: ")),int(input("enter the number of columns: "))) #take the input from the user.

Output:

  • If the user inputs 2 and 3, then the output is :"1A 1B 1C 2A 2B 2C 3A 3B 3C 4A 4B 4C".

Code Explanation :

  • The above code is in python language, in which the first line is used to render a message to the user then take the inputs from the user and then pass to the function after converting into int function.
  • Then there are two loops in the function which are used to print the number of the seat.
  • The first loop is used to print the row number and the second loop is used to print the column number.
4 0
4 years ago
Which industry did the Interstate Commerce Act primarily affect? A. coal B. airplane C. steel D. oil E. railroad
babunello [35]

I believe the answer is E. Railroad, hope this helps!

6 0
4 years ago
Read 2 more answers
Other questions:
  • Carmen wanted to clear up space on her computer and remove unwanted files. What would be the best for her to delete?
    6·2 answers
  • What can be done to improve the security of business uses of the Internet? Give several examples of ecurity measures and technol
    9·1 answer
  • Thetremendous diversity of the source systems is the primary reasonfor their complexity. Do you agree
    6·1 answer
  • Which of these is an aggregator?
    5·2 answers
  • Which tool should be used when a fastener, such as a lug nut, is extremely tight
    6·2 answers
  • What are attributes and what role do they play with in a HTML document?
    11·1 answer
  • How can users open a shared worksheet if they do not have Excel installed on a computer? visit Microsoft’s website use Office365
    6·1 answer
  • Write a C console application that will be used to determine if rectangular packages can fit inside one of a set of spheres. You
    5·1 answer
  • Which of the following are factors that can cause damage to a computer? Check all of the boxes that apply.
    13·2 answers
  • Who is responsible for the actions of autonomous systems? (please help me :C)
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!