In rolling a die four times, what is the odds that at least one 5 would appear?

Answers

Answer 1

Answer:

The probability that at least one 5 will appear in 4 rolls of die equals [tex]\frac{671}{1296}[/tex]

Explanation:

The given question can be solved by Bernoulli's trails which states that

If probablity of success of an event is 'p' then the probability that the event occurs at least once in 'n' successive trails equals

[tex]P(E)=1-(1-p)^{n}[/tex]

Since in our case the probability of getting 5 on roll of a die equals 1/6 thus we have p = 1/6

Applying the values in the given equation the probability of success in 4 rolls of die is thus given by

[tex]P(E)=1-(1-1/6)^{4}=\frac{671}{1296}[/tex]


Related Questions

Which of the following is a/are question(s) that you should ask before you create an Access report?

What is the purpose of the report?
Who will use the report?
How will the report be distributed?
All the above questions should be asked

Answers

Answer: All the above questions should be asked

Explanation:  Access report are the reports in access which provides the summarized and formatted information display in database. The information in the database is extracted from tables.The access report requires purpose of the report before preparation and the accessing users information to be known .

It is asked to make sure about that no unauthorized access of the report can take place. Distribution of the report among the other user or client is also a major question to be asked as to keep the record of the accessing of access report..Thus, all the question mentioned in the options are correct.

What is the management part of a dashboard?

Answers

Answer:

 The management dashboard is the visual and display the KPI ( Key performance indicator) and metrics for monitoring the specific process and department.

It is basically used for checking whether the organization achieve or meet its specific goals not as per the requirement of the particular department in the organization.

The main part of the management dashboard is that it provide the visibility and alignment in the particular organization so that it meets according to the requirements of the organization. The basic requirement in the organization are:

Business user Organization needsInformation technology (IT) needs

Final answer:

The management part of a dashboard offers tools for monitoring, analyzing, and reporting on business performance, including real-time data, customizable widgets, and interactive features to strategically manage operations.

Explanation:

The management part of a dashboard is critical to business operations as it provides a visual representation of key performance indicators (KPIs) and metrics to help managers make informed decisions. This component typically includes tools and functionalities that allow for monitoring, analyzing, and reporting on various aspects of business performance.

Dashboards can also feature real-time data updates, customizable widgets, and interactive capabilities to manage operations effectively. For instance, a sales dashboard may contain management features like tracking sales targets, customer acquisition costs, and response times to customer inquiries, which enable leaders to manage their teams and resources strategically.

Some worms are specifically written to take advantage of newly discovered ____ in operating systems and e-mail programs before the security patch to correct that vulnerability is available.

scripts
applets
file indexes
security holes

Answers

Answer: Security holes

Explanation: Security holes are the patches in the form of vulnerabilities that occur in the antivirus software and other such software that can lead to the hacking or attacking of the system. Security holes are filled in with update as quick repair solution. During this repairing, worms as a malicious  element attacks the system.

Other options are incorrect because scripts is type of language ,applets are small applications and the files index is the index holding the data of files.Thus the correct option is security holes.

How is a microkernel architecture different from a monolithic architecture?

Answers

Answer:

The monolithic kernel is a bigger process that run in a unique memory address. All the kernel services run over the kernel space.

In micro kernel it get split in services in different memory spaces. Each one run in it own space.

Explanation:

Advantages:

    1. Monolithic:

Faster processing

    2. Micro:

crash proof

A logical DFD shows:

Select one:

a. how a process is performed.

b. the groups of entities logically involved in a business process.

c. the methods for performing activities in a process.

d. the logical grouping of activities in a business process.

e. none of the above.

Answers

Answer:d)the logical grouping of activities in a business process.

Explanation: The logical data flow diagram is the diagram that displays or represents the business related activities.They has easily understandable concept which can be acknowledged by technical as well as non-technical people.They help in providing the data/information by connecting and communicating.

Other options are incorrect because it does not show the process or methods for performing activities neither it works in the form of entities collection in a business..Thus the correct option is option (d).

