Explain the start-up process of a computer clearly indicating the purpose of the POST,
BIOS and CMOS.
. Give a brief account on the technology used in Flash memory implementation
Write a program that can be used by a vendor of a budget store to calculate and display the number of items bought and the total amount due by a customer (display the total as currency with 2 decimal places). Your program must continuously prompt the user for the price of an item, until a valid number (between 0 and 150) is entered. As you do not know how many items the customer is buying, the vendor must be able to continuously item prices, until he enters a value of -1 to indicate that there are no more item prices to enter.
Customers buying at least 10 items qualify for one free item. When a customer qualifies for the free item, a relevant message must be displayed.
You do not need to create any user defined methods.
this is continuation of the question begin with For the given specification, construct a network design and assign the appropriate IP addresses for each interface in all the devices. Label all the devices with appropriate names given below with appropriate IP Addresses for each network and all the hosts connected in the each network. Suggested to use any Class C IP addresses for all the LAN and Class A address for the serial interface connecting between the two routers.
Router A serial interface 0/0/0 is connected with Router B serial interface 0/0/1 GigabyteEthernet 0/0 of Router A is connected to S1 FastEthernet 0/1 GigabyteEthernet 0/1 of Router A is connected to S2 FastEthernet 0/1 GigabyteEthernet 0/0 of Router B is connected to S3 FastEthernet 0/1 GigabyteEthernet 0/1 of Router B is connected to S4 FastEthernet 0/1 GigabyteEthernet 0/2 of Router B is connected to S5 FastEthernet 0/1
For the given specification, construct a network design and assign the appropriate IP addresses for each interface in all the devices. Label all the devices with appropriate names given below with appropriate IP Addresses for each network and all the hosts connected in the each network. Suggested to use any Class C IP addresses for all the LAN and Class A address for the serial interface connecting between the two routers. Number of routers: Router A, Router B Number of switches: S1, S2, S3, S4 and S5 Number of LAN’s : 5 (Lab A, Lab B, Lab C, Lab D, and Lab E) Number of hosts connected in each lab are as follows: S0 in Lab A needs 10 hosts, S2 in Lab B needs 25 hosts, S3 in Lab C needs 100 hosts and S4 in Lab D needs 55 hosts, S5 in Lab E needs 5 hosts respectively.
Write a program that can be used by a vendor of a budget store to calculate and display the number of items bought and the total amount due by a customer (display the total as currency with 2 decimal places). Your program must continuously prompt the user for the price of an item, until a valid number (between 0 and 150) is entered. As you do not know how many items the customer is buying, the vendor must be able to continuously item prices, until he enters a value of -1 to indicate that there are no more item prices to enter.
Customers buying at least 10 items qualify for one free item. When a customer qualifies for the free item, a relevant message must be displayed.
You do not need to create any user defined methods.
Balanced Brackets
You are given an expression string S which contains expressions that are made of bracket characters {, }, (, ), [, ]. Each expression in the string is separated by space.
Two brackets are considered to be a matched pair if an opening bracket (i.e., (, [, or {) occurs to the left of a closing bracket (i.e., ), ], or }) of the exact same type. There are three types of matched pairs of brackets: [], {}, and ().
A matching pair of brackets is not balanced if the set of brackets it encloses are not matched. For example,
{[(])} is not balanced because the contents in between { and } are not balanced. The pair of square brackets enclose a single, unbalanced opening bracket, (, and the pair of brackets enclose a single, unbalanced closing square bracket, ].
Write a program to examine whether each expression in
S is balanced.
Input
The first line contains a string S with space-separated bracket expressions.
Sample Input 1
{()} ({}
Sample Output 1
YES
NO
Sample Input 2
{}[] [({})] {}
Sample Output 2
YES
YES
YES