Cybersecurity
Describe a fake login management scenario. Identify several authentication practices. Are passwords becoming obsolete?
●Student with the attributes(Student_Id, student full name, average mark and course_id)
●Course with the attributes(Course_id, Course designation, number of years to complete and fee)
●School with the attributes(School code and highest qualification offered)
●Award with the attributes(Award code, description and amount)
Write the following functions for above data and incorporate them into one app:
● Four functions each responsible for capturing data about one of the data items above. Each stored in their respective array.
● A function that is responsible for capturing marks for each student.
● A function that searches for a maximum mark of a certain student; identified by their student id.
● A function that checks if a certain award is offered. The award must be searched by both their code and description.
● A function that allows replacement of the highest qualification offered by a school.
● Overload a function called DisplayDetails that displays all records for all the four data items.
anil is given a sentence as he tries to make a sentence special a sentence can be made special by swapping the character with high frequency with the character having low frequency in the sentence help anil by transforming the sentence into. a special sentence in python.
swap most frequent letter with least given a sentence, swap the occurrences of the most frequenti with the least frequent letter and vice-versa. submisdong note: • consider upper and lower case letters as different . if there are multiple letters with the same frequency, choose the lower case letter that comes earliest in dictionary order o if letters like x and b have same frequency consider x o if letters like x and b have same frequency consider b.
Input: Python is a programming language
Output should be: Python is e progremming lenguega
Input : check your blood pressure frequently
Output : check ybur olbbd pressure frequently
Lowest and highest score. The teacher gave out the scores of the science quiz conducted last week and asked the ones with the lowest and highest scores to group up. Print the names of the students with minimum and maximum scores, respectively.
Note: In case of a tie, choose the name which comes first in the (dictionary order).
Input : 2
shakti 24
disha 26
output: shakti disha
input: 3
ajay 23
bijay 24
sanjay 23
output: ajay bijay
Registration System
1. Press 1 to login
2. Press 2 to register students
3. Press 3 to see the list of fee defaulters
4. Press 4 to see the CGPA of student
5. Press 5 to see the pre requisite of a course.
6. Press 6 to exit the system
Registration Window
Enter student ID
The student should not be a fee defaulter if yes then do not register student
The pre requisite of course should be passed. if fail do not register for the course
If the students CGPA is a above 3.0 register all courses.
If the CGPA is above 2.0 register 3 courses.
If CGPA less than 2.0 then register 2 courses with a warning.
Student information Window
The data should be saved in a file.
The student record may be deleted.
The student record may be searched based on the ID provided.
The student record may be updated in case if its phone no or house address changes.
Take input of number 12008988 in the University using appropriate data type. Write a
programme to print all the prime number digits, each in a new line, in this number
Input numbers from the user and find the product of all those input numbers until the user
inputs a negative number. In other means, the loop should end when the user enters a
negative number. Finally, display the product of all those positive numbers entered by the
user.
When will the ‘while’ loop be preferred over the for loop? Mention the scenario and write the
programme to demonstrate this.
Write a do while loop to require the user to enter two integers; the second integer must be equal to, or larger than, the first integer. Both integers must be at least 1 and not larger than 20. If they do not enter correct integers, give them error messages and make them do it again until they are correct.
After the acceptable integers have been entered, use a for loop to print a table of integers and their square roots for all integers from the first integer specified by the user to the last integer specified by the user, inclusive. Align the table and print 4 decimal positions
A sample table follows, for integers 7 to 9:
INTEGER SQUARE ROOT
7 2.6458
8 2.8284
9 3.0000
Test the program twice:
First test, first enter: first integer = 2, second integer = 0
and after that is rejected: first integer = 2, second integer = 4
Second test, first enter: first integer = 21, second integer = 5
and after that is rejected: first integer = 5, second integer = 5
Create a program named PaintingEstimate whose Main() method prompts a user for length and width of a room in feet. Create a method that accepts the values and then computes the cost of painting the room, assuming the room is rectangular and has four full walls and 9-foot ceilings. The area of one wall will be length of the wall times the height of the wall. The price of the job is $6 per square foot.
Submit the .cs file for your painting cost estimating program here. In a separate text file show the inputs you used to test your program and a "hand calculation" that verifies at least one of your inputs. Be sure to include comments in your program, including your name and a description of the program inside the program itself. Also be sure to use meaningful variable names.