To copy a list you can use this. list2 = list1[ : ]

True or False

Answers

Answer:

True.

Explanation:

The colon in square brackets is used to subsetting the list.

for example list1=[1,2,4,6,2,5]

print(list1[3:5])

This will print 6 ,2

Because it means the list from index 3 to 4 the last value is not inclusive.So if you write [:] it means the whole list and in the question we are assigning it to list2.So all the values from list1 will be copied to list2.

."How is social media influencing web applications and development?"

Answers

Answer:

Social media plays a vital role in today's era, it tends to influence the web applications and their development in several ways possible, such as:

Most of the business organizations tend to have a presence on a social media platform and that is considered to be a great way of letting individuals know about your commodities, since most of the people have access to internet.  This is considered one of the reasons that most of the websites created have icons of  different social media platforms that the organization has presence on. The tendency to use icons in order to project which social platform an organization is on is turning out to be more vital for many websites today.

Final answer:

Social media platforms like are reshaping web development, with a strong influence on the dissemination of information, including political discourse.

Explanation:

Social media is significantly influencing web applications and development, reshaping how they interact with users and how content is delivered. Platforms like Face-book and Twi-tter have become central to disseminating information, including political discourse, news, and general public communication. The extensive reach of these platforms raises critical questions about their influence on political information, elections, and public policy.

Social media's impact on web development is evident in the proliferation of features that promote social sharing and connectivity. Features such as liking, sharing, and comments sections are now standard on various web applications, driven by the desire to increase user engagement and time spent on sites. Beyond these features, the backbone technologies of the internet, like Cloud Computing, are being harnessed to support the massive amounts of data generated and shared via social media.

Which of the following are not valid assignment statements? A) total = 9;
B) 72 = amount;
C) yourAge = myAge;

Answers

Final answer:

Option B (72 = amount;) is not a valid assignment statement because a constant value cannot be assigned to another value, whereas valid statements involve assigning values to variables.

Explanation:

The question is asking which of the given assignment statements in the context of a programming language is not valid. An assignment statement typically involves assigning a value to a variable.

The correct answer among the options provided is:

B) 72 = amount; This is not a valid assignment statement because in most programming languages, the value or expression on the right is assigned to the variable on the left. Since '72' is a constant value and not a variable, it cannot be assigned a value.

On the other hand, options A and C are valid assignment statements:

A) total = 9; - This is valid because 'total' is a variable that can be assigned the value of '9'.C) yourAge = myAge; - This is also valid as one variable, 'yourAge', is being assigned the value of another variable, 'myAge'.

Which method call converts the value in variable stringVariable to an integer?

Integer.parseInt( stringVariable );
Convert.toInt( stringVariable );
Convert.parseInt( stringVariable );
Integer.toInt( stringVariable );

Answers

Answer:

The correct answer for the given question is Integer.parseInt( string variable );

Explanation:

Integer.parseInt( string variable ); is the method in a java programming language that convert the string into the integer value. It takes a string variable and converted into the integer.

Following are the program in java which convert the string value into an integer value.

class Main  

{

 public static void main(String []args) // main function

{

   String str1 = "10009";

// variable declaration

   int k = Integer.parseInt(str1);

// convert the string into integer.

   System.out.println("Converted into Int:" + k);

}

}

Output:

Converted into Int:10009

Convert.toInt( stringVariable );

Convert.parseInt( stringVariable,Integer.toInt( stringVariable ); are not any method to convert the string into integer .

Therefore the correct answer is :Integer.parseInt( stringVariable );

If the variable letter has been defined as a char variable, which of the following are not valid assignment statements to assign letter w to the variable?
A) letter = w;
B) letter = 'w';

C) letter = "w";

Answers

Answer:

The correct answer for the given question is option(A) and option(C) .

Explanation:

To declared any variable of character we using following syntax

char variable=' value';

char  letter='w';

In option(A)  their is no single quotes between character w .So this is not a valid assignment.

