Consider three strings instr1, instr2 and instr3 having only lowercase alphabets. Identity a string outstr, with the smallest possible length such that when strings instr1, outstr and instr2 are concatenated in the same order instr3 becomes a substring of the concatenated string. Print the smallest possible length of (instr1 + outstr - instr2) satisfying the given criteria. Note: The string outstr can also be an empty string Input Format: The first second and third line contain strings instr1instr2 and instr3 respectively. Read the input from the standard input stream. Output Format: Print the smallest possible length of (instr1 + outstr + instr2) satisfying the given criteria. Print the output to the standard output stream You're Explanati CIAR Sample Output Jusuen that when strings instr 1. outstr and instr2 are concatenated in the same order instr3 becomes a substring of the concatenated string. Print the smallest possible length of (instr. outstr - instr2) satisfying the given criteria

Answers

Answer 1
10 points is nothing to answer this junk just saying

Related Questions

You are the IT administrator for a small corporate network. The employee in Office 1 needs your assistance managing files and folders. Your task is to use the command prompt to complete the following:

a. Create the D:​\​utilities​\​recover directory. Use the md or mkdir command to create (make) a directory.
b. Delete the D:​\​software​\​arch98 directory and all of its files.
c. Use the rd command to delete (remove) a directory.
d. Use the /s switch to remove the directory and all of its contents at once.

Answers

Answer:

(a) mkdir /d D:\utilities\recover    

     or

    mkdir D:\utilities\recover    

(b) rd  /s  D:​\software​\arch98

Explanation:

(a) To make a new directory we use the md or mkdir command followed by the name of the directory as follows;

mkdir [name_of_directory]

The name of the directory could also be a relative or absolute path depending on the request.

In the task, the specified directory uses an absolute path given as D:​\​utilities​\​recover. This path is in a drive D. Therefore, if you are in another drive different than D, to run this command, it is a great idea to do that with the /d switch.

In summary:

i. if in drive D, to make a directory D:\utilities\recover, type the following command;

mkdir  D:\utilities\recover    

ii. if otherwise in a different drive, type the following command.

mkdir /d D:\utilities\recover

(b) To delete a directory, we use the rd or rmdir command. If the directory has contents that also need to be deleted, we use the switch /s alongside the rd or rmdir.

In the task given, the directory to be deleted is D:\software\arch98. This includes deleting all of its files too. To do this, type the following command;

rd /s D:\software\arch98

Select the correct answer. Which input device uses optical technology?
A. barcode reader
B. digital pen
C. digital camera
D. joystick​

Answers

Answer:

barcode reader is the correct answer

Although it is not a term Excel uses, how do most people think of Excel?

Answers

Answer:

People think of Excel as a Spreadsheet.

How could you use your technology skill and Microsoft Excel to organize, analyze, and compare data to decide if a specific insurance is a good value for the example you gave

Answers

Answer:

The summary of the given question would be summarized throughout the below segment.

Explanation:

"Insurance firms voluntarily assume our charge probability," implies assurance undertakings will compensate including all our devastations throughout respect of products for something we have health coverage and that the vulnerability for both would be equivalent.If somehow the client receives significant losses, the firm must compensate that kind of money as well as, if there are no failures, it can invest earnings or rather an investment.

Write an algorithm that accepts two numbers,
divide the first number by the second and display the
quotient

Answers

Let’s write the algorithm in the form of a pseudocode!

Pseudocode:Quotient_of_Two_Number
Declare: num1, num2, quotient
START
Display (Enter a number)
Read num1
Display (Enter a number)
Read num2
quotient = num1/num2
Print (“Quotient”)
STOP

For the following machine code expressed in hexadecimal, write the corresponding MIPS assembly instruction. Note: in case of branch or jump instructions, you should write the target address in hexadecimal notation in the MIPS assembly instruction. e.g., j 0x00000016.

Machine code:0x08100008
Assembly instruction:??

Answers

Answer:

Assembly instruction is j 0x00400020

Explanation:

j 0x00400020

EXPLAINATION-

GIVEN Machine Code = 0x 0 8 1 0 0 0 0 8

Step 1:

Now convert 0 8 1 0 0 0 0 8 Each digit to Binary

