Free Essay

Essay

In: Science

Submitted By shreemaa
Words 6793
Pages 28
Minimum Shelf
Problem Description
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E ……..
All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with these names could be kept in that shelf as in this example: bottom of shelf ---> [AAAJKRDFDEWAAYFYYKK]-----Top of shelf.

All these packets are to be loaded on cars.

The cars are lined in order, so that the packet could be loaded on them. The cars are also named [A, B, C, D, E,………….].

Each Car will load the packet with the same alphabet. So, for example, car ‘A’ will load all the packets with name ‘A’.

Each particular car will come at the loading point only once.

The cars will come at the loading point in alphabetical order. So, car ‘B’ will come and take all the packets with name ‘B’ from the shelf, then car ‘C’ will come.

No matter how deep in the shelf any packet ‘B’ is, all of the ‘B’ packets will be displaced before the ‘C’ car arrives.

For that purpose, some additional shelves are provided. The packets which are after the packet B, are kept in those shelves.

Any one of these shelves contains only packets, having the same name. For example, if any particular shelf is used and if a packet with name X is in it, then only the packets having names X will be kept in it. That shelf will look like [XXXXXXX].

If any shelf is used once, then it could be used again only if it is vacant.

Packets from the initial shelf could be unloaded from top only.

Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.
Instruction to work with Open PBT Client: 1. Specify the work directory path in the 'Work directory Path' field. The path should correspond to your solution Work directory. 2. Download the support files by clicking the Get Support Files. 3. You will find the problem directories containing: * problem.h file * problem.c file in your project directory. 4. Code the solution in .c file inside the problem directory 5. All required files will be downloaded to your work directory. Creating additional files is strongly discouraged.
Step 1:
In your Solution File: * Implement your logic in function int shelfCount(char* packet) * char* packet : is the string as packets are kept in the shelf. * You can create more functions if required, but those functions should be in the same file.

Step 2:
Your solution needs to consider the following constraints. 1. In this problem you have to write a program, that finds the minimum total number of shelves, including the initial one, required for this loading process. 2. The packets are named A, B, C, D, E …….. 3. Any numbers of packets with these names could be kept in the shelf, as in this example: [ZZLLAAJKRDFDDUUGGYFYYKK]. 4. All packets are to be loaded on cars. The cars are lined in order, so that the packets could be loaded on them. The cars are also named [A, B, C, D, E,………….]. 5. Each Car will load the packets with the same alphabet. So, for example, car ‘A’ will load all the packets with name ‘A’. 6. Each particular car will come at loading point only once. For example, car A will come only once at the loading point. 7. The cars will come at the loading point in alphabetical order. So, car ‘B’ will come and take all the packets with name ‘B’ from the shelf, then car ‘C’ will come. 8. No matter how deep in the shelf any packet ‘B’ is, all of the packets ‘B’ will be displaced before the ‘C’ car arrives. 9. For that purpose, some additional shelves are provided. The packets that are after the packet B, are kept in those shelves. 10. Any one of these shelves contains only packets, having the same name. For example, if any particular shelf is used and if a packet with name S is in it, then only packets having names S will be kept in it. That shelf will look like [SSSSSSS]. 11. If any shelf is used once, then it could be used again only if it is vacant. 12. The names of the packets in the shelf should be upper case; otherwise return -1
The Prototype of the function is int shelfCount(char* packet)
This function takes following arguments. * packet is the string as packets are kept in the shelf. * This method returns an integer, which is the minimum number of shelves needed.
Constraints
1. Name of the packets in shelf should be in upper case else return -1.
Example 1
Input

bottom of shelf --->DDDDDD<-----Top of shelf
Output

1

Explanation:
One shelf will be needed because Car A, Car B and Car C will come and go only Car D will come and collect the packet with the initial shelf.
Example 2
Input

ZYXZYXZYXZYX
Output

3
Example 3
Input

ZYXZYmmmXZYXZYX
Output

-1
For C solutions Header File | : | minimumshelf.h | Function Name | : | int shelfCount(char* packet) | File Name | : | minimumshelf.c |
For C++ solutions Header File | : | minimumshelf.h | Class Name | : | Shelf | Function Name | : | int shelfCount(char* packet) | File Name | : | minimumshelf.c |
General Instructions * | The file / class names, functions, method signatures, header files are to be used as mentioned in the problem statement. Do not use your own names or change the method signatures and fields. You can add any number of additional methods. | * | For C solutions, change the value of "C_OR_CPP" macro in header file as 1 and for C++ solutions change the value as 2. | * | Incase of iostream.h specify as iostream only. | * | Command line options for the main() function are not supported currently. |
Decode the Code
Problem Description
Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another.
In their new technology, they are sending their messages in a number format. This format represents the way that numbers and characters are padded on mobile’s keypad. One smuggler sends a text message to the second smuggler, using the numbers corresponding to the letters on the keypad. When the receiving smuggler gets the message, he simply opens the “create text message” function in his mobile and types the number string. This way the receiver finally reads the original message.
For Example: -
6999066263304447777077766622337778 -----> message sent by the first smuggler. my name is robert---------> message decoded by the second smuggler.
Where ‘0’ denotes the "space".