In option(C) their is double quotes between character w,no single quotes  between character w .So this is not a valid assignment.

In option(B) their is single quotes between character w .So this is a valid assignment.

So option(A) and option(C) are are not valid assignment statement.

A) Valid if `w` is a `char` variable.

B) Valid (`'w'` is a `char` literal).

C) Invalid (`"w"` is a `String`, not a `char` literal).

In Java, a `char` variable can only be assigned a single character enclosed in single quotes (e.g., `'a'`, `'b'`, `'w'`). Therefore, valid assignment statements must adhere to this rule.

Let's analyze each option:

A) `letter = w;`

- This statement assumes `w` is a variable holding a `char` value. If `w` is not declared as a `char` and does not represent a valid character literal, this assignment will cause a compilation error.

B) `letter = 'w';`

- This is a valid assignment statement. `'w'` is a character literal representing the character 'w'. It matches the type `char`.

C) `letter = "w";`

- This statement uses double quotes, which in Java denote a `String` literal, not a `char` literal. Therefore, this assignment will cause a compilation error because you cannot directly assign a `String` to a `char` variable.

Conclusion:

The assignment statement that is not valid to assign the letter 'w' to a `char` variable in Java is **C) `letter = "w";`**.

Consider a class ClassName whose methods are listed below. What class is it?

ClassName(){...}
boolean isEmpty(){...}
void display(){...}
boolean search(int x){...}
void insert(int i){...}
void remove(int x){...}

Answers

Answer:

An implementation of java.util.List interface

Explanation:

Given class consists of the following constructs:

ConstructorisEmpty,search, displayinsert,remove

It supports inserting and removing an element at a specified index. It also supports search and display operations.

These are characteristics of an object which implements the java.util.List interface ( For example: ArrayList or user-defined customList ).

Index addressing is for traversing arrays.

True

False

Answers

Answer:

False.

Explanation:

Index addressing is not for only traversing the arrays but to also access the element,manipulate them.Though indexing is also used in traversing but it is not solely for that.Indexing in an array starts from 0 to size-1.

for example:-

We have an array a of size 10.So to access the element at position 6.We have to write.

a[5];

Manipulating it

a[5]=6;

An extract report lists ____________.

(Points : 2) records that satisfy selection criteria
summary information only
every record read and processed
only records that are sorted

Answers

Answer: Summary information only

Explanation:

The extract report is basically design to create the various output files and contain only summary information. In the extract report we can listed and modify the data sets according top the specific requirements.

The extract report is basically used to describe the summary and specif pattern of the information or data.

The extract report is basically generated when the overall extract job is executed and submitted.  

Write code to print the location of any alphabetic character in the 2-character string passCode. Each alphabetic character detected should print a separate statement followed by a newline. Ex: If passCode is "9a", output is: Alphabetic at 1 Hint: Use two if statements to check each of the two characters in the string, using Character.isLetter().

Answers

Final answer:

To find the location of any alphabetic character in a 2-character string, use two if statements to check both characters with Character.isLetter(), consider 0-based indexing while displaying a 1-based output.

Explanation:

The student is asked to write Java code that prints the location of any alphabetic character in a 2-character string called passCode. In Java, the method Character.isLetter() can be used to determine if a given character is a letter. To accomplish this task, two if statements can be used, one for each character in the string, and the indexes are 0-based. If an alphabetic character is found, the program outputs the location of the character using a 0-based index, but since users usually expect a 1-based index, we'll add one to the index before printing. Here is an example of how to write the code:

public class Main {
  public static void main(String[] args) {
      String passCode = "9a";
      if (Character.isLetter(passCode.charAt(0))) {
          System.out.println("Alphabetic at " + (0 + 1));
      }
      if (Character.isLetter(passCode.charAt(1))) {
          System.out.println("Alphabetic at " + (1 + 1));
      }
  }
}
For the string "9a", the output of this code would be "Alphabetic at 2" because 'a' is an alphabetic character at the second position (index 1).

