Develop User Interface as mentioned below as per the requirements:
Button One: Activate Button Two: Deactivate
Button One is pressed two fields and a button appear
Field 1: From Number Field 2: To Number
Button: Activate
Field 1 should auto-populate with the number queried from DB. And should not be changeable. The reason to still have a field is just to make it explicit what is happening.
When the Activate Button is pressed execute some action with parameter as below.
CALLACTION = "Call Forwarding On"
PHONENUMBER = From Number (From Field 1)
TOLLNUMBER = To Number (From Field 2)
Button Two is pressed a prompt and two buttons appear.
Prompt: "Are you sure you would like to deactivate the <Telephone Number>?" Where <Telephone Number> is the number initially queried.
Button 1: Yes Button 2: No
- Roll a six-sided die 6000 times. Then show the output frequency elements 1-6 in
tabular format. Use the following
srand( time( 0 ) ); // seed random-number generator
face = 1 + rand() % 6 ; // generate rand face from 1:6
create B[face] list to count the number of occurrence the faces 1 -6,
Show the output as
Face Frequency
1 1003
2 1004
3 999
4 980
5 1013
6 1001
Write a main program to run the following functions:
void inp
ut_array(double a[ ]); // to input an array
void count( double a[ ], int &odd, int &even) // count odd and even numbers, return by
reference
Explain in detail the concept of modeling the Business Data Warehousing (BDW)?
You are a manager of Data Warehouse, how you keep the data validate in terms of secure data of validation?
What are the two extremes for technical architecture design? Which one is better?
Write a program that reads in 10 midday temperatures for Port Elizabeth, for 10 consecutive days.
Only temperatures higher than 0 and less than 45 are valid (working with integer values for
temperatures). It must calculate and display the following:
The warmest temperature
The average temperature.
The number of days that the temperature was higher than 30.
. What are the two extremes for technical architecture design? Which one is
better?
You are given a roadmap of a country consisting of N cities and M roads. Each city has a traffic light. The traffic light has only 2 colors, Green and Red. All the traffic lights will switch their color from Green to Red and vice versa after every T seconds. You can cross a city only when the traffic light in the city is Green. Initially, all the traffic lights are Green. At a city, if the traffic light is Red, you have to wait for it to switch its color to Green. The time taken to travel through any road is C seconds. Find the minimum amount of time (in seconds) required to move from city 1 to city N.
It is guaranteed that the given roadmap will be connected. Graph won't contain multiple edges and self loops.
Input Format
The first line contains 4 space-separated integers, N (1 <=N<10³). M (N-1M <= (N(N-1)/2), T (1 <=T <=10³) and C (1<<C<=10³). Next M lines contain two integers each, U and V denoting that there is a bidirectional road between U and V.