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
ZanzabumX [31]
4 years ago
5

Fill in each blank with the correct answer/output.

Computers and Technology
1 answer:
borishaifa [10]4 years ago
4 0

Answer:

37

Explanation:

Given int[] vals = {7,5,3,9,0,37,93,16,68,6,99};

In programming, the position of each value in the list are known as index. The first value is always assigned index of 0 not 1, the second value is assigned index of 1 and so on. For example;

val[0] = 7 i.e value with index 0

val[1] = 5

val[4] = 0

In order to print out this value

System.out.println(vals[vals[1]+vals[4]]);

Substituting the index value val[1] and val[4] into the argument given

vals[vals[1]+vals[4]]

= vals[5+0]

= vals[5]

= 37 (value at the 5th index)

System.out.println(vals[vals[1]+vals[4]]);

= 37

This means that the system will print out 37 to the console

You might be interested in
In an object-oriented approach, functions used to carry out subtasks are also called ____.
kotegsom [21]
<span>In object-oriented approach, functions used to carry out subtasks are also called "helper" functions, because they are usually used by other functions in the object to complete "sub-tasks". Functions are also known as â€methods’. When the task to be carried out by an object is complicated, it is preferable to break it into subtasks or subroutines. It is accomplished by helper functions. They may or may not accept data and may or may not return a value.</span>
6 0
4 years ago
Explain why binary codes are used to represent characters, numbers and symbols :)
guajiro [1.7K]
Binary (base 2) is much easier to encode on a hard drive as it only has two states, whereas letters, numbers and symbols can be one of hundreds.
8 0
3 years ago
Read 2 more answers
A) Explain 3 phase Alternative Current with aid of diagram.​
Vinil7 [7]

Three-phase electric power is a common method of alternating current electric power generation, transmission, and distribution. It is a type of polyphase system and is the most common method used by electrical grids worldwide to transfer power. It is also used to power large motors and other heavy loads.

A three-wire three-phase circuit is usually more economical than an equivalent two-wire single-phase circuit at the same line to ground voltage because it uses less conductor material to transmit a given amount of electrical power. Polyphase power systems were independently invented by Galileo Ferraris, Mikhail Dolivo-Dobrovolsky, Jonas Wenström, John Hopkinson and Nikola Tesla in the late 1880s.

3 0
3 years ago
Which of following moves the text typed within a field away from the edges of the box?
horrorfan [7]
The most accurate answer is

Padding

An interesting thing to know is
Padding is part of the program CSS it stands for (***Cascading Style Sheets***)
So as you know now a padding generates space.
The way it works is simple
You either pad ← or →

Glad to help :)
7 0
3 years ago
User defined blocks of code can be created in
lys-0071 [83]
D....................
8 0
3 years ago
Other questions:
  • When an IPv6 device with no pre-configured IPv6 address powers up, it can calculate a global 128-bit IPv6 address for itself usi
    12·1 answer
  • which of the following is involved in ordering an outline. A.grouping B.merging C.organizing D.arranging
    10·1 answer
  • You run anti-virus software on your computer; however, you are experiencing symptoms that may be caused by a virus. What should
    13·1 answer
  • Briefly define "address space" and discuss its major tradeoffs (advantages/costs). What problem is it addressing?
    10·1 answer
  • A radiologist’s computer monitor has higher resolution than most computer screens. Resolution refers to the:______
    15·1 answer
  • Marissa, a 21-year-old young woman, is working as an intern at a software company. She has recently graduated from college. She
    6·1 answer
  • To always see the header row with scrolling through long worksheets, you would use the ______ command.
    8·1 answer
  • How do you access the Control Panel?
    7·1 answer
  • What is the decrypted binary
    9·1 answer
  • Which control program flow options runs to the end of the code block and resumes the break mode at the statement that follows?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!