Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

You must design a COVID-19 screening application for your campus. The guards at each gate will screen the students . The capabilities and features of the application should include a choice between the following functions:

1. A screening survey which will allow guards to record the students’ screening data.

 *No student should be allowed access to the campus after 12h00 in the afternoons regardless of whether capacity has been reached or not.

*If a student’s temperature is 38 degrees or more, they will not be allowed entry into the campus.

Write the pseudocode that will accurately represent the application you are designing.


2. Write a class named Pet, which should have the following data attributes:

a) __name (for the name of a pet) __animal_type (for the type of animal that a pet is. Example values are ‘Dog’, ‘Cat’, and ‘Bird’) __age (for the pet’s age) The Pet class should have an __init__ method that creates these attributes.

It should also have the following methods:

b) set_name: This method assigns a value to the __name field. set_animal_type: This method assigns a value to the __animal_type field. set_age: This method assigns a value to the __age field. get_name: This method returns the value of the __name field. get_animal_type: This method returns the value of the __animal_type field. get_age: This method returns the value of the __age field


1. Write a class named Car that has the following data attributes:

a) __year_model (for the car’s year model) __make (for the make of the car) __speed (for the car’s current speed) The Car class should have an __init__ method that accepts the car’s year model and make as arguments. These values should be assigned to the object’s __year_model and __make data attributes. It should also assign 0 to the __speed data attribute.

The class should also have the following methods:

b) Accelerate: The accelerate method should add 5 to the speed data attribute each time it is called. Brake: The brake method should subtract 5 from the speed data attribute each time it is called. get_speed: The get_speed method should return the current speed





Rearrange Numbers in String

Given a string, write a program to re-arrange all the numbers appearing in the string in decreasing order. Note: There will not be any negative numbers or numbers with decimal part.

Input

The input will be a single line containing a string.

Output

The output should be a single line containing the modified string with all the numbers in string re-ordered in decreasing order.

Explanation

For example, if the given string is "I am 5 years and 11 months old", the numbers are 5, 11. Your code should print the sentence after re-ordering the numbers as "I am 11 years and 5 months old".

Sample Input

I am 5 years and 11 months old

Sample Output

I am 11 years and 5 months old


Sample Input

3times4is12


Sample output

12times4is3


Given a matrix of order M*N and a value K, write a program to rotate each ring of the matrix clockwise by K elements. If in any ring has less than or equal to K elements, then don’t rotate that ring.


The following program shows queue implementation using Array. In the main( ) function, the queue is inserted 5 times, i.e. up to its maximum capacity. However, though the deQ( ) function has been executed, the program fails to insert a new element (value=21) into the queue. Modify the program so the queue can be filled up to its maximum capacity at any time. 



Bookmark Maker

let's build a Bookmark Maker

Instructions:

  • Each bookmark item should contain a HTML anchor element to navigate to the bookmarked site (Important point)

Refer below link for Bookmark Maker Question

https://drive.google.com/file/d/13KC5acqLGj61aayVab137d8s9rPArIfs/view?usp=sharing


1. Write a program that reads integers from the user and stores them in a list. Your program should continue reading values until the user enters 0. Then it should display all of the values entered by the user (except for the 0) in order from smallest to largest, with one value appearing on each line.


2. Two words are anagrams if they contain all of the same letters but in a different order. For example, “evil” and “live” are anagrams because each contains one ‘e’, one ‘i’, one 'l', and one ‘V'. Create a program that reads two strings from the user, determines whether or not they are anagrams.


3. Write a function that takes three numbers as parameters, and returns the median value of those parameters as its result


1. Write a program that reads an integer from the user. Then your program should display a message indicating whether the integer is even or odd.


2. A string is a palindrome if it is identical forward and backward. For example “anna”, “civic”, “level” and“hannah” are all examples of palindromic words. Write a program that reads a string from the user and uses a loop to determines whether or not it is a palindrome. 


Professor Juarez wants to calculate the factorial numbers in his mathematic class. As an IT student, you are the best candidate to help him solve his problem. With the aid of your Visual basic expertise, write a program that will print the factorial of a number by defining a method named 'Factorial'. You should name your program Factorial. Factorial of any number n is represented by n! and is equal to 1*2*3*....*(n-1)*n. E.g.- 4! = 1*2*3*4 = 24 3! = 3*2*1 = 6 2!=2*1=2 Also, 1! = 1, 0! = 0


LATEST TUTORIALS
APPROVED BY CLIENTS