answer.
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
sattari
12 days ago
12

Ellen is expecting to get a 3% raise next year. She enters .03 in cell D2 so that she can predict her monthly income for the nex

t year. What function key will make D2 an absolute reference?
Computers and Technology
You might be interested in
Create a conditional expression that evaluates to string "negative" if user_val is less than 0, and "non-negative" otherwise.
maria [1035]

Answer:

The revised code is as follows:

user_val = int(input())

cond_str = 'non-negative'  

if user_val < 0:

   cond_str = 'negative'  

print(user_val, 'is', cond_str)

Explanation:

This retrieves input for user_val

user_val = int(input())

This sets cond_str to 'non-negative'

cond_str = 'non-negative'

In cases where user_val is below 0

if user_val < 0:

Here cond_str changes to 'negative'

   cond_str = 'negative'  

This displays the intended output

print(user_val, 'is', cond_str)

4 0
3 months ago
To what extent are the following computer systems instances of artificial intelligence:
oksian1 [950]

Answer: Scanners used in supermarkets for barcodes and voice-activated phone menus are not examples of artificial intelligence.

Explanation:

(a) Supermarket barcode scanners can read codes, yet they lack the capability to employ machine learning techniques for learning patterns within the codes. Machine learning is a crucial aspect of artificial intelligence (AI), thus indicating they do not qualify as instances of AI. Likewise, voice-activated menus can only present options and do not carry out any complex tasks.

In contrast, web search engines and internet routing algorithms demonstrate dynamic and intelligent capabilities in processing and delivering information to users.

Hence, these are considered examples of AI.

8 0
3 months ago
You are given a string of n characters s[1 : : : n], which you believe to be a corrupted text document in which all punctuation
ivann1987 [1066]

Response: explained in the explanation section

Explanation:

Given that:

Assume D(k) =║ true if [1::: k] is a valid sequence of words, or false otherwise

  • In determining D(n)

the sub problem s[1::: k] is a valid sequence of words IFF s[1::: 1] is valid and s[ 1 + 1::: k] is a valid word.

Thus, we derive that D(k) is defined by the following recurrence relation:

