Answer:
B
Explanation:
When you have a method that is copying values from one array into another, you first have to initialize a new array which you can copy the values into. This is done by using the provided value "count".
int [ ] nums = new int [count];
Second, you have a "for each" loop that iterates over each index in the first array, and assigns the value at that index to the same index location in the copy array. In a "for each" loop, the variable "val" represents the content of an index, not an iterated value itself. This is why we can just do this inside the loop:
nums[ j ] = val;
That said, you still need "j" to be there and increment because we still need a tracking value for the current index in the copy array.
int j = 0;
for (int val: array)
{
copyArray[j] = val;
j++;
}
Third, you return the copy version of the array.
return nums;
Source:
I am currently a second year Java student.
Which word best describes the feeling you have when you are in the learning zone?
A. Comfortable
B. Accomplished
C. Unsure
D. Agitated
Explanation:
This is probably something like a feedback form
but I feel unsure/comfortable
Answer: Accomplished
Explanation:
Use the drop-down menus to complete the steps to open the Lookup Wizard.
1. Open the table in ___
view.
2. Click in the ___
column of the desired field.
3. Click the ___
, and then click Lookup Wizard.
Answer: 1. design view 2. data type 3. arrow
Explanation:
I just did it :)
Complete the following sentence by choosing
the best answer from the list below.
enables information to be viewed in
an easily understandable format.
O An output device
O An input device
O A hard disk
O A raw data device
Answer:
The correct answer is Option 1: an output device.
Explanation:
A computer is an electronic machine that works according to data and instructions given to it.
The data is the input and information is the output.
Input devices are used to take input and output devices are used to display the results of processing as output.
From the given options, An output device is the one which enables the information to be viewed in easily understandable format.
Hence,
The correct answer is Option 1: an output device.
Answer:
Output device
Explanation:
HELP ASAP!!! What portfolio document is most likely to speak of your soft skills?
cover letter
transcript
recommendations
resume
Answer: resume
Explanation:
Answer:
recommendations was the right answer
Explanation:
A flashing symbol that allows you to input text.
A. Cursor
B. Mouse
C. Search Engine
D. Text Box
Answer:
A. Cursor.
Explanation:
If you read the answer choices carefully, none of them fit in with the "flashing symbol" category, even though some of them might allow you to input text. However, you have used a computer before to type out text, just like how you typed this question to Brainly. Therefore, you should also know how a cursor acts. It flashes and allows you to input text as well.
Therefore, A is the correct answer to this question.
Hope this helped!
~Jinachi~
edhesive 6.8 lesson practice answers please
Answer: any more info yo can give me. i want to help i dont undestand
Explanation:
Answer:
import simplegui
import random
# global constants
WIDTH = 600
HEIGHT = 400
PARTICLE_RADIUS = 5
COLOR_LIST = ["Red", "Green", "Blue", "White"]
DIRECTION_LIST = [[1,0], [0, 1], [-1, 0], [0, -1]]
# definition of Particle class
class Particle:
# initializer for particles
def __init__(self, position, color):
self.position = position
self.color = color
# method that updates position of a particle
def move(self, offset):
self.position[0] += offset[0]
self.position[1] += offset[1]
# draw method for particles
def draw(self, canvas):
canvas.draw_circle(self.position, PARTICLE_RADIUS, 1, self.color, self.color)
# string method for particles
def __str__(self):
return "Particle with position = " + str(self.position) + " and color = " + self.color
# draw handler
def draw(canvas):
for p in particle_list:
p.move(random.choice(DIRECTION_LIST))
for p in particle_list:
p.draw(canvas)
# create frame and register draw handler
frame = simplegui.create_frame("Particle simulator", WIDTH, HEIGHT)
frame.set_draw_handler(draw)
# create a list of particles
particle_list = []
for i in range(100):
p = Particle([WIDTH / 2, HEIGHT / 2], random.choice(COLOR_LIST))
particle_list.append(p)
# start frame
frame.start()
Explanation:
What kind of loop should be used in a game where the user is guessing a secret code and the message"guess again" appears until the user guesses correctly?
Answer:
While loop
Explanation:
It should be noted that the number of times which the computer will ask the user to take a guess is not known.
When we have a condition like this, the while loop (or in some programs; the do-while loop) is to be used.
To further back my point, see the following program in python.
secret_code = 1234
user_guess = int(input("Take a guess: "))
while user_guess != secret_code:
user_guess = int(input("guess again: "))
print("You guessed right")
The above program will keep asking the user to take a guess until the user enters 1234.
This may or may not be possible with a for loop.
Megan wants to post a picture of her and her friend Jennifer on her social media page. What should Megan do before she posts the picture?
A. Add a caption.
B. Ask her friend for permission.
C. Make sure she looks good.
D. Edit the picture using Photoshop.
Answer:
B. Ask her friend for permission.
Explanation:
Answer: B ask her friend for permission
hope you do good on the test or quiz.. it would mean alot to be brainlEst
So my teacher asked us to predict who would win in a death match, and we could choose the two characters, so Alastor from Hazbin Hotel vs Blackhat from villinous, who would win?
Answer:
I think alastor from Hazbin Hotel.
Answer:
alastor
Explanation:
i mean alastor is a demon and blackhat we dont know if he is a demon or not but i mean alastor would win he took down a flying ship that was trying to kill them
which devices is not found in the CPU
The devices that is not found in the CPU is printer. The correct option is D.
What is CPU?A central processing unit, sometimes known as a CPU, is a piece of electronic equipment that executes commands from software, enabling a computer or other device to carry out its functions.
The part of a computer that obtains and executes instructions is called the central processing unit (CPU).
A CAD system's CPU can be thought of as its brain. It is made up of a control unit, a number of registers, and an arithmetic and logic unit (ALU). The term "processor" is frequently used to refer to the CPU.
The size, speed, sophistication, and price of a printer varies. It is a device that receives text and graphic output from a computer and transmits the information to paper.
Thus, the correct option is D.
For more details regarding CPU, visit:
https://brainly.com/question/16254036
#SPJ6
Your question seems incomplete, the missing options are:
a. ALU
b. Control Unit
c. Instruction register
d. Printer
Where does the revolver get the IP address of a site not visited before?
the file server
the name server
the IP provider
the print spooler
Answer: The name server
Explanation:
Nameservers are part of a large database called the Domain Name System (DNS), which acts like a directory for devices and the IP addresses attached to them. What nameservers do is use this information to translate domain names into numerical IP addresses – the language our computers understand
define input hardware
When comparing systems software and application software, what is the main difference?
Answer:
it is a
Explanation:
i did the test
Which one of these is NOT a function of an operating system? *
Managing computer hardware
Managing computer software
Allowing humans to talk to the computer
Performing quick calculations
Answer:
Allowing humans to talk to the computer
Explanation:
the operating system manages the computer hardware and software
and it also allows the ALU to perform quick calculations
HEEEEELPPP!!!BRAINLIEST!!! THIS IS URGENT!!!
Read the following code:
count in range(80):
leo.forward(count * 2)
leo.left(count + 2)
There is an error in the for loop. What should be fixed?
Add a colon to the end of the statement
Begin the statement with the proper keyword to start the loop
Place the loop condition outside the parentheses
Replace the parentheses around the range with quotation marks
Answer:
Begin the statement with the proper keyword to start the loop
Explanation:
Given
The code segment
Required
Fix the code
The first line of the code segment is meant to be a for loop, but it does follow the right syntax.
This is so because the for keyword is missing.
The first line should be corrected and replaced with:
for count in range(80):
Hence, option (b) is correct
Merle wants to change the formatting of all bold cells to be non-bolded. Shania wants to copy the cell color,
border, and font from cell E12 to all of column D. Which best describes what each person should do?
A. Merle should use Find and Replace, and Shania should use the Format Painter.
B.Merle should use the Rules Manager, and Shania should use Find and Replace.
C.Merle should use the Format Painter, and Shania should use the Rules Manager.
D. Merle should use the Format Painter, and Shania should use Find and Replace.
Answer:
Merle should use Find and Replace, and Shania should use the Format Painter.
Explanation:
It's the most logical to me.. And that's what I'm gonna do on my test. =) hope it helps.
An application's certificate indicates the application -
A is regularly updated
B cannot be removed
C is installed
D is authentic
Answer:
D. is authentic
Explanation:
Authentication can be defined as the process of verifying the identity of an individual or electronic device. Authentication work based on the principle (framework) of matching an incoming request from a user or electronic device to a set of uniquely defined credentials.
Basically, authentication ensures a user is truly who he or she claims to be, as well as confirm that an electronic device is valid through the process of verification.
Biometrics, smart cards, digital certificates, and picture passwords are various methods that can be used to perform an authentication.
Hence, an application's certificate indicates the application is authentic. These certificates are generally referred to as digital certificates.
When an end user installs a software application or program, the computer or mobile device would automatically verify the digital signature contained in the software. If the authentication process is successful, the software would be installed. Else, the installation process would be terminated.
View which is used to specify the tables fields , their data types and properties
Answer:
i am hina i am grade 12 C
Explanation:
my siater name os sana
Answer:
There are 2 basic views when you work in a table: Design View and Datasheet View. Design View is used to set the data types, insert or delete fields, and set the Primary key.
Hope it helps..
Have a great day : )
Allows input/output of audio info to and from the computer.
A. Central Processing Unit
B. Sound Card
C. Video Card
D. Audio Player
Answer:
sound card
.............
In which TWO cases would you need to format a cell in a spreadsheet that contains a number? to make sure a formula includes it in calculations to change its appearance to make it easy to visually locate it to ensure no-one can use the number in calculations to ensure no-one can hide the column that contains it
Answer:
to make sure a formula includes it in calculations to change its appearance to make it easy to visually locate it
Explanation:
Microsoft Excel is a spreadsheet application used for data analysis and visualization. The worksheet of the excel file is tabular with rows and columns. A single block of the worksheet is called a cell and holds a single item located by the row and column label.
The particular cell can be referenced in a formula using the absolute reference operator '$' with the syntax "$column-label $ row-number". The background of the cells can also be formatted to have a different color.
You are embedding a video in your Webpage. What three formats should you specify in the source
element to ensure that most browsers and devices can access your video?
a
b
MP4, MP3 and Wav
WebM, Ogg and Wav
MP4, MP3 and Ogs
MP4, WebM and Ogg
с
d
Next Page
Back
Answer:
d
Explanation:
please help me
...
....
Answer:
formal information searches
Explanation:
Answer:
informal information source
hope it will help if it helps please ask me in comment
In the Business world people are often measured by their???
A- soft skills
B- hobbies
C- iq
D- technical skills
Answer: D technical skills
1 point
Which of the following best describes the purpose of a design
specification?
help plssss!
a man takes 30 step to cover 18 metre l,how many step he will needed to cover 3003m distance
Which of the following numbers might this code generate: random.randint(1,9)?
0
10
11
1
Answer:
1
Explanation:
In Python programming language, the random.randint function is an abbreviation for random integers.
Basically, the random.randint is used for generating or creating a random integer numbers.
The syntax for this code can be written as;
A = random.randint(1,9)
Print ("Random number between 1 and 9 is % s" % (A))
Note, the numbers between 1 and 9 are 1, 2, 3, 4, 5, 6, 7, 8 and 9.
From the answer choices given (0, 1, 10 and 11), the only number that matches the requirement is 1.
Therefore, the number this code random.randint (1,9) might generate is 1.
How much mail can be
stored in each mail box?
Answer:
Most mailboxes are 1 - 4 GB with one or two larger.
Explanation:
How Much did a case of soda (any kind your choice ) cost in 2004?
PLS HELP!!!!!!
Answer:
2004 88 cents for 2 cans
Explanation:
NEED ASAP.
Which multimedia feature can be used to automatically move objects in your slides?
X transition
O animation
O clipart
O innovation
describe a tsunami when it is far from the coast
I hope it is helpful for you ......
Mark me as Brainliest ......Tsunamis are marine phenomena, created by the abrupt displacement of large amounts of water into an aquatic formation. Tsunamis manifest as waves, which travel in the deep waters of the oceans at an average speed of 756 kilometers per hour.
While in deep water the tsunami, due to its characteristics there, is not considered a serious danger to the floating structures, reaching the shores has particularly devastating consequences.
Learn more in https://brainly.com/question/15964056