Using One Gate Two Gates Draw Circuit Diagram Following Boolean Expression Also Prove Outp Q43805380

Using one OR gate and two NOR gates, draw the circuit diagramfor the following Boolean expression. Also prove that the output ofyour circuit is equivalent to the following Boolean expression.!A!B + !C!D

Expert Answer


Answer to Using one OR gate and two NOR gates, draw the circuit diagram for the following Boolean expression. Also prove that the …

Using Oracle G 11 Developer Following Print Screens Sql Commands Outputs Shown Displayed F Q43898961

Using Oracle g 11 developer do the following:
Do print-screens of all of the SQL commands outputs shown inall the displayed figures (example figure 2-3 “select table_namefrom user_tables;”) in chapter 2 of the Oracle 11 SQL book. Writethe command you used below each screen so I can read it. Submit it(print-screen them) in a Word document.

here is the link to the book (use chapter 2 only starting onpg. 25):
http://file.allitebooks.com/20151009/Oracle%2011G-%20SQL.pdf

Enter SOL Statement SELECT table Rower cables 29 Results Scree O uteplan Autotrace OEMS Output TABLE NAME 1 CUSTOMERS 2 ORDEREnter SOL Statement SELECT table Rower cables 29 Results Scree O uteplan Autotrace OEMS Output TABLE NAME 1 CUSTOMERS 2 ORDERS 3 PUBLISHER 4 AUTHOR 5 BOOKS 6 ORDERITEMS 7 BOOKAUTHOR PROMOTION FIGURE 2-3 List of existing tables Show transcribed image text Enter SOL Statement SELECT table Rower cables 29 Results Scree O uteplan Autotrace OEMS Output TABLE NAME 1 CUSTOMERS 2 ORDERS 3 PUBLISHER 4 AUTHOR 5 BOOKS 6 ORDERITEMS 7 BOOKAUTHOR PROMOTION FIGURE 2-3 List of existing tables

Expert Answer


Answer to Using Oracle g 11 developer do the following: Do print-screens of all of the SQL commands outputs shown in all the displ…

Using Oracle Live Sql Human Resource Schema Display Manager Number Salary Lowest Paid Empl Q43896418

*****USING ORACLE LIVE SQL, Human Resource Schema*****

  1. Display the manager number and the salary of the lowest paidemployee for that manager. Exclude anyone whose manager is notknown. Exclude any groups where the minimum salary is $6,000 orless. Sort the output in descending order of salary.
  2. Write a query to display each department’s name, location,number of employees, and the average salary for all employees inthat department. Label the columns Department , Location, Number ofWorkers, and Average Salary, respectively. Round the average salaryto two decimal places.

Expert Answer


Answer to *****USING ORACLE LIVE SQL, Human Resource Schema***** Display the manager number and the salary of the lowest paid empl…

Using Php Mysql Create Form User Full Name User Comment Many Lines Want Allows User Attach Q43812998

Using PHP and MYSQL create a formthat:

  1. user Full name
  2. user Comment (as many lines as they want)
  3. allows the user to attach one image
  4. uploads the Full name, comment, and image to a database
  5. Displays the user’s full name, comment and user image on thewebsite by selecting them from the database.
  6. Include the server connection file as well any necessary codesto connect and maintain the database

Expert Answer


Answer to Using PHP and MYSQL create a form that: user Full name user Comment (as many lines as they want) allows the user to atta…

Using Proteus Design Demo Circuit Demonstrate Different Modes 8254 8251 Deliverable Schema Q43798391

Using proteus, design a demo circuit to demonstrate the different modes of 8254, 8251. Deliverable: Schematic along with asseUsing proteus, design a demo circuit to demonstrate the different modes of 8254, 8251. Deliverable: Schematic along with assembly code used to run the demo. How to do it? 1- 8254 Programable Timer – Design a circuit which includes 8086 microprocessor with a simple decoding circuit, 8254, function generator as an input to 8254 counter and finally logic analyzer to draw generated signals. – Write a simple assembly code to run this circuit and show generated signals on the logic analyzer. – In your code, demonstrate different modes for 8254. 2- 8251 Programable Timer 3- Design a circuit which includes 8086 microprocessor with a simple decoding circuit, 8251, function generator as an input to 8251 counter and finally logic analyzer to draw generated signals. 4- Write a simple assembly code to run this circuit and show generated signals on the logic analyzer. 5- In your code, demonstrate different modes for 8251. Show transcribed image text Using proteus, design a demo circuit to demonstrate the different modes of 8254, 8251. Deliverable: Schematic along with assembly code used to run the demo. How to do it? 1- 8254 Programable Timer – Design a circuit which includes 8086 microprocessor with a simple decoding circuit, 8254, function generator as an input to 8254 counter and finally logic analyzer to draw generated signals. – Write a simple assembly code to run this circuit and show generated signals on the logic analyzer. – In your code, demonstrate different modes for 8254. 2- 8251 Programable Timer 3- Design a circuit which includes 8086 microprocessor with a simple decoding circuit, 8251, function generator as an input to 8251 counter and finally logic analyzer to draw generated signals. 4- Write a simple assembly code to run this circuit and show generated signals on the logic analyzer. 5- In your code, demonstrate different modes for 8251.