Explanation:
By pressing ‘6’ (i.e. key’6’ one time) on the keypad, the mobile shows ‘m’ on display screen in write text message area.
By pressing ‘999’ (i.e. key ‘9’ three times) on the keypad, the mobile shows ‘y’ on display screen in write text message area.
By pressing ‘0’ (i.e. key ’0’ one time) on the keypad, the mobile shows ‘space’ on display screen in write text message area.
By pressing ‘66’ (i.e. key’6’ two times) on the keypad, the mobile shows ‘n’ on display screen in write text message area.
By pressing ‘2’ (i.e. key ’2’ one time) on the keypad, the mobile shows ‘a’ on display screen in write text message area.
By pressing ‘6’ (i.e. key '6'one time) on the keypad, the mobile shows ‘m’ on display screen in write text message area.
By pressing ‘33’ (i.e. key ‘3’ two times) on the keypad, the mobile shows ‘e’ on display screen in write text message area.
By pressing ‘0’ (i.e. key ‘0’ one time) on the keypad, the mobile shows ‘space’ on display screen in write text message area.
By pressing ‘444’ (i.e. key’4’ three times) on the keypad, the mobile shows ‘i’ on display screen in write text message area.
By pressing ‘7777’ (i.e. key ’7’ four times) on the keypad, the mobile shows ‘s’ on display screen in write text message area.
By pressing ‘0’ (i.e. key ‘0’ one time) on the keypad, the mobile shows ‘space’ on display screen in write text message area.
By pressing ‘777’ (i.e. key ’7’ three times) on the keypad, the mobile shows ‘r’ on display screen in write text message area.
By pressing ‘666’ (i.e. key ’6’ three times) on the keypad, the mobile shows ‘o’ on display screen in write text message area.
By pressing ‘22’ (i.e. key ‘2’ two times) on the keypad, the mobile shows ‘b’ on display screen in write text message area.
By pressing ‘33’ (i.e. key ‘3’ two times) on the keypad, the mobile shows ‘e’ on display screen in write text message area.
By pressing ‘777’ (i.e. key ’7’ three times) on the keypad, the mobile shows ‘r’ on display screen in write text message area.
By pressing '8' (i.e. key ’8’ one time) on the keypad, the mobile shows ‘t’ on display screen in write text message area.
But for word monkey
6#666#665533999 this string will be sent by the smuggler one
Here ‘# ‘ denotes that if smuggler watches ‘#’ then it means character previous to # is on the same key to the character after the ‘#’ and smuggler has to wait for 2 seconds and then press the same key.
Explanation:
By pressing ‘6’ i.e. key’6’ one time on the keypad, the mobile shows ‘m’ on display screen.
For '#' wait for 2 seconds, and then press next.
By pressing ‘666’ i.e. key’6’ three times on the keypad, the mobile shows ‘o’ on display screen.
For ‘#’ wait for 2 seconds, and then press next.
By pressing ‘66’ i.e. key’6’ two times on the keypad, the mobile shows ‘n’ on display screen.
By pressing ‘55’ i.e. key’5’ two times on the keypad, the mobile shows ‘k’ on display screen.
By pressing ‘33’ i.e. key’3’ two times on the keypad, the mobile shows ‘e’ on display screen.
By pressing ‘999’ i.e. key’9’ three times on the keypad, the mobile shows ‘y’ on display screen.
*Here lower case doesn’t matter.
*Assuming that the smuggler one will not send any numeral characters in the original message. For example smuggler will not send any message like "I need 1000 bucks" as it contains numerals.

So policemen need your help to track the smugglers. You have to write a program that decodes the sending smuggler’s string (from the number format into plain text).
Instructions to work with Open PBT Client: 1. Specify the work directory path in the 'Work directory Path' field. The path should correspond to your solution Work directory. 2. Download the support files by clicking the Get Dev Files. 3. You will find the problem directories containing: * problem.h file * problem.c file in your project directory. 4. Code the solution in .c file inside the problem directory 5. All required files will be downloaded to your work directory. Creating additional files is strongly discouraged.
Step 1:
In your Solution File: * Implement your logic in function char* decodeCode(char* encodedString) * char* encodedString : is string which is sent by the smuggler1. * You can create more functions if required, but those functions should be in the same file.

Step 2:
In your solution keep in mind the following constraints. 1. In this problem you have to write a program that decodes the string, which is sent by the first smuggler. 2. The function decodeCode() takes the string encodedString as an argument. That string is what the first smuggler sends to the second smuggler. 3. The function decodeCode() returns a string, which is the decoded string in plain text. 4. If encodedString is empty then returns empty string. 5. encodedString should only contain integers, and the special character '#' (if needed). 6. encodedString should not have any alphabetic character (e.x. 'a','b') else return empty string 7. encodedString should not have any special character except '#' else return empty string
The Prototype of the function is char* decodeCode(char* encodedString)
This function takes following argument. * char* encodedString: which represents the string which is send by the smuggler1. * function decodeCode() will return a string which is the decoded string of that string which is send by the smuggler1.
The constraints are: 1. encodedString should only contain integers, and the special character '#' (if needed). 2. encodedString should not contain any alphabetical characters (e.x. 'a', 'b'); otherwise return empty string 3. encodedString should not contain any special characters, except '#'; otherwise return empty string 4. encodedString is empty then returns empty string.
Example 1
Input

char* encodedString = 6999066263304447777077766622337778
Output

my name is robert

Explanation: when you will type the given string in the mobile in create text message area then my name is robert message will be displayed.
Example 2
Input

char* encodedString =777733663084433072#222552433
Output

send the package
Example 3
Input

char* encodedString =777733663T084L43m30@72#222552433
Output

" "

Explanation:
Input string encodedString is having character other than numeric and special character other than # so returning " "(empty string)
For C solutions Header File | : | decodethecode.h | Function Name | : | char* decodeCode(char* encodedString) | File Name | : | decodethecode.c |
For C++ solutions Header File | : | decodethecode.h | Class Name | : | DecodeTheCode | Function Name | : | char* decodeCode(char* encodedString) | File Name | : | decodethecode.c |
General Instructions * | The file / class names, functions, method signatures, header files are to be used as mentioned in the problem statement. Do not use your own names or change the method signatures and fields. You can add any number of additional methods. | * | For C solutions, change the value of "C_OR_CPP" macro in header file as 1 and for C++ solutions change the value as 2. | * | Incase of iostream.h specify as iostream only. | * | Command line options for the main() function are not supported currently. |

Area Under Curve
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.
The area under a curve between two points can be found by doing a definite integral between the two points.
Instructions to work with Open PBT Client: 1. Specify the work directory path in the 'Work directory Path' field. The path should correspond to your solution Work directory. 2. Download the support files by clicking the Get Support Files. 3. You will find the problem directories containing: * problem.h file * problem.c file in your project directory. 4. Code the solution in.c file inside the problem directory 5. All required files will be downloaded to your work directory. Creating additional files is strongly discouraged.
The Prototype of the Function is : double getAreaUnderCurve (struct Term* equation, int noOfTerms, int limit1,int limit2) * Where equation represents number of Term in a equation with x_pow and coeff of X * Where noOfTerms is the number of terms in the equation * Where limit1 and limit2 are the 2 given points to find the area. * The function getAreaUnderCurve() return the area of type double corrected to 4 decimal places.(eg : 5.2704. )
Example 1
Input :

Term equation = x + 3(x^2); int noOfTerms = 2; int limit1 = 4; int limit2 = 8; where, struct Term* equation => { equation[0].exponent = 1; equation[0].coefficient = 1; equation[1].exponent = 2; equation[1].coefficient = 3; }
Output :

The function getAreaUnderCurve() returns 472.0.
Explanation :

Example 2
Input :