Write a program that prints to the screen all the ASCII characters from 33 to 126. 33! 34''

Answers

Answer:

#include <iostream>

using namespace std;

int main() {

   for(int i=33;i<=126;i++)//Using loop to print ASCII characters.

   {

         cout<<i<<char(i<<" ";//statement to print integer and it's ASCII characters with values.

   }

return 0;

}

Explanation:

Put a closing parenthesis i char(i after doing that code will run .Since the answer was not getting posted hence i have to come to this resort.

I have used for loop for values 33 to 126 and for printing the ascii characters I have used typecasting converting the integer to corresponding char forcefully.

Write a C# Console application that converts a mile into its equivalent metric kilometer measurement. The program asks the user to input the value of miles to be converted and displays the original miles and the converted value . Test your code with inputs (1) 10 miles, (2) 3.25 miles.

Answers

Answer:

Following are the program in c#

using System;  // namespace system

using System.Collections.Generic;  // namespace collection

using System.Linq;

using System.Text;

namespace test // namespace

{

   class Program1 // class

   {        

                 

       static void Main(string[] args) // Main function

       {

           double nMiles, nKm;

           Console.Write("Enter Value In Miles : ");

           nMiles =Convert.ToDouble(Console.ReadLine());

           nKm = (nMiles / 0.62137);

           Console.WriteLine("Output:");

           Console.WriteLine("Value In Miles :" + nMiles);

           Console.WriteLine("Value In KM :" + nKm);

           Console.Read();

       }

   }

}

Output:

Case A-

Enter Value In Miles : 10

Value In Miles : 10

Value In KM : 16.09347

Case B-

Enter Values In Miles : 3.25

Value In Miles : 3.25

Value In KM : 5.230378

Explanation:

Here we take a input value in "nMiles" variable and converted into a Km. that will stored in "nkm" variable  . To convert miles into km we use  calculative formula Km=(miles/0.62137). This formula convert the entered value into km and finally print the value of miles and km miles variable.

. Write a short program that asks the user to input a string, and then outputs the

number of characters in the string.

Answers

Answer:

// program in java.

// package

import java.util.*;

// class definition

class Main

{

// main method of the class

public static void main (String[] args) throws java.lang.Exception

{

   try{

    // object to read input from user

Scanner scr=new Scanner(System.in);

System.out.print("Enter a string:");

 // read input

String myString=scr.nextLine();

 // variable to store characters count

int char_count=0;

 // count the characters

for(int i = 0; i < myString.length(); i++) {

           if(myString.charAt(i) != ' ')

               char_count++;

       }

       // print the number of character

System.out.println("total characters in the String: "+char_count);

   }catch(Exception ex){

       return;}

}

}

Explanation:

Read a string from user with the help of Scanner object and assign it to variable "myString".Iterate over the string and if character is not space (' ') then char_count++. After the loop print the number of characters in the string.

Output:

Enter a string:hello world

total characters in the String: 10

Add a script element into your HTML page that prints ‘hello’ to the browser’s JavaScript developer console.

Answers

Answer:

<!DOCTYPE html>

<html>

<body>

<h2>My Webpage</h2>

<script>

console.log("hello");

</script>

</body>

</html>  

Explanation:

The above written is the HTML code which contains a script tag in which javascript code is written to print hello on the javascript developer console.The script element contains the statement console.log("hello"); which is used to print the argument provided in the console.log on the console of the  javascript.

To see hello on the console you have open javascript console in the browser.Otherwise it will not be visible to you.

Which of the following is true of two-factor authentication?

A. It uses the RSA public-key signature based on integers with large prime factors.

B. It requires two measurements of hand geometry.

C. It does not use single sign-on technology.

D. It relies on two independent proofs of identity.

Answers

Answer: D)It relies on two independent proofs of identity.

Explanation: Two factor authentication is technique which uses two steps/stage for the verification or authentication.It is done for the extra security maintenance.IT is also known as 2FA. It consist of two different authentication component so that it penetrates through double protection layer .

Other options are incorrect because It RSA public key cannot be used for the authentication of private content. It does not use both hand geometry at same time for both the levels and It does not utilize only single sign-on technology. Thus, the correct option is option(D).

Which of the following describes a poor design consideration for a form?

Arrange controls closely together or in a sequence that is easy to read by the user.
Each form should have a different theme.
Make labels descriptive and clear.
Right-align labels followed by a colon and left-align bound controls.

Answers

Answer: Each form should have a different theme.

Explanation: Form is display of requirement for presenting the application having a specific data in it with label.It is made with certain specifications to fulfill the purpose .

The considerations for the designing of form are accessing by the client,clear requirement for designing,layout ,security access provision, purposes like read only etc.

All the considerations mentioned in the question are correct except the different theme belonging to form.The theme or subject depends on the information that the form is based on.The data provided by the form should be precise, sequential and labeled in order to make it informative. So, different theme is the poor consideration for form designing.

Create a program in java that calculates area and perimeter of a square - use a class and test program to calculate the area and perimeter; assume length of square is 7 ft.

Answers

Answer:

Following are the program in Java

class abc // class abc

{

   

   public void area(int s) // function area

   {

       s=s*s;// calculate area

       System.out.println(" The area is:" +s + " ft"); // display the area

   }

    public void perimeter(int s) //function perimeter

    {

        s=4*s;//calculate perimeter.

       System.out.println(" The perimeter is:" +s + " ft"); //display the perimeter

    }

}

public class Main //class main

{

public static void main(String[] args) // main function

{

abc ob=new abc(); // creating instance of class abc

ob.area(7); // calling function area

ob.perimeter(7); // calling function perimeter

}

}

Output:

The area is: 49 ft

The perimeter is:28 ft

Explanation:

In  this program we create the class "abc" .We declared two function in the class "abc" i.e "area" and "perimeter" which is calculating the area and perimeter of a square and print them , from the main function we create a object of class "abc" i.e "ob" which called the function area and perimeter .

Summarize who you believe cyber criminals are, and why?

Answers

Answer:

 The cyber criminals are the people that are engaged with getting the data in an unapproved way and furthermore mischief to the association henceforth are considered as cyber criminals.

Cyber criminals are people or groups of individuals who use innovation to committed the malicious exercises on computerized frameworks or systems with the aim of taking the organization data or individual information and producing benefit.

There are many types of cyber criminals that are:

Internet stalkersCyber terrorist Identity thieves

A common measure of transmission for digital data is the number of bits transmitted per second. Generally, transmission is accomplished in packets consisting of a start bit, a byte (8 bits) of information, and a stop bit. Using these facts, answer the following:

a. Compute the time required to transmit an image of 1200x800 pixels with 8 bits for gray of each pixel using a 50 M bits/sec. modem?

b.What would the time be at 3 M bits/sec, a representative of download speed of a DSL connection?

(c) Repeat a and b when the image is RGB colored with 8 bits for each primary color. f 20 colored frames per second

Answers

Answer:  a) 0,19 seg. b) 3,2 seg. c) 11,5 seg.  d) 192 seg.