Expert Answer


Answer to Using proteus, design a demo circuit to demonstrate the different modes of 8254, 8251. Deliverable: Schematic along with…

Using Pycharm Python Perform Following Program Must Header Use Programming Style Guide Gui Q43779275

Using PyCharm (Python) perform the following:

  • Your program must have a header. Use the programming styleguide for guidance.
  • This program will perform various calculations (addition,subtraction, multiplication, division, and averagecalculation)
  • This program will contain a variety of loops andfunctions.
  • The program will add, subtract, multiply, divide two numbersand provide the average of multiple numbers input by the user.
  • Define a function named performCalculationwhich takes one parameter. The parameter will be the operationbeing performed (+, -, *, /).
    • This function will perform the given prompt the user for twonumbers then perform the expected operation depending on theparameter that’s passed into the function.
    • This function will print the calculated value for the enduser.
  • Define a function named calculateAverage whichtakes no parameters.
    • This function will ask the user how many numbers they wish toinput.
    • This function will use the number of times to run the programwithin a for loop in order to calculate the total and average.
    • This function will print the calculated average.
  • This program will have a main section which contains a whileloop. The while loop will be used to allow the user to run theprogram until they enter a value which ends the loop.
  • The main program should prompt the user for the operation theywish to perform.
  • The main program should evaluate the entered data using ifstatements.
  • The main program should call the necessary function to performthe calculation.

Expert Answer


Answer to Using PyCharm (Python) perform the following: Your program must have a header. Use the programming style guide for guida…

Using Python 1 Assign 4 Integer Variable X Assign 16 Integer Variable Y Calculate Sum X Y Q43902329

Using Python:

1) Assign 4 as an integer to variable x, assign as 16 an integerto variable y:

a) Calculate the sum of x and y, andassign it to variable xy. Print variable xy to the console.

b) Calculate xy to the power of x, andassign it to variable z. Print variable z to the console.

c) Calculate z divided by the squareof xy, and assign it to variable xyz. Print variable xyz to theconsole.

Expert Answer


Answer to Using Python: 1) Assign 4 as an integer to variable x, assign as 16 an integer to variable y: a) Calculate the sum of x …

Using Python 2 Right Angle Triangle Two Sides 3 B 4 Using Python Pythagorean Theorem C2 A2 Q43902339

Using Python:

2) A right-angle triangle has two sides of a = 3 and b = 4.Using Python and Pythagorean theorem (c2 =a2+ b2), find the length of variable c. Print variable cto the console. (Hint: square root is equal to the power of1/2)

3) Assign any integer to variable x. Create an if statement, ifx is divisible by 2, then print ‘x is even’ replacing x with theactual variable. If x is not divisible by 2, then print ‘x isodd’.

4) Create a list named alphabet containing the values‘a’,’b’,’c’,’d’,’e’,’f’,’g’. Iterate through the list with afor-loop, printing the respective value of each loop.

5) Create a list named addition containing the values2,128,16,32,8,64,4. Sort the list using the sort function inPython. Create a variable named total_value. Iterate through thelist with a for-loop, adding the value to total_value. Print thefinal result of total_value to the console.

Expert Answer


