Create a stored procedure that will displayed only the countries in Asia. Provide me the sql file or screenshot per commands and show the BEFORE and AFTER of the data
def countdown(n):
if n <= 0:
print('Blastoff!')
else:
print(n)
countdown(n-1)
Write a new recursive function countup that expects a negative argument and counts “up” from that number. Output from running the function should look something like this:
>>> countup(-3)
-3
-2
-1
Blastoff!
Write a Python program that gets a number using keyboard input. (Remember to use input for Python 3 but raw_input for Python 2.)
If the number is positive, the program should call countdown. If the number is negative, the program should call countup. Choose for yourself which function to call (countdown or countup) for input of zero.
Provide the following.
1. Two fair cubes are rolled. The random variable X represents the difference between the values of the two cubes.
a) Find the mean of this probability distribution. (i.e. Find E[X])
b) Find the variance and standard deviation of this probability distribution.
(i.e. Find V[X] and SD[X])
The random variables A and B are defined as follows:
A = X-10 and B = [(1/2) X]-5
c) Show that E[A] and E[B].
d) Find V[A] and V[B].
e) Arnold and Brian play a game using two fair cubes. The cubes are rolled, and Arnold records his score using the random variable A and Brian uses the random variable B. They repeat this for a large number of times and compare their scores. Comment on any likely differences or similarities of their scores.
Create a program that asks the user to input 5 numbers. The numbers should be stored in a list, after which, your program should determine the lowest number on the list using a loop then it will display the lowest number.
Create a program to Delete and copy a file in C#.
Discuss the functions of each layer of the OSI model and protocols used
Create a class to represent a Circle type in java, which should have following:
• radius. Instance field of type double
• Constructor. that accept an argument for radius
• getRadius. public method that returns the radius of Circle
• getArea. Method that returns the area of Circle
Write a value-returning method, isVowel that returns the value true if a given character is a vowel, and otherwise returns false. In main () method accept a string from user and count number of vowels in that string.
Variables, python operators,data types,string slicing, range of string using list, python conditional statements,user input, looping statement s, python function s, exception handling, file handling, module concept write a code using all these things in python
Write a program to act as a digital combination lock safe. Create 3 buttons representing 1, 2 and 3. The user clicks on the buttons trying to guess the correct numbers eg (3321). Use a label to keep track of and display code enrered so far. Only once the correct numbers are pressed, the program congratulates the user with a message.