Explanation:

a)  For each pixel in the image, we use 8 bits + 1 start bit + 1 stop bit= 10 bits.

Number of Pixels: 800*1200= 960,000.Bits transmitted: 960,000 x 10 = 9.6 * 10⁶ bits = 9.6 Mbitsif  the modem is able to transmit up to 50 Mbits in a second, we can calculate how much time it will be needed to transmit 9.6 Mbits, using this equality:

50 Mbit = 1 sec9.6 Mbit = x  ⇒  t= 9.6 / 50 = 0.19 sec

b)  If the modem speed changes to 3 Mb/s, all we need to do is just use the same equality, as follows:

3 Mbit = 1 sec9.6 Mbit = x  ⇒  t= 9.6 / 3 = 3.2 sec

c) Now, if we need to transmit a colored image , at a rate of 20 f/sec, we need to calculate first how many bits we need to transmit, as follows:

1 Frame= 800*1200* (24 bits + 3 start bits + 3 stop bits)=  28.8  Mbits1 Second= 20 frames/ sec = 28.8 Mbits *20 = 576 Mbits.If the modem speed is 50 Mb/s, we can use the same formula that we used for a) and b), as follows: 50 Mbit = 1 sec576 Mbits = x  ⇒  t= 576 / 50 = 11.5 sec