Term[] equation = x; int noOfTerms = 1; int limit1 = 1; int limit2 = 1;
Output :

The function getAreaUnderCurve() returns 0.0
Example 3
Input :

Term equation = x; int noOfTerms = 1; int limit1 = 2; int limit2 = 1;
Output :

The function getAreaUnderCurve() returns 1.5
For C solutions Header File | : | areaundercurve.h | Function Name | : | double getAreaUnderCurve (struct Term* equation, int noOfTerms, int limit1,int limit2) | | File Name | : | areaundercurve.c | |
For C++ solutions Header File | : | areaundercurve.h | Class Name | : | AreaUnderCurve | Function Name | : | double getAreaUnderCurve (struct Term* equation, int noOfTerms, int limit1,int limit2) | FileName | : | areaundercurve.c |
General Instructions * | The file / class names, functions, method signatures, header files are to be used as mentioned in the problem statement. Do not use your own names or change the method signatures and fields. You can add any number of additional methods. | * | For C solutions, change the value of "C_OR_CPP" macro in header file as 1 and for C++ solutions change the value as 2. | * | Incase of iostream.h specify as iostream only. | * | Command line options for the main() function are not supported currently. |

Genetic Diseases
Problem Description
Many human diseases could be controlled by the knowledge of the gene’s structure and pattern. The human gene could be represented by four nucleotides. Each nucleotide is represented by a character - ‘J’, ’S’, ’M’, and ’F’. The string pattern of these nucleotides helps us understand the genes. The functions of the genes are based on these strings.

Some biologists want to discover the medicine for the diseases, which could be controlled with the help of these genes. So they decided to compare the two genes and find the problem, so they could make the cure.

Let’s have two genes JMFMJFM and MFFJM.

One of the methods to get the problem of these two genes is called alignment comparison. In the alignment comparison, spaces are inserted (if necessary) in some positions of the genes. These spaces make them equally long and then we could score these resulting genes according to the scoring matrix (shown below).

For example, one space is inserted into JMFMJFM to result in JMFMJF-M, and three spaces are inserted into MFFJM to result in -MF--FJM. A space is denoted by the sign (-). The two genes are now equal in length. These two strings are aligned: JMFMJF-M -MF--FJM

In this alignment, there are four matches - M in the second position, F in the third, F in the sixth, and M in the eighth. Each pair of aligned characters is assigned a score according to the above scoring matrix.

The score of the alignment above is (-3)+5+5+(-2)+(-3)+5+(-3)+5=9.

Many other alignments are also possible. One is shown below (a different number of spaces is inserted into different positions): JMFMJFM -MFFJ-M

This alignment gives a score of (-3)+5+5+(-2)+5+(-1) +5=14.

So, this one is better than the previous one, and this one is also the optimal. No other alignment could give a higher score.
Then, the similarity of the two genes is 14.

This way the max score will result in the least problems.

SCORE | GRADE | 0 => score | 0 | 0 <= score <= 10 | A | 10 < score <= 20 | B | 20 < score <= 30 | C | 30 < score <= 40 | D | 40 < score <= 50 | E |
On the basis of this grade the biologists could make the cure .
Instructions to work with Open PBT Client: 1. Specify the work directory path in the 'Work directory Path' field. The path should correspond to your solution Work directory. 2. Download the support files by clicking the Get Dev Files. 3. You will find the problem directories containing: * problem.h file * problem.c file in your project directory. 4. Code the solution in .c file inside the problem directory 5. All required files will be downloaded to your work directory. Creating additional files is strongly discouraged.
Step 1:
In your Solution File: * Implement your logic in function char rectifyDiseases(char* pattern1 , char* pattern2) * char* pattern1 : represents the pattern of first gene. * char* pattern2 : represents the pattern of second gene. * You can create more functions if required, but those functions should be in the same file.

Step 2:
Your solution needs to consider the following constraints. 1. In this problem you have to write a program that helps the biologists to get an accurate grade. 2. The human gene could be represented by four nucleotides. Each nucleotide is represented by a character - ‘J’, ’S’, ’M’, and ’F’. 3. The string pattern of these nucleotides helps us understand the genes. 4. The functions of the genes are based on these strings. 5. The cure could be prepared only by comparing the two strings. 6. One of the methods for comparison is called alignment comparison. 7. You have to compare the strings’ characters to the Scoring matrix. 8. String length should not be greater than 10 else return \0. 9. String should be consisting of only given four characters else return \0. 10. Characters being returned by the method should be in capital letters.
The Prototype of the function is char rectifyDiseases(char* pattern1 , char* pattern2) This method takes following arguments. * pattern1 which represents the pattern of first gene. * pattern2 which represents the pattern of second gene. * This method returns a character which is grade.
Constraints
* String length should not be greater than 10 else return \0. * String should be consist of only given four characters else return \0. * Characters being returned by the method should be in capital letters.
Example 1
Input

String pattern1=JMFMJFM
String pattern2=MFFJM
Output

B
Example 2
Input

String pattern1=JMFKMJFM
String pattern2=MFFJBM
Output

\0
Explanation: Input string contains other than ‘J’,’S’,’M’ & ’F’ characters.
Example 3
Input

String pattern1=JMFMFFFFFFFFFFFJFM
String pattern2=MFFJJJJJJJJJJFFFFFMMMMM
Output

\0
Explanation: Length of the input string is greater than 10.
For C solutions Header File | : | geneticdiseases.h | Function Name | : | char rectifyDiseases(char* pattern1 , char* pattern2); | File Name | : | geneticdiseases.c |
For C++ solutions Header File | : | geneticdiseases.h | Class Name | : | GeneticDiseases | Function Name | : | char rectifyDiseases(char* pattern1 , char* pattern2); | File Name | : | geneticdiseases.c |
General Instructions * | The file / class names, functions, method signatures, header files are to be used as mentioned in the problem statement. Do not use your own names or change the method signatures and fields. You can add any number of additional methods. | * | For C solutions, change the value of "C_OR_CPP" macro in header file as 1 and for C++ solutions change the value as 2. | * | Incase of iostream.h specify as iostream only. | * | Command line options for the main() function are not supported currently. |

Padovan String
Problem Description

A Padovan string P(n) for a natural number n is defined as:

P(0) = ‘X’

P(1) = ‘Y’

P(2) = ‘Z’

P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation.
For a string of the characters ‘X’ , ‘Y’ and ‘Z’ only, and given value of n, write a program that counts the number of occurrences of the string in the n-th Padovan string P(n).

