Write a program to print
W pattern of N lines using an asterisk(*) character as shown below.
Note: There is a space after each asterisk * character.
Write an algorithm for the network administrator to help him find number of data characters that do not change position even after the data stream is reversed
Given an integer value
N as input, write a program to print a shaded diamond of 2*N -1 rows using an asterisk(*) character as shown below.
Note: There is a space after each asterisk (*) character.
Given an integer
N as input, write a program to print a number diamond of 2*N -1 rows as shown below.
Note: There is a space after each number.
ASSIGNMENT - 11
You are given a string, write a program to find whether the string is palindrome or not.
The first line of input is a string.
The output should be
In the given example, the string
No lemon no melon is a palindrome as we are ignoring spaces. So, the output should be True.
Sample Input 1
No lemon no melon
Sample Output 1
True
Sample Input 2
Race Cars
Sample Output 2
False
First and Last Elements of List
You are given an integer
The first line of input is an integer
In the given example, we are given
6 numbers 1, 2, 3, 4, 5, 6 as input.The list should contain first two integers
1, 2 and last two integers 5, 6 So, the output should be [1, 2, 5, 6].
Sample Input 1
6
1
2
3
4
5
6
Sample Output 1
[1, 2, 5, 6]
Sample Input 2
5
1
11
13
21
19
Sample Output 2
[1, 11, 21, 19]
ASSIGNMENT - 2
Largest Number in the List
You are given space-separated integers as input. Write a program to print the maximum number among the given numbers.
The first line of input contains space-separated integers.
In the example, the integers given are
1, 0, 3, 2, 9, 8. The maximum number present among them is 9. So, the output should be 9.
Sample Input 1
1 0 3 2 9 8
Sample Output 1
9
Sample Input 2
-1 -3 -4 0
Sample Output 2
You are given a string S as input, write a program to print the string after reversing the words of the given sentence.
Input
The first line of input is a string S.
Explanation
In the given example, the sentence This is Python contains 3 words. When reversing, the word Python comes to the starting of the sentence, and This goes to the last of the sentence. The word is remains in the same position.
So the output should be Python is This.
Sample Input 1
This is Python
Sample Output 1
Python is This
Sample Input 2
Hi! World Hello
Sample Output 2
Hello World Hi!
Tutora is an educational institute which provides education and research to country. Currently their
entire business process is operated with books and emails. As a startup company your group has been
hired to automate the manual process of Tutora. The following main business requirements has been
discussed by the client. Implement a java Swing Application to automate the business requirements.
1. Manage Student Registration Issues (Add,Update,Remove)
2. Manage Examination issues (Add,Update,Remove)
3. Manage Courses.
4. Manage Technical inquires related to exams.
5. Allocate employees to student inquires.
6. Monthly Reports related to student inquires.
7. Send notification to the students when the student inquiry has been sorted
8. Send notification to Employees when a new inquiry has been raised via email.
Trapezium Order
you are given an integer N . print N rows starting from 1 in the trapexium order as shown in the output of the below examples .
Input
the input contains an integer N
OUTPUT
the output should have N lines
each of the N lines should have space -seperated integers as per the trapezium order
CHECK THE LINK BELOW FOR EXACT OUTPUT
https://docs.google.com/document/d/1rMdPEY_1fttuydfFQLeJHmX_eMa66awj84hW2pnAdyI/edit
note : in the output second row 2 below there should be 5 and 3 below there should be 6 and likewise respected third row there should be 6 below there should be 8 and so on