= 0000 1000 0001 0000 0000 0000 0000 1000

= 000010 00000100000000000000001000

000010 is opcode of j instruction

we are left with

0000 0100000000000000001000

Step 2:

Add two zeroes to right

0000 0100 0000 0000 0000 0010 0000

Step 3:

Remove 4 highest bit

0100 0000 0000 0000 0010 0000

Decimal of it is 4194336

Step 4:

Now convert it into Hexadecimal

we get 400020

So Assembly instruction is j 0x00400020

j 0x00400020

.......................................................................................................................................................................

how to make an app according to peoples will

Answers

Answer:

Follow these steps to create your own app:

1)Choose your app name.

2)Select a color scheme.

3)Customize your app design.

4)Choose the right test device.

5)Install the app on your device.

6)Add the features you want (Key Section)

7)Test, test, and test before the launch.

8)Publish your app.

Explanation:

(!!_!!)

Select which is true for for loop​

Answers

Answer:

i dont understand what you mean and what you are asking in the qestion

Explanation:

_ is a term used for license like those issues by creative commons license as an alternative to copyright

Answers

, . , .

Explanation:

'

Write an application that inputs a five digit integer (The number must be entered only as ONE input) and separates the number into its individual digits using MOD, and prints the digits separated from one another. Your code will do INPUT VALIDATION and warn the user to enter the correct number of digits and let the user run your code as many times as they want (LOOP). Submit two different versions: Using the Scanner class (file name: ScanP2)

Answers

Answer:

The program in Java is as follows:

import java.util.*;

public class Main{

public static void main(String[] args) {

 int n, num;

 Scanner input = new Scanner(System.in);

 System.out.print("Number of inputs: ");

 n = input.nextInt();

 LinkedList<Integer> myList = new LinkedList<Integer>();

 for(int i = 0; i<n;i++){

     System.out.print("Input Integer: ");

     num = input.nextInt();

     while (num > 0) {

     myList.push( num % 10 );

     num/=10;

     }

     while (!myList.isEmpty()) {

         System.out.print(myList.pop()+" ");

     }

     System.out.println();

     myList.clear();

 }

}

}

Explanation:

This declares the number of inputs (n) and each input (num) as integer

 int n, num;

 Scanner input = new Scanner(System.in);

Prompt for number of inputs

 System.out.print("Number of inputs: ");   n = input.nextInt();

The program uses linkedlist to store individual digits. This declares the linkedlist

 LinkedList<Integer> myList = new LinkedList<Integer>();

This iterates through n

 for(int i = 0; i<n;i++){

Prompt for input

     System.out.print("Input Integer: ");

This gets input for each iteration

     num = input.nextInt();

This while loop is repeated until the digits are completely split

     while (num > 0) {

This adds each digit to the linked list

     myList.push( num % 10 );

This gets the other digits

     num/=10;

     }

The inner while loop ends here

This iterates through the linked list

     while (!myList.isEmpty()) {

This pops out every element of thelist

         System.out.print(myList.pop()+" ");

     }

Print a new line

     System.out.println();

This clears the stack

     myList.clear();

 }

What is computer code?
A. Java Script
B. XML
C. HTML
D. Any programming language

Answers

Answer:

D

Explanation:

Frames control what displays on the Stage, while keyframes help to set up

Answers

Answer: A keyframe is a location on a timeline which marks the beginning or end of a transition. So for example, you have a movie and it transitions to another scene, keyframes tell it when and where to start the transition then when and where to stop the transition.

As a CISO, you are responsible for developing an information security program based on using a supporting framework. Discuss what you see as some major components of an information security program.

Answers

Answer:

The CISO (Chief Information Security Officer) of an organization should understand the following components of an information security program:

1) Every organization needs a well-documented information security policy that will govern the activities of all persons involved with Information Technology.

2) The organization's assets must be classified and controlled with the best industry practices, procedures, and processes put in place to achieve the organization's IT objectives.

3) There should be proper security screening of all persons in the organization, all hardware infrastructure, and software programs for the organization and those brought in by staff.

4) Access to IT infrastructure must be controlled to ensure compliance with laid-down policies.

Explanation:

As the Chief Information Security Officer responsible for the information and data security of my organization, I will work to ensure that awareness is created of current and developing security threats at all times.  I will develop, procure, and install security architecture, including IT and network infrastructure with the best security features.  There will good management of persons' identity and controlled access to IT hardware.  Programs will be implemented to mitigate IT-related risks with due-diligence investigations, and smooth governance policies.

The use of Quick Styles is a great way to save
a. money
b. grades
C. time
d. files
Please select the best answer from the choices provided
Ο Α
B

Answers

I believe the best answer choice is A money.

Answer:

c

Explanation:

trust

When a sentinel is used in a (______/posttest) loop to validate data, the loop repeats as long as the input is (valid/______). pretest, invalidPress enter after select an option to check the answer posttest, invalidPress enter after select an option to check the answer pretest, validPress enter after select an option to check the answer posttest, valid

Answers

Answer:

When a sentinel is used in a (pretest/post test) loop to validate data, the loop repeats as long as the input is (valid/invalid).

Explanation:

Required

Fill in the gaps

Sentinel are used to validate or invalidate loops (pretest and post test loops).

Since , some parts of the brackets have aready been filled, we simply complete the blanks with the opposite of the term in the bracket. i.e. the opposite of post test is pretest and the opposite of valid is invalid.

So, the blanks will be filled with pretest and invalid.

What is the meaning of negative impact in technology

Answers

Answer:

the use of criminal thought by the name of education

seven and two eighths minus five and one eighth equals?

Answers

Answer: 2.125

Explanation

is defined as the condition in which all of the data in the database are consistent with the real-world events and conditions

Answers

[tex]\boxed{Data \:anomaly}[/tex] is defined as the condition in which all of the data in the database are consistent with the real-world events and conditions.

[tex]\red{\large\qquad \qquad \underline{ \pmb{{ \mathbb{ \maltese \: \: Mystique35}}}}}[/tex]

Choose a topic related to a career that interests you and think about how you would research that topic on the Internet. Set a timer for fifteen minutes. Ready, set, go! At the end of fifteen minutes, review the sources you have recorded in your list and think about the information you have found. How w

Answers

Answer:

Following are the solution to the given question:

Explanation:

The subject I select is Social Inclusion Management because I am most interested in this as I would only enhance my wide adaptability and also people's ability to know and how I can manage and understand people.

Under 15 min to this location. The time I went online but for this issue, I began collecting data on the workability to tap, such as a connection to the monster, glass doors, etc.

For example. At example. I get to learn through indeed.com that the HR manager's Avg compensation is about $80,600 a year. I can gather from Linkedin data about market openings for HR at tech companies like Hcl, Genpact, etc. Lenskart has an HR director open vacancy.

This from I learns that for qualified practitioners I have at least 3 years experience in the management of human resources & that I need various talents like organizing, communications, technical skills, etc.

which function would ask excel to average the values contained in cells C5,C6,C7, and C8

Answers

Answer:

=AVERAGE(C5:C8)

Explanation:

The function calculates the average of the values in the cell range C5:C8 - C5, C6, C7, C8.

Which of the following statements regarding the SAP Hana product implemented by Under Armour is NOT true?
A. All of the statements are true.
B. The program allows legacy silos to remain intact.
C. The program can run across platforms and devices.
D. The program provides real-time results.

Answers

Answer:A

Explanation:i need points

Used for monitoring web activity by users to make sure that sensitive information won't leave the building.

A, Web server
B, FTP server
C, POP server
D, Proxy server ​

Answers

Answer: PROXY

Explanation:

The basic objective of the web server is to store, process and deliver web pages to the users.

FTP server is to allow users to upload and download files. An FTP server is a computer that has a file transfer protocol (FTP) address and is dedicated to receiving an FTP connection. FTP is a protocol used to transfer files via the internet between a server (sender) and a client (receiver)

pop provides access via an Internet Protocol (IP) network for a user client application to a mailbox (maildrop) maintained on a mail server

proxy server is a system that isolates internal clients from the servers by downloading and storing files on behalf of the clients. it intercepts requests for web-based or other resources that come from

What does the abbreviation BBC stands for?

Answers

Answer:

British Broadcasting Corporation Microcomputer System

