Assign your name to the variable name.
Q2: Assign your age (real or fake) to the variable age.
Q3: Assign a boolean value to the variable has_android_phone.
Q4: Create a dictionary person with keys "Name", "Age", "HasAndroidPhone" and values using the variables defined above.
Q4b Use a for loop to display the type of each value stored against each key in person. (Optional)
Describe the various positions in information security, and list the duties, tasks, and responsibilities associated with each position.
In physics, an object that is in motion is said to have kinetic energy. The following formula can be used to determine a moving object’s kinetic energy:
KE=1/2mv2
The variables in the formula are as follows: KE is the kinetic energy, m is the object’s mass in kilograms, and v is the object’s velocity in meters per second.
1. Write a function named kinetic_energy that accepts an object’s mass (in kilograms) and velocity (in meters per second) as arguments. The function should return the amount of kinetic energy that the object has.
2. Write a statement that calls the kinetic_energy function to get and display the kinetic energy of an object with the mass of 5 kilograms and velocity of 20 meters per second
A student’s letter grade is calculated according to the following schedule:
Using this information, write, compile, and run a C++ program that accepts a student’s numerical grade, converts the numerical grade to an equivalent letter grade, and displays the letter grade.
For this assignment, you will write a program that will read in the data from a text file (provided) and store it in two arrays. The first two lines (student’s first name and last name) will be stored in a string array (that contains 2 columns). The last 5 lines (homework average, quiz average, exam average) will be stored in a double array (that contains 3 columns). The class can have up to 30 students enrolled (so you will have to allow for up to 30 students but track how many are read in). The program will average each student’s grade using the formula average = hw * 0.1 + quiz * 0.1 + exam * 0.8. Then it will determine the letter grade for the student. The output for each student will be FirstName LastName: Letter Grade. You need to do exception handing for the end of file and making sure the file exist. The file is formatted so that it has 5 lines per student. The files name is “Students.txt”. Do not change the name. • First Name • Last Name • Homework Average • Quiz Average • Exam Average in c++
3x4sin(180x) + 4x3 cos(90x) + x2sin(tan(45)) + 7x + 9cos(90x2 )
Write a class Account with following parameters: accountTitle (string), accountHolder (string), accountNumber(string), amount(double). Write public getters and setters for each class variable. You are also required to write following functions
1. withdrawAmount The user should be able to withdraw amount from his/her account. The withdrawAmount member function.
2. deductTax At every withdrawal, The program should be able to deduct tax (2.5%) from user amount.
Write main() function where program should provide following options to the user:
a. create account
b. set account title
c. set account holder name
d. set account number
e. set amount
f. get account title
g. get account holder name
h. get account number
i. get amount
j. withdraw amount
k. deduct taxes
What kind of businesses are most likely to benefit from using Cloud computing?
Provide justification for your answer.
Write a C++ program that converts a decimal number to a binary, octal, and hexadecimal equivalents. First, the program will ask to fix a range for the lower and upper limit in which the conversion is required. The lower limit should not be less than 0 and greater than the upper limit. For example, if you enter a negative number or greater than the upper limit, then the program should print a message for the invalid input and will ask you again to enter a decimal number within the range. If you correctly specify the upper and lower limits, then the program will print a table of the binary, octal and hexadecimal equivalents of the decimal numbers in the range of lower limit through upper limit.
if your ids last digit is 0 then implement Bisection numerical method to find the root of the given equation.
if your ids last digit is 1/2/3 or even then implement False position numerical method to find the given equation.
if your ids last digit is 4/5/6 or even then implement secant numerical method to find the given equation.
if your ids last digit is 7/8/9 or even then implement newton raphson numerical method to find the given equation.
given equation:x^3-(last digit of your id)x+(ASCIIvalue of your names first letter)
an example :if my id is 110104154 then the last digit is 4
my name: Sanjida first letter S . ASCII of S=83 (cap letter only)
so equation for me is:x^3-(4)x+(83)
as last digit is 4 i have to choose secant method.
now find your and you need to describe your equationand method choosein your report as i shown here.