d) Same as c) replacing 50 Mb/s by 3 Mb/s, as follows:

3 Mbit = 1 sec576 Mbits = x  ⇒  t= 576 / 3 = 192 sec

The time that's required to transmit an image of 1200x800 pixels with 8 bits for gray is 151.6 million seconds.

How to calculate the time taken?

The time required to transmit an image of 1200x800 pixels with 8 bits for gray will be:

= (1200 × 800 × 8) / 50

= 151.6 million seconds.

The time needed to be at 3 M bits/sec, a representative of download speed of a DSL connection will be:

= 7.68/3

= 2.56 seconds.

Learn more about time on:

https://brainly.com/question/4931057

Write a procedural programming loop.. Your loop should start variable n with a value of 10 and count down to zero. The loop should terminate when n reaches the value of zero.

Answers

Answer:

//Here is the for loop in C.

for(n=10;n>0;n--)

{

   printf("count =%d \n",n);

}

Explanation:

Since C is a procedural programming language.Here if a loop that starts with n=10; It will run till n becomes 0. When n reaches to 0 then loop terminates otherwise it  print the count of n.

// here is code in C++.

#include <bits/stdc++.h>

using namespace std;

// main function

int main()

{  // variables

int n;

// for loop that runs 10 times

// when n==0 then loop terminates

for(n=10;n>0;n--)

{

   cout<<"count ="<<n<<endl;

}

return 0;

}

Output:

count =10

count =9

count =8

count =7

count =6

count =5

count =4

count =3

count =2

count =1

___ causes pain in the forearms due to swelling and pressure on the median nerve passing through the wrist.
Carpal tunnel syndrome
CVS
Tunnel syndrome
RSI

Answers

Answer:

Carpal Tunnel Syndrome.

Explanation:

Carpal Tunnel Syndrome is a very common condition in human beings.If you have carpal tunnel syndrome then you are very likely to feel pain ,tingling,numbness in the arm and hand.

Carpal Tunnel Syndrome happens because of swelling and pressure on one of the major nerves to the hand called the median nerve.

Write a Scheme function called "sum" which takes an input function func and a nonnegative number n and outputs the value

func(1) + func(2) + .. + func(n)

Answers

Answer:

function sum(number) {

      if (number == 1) {

             return 1;

      }

      return number + sum(number -1);

}

Explanation:

This is a recursive function, it means that is a function that calls itself for example: if you call the function with sum(5) the process is :

sum(5)

   |______ 5 + sum(4)

                           |_______ 4 + sum(3)

                                                       |______ 3 + sum(2)

                                                                                   |_____2 + sum(1)

                                                                                                        |_____ 1

                                                                                                 

the result is 1+2+3+4+5 = 15

Layer 3 of the Transmission Control Protocol/Internet Protocol (TCP/IP) is called the Internet Layer. Describe the functions of this layer.

Answers

Answer: Internet layer in TCP/IP stack is used for the transmitting and exchanging of information or message between the source and destination in computer systems.The main functions performed by this layer are as follows:-

It  transfers the message to the network interface layer The correct information route and destination is establishedPrefers intelligent routing technique by choosing the shortest route among all paths If any error case of transmission arises then another alternate path for datagram transmission is used.

What is your understanding of the difference between an unconditionally secure cipher and a computationally secure cipher?

Answers

Answer:

  The unconditionally secured is basically define as, the cipher content produced by the plan that doesn't contain enough data to decide the comparing plain message ,regardless of what number of figure content is accessible.