Answer to Using Python: 2) A right-angle triangle has two sides of a = 3 and b = 4. Using Python and Pythagorean theorem (c2 = a2 …

Using Python 3 Writing Rather Primitive Online Store Simulator Three Classes Product Custo Q43812497

USING PYTHON 3: You will be writing a (ratherprimitive) online store simulator. It will have three classes:Product, Customer, and Store. All data members of each class shouldbe marked as private and the classes should have any get or setmethods that will be needed to access them. Here are descriptionsof methods for the three classes:

Product:

A Product object represents a product with an ID code, title,description, price and quantity available.

  • init method – takes as parameters five values with which toinitialize the Product’s id_code, title, description, price, andquantity_available.
  • get methods for each of the data members, named get_id_code,get_title, get_description, get_price, andget_quantity_available
  • decrease_quantity – decreases the quantity available byone

Customer:

A Customer object represents a customer with a name and accountID. Customers must be members of the Store to make a purchase.Premium members get free shipping.

  • init method – takes as parameters three values with which toinitialize the Customer’s name, account_ID, and whether thecustomer is a premium_member.
  • you decide how to represent a Customer’s cart
  • get methods named get_name and get_account_ID
  • is_premium_member – returns whether the customer is a premiummember
  • add_product_to_cart – adds the product ID code to theCustomer’s cart
  • empty_cart – empties the Customer’s cart

Store:

A Store object represents a store, which has some number ofproducts in its inventory and some number of customers asmembers.

  • you decide how to represent a Store’sinventory and members
  • init method – whatever initialization needs to be done for yourStore
  • add_product – adds a product to the inventory
  • add_member – adds a customer to the members
  • get_product_from_ID – returns the Product with the matching ID.If no matching ID is found, it returns the special value None
  • get_member_from_ID – returns the Customer with the matching ID.If no matching ID is found, it returns the special value None
  • product_search – return a sorted list of ID codes for everyproduct whose title or description contains the search string. Thefirst letter of the search string should be case-insensitive, i.e.a search for “wood” should match Products that have “Wood” in theirtitle or description, and a search for “Wood” should match Productsthat have “wood” in their title or description. You may assume thatthe search string will consist of a single word.
  • add_product_to_member_cart – If the product isn’t found in theinventory, return “product ID not found”. If the product was found,but the member isn’t found in the members, return “member ID notfound”. If both are found and the product is still available, callthe member’s addProductToCart method to add the product and thenreturn “product added to cart”. If the product was not stillavailable, return “product out of stock”. This function does notneed to check how many of that product are available – just thatthere is at least one. It should not change how many are available- that happens during checkout. The same product can be addedmultiple times if the customer wants more than one ofsomething.
  • check_out_member – If the member ID isn’t found, raise anInvalidCheckoutError (you’ll need to define thisexception class). Otherwise return the charge for the member’scart. This will be the total cost of all the items in the cart, notincluding any items that are not in the inventory or are out ofstock, plus the shipping cost. If a product is not out of stock,you should add its cost to the total and decrease the availablequantity of that product by 1. Note that it is possible for an itemto go out of stock during checkout. For example, if the customerhas two of the same product in their cart, but the store only hasone of that product left, the customer will be able to buy the onethat’s available, but won’t be able to buy a second one, becauseit’s now out of stock. For premium members, the shipping cost is$0. For normal members, the shipping cost is 7% of the total costof the items in the cart. When the charge for the member’s cart hasbeen tabulated, the member’s cart should be emptied, and the chargeamount returned.

You must include a main function that runs if the file is run asa script, but not if the file is imported. The main function shouldtry to check out a member. If an InvalidCheckoutError is raised, anexplanatory message should be printed for the user (otherwise thecheckout should proceed normally).

In addition to your file containing the code for the aboveclasses, you must also submit a file that contains unit tests foryour Store.py file. It must have at least five unit tests and useat least three different assert functions.

Your files must be named: Store.py andStoreTester.py

Example of the data. I could only figure out how towrite it in C++, so if you could still convert it to Python 3, Iwould greatly appreciate it.

Product.hpp

#ifndef PRODUCT_HPP
#define PRODUCT_HPP

#include <string>

class Product
{
private:
std::string idCode;
std::string title;
std::string description;
double price;
int quantityAvailable;
public:
Product(std::string id, std::string t, std::string d, double p, intqa);
std::string getIdCode();
std::string getTitle();
std::string getDescription();
double getPrice();
int getQuantityAvailable();
void decreaseQuantity();
};

#endif

Customer.hpp

#ifndef CUSTOMER_HPP
#define CUSTOMER_HPP

#include <vector>
#include “Product.hpp”

class Customer
{
private:
std::vector<std::string> cart;
std::string name;
std::string accountID;
bool premiumMember;
public:
Customer(std::string n, std::string a, bool pm);
std::string getAccountID();
std::vector<std::string> getCart();
void addProductToCart(std::string);
bool isPremiumMember();
void emptyCart();
};

#endif

Store.hpp

#ifndef STORE_HPP
#define STORE_HPP

#include <string>
#include “Customer.hpp”

class Store
{
private:
std::vector<Product*> inventory;
std::vector<Customer*> members;
public:
void addProduct(Product* p);
void addMember(Customer* c);
Product* getProductFromID(std::string);
Customer* getMemberFromID(std::string);
void productSearch(std::string str);
void addProductToMemberCart(std::string pID, std::stringmID);
void checkOutMember(std::string mID);
};

#endif

Expert Answer


Answer to USING PYTHON 3: You will be writing a (rather primitive) online store simulator. It will have three classes: Product, Cu…

Using Python Decimal System Base 10 Natural Number Represented Sequence Dndn 1 D0 Decim Q43824313

Using Python

In the decimal system (base 10), a natural number is representedas a sequence dndn?1 . . . d0 of (decimal) digits, each of which isin the range 0..9. The value of the number is d0 ×100 +d1 ×101+···+ dn ×10n. Similarly, in the binary system (base 2), a naturalnumber is represented as a sequence bnbn?1 · · · b0 of (binary)digits, each of which is 0 or 1. The value of the number is b0 ×20+b1 ×21 +···+bn ×2n. For example, the value of the number whosebinary representation is 101 is: 1×20+0×21+1×22 =1+0+4=5.

(i) Without using any built-in functions for converting numbers,write a function that takes as input the binary representation of apositive integer n and returns its decimal representation.

Expert Answer


Answer to Using Python In the decimal system (base 10), a natural number is represented as a sequence dndn?1 . . . d0 of (decimal)…