What are three types of AI and give an example of each?
Assign your name to the variable name.
Assign your age (real or fake) to the variable age.
Assign a boolean value to the variable has_android_phone.
Create a dictionary person with keys "Name", "Age", "HasAndroidPhone" and values using the variables defined above.
Use a for loop to display the type of each value stored against each key in person.
Write a LMC program of your choosing. For example, sum up five numbers and print the sum. Use the LMC Simulator to test your solution.
Write a LMC program that allows the user to input three numbers: A, B, and C. The program should output calculation of A+B-C. Use the LMC Simulator to test you solution.
Create a rectangle class having length and width as parameter. Write getter/setter for
each parameter. Write default constructor that should initialize the default value to the
length and width.. Write member functions to calculate area and another function to
calculate perimeter in class. Write a function to print the information regarding rectangle
which include length, width, area and parameter.
Formula to calculate area = 0.5 * length * width
Formula to calculate perimeter=2 * length+ 2 * width
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
write a program to find the first prime number in the given inputs
Compare datagram services with virtual circuit
Compare ALOHA and Slotted ALOHA techniques in MAC sub-layer
. The bytes in the original datagram are numbered 0 to 3199. Divide the datagram in four
fragments. Write the values of total length, M bit, fragment-offset for each fragment.