It is basically used to determine the uniquely plain content without knowing the actual availability of the cipher.

The computationally secure cipher is the encryption scheme which is basically required the time for breaking the cipher which exceeds the helpfulness lifetime of that data.  The expense of breaking the figure surpasses the estimation of scrambled data

an index purports to speed data retrieval. you, therefore, index every attribute in each table. select the likely consequence.

a. you optimize data retrieval by using a WHERE statement in your SELECT query.

b. data entry slows as every INSERT , UPDATE, or DELETE statement must also update every index.

c. data retrieval on the Gender column is optimized

d. this technique eliminates the need for a primary key

Answers

Answer:

b. data entry slows as every INSERT , UPDATE, or DELETE statement must also update every index.

Explanation:

This process help to improve the speed of get data , it takes each element in the indexed column and save the location to get faster the data. But if you index every attribute in a table it going to take a lot of time locating each column in the respective index in each query(update, delete and insert). For that reason is necesary be carefull with this process and only put index in the relevant columns

Write a function named delete Letter that has 2 parameters. The first parameter is a string, the second parameter is an integer. The function removes the character located at the position specified by the integer parameter from the string. For example, if the function is being called with the following statement: deleteLetter ("timetable", 3); the string will become "tietable", where the third character, 'm' has been removed.

Answers

Answer:

//import package

import java.util.*;

// class name

class Solution

{

// method to remove the character at given index

public  static void deleteLetter(String st,int in)

{

// remove the character at index in

 st=st.substring(0,in-1)+st.substring(in);

 System.out.println(st);

}

// main method of class

public static void main (String[] args) throws java.lang.Exception

{

   try{

//scanner object to read input

   Scanner scr=new Scanner(System.in);

// read string

   System.out.print("Enter the string:");

                    String st=scr.nextLine();

// read index

  System.out.print("Enter the index:");

  int in=scr.nextInt();

// call method

  deleteLetter(st,in);

   }catch(Exception ex){

       return;}

}

}

Explanation:

Read a string with the help of Scanner object.Then read the index of character to be remove.Call the method deleteLetter() with parameter string and index.It will make substring from 0 to "in-1" and "in" to last of the string.Then add both the string.This will be the required string.

Output:

Enter the string:timetable

Enter the index:3

tietable