An example is given below.

For n = 6 and the string ZY, the program should count the occurrences of ZY in P(6).

P(0) = ‘X’

P(1) = ‘Y’

P(2) = ‘Z’

P(n) = P(n-2) + P(n-3), n>2

P(3) = P(1)+P(0)

P(3) = YX

P(4) = P(2)+P(1)

P(4) = ZY

P(5) = P(3)+P(2)

P(5) = YXZ

P(6) = P(4)+P(3)

P(6) = ZYYX

So, the number of occurrences of the string ZY in P(6) is 1.
Instruction to work with Open PBT Client: 1. Specify the work directory path in the 'Work directory Path' field. The path should correspond to your solution Work directory. 2. Download the support files by clicking the Get Dev Files. 3. You will find the problem directories containing: * problem.h file * problem.c file in your project directory. 4. Code the solution in .c file inside the problem directory 5. All required files will be downloaded to your work directory. Creating additional files is strongly discouraged.
Step 1:
In your Solution File: * Implement your logic in function int stringOccurrences(int n, char* str) * int n :n is an integer represents n(th) for which full main string has to formed, from which occurrence of string str has to be found. * char* str :str is a string represents sub string whose occurrence has to be found in the main string. * You can create more functions if required, but those functions should be in the same file.

Step 2:
In your solution keep in mind the following constraints:. 1. In this problem you have to write a program that counts the number of occurrences of the string in the n-th Padovan string P(n). 2. Padovan formula is P(n) = P(n-2) + P(n-3) where n>2 and n is the integer. 3. In the above Padovan formula + sign means string concatenation. 4. For the Padovan formula value of P(0),P(1) and P(2) is given. You have to use those value only. 5. n should not be greater than 40 otherwise return -1 6. string str should be consist of only X,Y and Z in upper case otherwise return -1
The Prototype of the function is int stringOccurrences(int n, char* str)
This function takes following arguments. * n is the value for which full main string has to formed, from which occurrence of string str has to be found. * str represents sub string whose occurrence has to be found in the main string. * This function returns a number of occurrence of string str in the main string.
The constraints are: 1. n should not be greater than 40 otherwise return -1 2. string str should be consist of only X,Y and Z in upper case otherwise return -1
Example 1
Input

int n = 6 string str = ZY
Output

1
Explanation : This question is explained in problem description.
Example 2
Input

int n = 6
String str = ZYmm
Output

-1
Explanation :
String str is containing character other than X, Z and Y.
Example 3
Input

int n = 8
String str = XZ
Output

1
For C solutions Header File | : | padovanstring.h | Function Name | : | int stringOccurrences(int n, char* str) | File Name | : | padovanstring.c |
For C++ solutions Header File | : | padovanstring.h | Class Name | : | PadovanString | Function Name | : | int stringOccurrences(int n, char* str) | File Name | : | padovanstring.c |
General Instructions * | The file / class names, functions, method signatures, header files are to be used as mentioned in the problem statement. Do not use your own names or change the method signatures and fields. You can add any number of additional methods. | * | For C solutions, change the value of "C_OR_CPP" macro in header file as 1 and for C++ solutions change the value as 2. | * | In case of iostream.h specify as iostream only. | * | Command line options for the main() function are not supported currently. |

Pebble Merchant
Problem Description
There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that and the mistakes result in losses. So, he comes to you, and asks you to make a small intelligent car, which could run along the room’s walls and calculate their length. The car has to come back from where it’s started. This means the starting point is the same as the ending one. When the car gives the length of the room’s walls, you could calculate the surface area of the floor. Knowing the surface area, you could calculate the price for covering the whole floor with pebbles.

3 kilograms of pebbles are needed for covering an area of 1 square meter .
The rate of the pebbles is $5 per kilogram.

For example

The car’s measurements are illustrated, using two arrays.

Array 1 = {L, R, L, R, R, L, R, R, L, R, R, L, R, L, L, R, Z}

Where

L denotes, that the car turned Left.
R denotes, that the car turned Right.
Z denotes, that the finishing point is after the last turn.

The following picture will clear any misunderstandings (on this example Array 1 = {L,R,R,R,Z})

Array 2 = {3, 4, 2, 3, 2, 4, 5, 4, 2, 3, 2, 1, 2, 2, 2, 1, 2}

An element of Array 2 denotes the length (in meters), covered by the car, after taking the corresponding turn.

{3L, 4R, 2L, 3R, 2R, 4L, 5R, 4R, 2L, 3R, 2R, 1L, 2R, 2L, 2L, 1R, 2Z}

In this representation it is clearly visible that the direction from entry turning point is measured, along with the distance to the next turning point.

The last element Z in Array 1 represents that the corresponding length in the Array 2 is the final distance and the car will be at finishing point after covering this length.

The area of the given picture is 63 square meters and the cost for covering it is $945.
Instructions to work with Open PBT Client: 1. Specify the work directory path in the 'Work directory Path' field. The path should correspond to your solution work directory. 2. Download the support files by clicking the Get Dev Files. 3. You will find the problem directories containing: * problem.h file * problem.c file in your project directory. 4. Code the solution in .c file inside the problem directory 5. All required files will be downloaded to your work directory. Creating additional files is strongly discouraged.
Step 1:
In your Solution File: * Implement your logic in the function int * findCost(char direction[],int length[]). * char direction[] : is a character array which represents turning direction of car. * int length[] : is an integer array, which represents the length, traveled by the car, in each direction. * You can create more functions if required, but those functions should be in the same file.

Step 2:
Your solution needs to consider the following constraints. 1. In this problem you have to make a program for the pebble merchant. 2. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that and the mistakes result in losses. 3. So, he comes to you and asks you to make a small intelligent car, which could run along the room’s walls and calculate their length. 4. The car has to come back from where it started. 5. This means the starting point is the same as the ending one. 6. The direction array contains only L, R and Z in UPPER CASE; otherwise return {0,0}
The Prototype of the function is int * findCost(char direction[],int length[]).
This method takes the following arguments: * direction is a character array, which represents the turning directions of the car. * length is an integer array, which represents the length, traveled by the car, in each direction.

* This method returns an integer array having two elements first is the calculated area and second is the estimated cost.
The constraints are: 1. The direction array contains only L, R and Z in UPPER CASE; otherwise return {0,0} 2. The direction array's last element should be Z; otherwise return {0,0} 3. Each element in the length array should be greater than 0; otherwise return {0,0}
Example 1
Input

