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
allochka39001 [22]
3 years ago
7

Match the data type to the given data.

Computers and Technology
1 answer:
guapka [62]3 years ago
7 0
Float: 26.2
Array: c, o, m, p, u, t, er
Boolean: false
Character: c
You might be interested in
Write a recursive, int-valued method, len, that accepts a string and returns the number of characters in the string.
marin [14]

Answer:

See Explanation Below

Explanation:

We name our recursive function to be "len" without the quotes

Also, the string whose length is to be calculated is named as StringCalc

Please note that only the function is written; the main method is omitted and it's written in Java Programming Language

The recursive function is as follows:

public int len(String StringCalc){

// Check if StringCalc is an empty string

if (StringCalc.isEmpty())

{

return 0;

}

// If otherwise; i.e. if StringCalc is not empty

else{

// Calculate length of string

int lengths = StringCalc.length();

// Return the length of string from the second character till the last

return (1 + len(StringCalc.substring(1, lengths)));

}

}

// End

The first line of the code declares the recursive function

public int len(String StringCalc)

The next line checks if the input string is empty

if (StringCalc.isEmpty())

This can also be written as

if(StringCalc == "")

If the above is true, the recursive returns the value of 0

Else; (i.e. if it's not an empty string), it does the following

It calculates the length of the string as follows

int lengths = StringCalc.length();

The length of the string is saved in variable "lengths"

Then the length of the string starting from the second character is calculated; since the index string is taken as 0, the recursive consider character at index 1 till the last index.

7 0
3 years ago
A production house needs an operating system that captures saves and generates information within a specific time. Which type of
marissa [1.9K]

Answer:

Real-time operating system

Explanation:

A firm that needs an operating system (OS) that captures, saves, and generates information within specific time needs a real-time operating system (RTOS). Processing with an RTOS must be done within the defined constraints or the system will fail.

I hope the answer is helpful.

Thanks for asking.

7 0
3 years ago
What technology has had the most significant influence on engineering?
Lorico [155]
The wheel (: would be the correct answer
5 0
3 years ago
What is the consequence of not having a good hashing function?
omeli [17]

Answer:

A good hash function maps the key value pair with minimal collisions. When the hash function is not good there are frequent collisions in the mapping of the key value pair.

Collision means that if there is a key present in the container already with some value.If the hash function again maps the same key with different value at the same location in the container that previous key was present.

7 0
3 years ago
An argument does not always have to be made in words. A piece of music
mixas84 [53]

Answer:

B. emotional

Explanation:

An emotional argument. An argument does not always have to be made in words.

4 0
3 years ago
Other questions:
  • After Intel faced strong shifts in technologies, such as cloud services, social networking, mobile devices, etc., Intel realized
    11·1 answer
  • A number used to encrypt data is called a(n ________. signature key cookie escrow
    10·1 answer
  • Please help me out with my essay
    15·1 answer
  • While recording a voice, if the narration is large,it is better to make a :a)a linked object b)an embedded object c)none d)does
    14·1 answer
  • g (Locate the largest element) Write the following method that returns the location of the largest element in a two-dimensional
    11·1 answer
  • PLS HELP IMEDIATELY!!!!!
    15·2 answers
  • Greg is the purchasing manager at a jeans-manufacturing company. He knows he could save his company money by using cheaper, thin
    13·1 answer
  • Which is the least technically experienced technical support group?
    7·1 answer
  • Computer Hardware and Maintenance
    5·1 answer
  • HELPPPPPOOP
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!