Other Questions
Employment data at a large company reveal that 74% of the workers are married, 42% are college graduates, and that 56% are married, given that they are college graduates. Which of the following statements are true about the events married and college graduate?(A) These events are pairwise disjoint.(B) These events are independent events.(C) These events are both independent and pairwise disjoint.(D) A worker is either married or a college graduate always.(E) None of these above are true. On January 1, 2016, Jacob Inc. purchased a commercial truck for $48,000 and uses the straight-line depreciation method. The truck has a useful life of eight years and an estimated residual value of $8,000. On December 31, 2018, Jacob Inc. sold the truck for $30,000. What amount of gain or loss should Jacob Inc. record on December 31, 2018? A.Loss, $3,000. B.Loss, $18,000. C.Gain, $22,000. D.Gain, $5,000. The car is traveling at a constant speed v0 = 80 km/hr on the level portion of the road. When the 4-percent (tan q = 4/100) incline is encountered, the driver does not change the throttle setting and consequently the car decelerates at the constant rate g sin q. Determine the speed of the car: (a) 28 seconds after passing point A ,and (b) when s = 620 m. Isaac has high-functioning autism, but his parents accept him as he is and encourage him to find interests that he can pursue throughout his life. He loves Legos, and plays them all the time, even though he is 16 years old. His parents don't criticize him for this behavior, but instead encourage him to design new creations and praise his creativity. Isaac's parents exhibit ______ Landen Corporation uses a job-order costing system. At the beginning of the year, the company made the following estimates: Direct labor-hours required to support estimated production 125,000 Machine-hours required to support estimated production 62,500 Fixed manufacturing overhead cost $ 350,000 Variable manufacturing overhead cost per direct labor-hour $ 3.80 Variable manufacturing overhead cost per machine-hour $ 7.60 During the year, Job 550 was started and completed. The following information is available with respect to this job: Direct materials $ 201 Direct labor cost $ 240 Direct labor-hours 15 Machine-hours 5 Required: 1. Assume that Landen has historically used a plantwide predetermined overhead rate with direct labor-hours as the allocation base. Under this approach: a. Compute the plantwide predetermined overhead rate. b. Compute the total manufacturing cost of Job 550. c. If Landen uses a markup percentage of 200% of its total manufacturing cost, what selling price would it establish for Job 550? 2. Assume that Landens controller believes that machine-hours is a better allocation base than direct labor-hours. Under this approach: a. Compute the plantwide predetermined overhead rate. b. Compute the total manufacturing cost of Job 550. c. If Landen uses a markup percentage of 200% of its total manufacturing cost, what selling price would it establish for Job 550? A scientist observes plant roots growing through the mountain side. This is evidence for which type of natural process? Manuel accepts the values and attitudes of the majority culture. Although he is Mexican-American, he is often embarrassed by other members of his ethnic group. He has a strong desire to assimilate into the mainstream. Manuel is probably in the _____ stage of minority identity development. During _____________ ______________, oxygen enters the blood and carbon dioxide leaves the blood, and enters the alveoli. The excess of the fair value of the consideration received over the stated value of no par common stock should be credited to _____________ a) Common stock. b) Additional paidin capital. c) Retained earnings. d) A liability account. A material has an ASTM grain size number of 7. Determine the magnification, if the number of grains per square inch observed is: i. 64 grains/in ii. 500 grains/in? iii. 20 grains/in- The old-growth forests of the Pacific Northwest are considered to be rainforests, which means it rains a lot. How do the forests help people deal with the rain?A.They stick up into the clouds and absorb some rain directly.B.They direct the water into the salmon streams.C.They provide shelter to people out hiking.D.They make it seem less gloomy.E.They retain water to prevent flooding and erosion. Assume that an oil slick consists of a single layer of molecules and that each molecule occupies a cube 1.4 nm on a side. Determine the area of an oil slick formed by 1.1 m^3 of oil. Answer in units of m^2. The graph displays a proportional relationship. What is the unit rate shown by the graph? Twogenes,A and B, are located 10 maps units fromeachother. A thirdgene,C, is located 15 map units from B and 5 mapunitsfrom A. A parentalgenerationconsists of AAbbCC and aaBBccindividuals. The F1are then test-crossed toaabbcc individuals. What percentage ofthe offspring wouldyouexpect to beAaBbCc? Sixty-seven percent of adults have looked at their credit score in the past six months. If you select 31 customers, what is the probability that at least 20 of them have looked at their score in the past six months? 0.450 0.550 0.692 0.142 Whats the slope of the line in the graph? Cell membranes are composed of phospholipids that have head and tail regions The phospholipid tail is hydrophobic and spontaneously orients to the inside of the membrane. Which of the following phrases best describes the hydrophobic portion of a phospholipid? A. Has few interaction with water B. Has an affinity for low salt concentrations C. Is repelled by lipids D. Forms hydrogen bonds with water. Which man became the first African American to play baseball in the majorleagues?OA. Bill RussellOB. Paul RobesonOC. Richard WrightOD. Jackie RobinsonSUBMI During his conference with Lynn, Michael listens carefully to Lynn's complaints about anything and everything, identifies and writes down specific problems, and finally tells Lynn that they will talk again when Lynn is ready to discuss solutions. Judging by his handling of Lynn, Michael believes that Lynn is aa. bully.b. backstabber.c. whiner.d. know-it-all A baseball is hit with a speed of 47.24 m/s from a height of 0.42 meters. If the ball is in the air 5.73 seconds and lands 130 meters from the batters feet, (a) at what angle did the ball leave the bat? (b) with what velocity will the baseball hit the ground?