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
olasank [31]
3 years ago
11

A method that receives a two-dimensional array uses two ____ pairs following the data type in the parameter list of the method h

eader.
a.
parenthesis

b.
dot

c.
curly brace

d.
bracket

1 points

QUESTION 5

The bubble sort is the fastest and most efficient sorting technique.

True

False

1 points

QUESTION 6

With a two-dimensional array, the ____ field holds the number of rows in the array.

a.
row

b.
length

c.
size

d.
capacity

1 points

QUESTION 7

Which of the following describes a data type for which only appropriate behaviors are allowed?

a.
type-safe

b.
static

c.
value-neutral

d.
data-cast

1 points

QUESTION 8

When working with two-dimensional arrays, the length field holds the number of rows in an array and each row has a length field that holds the number of columns in the row.

True

False

1 points

QUESTION 9

In Java, you create an enumerated data type in a statement that uses the keyword ____.

a.
new

b.
sequence

c.
enum

d.
collection

1 points

QUESTION 10

The ArrayList class ____ method returns the current ArrayList size.

a.
length

b.
size

c.
capacity

d.
rows

1 points

QUESTION 11

Regarding enumerations, the ____ method returns an integer that represents the constant’s position in the list of constants; as with arrays, the first position is 0.

a.
ordinal

b.
indexOf

c.
positionOf

d.
valueAt
Computers and Technology
1 answer:
Veronika [31]3 years ago
5 0

Answer:

4. Curly brace

5. False

6. Lenght

7. Value-nuetral

8. True

9. Enum

10. Size

11. IndexOf

Explanation:

4. Curly brace or Brackets {…} are often used in prose to designate a list of equal choices.

5. bubble sort is faster But as we take larger dataset, quicksort becomes increasingly efficient due to lower run-time complexity. Merge sort is faster than bubble sort.

6. 2 Dimensional Arrays. ... 2-dimensional arrays provide most of this capability. Like a 1D array, a 2D array is a collection of data cells, all of the same type, which can be given a single name. However, a 2D array is organized as a matrix with a number of rows and columns.

You might be interested in
A(n) ________ is a navigation aid that shows the path you have taken to get to a web page or where the page is located within th
kenny6666 [7]

The answer would be breadcrumb trail.

8 0
4 years ago
Read 2 more answers
Driving is expensive. Write a program with a car's miles/gallon and gas dollars/gallon (both doubles) as input, and output the g
I am Lyosha [343]

Answer:

#program in Python.

#function to calculate driving cost

def driving_cost(d_miles, m_per_gallon, doll_per_gallon):

   #calculate cost and return the value

   return (d_miles / m_per_gallon) * doll_per_gallon

#read the miles per gallon  

m_per_gallon = float(input("Enter car's miles/gallon:"))

#read dollars per gallon

doll_per_gallon = float(input("Enter gas dollars/gallon:"))

#call function to find cost for 10 miles

print('%0.2f' % driving_cost(10, m_per_gallon, doll_per_gallon))

#call function to find cost for 50 miles

print('%0.2f' % driving_cost(50, m_per_gallon, doll_per_gallon))

#call function to find cost for 400 miles

print('%0.2f' % driving_cost(400, m_per_gallon, doll_per_gallon))

Explanation:

Read the value of miles per gallon and assign it to variable "m_per_gallon". Then read dollars per gallon from user and assign it to variable "doll_per_gallon". Call the function driving_cost() with parameter miles, m_per_gallon and doll_per_gallon. This function will find the cost of driving and return the cost.Call function for  10, 50 and 400 miles.

Output:

Enter car's miles/gallon:20                                                                                                

Enter gas dollars/gallon:3.1599                                                                                            

1.58                                                                                                                      

7.90                                                                                                                      

63.20

5 0
3 years ago
Read 2 more answers
Which of the following is true of lossy and lossless compression algorithms?
zysi [14]
The answer would be D.
I think I’m not totally sure:)
8 0
3 years ago
Claire writes a letter to her grandmother, in which she describes an amusement park she visited last week. She adds pictures of
alexgriva [62]

Claire uses the <u>Crop option</u> from the Format tab to remove unwanted parts of the pictures.  

<u>Explanation:</u>

In Microsoft Word, after inserting a picture, when we click on the picture to select it, the ribbon shows the format options. Various options are available for formatting a picture, however, in order to cut out the unwanted portion Claire needs to use the crop option.

Crop options allow the user to cut resize an image by cutting out the part of the picture user decides.

<u>To crop the picture follow the procedure given below:</u>

  • Double click on the image
  • Click the format tab to size the image
  • Click crop, perform cropping using the handles appearing at the edge of image.
  • Drag handles to crop and save them.
7 0
3 years ago
All information that is to be processed by a computer must first be entered into memory via an input device.
Goshia [24]
The answer is true, since it needs to be sent to the main server to be processed
3 0
2 years ago
Other questions:
  • You need to control the number of people who can be in an oyster bar at the same time. Groups of people can always leave the bar
    12·1 answer
  • What should you keep in mind when installing hard drives?
    5·1 answer
  • Which business application uses location information to provide a service and is designed to give mobile users instant access to
    5·1 answer
  • Which of the following sorting algorithms could be implemented on a doubly-linked list WITHOUT making the asymptotic worst-case
    12·1 answer
  • Plzzzzz help right answer gets Brainly
    10·1 answer
  • Read the Security Guide about From Anthem to Anathema on pages 238-239 of the textbook. Then answer the following questions in t
    14·1 answer
  • Minerals can form deep inside Earth’s crust by
    13·1 answer
  • True or False: A function with no parameters or extern vars can only return a
    8·1 answer
  • Consider the following static method.
    9·1 answer
  • Majken is turning 18 years old soon and wants to calculate how many seconds she will have been alive.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!