direction[] = {L,R,R,L,L,R,R,R,R,L,Z} length[]= {2,2,1,1,1,2,5,2,2,3,1}
Output

{18,270}
Explanation : The area of the resultant figure is 18 square meters and the cost for covering it is $270.
Example 2
Input

direction[] = {L,L,R,R,L,R,R,L,R,L,R,R,L,R,L,R,R,L,Z} length[]= {1,1,1,1,2,2,2,2,1,2,1,2,2,1,1,1,1,2,2}
Output

{24,360}
Example 3
Input

direction[] = {L,R,L,R,R,L,R,R,L,R,A,L,Z} length[]= {1,2,2,2,2,2,5,2,1,2,3,2,2}
Output

{0,0}
For C solutions Header File | : | pebblemerchant.h | Function Name | : | int * findCost(char direction[],int length[]) | File Name | : | pebblemerchant.c |
For C++ solutions Header File | : | pebblemerchant.h | Class Name | : | PebbleMerchant | Function Name | : | int * findCost(char direction[],int length[]) | File Name | : | pebblemerchant.c |
General Instructions * | The file / class names, functions, method signatures, header files are to be used as mentioned in the problem statement. Do not use your own names or change the method signatures and fields. You can add any number of additional methods. | * | For C solutions, change the value of "C_OR_CPP" macro in header file as 1 and for C++ solutions change the value as 2. | * | Incase of iostream.h specify as iostream only. | * | Command line options for the main() function are not supported currently. |

Padovan String
Problem Description

A Padovan string P(n) for a natural number n is defined as:

P(0) = ‘X’

P(1) = ‘Y’

P(2) = ‘Z’

P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation.
For a string of the characters ‘X’ , ‘Y’ and ‘Z’ only, and given value of n, write a program that counts the number of occurrences of the string in the n-th Padovan string P(n).

An example is given below.

For n = 6 and the string ZY, the program should count the occurrences of ZY in P(6).

P(0) = ‘X’

P(1) = ‘Y’

P(2) = ‘Z’

P(n) = P(n-2) + P(n-3), n>2

P(3) = P(1)+P(0)

P(3) = YX

P(4) = P(2)+P(1)

P(4) = ZY

P(5) = P(3)+P(2)

P(5) = YXZ

P(6) = P(4)+P(3)

P(6) = ZYYX

So, the number of occurrences of the string ZY in P(6) is 1.
Instruction to work with Open PBT Client: 1. Specify the work directory path in the 'Work directory Path' field. The path should correspond to your solution Work directory. 2. Download the support files by clicking the Get Dev Files. 3. You will find the problem directories containing: * problem.h file * problem.c file in your project directory. 4. Code the solution in .c file inside the problem directory 5. All required files will be downloaded to your work directory. Creating additional files is strongly discouraged.
Step 1:
In your Solution File: * Implement your logic in function int stringOccurrences(int n, char* str) * int n :n is an integer represents n(th) for which full main string has to formed, from which occurrence of string str has to be found. * char* str :str is a string represents sub string whose occurrence has to be found in the main string. * You can create more functions if required, but those functions should be in the same file.

Step 2:
In your solution keep in mind the following constraints:. 1. In this problem you have to write a program that counts the number of occurrences of the string in the n-th Padovan string P(n). 2. Padovan formula is P(n) = P(n-2) + P(n-3) where n>2 and n is the integer. 3. In the above Padovan formula + sign means string concatenation. 4. For the Padovan formula value of P(0),P(1) and P(2) is given. You have to use those value only. 5. n should not be greater than 40 otherwise return -1 6. string str should be consist of only X,Y and Z in upper case otherwise return -1
The Prototype of the function is int stringOccurrences(int n, char* str)
This function takes following arguments. * n is the value for which full main string has to formed, from which occurrence of string str has to be found. * str represents sub string whose occurrence has to be found in the main string. * This function returns a number of occurrence of string str in the main string.
The constraints are: 1. n should not be greater than 40 otherwise return -1 2. string str should be consist of only X,Y and Z in upper case otherwise return -1
Example 1
Input

int n = 6 string str = ZY
Output

1
Explanation : This question is explained in problem description.
Example 2
Input

int n = 6
String str = ZYmm
Output

-1
Explanation :
String str is containing character other than X, Z and Y.
Example 3
Input

int n = 8
String str = XZ
Output

1
For C solutions Header File | : | padovanstring.h | Function Name | : | int stringOccurrences(int n, char* str) | File Name | : | padovanstring.c |
For C++ solutions Header File | : | padovanstring.h | Class Name | : | PadovanString | Function Name | : | int stringOccurrences(int n, char* str) | File Name | : | padovanstring.c |
General Instructions * | The file / class names, functions, method signatures, header files are to be used as mentioned in the problem statement. Do not use your own names or change the method signatures and fields. You can add any number of additional methods. | * | For C solutions, change the value of "C_OR_CPP" macro in header file as 1 and for C++ solutions change the value as 2. | * | In case of iostream.h specify as iostream only. | * | Command line options for the main() function are not supported currently. |

Board Coloring
Problem Description

In this problem you are given a board in which some of the elements are placed as shown in diagram below. Each element represents a color.
Fill the other elements in the board, such that none of the adjacent elements (vertically, horizontally and diagonally) should be of the same color.
Find out the minimum number of colors that should be used to fill the blank spaces in the board, so that the above condition is met.
Color representation is -: 0, 1, 2, 3, 4, 5, 6, 7…………………….
There is sample board:

For Example:
Given Board :

Matrix representation of board is :
[ _ 1 _ _ ]
[ 2 _ _ _ ]
[ _ _ 2 _ ]
[ 2 _ _ _ ] here blank space is represented by '_' .
Minimum colors to fill this board (given in the picture)is 4.
Instruction to work with Open PBT Client: 1. Specify the work directory path in the 'Work directory Path' field. The path should correspond to your solution Work directory. 2. Download the support files by clicking the Get Dev Files. 3. You will find the problem directories containing: * problem.h file * problem.c file in your project directory. 4. Code the solution in.c file inside the problem directory 5. All required files will be downloaded to your work directory. Creating additional files is strongly discouraged.
Step 1:
In your Solution File: * Implement your logic in function int color(char board[4][4]) * char board[4][4]board is 2 dimensional matrix of order M X M where M = 4. * You can create more functions if required, but those functions should be in the same file.