D(k) = ║ false max(d[l] ∧ DICT(s[1 + 1::: k]) otherwise

Algorithm:

Valid sentence (s,k)

D [1::: k]             ∦ array of boolean variables.

for a ← 1 to m

do;

d(0) ← false

for b ← 0 to a - j

for b ← 0 to a - j

do;

if D[b] ∧ DICT s([b + 1::: a])

d (a) ← True

(b). Algorithm Output

      if D[k] == True

stack = temp stack            ∦stack assists in displaying the strings in order

c = k

while C > 0

stack push (s [w(c)]::: C] // w(p) denotes the index in s[1::: k] of the valid word // at position c

P = W (p) - 1

output stack

= 0 =

cheers, I hope this aids you!!!

8 0
2 months ago
This program will calculate the rise in ocean levels over 5, 10, and 50 years, Part of the program has been written for you. The
maria [1035]

Answer:

Here is the C++ code:

#include <iostream> //for utilizing input and output functions

using namespace std; //for defining objects cin cout

int main(){ //beginning of the main function

     

   double risingLevel; //declares a variable of type double to store the rising level

   cin>>risingLevel; //captures the risingLevel input from the user

   

   cout<<"Level: "<<risingLevel<<endl; //outputs the rising level

   cout << "Years: 5, Rise: " << risingLevel * 5<<endl; //outputs the increase in ocean level over 5 years

   cout << "Years: 10, Rise: " << risingLevel * 10<<endl; //outputs the increase in ocean level over 10 years

   cout << "Years: 50, Rise: " << risingLevel * 50<<endl; //outputs the increase in ocean level over 50 years

}

Explanation:

The functioning of the program is as follows:

Supposing the user inputs a rising level of 2.1, then,

risingLevel = 2.1

At that point, the first print statement (cout):

cout<<"Level: "<<risingLevel<<endl; outputs the value of risingLevel to the display. Therefore, this line shows:

Level: 2.1

Next, the program proceeds to the following statement:

   cout << "Years: 5, Rise: " << risingLevel * 5<<endl;

which calculates the increase in ocean levels for a duration of 5 years using the equation:

risingLevel * 5 = 2.1 * 5 = 10.5

It subsequently shows the calculated result on the display. So, this line shows:

Years: 5, Rise: 10.5 Then, the control shifts to the next statement:

   cout << "Years: 10, Rise: " << risingLevel * 10<<endl;

that computes the rise in ocean levels over a span of 10 years using the equation:

risingLevel * 10 = 2.1 * 10 = 21

It then showcases the calculated figure on the output screen. Thus, the output is:

Years: 10, Rise: 21

Next, the program control progresses to this statement:

   cout << "Years: 50, Rise: " << risingLevel * 50<<endl;

which determines the rise in ocean levels for a duration of 50 years using the equation:

risingLevel * 50 = 2.1 * 50 = 105

This then displays the computed result on the output screen, leading to the output:

Years: 50, Rise: 105 Consequently, the complete output from the program will be:

Level: 2.1 Years: 5, Rise: 10.5

Years: 10, Rise: 21

Years: 50, Rise: 105

4 0
1 month ago
For any element in keysList with a value greater than 50, print the corresponding value in itemsList, followed by a space. Ex: I
ivann1987 [1066]

Answer:

import java.util.Scanner;  //as referenced in the prompt.

public class ArraysKeyValue {  //as mentioned in the prompt.

public static void main (String [] args) {  //as stated in the prompt.

final int SIZE_LIST = 4; //as indicated in the prompt.

int[] keysList = new int[SIZE_LIST]; //as specified in the prompt.

int[] itemsList = new int[SIZE_LIST]; //as outlined in the prompt.

int i; //as identified in the prompt.

keysList[0] = 13; //as mentioned in the prompt.                                

keysList[1] = 47; //as stated in the prompt.

keysList[2] = 71; //as described in the prompt.

keysList[3] = 59; //as referenced in the prompt.

itemsList[0] = 12; //as mentioned in the prompt.

itemsList[1] = 36; //as stated in the prompt.

itemsList[2] = 72; //as specified in the prompt.

itemsList[3] = 54;//as indicated in the prompt.

// additional line needed to finalize the solution is as follows--

for(i=0;i<(keysList.length);i++) //Loop to access each element of keysList array variable.

    {// open for loop braces

        if(keysList[i]>50) // compare the values of keysList array variable with 50.

        System.out.println(itemsList[i]); // print the value

   }// close for loop braces.

}//  close main function braces.

} //close class braces.

Output:

72

54

Explanation:

In the resolution section--

  1. A single loop is engaged that iterates from 0 to (size-1) of the 'keyslist' array.
  2. The 'if' statement checks whether the 'keyslist' array's element exceeds 50 or not.
  3. If it does, the respective 'i' indexed item from the item_list array is printed as well, which corresponds to the higher value of the keyslist array element.

5 0
1 month ago
Other questions:
  • print_pattern() prints 5 characters. Call print_pattern() twice to print 10 characters. Example output: ***** ***** in python
    7·1 answer
  • Light travels at 3 × 108 meters per second. A light-year is the distance a light beam travels in one year.Write a PYTHON program
    14·1 answer
  • How concerned are you about the security of rtos in cars smart homes and wearable technology?
    15·1 answer
  • A computer program is tested by 5 independent tests. If there is an error, these tests will discover it with probabilities 0.1,
    5·1 answer
  • Explain what might happen if two stations are accidentally assigned the same hardware address?
    15·1 answer
  • An application specifies a requirement of 200 GB to host a database and other files. It also specifies that the storage environm
    12·1 answer
  • A business wants to centralize its administrative tasks. At the same time, it wants the existing systems to manage and sustain t
    14·2 answers
  • A competitor goes to your public website and discovers that they can get into a directory that you did not know could be reached
    10·1 answer
  • Write a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest
    13·2 answers
  • Dr. Robbins wants to know if there are different opinions regarding the value of public school education between Native American
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!