Explanation:

The British Broadcasting Corporation Microcomputer System, or BBC Micro, is a series of microcomputers and associated peripherals designed and built by the Acorn Computer company in the 1980s for the BBC Computer Literacy Project.

Answer:

British Broadcasting Corporation

Explanation:

This is a UK company which provides television and radio news in over 40 languages. This is the computer related meaning, there are other meanings to the abbreviation but they seem irrelevant in this case.

Hope this information was of any help to you. (:

Write a program that accepts inputs, outputs them and exits correctly when - 1
is pressed

Answers

Answer:

Explanation:

The following program is written in Python. It simply creates an endless loop that continously asks the user for an input. If the input is not -1 then it outputs the same input, otherwise it exists the program correctly. A test output can be seen in the attached image below.

while True:

   answer = input("Enter a value: ")  

   if answer != "-1":

       print(answer)

   else:

       break

1.               The smallest unit in a digital system is a​

Answers

Answer:

a bit

Explanation:

<3

Assign sum_extra with the total extra credit received given list test_grades. Iterate through the list with for grade in test_grades:. The code uses the Python split() method to split a string at each space into a list of string values and the map() function to convert each string value to an integer. Full credit is 100, so anything over 100 is extra credit.Sample output for the given program with input: '101 83 107 90'Sum extra: 8(because 1 + 0 + 7 + 0 is 8)user_input = input()test_grades = list(map(int, user_input.split())) # test_grades is an integer list of test scoressum_extra = 0 # Initialize 0 before your loop''' Your solution goes here '''print('Sum extra:', sum_extra)

Answers

Answer:

Replace ''' Your solution goes here '''

With

for i in test_grades:

   if i > 100:

       sum_extra+=i - 100

Explanation:

This iterates through the list

for i in test_grades:

This checks for list elements greater than 100

   if i > 100:

The extra digits (above 100) are then added together

       sum_extra+=i - 100

In this module you learned about advanced modularization techniques. You learned about the advantages of modularization and how proper modularization techniques can increase code organization and reuse.
Create the PYTHON program allowing the user to enter a value for one edge of a cube(A box-shaped solid object that has six identical square faces).
Prompt the user for the value. The value should be passed to the 1st and 3rd functions as arguments only.
There should be a function created for each calculation
One function should calculate the surface area of one side of the cube. The value calculated is returned to the calling statement and printed.
One function should calculate the surface area of the whole cube(You will pass the value returned from the previous function to this function) and the calculated value results printed.
One function should calculate the volume of the cube and print the results.
Make a working version of this program in PYTHON.

Answers

Answer:

Following are the code to the given question:

def getSAOneSide(edge):#defining a method that getSAOneSide that takes edge patameter

   return edge * edge#use return to calculate the edge value

def getSA(SA_one_side):#defining a method that getSA that takes SA_one_side patameter

   return 6 * SA_one_side#use return to calculate the SA_one_side value

def volume(edge):#defining a method that volume that takes edge patameter

   return edge * edge * edge#use return to calculate edge value

edge = int(input("Enter the length of edge of the cube:\n"))#defining edge variable that input value

SA_one_side = getSAOneSide(edge)#defining SA_one_side that holds getSAOneSide method value

print("Surface area of one side of the cube:", SA_one_side)

surfaceArea = getSA(SA_one_side)#defining a surfaceArea that holds getSA method value

print("Surface area of the cube:", surfaceArea)#print surfaceArea value

vol = volume(edge)#defining vol variable that holds Volume method value

print("Volume of the cube:", vol)#print vol Value

Output:

Please find the attached file.

Explanation:

In the code three method "getSAOneSide, getSA, and volume" method is declared that takes a variable in its parameters and use a return keyword that calculates and return its value.

In the next step,edge variable is declared that holds value from the user and defines three variable that holds method value and print its value with the message.

Exercise#1: The following formula gives the distance between two points (x1, yı) and (x2, y2) in the Cartesian plane:
[tex] \sqrt{(x2 - x1) ^{2} + (y2 - y1) ^{2} } [/tex]
Given the center and a point on circle, you can use this formula to find the radius of the circle. Write a C++ program that prompts the the user to enter the center and point on the circle. The program should then output the circle's radius, diameters, circumference, and area. Your program must have at least the following methods: findDistance: This mehod takes as its parameters 4 numbers that represent two points in the plane and returns the distance between them. findRadius: This mehod takes as its parameters 4 numbers that represent the center and a point on the circle, calls the method findDistance to find the radius of the circle, and returns the circle's radius. circumference: This mehod takes as its parameter a number that represents the radius of the circle and returns the circle's circumference. area: This mehod takes as as its parameter a number that represents the radius of the circle and returns the circle's area. .​

Answers

Ddgdgdgdfdgdfdgdgdgdgdgdgdgdggdgdgdgdgg

LAB: Divide input integers
Write a program using integers userNum and divNum as input, and output userNum divided by divNum three times. Note: End with a newline.
Ex: If the input is:
2000 2
the output is:
1000 500 250
Note: In Java, integer division discards fractions. Ex: 6 / 4 is 1 (the 0.5 is discarded).
import java.util.Scanner;
public class LabProgram {
public static void main(String[] args) {
/* Type your code here. */
}
}
(My professor wants us to use this temple and I'm not sure how I should start typing the code were it says "type code here". I've tried differnt forms like the one provided below but they all have errors according to the program. it tells me that i have to place ; .
import java.util.Scanner;
public class LabProgram {
public static void main(String[] args) {
userNum= int(input())
divNum= int(input())
# calculating the division three times
userNum=userNum//divNum
#i have used end=' ' so that it does not produce new line
# instead of that it produce space
print(userNum,end=' ')
userNum=userNum//divNum
print(userNum,end=' ')
userNum=userNum//divNum
print(userNum,end=' ')
}
}
Errors:
Program errors displayed here
LabProgram.java:5: error: '.class' expected userNum= int(input()) ^ LabProgram.java:5: error: ';' expected userNum= int(input()) ^ LabProgram.java:6: error: '.class' expected divNum= int(input()) ^ LabProgram.java:6: error: ';' expected divNum= int(input()) ^ LabProgram.java:7: error: illegal character: '#' # calculating the division three times ^ LabProgram.java:7: error: ';' expected # calculating the division three times ^ LabProgram.java:7: error: ';' expected # calculating the division three times ^ LabProgram.java:9: error: illegal character: '#' #i have used end=' ' so that it does not produce new line ^ LabProgram.java:9: error: ';' expected #i have used end=' ' so that it does not produce new line ^ LabProgram.java:9: error: ';' expected #i have used end=' ' so that it does not produce new line ^ LabProgram.java:9: error: ';' expected #i have used end=' ' so that it does not produce new line ^ LabProgram.java:9: error: ';' expected #i have used end=' ' so that it does not produce new line ^ LabProgram.java:9: error: ';' expected #i have used end=' ' so that it does not produce new line ^ LabProgram.java:10: error: illegal character: '#' # instead of that it produce space ^ LabProgram.java:10: error: ';' expected # instead of that it produce space ^ LabProgram.java:10: error: ';' expected # instead of that it produce space ^ LabProgram.java:10: error: ';' expected # instead of that it produce space ^ LabProgram.java:11: error: ';' expected print(userNum,end=' ') ^ LabProgram.java:12: error: ';' expected userNum=userNum//divNum ^ LabProgram.java:13: error: ';' expected print(userNum,end=' ') ^ LabProgram.java:14: error: ';' expected userNum=userNum//divNum ^ LabProgram.java:15: error: ';' expected print(userNum,end=' ') ^ 22 errors

Answers

Mark Brainliest please


Answer:
# The user is prompted to enter number as dividend
# The received number is assigned to userNum
userNum = int(input("Enter the number you want to divide: "))
# The user is prompted to enter number as divisor
# The divisor is assigned to x
x = int(input("Enter the number of times to divide: "))
# divideNumber function is defined to do the division
def divideNumber(userNum, x):
# counter is declared to control the loop
counter = 1
# the while-loop loop 3 times
# the division is done 3 times
while counter <= 3:
# integer division is done
# truncating the remainder part
userNum = userNum // x
# the result of the division is printed
print(userNum, end=" ")
# the counter is incremented
counter += 1
# the divideNumber function is called
# the received input is passed as parameter
# to the function
divideNumber(userNum, x)
# empty line is printed
print("\n")
Explanation:
The // operator in python works like the / operator in C. The // operator returns only the integer part of division operation. For instance 6 // 4 = 1. The fraction part is discarded

In the given code you include two languages, that's why it will give the error messages, and for better understanding, we give the program into two languages:

Following are the Java and Python Program to these questions:

Java Program:

import java.util.*;//import package

public class LabProgram  //defining a class LabProgram  

{

public static void main(String[] ar)//defining main method  

{

int userNum,divNum;//defining integer variable

Scanner on=new Scanner(System.in);//defining Scanner class Object for user-input

userNum=on.nextInt();//input value

divNum=on.nextInt();//input value

for(int i=0;i<3;i++)//defining loop to divide value 3 times

{

userNum=userNum/divNum;//dividing userNum by divNum and store its value into userNum

System.out.println(userNum);//print userNum value

}

}

}

Python Program:

userNum= int(input())#input integer value

divNum= int(input())#input integer value

# calculating the division three times

userNum=userNum//divNum#using userNum that divides userNum by divNum and store its value

print(userNum)#print userNum value

userNum=userNum//divNum#using userNum that divides userNum by divNum and store its value

print(userNum)#print userNum value

userNum=userNum//divNum#using userNum that divides userNum by divNum and store its value

print(userNum)#print userNum value

Output:

Please find the attached file.

Learn more:

brainly.com/question/21661364

How do you find the average length of words in a sentence with Python?

Answers

Answer:

split() wordCount = len(words) # start with zero characters ch = 0 for word in words: # add up characters ch += len(word) avg = ch / wordCount if avg == 1: print "In the sentence ", s , ", the average word length is", avg, "letter." else: print "In the sentence ", s , ", the average word length is", avg, "letters.

Other Questions
what is the kinetic energy of a ball sitting in top of a hill? First, Diana scores 12 points in total with three arrows. On her second turn, she scores 15 points. How many points does she score on her third turn? The difference of two positive numbers is 14. The larger is twice the smaller decreased by 4. Find the two numbers.X (smaller value)X (larger value) Elias read a book about California earthquakes. He then wrote a three-paragraph report about the book. Which of the following active readingstrategies did Elias use?A. Making mental imagesB. Drawing inferencesC. SummarizingD. Making predictions What is one way in which a field investigation can differ from a classroom or laboratory experiment? Please help me!!!!!!!!!!!!!!!! what animal has the strongest sense smell Use the image to answer the question.49. Which environmental challenge does the image illustrate? (1 point)O acid rain destruction as a result of harmful emissionsO deforestation as a result of developmentO desertification from global warmingO ground and water pollution from factory runoff Ciara is naking a new outfit she needs 2 1/2 yards of the fabric for the shawl and 1 3/4 yards of fabric for the dress. If she has 3 yards of fabric,how much more does she needs?If the dance outfit is charged at $16 per yard how much will the dance outfit cost Describe the four states of matter. es verdadero o falso que El oxgeno pasa desde los alveolos hacia la sangre que est en los capilares que los rodean Can i plz get some help been stuck for whileWhat is the volume of the shape shown Jacob buys 8 copies of a book for presents for friends. It costs her a total of $119.60. Write an equation that can be used to find out how much each book, b, was sold for. Please hurry Find the value of cos P rounded to the nearest hundredth, if necessary CAN SOMEONE HELP ME WITH THIS PLEASE AND THANK YOU. Look at the area of the map indicated below. Which civilization developed inthis part of the world during the classical era?A. The Mauryan EmpireB. The Maya civilizationC. Greek city-statesD.The han dynasty Which of the following is NOT an optional service? rustproofingfabric protectantskeyless startmanufacturer's warranty The base of a solid is a circular disk with radius 4. Parallel cross sections perpendicular to the base are squares. Find the volume of the solid. A car can travel 76 miles on 4 gallons of gasoline. How far can it travel on 8gallons? If you apply the changes below to the cubic parent function, F(x)=x3, what is the equation of the new function if it reflects across the y-axis and vertically stretches by multiplying by 7