Step 2:
In your solution keep in mind the following constraints. 1. In this problem you have to write a program that finds the minimum number of colors needed to fill a board in which some of the elements are placed in advance. 2. Function color() will take 2 dimension board as a input. 3. Function color() returns the minimum number of colors that could fill the board meeting the given condition. 4. Board is a 2 dimensional of M X M where M = 4 else return 0 5. Fill the other elements in the board, such that none of the adjacent elements (vertically, horizontally and diagonally) should be of the same color.
The Prototype of the function is int color(char board[4][4])
This function takes following arguments. * board is 2 dimensional matrix of order M X M where M = 4. * This function returns minimum no of color by which board can be filled.
The constraints are: 1. Board is a 2 dimensional of M X M where M = 4 else return 0 2. Fill the other elements in the board, such that none of the adjacent elements (vertically, horizontally and diagonally) should be of the same color.
Example 1
Input

{ 2 0 _ 1 }
{ _ 1 _ _ }
{ _ 2 _ 0 }
{ _ _ _ 1 }
Output

5
Explanation:
We need a minimum 5 different colors to complete the board.
Example 2
Input

{ 2 0 _ 1 3}
{ _ 1 _ _ 2}
{ _ 2 _ 0 1}
{ _ _ _ 1 2}
{ _ _ _ _ 0}
Output

0

Explanation:
Size of the board is greater than 4X4.
Example 3
Input

{ _ 0 }
{ 1 _ }
Output

0

Explanation:
Size of the board is less than 4X4.
For C solutions Header File | : | boardcoloring.h | Function Name | : | int color(char board1[4][4]) | File Name | : | boardcoloring.c |
For C++ solutions Header File | : | boardcoloring.h | Class Name | : | BoardColoring | Function Name | : | int color(char board1[4][4]) | File Name | : | boardcoloring.c |
General Instructions * | The file / class names, functions, method signatures, header files are to be used as mentioned in the problem statement. Do not use your own names or change the method signatures and fields. You can add any number of additional methods. | * | For C solutions, change the value of "C_OR_CPP" macro in header file as 1 and for C++ solutions change the value as 2. | * | Incase of iostream.h specify as iostream only. | * | Command line options for the main() function are not supported currently. |…...

Similar Documents

Premium Essay

Essay

...1 Overview of How to Write an Essay Writing essays is a major element of your education at the university level. Effective writing gives you the ability to express your ideas, theories, arguments, and projects clearly. The skills you acquire at the university level through writing essays will be aimed at practical business applications that you will be able to use in the workplace. The following information provides a succinct overview of the elements you need to know to begin writing an essay. It will help you on your writing journey. Types of Essays Narrative A narrative essay is a story told by a narrator. Generally, a narrative discusses the personal experience of the author (the first person point of view), but it can also be written about things that happen to others (third person point of view). A narrative typically involves characters, a setting, specific and vivid details, and a series of events that can include current incidents, flashbacks, or dialogue. Cause and Effect A cause and effect essay explores why events, actions, or conditions occur (cause) and examines the results of those events, actions, or conditions (effect). For example, a cause could be purchasing a new expensive home. The effect might be fewer family vacations, more time spent on upkeep, or less time with family because of extra work hours to pay for the home. Comparison and Contrast A comparison and contrast essay shows the relationship between two or more elements. The items can be compared...

Words: 6215 - Pages: 25

Premium Essay

Essays

...HOW TO READ ESSAYS YOU MUST ANALYZE 1. Take a pencil in your hand. 2. Read the essay over once, quickly, looking for the main idea, for what the essay is about in general, and for what the author seems to be saying. Don't get bogged down in details. (If you come to an unfamiliar word, circle it but go on reading). 3. Check the meaning of unfamiliar words. If they seem to be key words, i.e., if the author uses them more than once, scribble a brief definition at the bottom of the page or at the end of the essay. 4. Now re-read more slowly and carefully, this time making a conscious attempt to begin to isolate the single most important generalization the author makes: his thesis. Follow his line of thought; try to get some sense of structure. The thesis determines the structure, so the structure, once you begin to sense it, can lead you to the thesis. What is the main point the author is making: Where is it? Remember, examples or "for instances" are not main points. The thesis is the generalization the author is attempting to prove valid. Your job, then is to ask yourself, "What is the author trying to prove"? Another way of identifying the thesis is to ask yourself, "What is the unifying principle of this essay"? or "What idea does everything in this essay talk about"? or "Under what single main statement could all the subdivisions fit"? If the author has stated his thesis fully and clearly and all in one place, your job is easier. The thesis is apt to be......

Words: 971 - Pages: 4

Free Essay

Essay

...POL1EEH International Relations and the Global Economy Take Home Examination 2 November 2012 INSTRUCTIONS: The examination is worth 35% of the final mark for this unit. Students are to answer ONE question from SECTION A and ONE question from SECTION B, each in essay format, independently. Each essay should be approximately 750 words and should be referenced appropriately. Each essay will constitute 50% of the mark for this piece of assessment. Completed exams should be submitted to the Essay Box in the Politics and International Relations Program Office no later than 5pm on Monday 5 November and also lodged electronically via the Turnitin link on LMS. As this is an examination there will be no extensions. Any exams submitted after the due date will receive 0% for this piece of work. If circumstances befall a student during the examination that prevent timely completion, students should contact Dr Jon Symons (J.Symons@latrobe.edu.au) with written evidence of the problem and an alternative time to complete the examination will be arranged. QUESTIONS: SECTION A 1. To what extent have the main features of the global economic order established after World War II been transformed by globalization? 2. ‘The failure of so many multilateral institutions reflects not just the problems of those institutions but the shortcomings of multilateralism more generally.’ Critically evaluate this claim in relation to ONE multilateral institution. 3. To what extent do liberal ideas retain their......

Words: 356 - Pages: 2

Premium Essay

Essay

...There are some teachers who are going to require you to write a 250 word essay. Actually, it is a very short essay for that matter but for some students, it may also be a burden to have a word limit in writing. Let us take a look at the scenarios that you need to understand to compose a well developed essay. For some students, it may be limiting to have a word factor quota in writing an article. There are some individuals who can tell more out of a topic and that having 250 words will not suffice to tell everything in their minds. That is why you need to have the skills in budgeting the words that you have to write without sacrificing the ideas that you have to deliver. There are different essay types that you also need to consider so having a word limit cannot simply be an easy task. Still for some students, a 250 word essay may mean too much because there are also some people who do not want to waste their time writing. No matter what the essay structure may be, these types of people are not really eager to translate their thoughts to written form so they think 250 words simply equates to too much work. Anyway, you need to understand that having this kind of limit will eventually benefit the students as they improve their discipline, being responsible and being resourceful individuals. We can offer you to buy essays from us so you do not have to worry about the number of words in writing. Let our writers make your life easier today...

