Write a program that takes as input a class score. Output the grade for the class based on the
following guideline:
Exactly 100 is A+
90and above is A
80 and above is B
70 and above is C
60 and above is D
Anything less than 60 is F
Anything more than 100 or less than 0 is invalid input.
Write a program that accepts a letter grade as input and outputs the teacher’s remarks. Use
only switch, do not use any if’s. Example: If ‘A’or ‘a’, then “Excellent job!”. If ‘F’ or ‘f’, then “You
failed. Please study more next time”.
String &Regular Expressions
Write a python script to take two string S1 and S2 and do the following:
Check S1 and S2 are anagrams or not.
Check S1 is Sub string of S2 or not.
S1 is palindrome or not
Write a menu driven program with the following requirements:
a) It deals with a point1 which has the following attributes; the x-coordinate
and the y-coordinate, the point2 which has the following attributes; the
x-coordinate and the y-coordinate-name, the point3 which has the
following attributes; the x-coordinate-name and the y-coordinate-name.
b) The menu communicates with the following functions:
i. The function that accepts as many point1s as possible and store them
in an array. N.B. Make your array global so that it is accessible globally in
your program.
ii. Overload the function on i. above so that it caters for point2s and
point3s as well.
iii. The function that allows the swapping of details of any 2 point2s in the
array. The positions of the 2 point2s must be known.
iv. The function that searches for a certain point3 in the array. Incorporate
this appropriately in the menu.
v. The function that extends the name of the point2 at any position given.
Imagine a collection of nuts and bolts that are all together in one pile on a table. Describe, in pseudocode, how you would find all matching pairs of nuts and bolts. You need to find one solution for each of the problem-solving approaches given below. For each of your solution, determine how many comparisons of pairs of nuts and bolts you might have to make in the best- and worst- case scenario. You can assume that there are complete pairs, no single nuts or bolts, and that for each bolt, there is exactly one nut that fits. Describe a solution to the nuts and bolts problem (in pseudocode) using a Divide and Conquer Approach.
Output all combinations of character variables a, b, and c, in the order shown below. If a = 'x', b = 'y', and c = 'z', then the output is:
xyz xzy yxz yzx zxy zyxImagine a collection of nuts and bolts that are all together in one pile on a table. Describe, in pseudocode, how you would find all matching pairs of nuts and bolts. You need to find one solution for each of the problem-solving approaches given below. For each of your solution, determine how many comparisons of pairs of nuts and bolts you might have to make in the best- and worst- case scenario. You can assume that there are complete pairs, no single nuts or bolts, and that for each bolt, there is exactly one nut that fits. Describe a solution to the nuts and bolts problem (in pseudocode) using a Brute Force Approach.
Ajayi bello applied for a bed space in the unity hall of residence but was not allocated for one, he later got an accomodation in apete through an agent he was asked to pay the following
(1) Rent of #36,000 per annum
(2) 5% caution fee
(3) 10% maintenance fee
(4) 5% legal fee
(5) 10% agency fee
Write a visual basic code to display the total amount that will pay for that year
How can you declare a variable in vb.net
Write an extensive program that will display any student profile with
(1) full name
(2) matric number
(3) age
(4) programme (e.g)(ft)
(5) level