Words: 273 - Pages: 2

Premium Essay

Essay

...An essay is usually a short piece of writing. It is often written from an author's personal point of view. Essays can be literary criticism, political manifestos, learned arguments, observations of daily life, recollections, and reflections of the author. The definition of an essay is vague, overlapping with those of an article and a short story. Almost all modern essays are written in prose, but works in verse have been dubbed essays (e.g. Alexander Pope's An Essay on Criticism and An Essay on Man). While brevity usually defines an essay, voluminous works like John Locke's An Essay Concerning Human Understanding and Thomas Malthus's An Essay on the Principle of Population provide counterexamples. It is very difficult to define the genre into which essays fall. Aldous Huxley, a leading essayist, gives guidance on the subject: Like the novel, the essay is a literary Abstract This article will examine the reasons why it is important both linguistically and psychologically to build a vocabulary quickly when learning a foreign language. The article asserts that very little can be achieved or learned in a foreign language with a small vocabulary and that by building a sizable vocabulary quite quickly one can soon be able to function adequately. You may also wish to look at http://www.jalt-publications.org/tlt/files/95/feb/meara.html   Introduction   It is obvious that in order to learn a foreign language one needs to learn many many words. But how many?......

Words: 332 - Pages: 2

Premium Essay

Essay

...to write A Level Sociology Essay Assessment With reference to the present AEB syllabus, there are three main skills being assessed in your essays. 1. Knowledge and Understanding (9 marks) 2. Interpretation and Application (9 marks) 3. Evaluation (9 marks) What Does This Mean? What this means is that for writing an essay is that the content (studies, names of researcher, dates, figures, concepts, although important need to be organised coherently, applied to a variety of social situations and interpreted, and expressed in a critical fashion. You must be aware of the skills being highlighted in the question in order to use the appropriate skills in your essays. You should also practice writing essays regularly and develop a technique which addresses the skills required so that you can actually answer the question set. I hope that this handout should allow you to achieve this. Stage One Many students are too quick into diving into an answer. They have focused on certain key terms and ‘assumed’ what the essay requires from a quick look at the question. Instead, the question should be read a number of times. Task One With the title provided. Analyze the question by underlining the key features in the essay title Double underline the skills being assessed, e.g., describe and explain Identify any terms or concepts contained in the question. These terms will need to be defined, i.e. concepts such as interactionists. Essay questions will also......

Words: 1452 - Pages: 6

Free Essay

Essay

...I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay I’m sorry this is not a real essay...

Words: 256 - Pages: 2

Free Essay

Essay

...Studieportalen.dk? Klik her for at oprette en bruger. Kommentarer til Save as many as you ruin - Essay * Kommentar #1 12. oktober 2012 Af IsabellaFF Wow, hvordan er du blevet så god til engelsk? :) Hvis jeg må spørge - du må have et eller andet trick. :D ------------------------------------------------- Øverst på formularen Nederst på formularen * Kommentar #2 24. november 2011 Af benjaminpetersen Fantastisk essay. Fortjent 12-tal. Grunden til at forrige kommentar, tror at du kobler det med Helligtrekongersdag, kunne være fordi at ordet "epiphany" både kan oversættes til førnævnte, men også betyde en slags åbenbaring. (Sudden realization) Men igen, super essay :) ------------------------------------------------- Øverst på formularen Nederst på formularen vis/skjul svar * 01. januar 1 Af Longarm Tak Benjamin, - og skarpt observeret! Nu giver det mere mening. :) God weekend! * Kommentar #3 28. august 2011 Af Fiierne Virkelig flot essay. Noget jeg ikke helt fanger er hvordan du kobler det sammen med Helligtrekongersdag? ------------------------------------------------- Øverst på formularen Nederst på formularen vis/skjul svar * 01. januar 1 Af Longarm Hvorfor skulle jeg det? :) Det må være en ekstra opgave i er blevet stillet :) * Kommentar #4 17. juni 2011 Af backus Et virkeligt velskrevet og rammende essay. ------------------------------------------------- Øverst på formularen Nederst......

Words: 758 - Pages: 4

Free Essay

Essay

...------------------------------------------------- Red River College ECE Program ECED-2009 Research Essay Assignment Value: 30% Select a topic related to Early Childhood Education for this assignment. The list on the following page may be helpful for some ideas, although you are not restricted to these topics. Approve your topic with your instructor by: _______ . Duplication of topics will not be allowed, and topic choice is on a first-come, first-served basis. Search for resources related to this topic. Check the Learning Centre, as well as the Library. Conduct an Internet search. For your paper, you need a minimum of 4 current (less than 8 years old) references. Include a minimum of one of each of the following: - book - scholarly journal article (from EBSCOHOST or other scholarly database) - reliable internet source. Use the APA style of documentation (see text) to write a 3 - 4 page paper. Include an introduction, thesis statement, body (that includes background information and at least 3 points of discussion), a conclusion, and a reference page. The reference page is not included in the length. You will also complete a 5 minute presentation to the class based on your research. Refer to Considerations for Effective Presentations. Use peer editing as part of your writing process. That is, when you have a draft completed, ask at least one peer to provide feedback using the peer editing rubric. Be mindful of the peer’s......

Words: 895 - Pages: 4

Premium Essay

Essay

...paragraph. The idea is to allow the author to develop an argument and support it with ideas. • Stated first and last The topic sentence appears both at the beginning and at the end. It is a technique that is used by authors in cases where the content of the paragraph is complex. The topic sentence that appears at the end aims to remind the readers about the content in the paragraph so that they do not loose focus. • Stated implied This is a situation where an author states an obvious topic sentence to avoid being direct. In this case, the topic sentence is not conspicuous. The readers have to read in between the lines to identify the hidden topic sentence. 13. Paragraphs are the building blocks of coherent, authoritative and well-developed essays. An adequately developed paragraph should contain the following four details; Topic sentence This is a sentence that traditionally appears as the first sentence. However, the topic sentence could also appear at the end, in the middle, at the beginning and at the end or implied. It informs the reader the subject matter of the paragraph. The reader is in a position to internalize what to expect in the paragraph. In addition, the topic sentence substantiates the thesis statement. Conclusion This is a summarizing sentence that comes at the end of the paragraph. The sentence wraps up the argument developed in the paragraph and gives a summary. The conclusion helps the reader to connect the argument that is being developed and......

Words: 1078 - Pages: 5

Free Essay

Essay

...Lindsay Apedaile Ms. Brown English 1020 2 November 2015 4.1 Ravisankar begins his essay by describing consumers and their want for low prices then describes sweatshops and their conditions. The problem he identifies is consumers demand lower prices to do this, corporations cut the cost on their employees either decreasing their wages or worsening their working conditions. Ravisankar assumes his readers are poor college students looking for lower prices and have a basic understanding of what a sweatshop is but does not fully know the appalling conditions of sweatshops. His purpose in this essay is to raise awareness of the degrading environment of sweatshops. In order to accomplish this purpose, he appeals mainly to pathos an appeal to emotions by mentioning how bad sweatshop working conditions are and its consumer’s. He also appeals to logos when he writes that people should have equal rights as others like pay. In this essay, Ravisankar addresses the main argument against his thesis the idea that the big companies like Nike, Reebox, and Gap are to blame for decreasing conditions in sweatshops. He refutes this argument by saying these companies are taking apart of “the race to the bottom” the pressure for low costs. Finally, he concludes by making the point that universities purchase around $3 billion in clothing with the universities name on it. This puts pressure on the companies to provide living wages and reasonable working. Overall, the argument Ravisankar makes...

Words: 291 - Pages: 2

Free Essay

Essay

...How to Write a Religious Studies Essay The first thing to understand when approaching an essay in religious studies is the unique nature of the discipline. Apart from its distinctive subject matter, the interdisciplinary nature of the field makes the study of religion both fascinating and highly challenging. The academic study of religion requires more than knowledge of individual texts, beliefs and practices, and may draw upon fields as diverse as history, sociology, anthropology, hermeneutics, and linguistics. For this reason, your instructors will expect you to familiarise yourself with and be able to employ a variety of different theories and methods. The interdisciplinary nature of the subject is also reflected in the various kinds of essays you will be asked to write, which may include a mixture of comparative, textual, ethnographic, hermeneutical, sociological and historical approaches. The academic study of religion takes place in a secular rather than a faith-based context. Since it aims to understand religion from a perspective that can be shared by all, and limits itself to evidence that is available to all, you will not be required to try to prove or refute particular religious beliefs. As an interdisciplinary academic subject, religious studies employs historical, textual, cultural, sociological and anthropological methods to contextualise, interpret and understand religious beliefs, practices, traditions and communities. As such, it is important......

Words: 250 - Pages: 1

Premium Essay

Essay

...steps in the scientific method? Type your response here: 4. Why did most Medieval philosophers and scientists feel that experimentation was unnecessary? Type your response here: 5. Why did the Enlightenment writer Voltaire get into so much trouble in France and elsewhere? Type your response here: Part 2 Write a well-developed essay of two to three paragraphs on one of the topics below. Make sure you use specific information from this lesson and, if need be, from previous lessons. Proofread your essay to eliminate errors in grammar and spelling. (Each question is worth 15 points) 1. Choice #1: Compare and contrast the careers of Galileo Galilei and Isaac Newton. What discoveries did each make? How were their methods similar or different? How were both received by the religious and political authorities of the day? A complete answer will include an assessment of the political and cultural climate in which each thinker lived.  Choice#2: Write an essay explaining how the Scientific Revolution influenced Enlightenment thinkers in other disciplines. Your essay should mention at least two of the following thinkers and topics: divine right of kings, empiricism, Vesalius, Descartes, Hobbes, or Voltaire. Type your response here: ----------------------- Submission ----------------------- © 2013 EDMENTUM, INC....

Words: 295 - Pages: 2

Premium Essay

Essay

...How to determine custom essay editing company that is legitimate This is the company you will find great editors to provide you with custom essay editing service. Students whose first language is not English may find speaking and writing in English as a difficult task for them. Most of these students are international students who have enrolled in various universities in America and in the UK. The main teaching language is English, American and Standard English respectively. It is essential for students to master well the language of instruction because it is a medium through which they are required to write their assignments and speak in classroom. Competence and fluency in English language will help students to read and understand the teaching material provided to them. It is important therefore for students to ask for support from custom essay editing services which deal with the tips of writing good essays among other academic papers and also to write for them assignment essays. Our writing and editing services is created both for students and professionals. We deal with both the non academic and academic editing and writing services to fulfill your needs. At our custom essay editing, you will find editors who are qualified in linguistics and English language. We are ready to provide you the custom essay editing service at any time of the day or night because we operate as a 24/7 service. Our custom essay editing service comprises of creative thinkers, skillful......

Words: 574 - Pages: 3

Free Essay

Essay

...Der Essay Was ist ein Essay? Nach der Duden-Definition ist ein Essay eine Abhandlung, die eine literarische oder wissenschaftliche Frage in knapper und anspruchsvoller Form behandelt. Einen Essay schreiben heißt also wissenschaftliches Schreiben, eine kritische Auseinandersetzung mit einem Thema. Ausgangspunkt für einen kritischen Essay ist in der Regel ein Problem, eine strittige Frage oder eine These, die in dem Essay dann bewusst subjektiv diskutiert werden soll. Dabei benötigt der Einstieg in den Essay/in das Thema einen Aufhänger. Das kann ein aktuelles Ereignis sein, oder auch eine persönliche Begebenheit. Es muss klar werden, warum Sie sich zu diesem Zeitpunkt mit dem gewählten Thema auseinandersetzen und weshalb Sie dem Thema eine gewisse Relevanz zusprechen. Anforderungen an einen Essay Das Schreiben von Essays soll die kritische Beurteilung und das Abwägen wissenschaftlicher Positionen fördern; dabei wird kein Anspruch auf vollständige Darstellung in allen Details erhoben, wichtiger ist die Betrachtung des Gegenstandes in einem größeren Gesamtzusammenhang. Mehr noch als bei Hausarbeiten muss man daher zwischen Wichtigem und Unwichtigem unterscheiden. Als AutorIn hat man damit die Möglichkeit, wissenschaftliche Erkenntnisse zusammen mit eigenen persönlichen Beobachtungen und Eindrücken zu schildern. Im Mittelpunkt steht jedoch die wissenschaftliche Argumentation, die zum Ausgangspunkt für Ergänzungen und Überlegungen genommen wird.......

Words: 837 - Pages: 4