Compute Z-transform of the following signals along with the RoC and verify the result with MATLAB result and attach screen shot of code and results:
(a) 𝑥(𝑛) = (1/𝑅𝐹)
𝑛𝑢(𝑛) + (1/𝑅𝐿)
𝑛𝑢(𝑛)
where RF = First two digits of your Registration Number
RL = last two digits of your Registration Number
Also take inverse Z-transform of computed X(z) and verify the result on page as well
as in MATLAB.
Compute the linear convolution and cross correlation of following two signals x(n) and
h(n) on page and in MATLAB and attach screen shot of code and results:
x(n) = First four digits of your Registration Number
h(n) = Last four digits of your Registration Number
Hint: let’s your registration number is 11204316 then x (n) = {1, 1, 2, 0} and h(n) = {4, 3, 1, 6}
If x1(n) = 5Sin(2πf1n) and x2(n) = 5Cos(2πf2n), then plot following signals in MATLAB and attach screen shots of code and result
(a) y1(n) = x1(n) + x2(n) (b) y2(n) = x1(n) – x2(n)
note: f1 = f2 = Last two digits of your Registration Number
Hint: If last two digits of your registration number are 00 then take first two digits of your registration
number as R (if last digits are say 05, then consider R = 5)
Plot the following signals on page and in MATLAB, considering x(n) = your
registration number:
(a) x(n-2)
(b) x(n+3)
(c) x(-n+2)
(d) x(-n-3)
Hint: let your registration number be 11204316 then x (n) = {1, 1, 2, 0, 4, 3, 1, 6}, and 4th sample value
will be at n = 0 time.
Given the number of rows N, write a program to print the hallow diamond pattern similar to the pattern shown below.
A
B B
C C
D D
E E
D D
C C
B B
AThe input will be a single line containing a positive integer (N).
Write a program for the Air Force to label an aircraft as military or civilian. The program is to be given the plane’s observed speed in km/h and its estimated length in meters. For planes traveling in excess of 1100 km/h, and longer than 52 meters, you should label tem as “civilian” aircraft, and shorter such as 500 km/h and 20 meters as “military” aircraft. For planes traveling at slower speeds, you will issue an “It’s a bird” message. if else statement
Scenario:
AETMAD Bank is a modern and well reputed bank having 200 branches in various cities of a country. The branches are connected with each other through a grand computer network comprising of more than 1000 computers, 200 routers and a number of other related nodes such as switches, printers and scanners etc. The employees of the bank are often rotated among different branches causing change in the number of nodes per branch. In case of employee rotation, some hosts may be added in a branch and some may be removed resulting in change in the overall network topology. The bank is progressing day by day and having goal to expand its services by opening further branches in different cities of the country. The network executive of the bank has been asked to implement most suitable type of routing which would be easy to handle for the well trained networking staff to deal with scalability, any possible complexity and to maintain the overall efficacy of the network.
Question:
After carefully analyzing the above mentioned scenario and requirements of the bank, suggest the most suitable type of routing from the following with two proper reasons:
Create a Reservation Form for Mumbai-to-Pune Journey containing 3 text fields to enter names, 3 text fields to enter age, & a text field to show Final Bill. It should also contain a radio button showing the type of journey (A.C./Non A.C.). Charges of A.C./Non A.C. modes of journey are fixed but only for child with age < 5 & senior citizen with age > 60 the rates are half. 4% service charges are applied on Final Amount. As per the passenger enter the Final Bill.
Create a puzzle of guessing game of three boxes in which a player could win a prize by guessing the right box that the prize was behind. One player choose one box, and the game virtual assistant opens one of the other box that does not have the prize behind it. At that point in the game, the player has the option of changing his choice to the third box to win the prize. This game can be demonstrate using conditional probabilities.
III. Query questions. (COVERING 11 ITEM, 67 marks IN TOTAL)
Help me
Please Read All Questions And Answer All 11 Question for me.
Table: Movies
Id Title Director Year Length_minutes
1 Toy Story John Lasseter 1995 81
2 A Bug's Life John 1998 95
3 Toy Story 2 John Lasseter 1999 93
4 Monsters, Inc. Pete Docter 2001 92
5 Finding Nemo Andrew Stanto 2003 107
7 Cars John Lasseter 2006 117
9 WALL-E Andrew Stanton 2008 104
10 Up Pete Docter 2009 101
11 Toy Story 3 Lee Unkrich 2010 103
12 Cars 2 John Lasseter 2011 120
13 Brave Brenda Chapman 2012 102
87 WALL-G Brenda Chapman 2042 97Table: Boxoffice
Movie_id Rating Domestic_sales International_sales
5 8.2 380843261 555900000
12 6.4 191452396 368400000
3 7.9 245852179 239163000
9 8.5 223808164 297503696
11 8.4 415004880 648167031
1 8.3 191796233 170162503
7 7.2 244082982 217900167
10 8.3 293004164 438338580
4 8.1 289916256 272900000
2 7.2 162798565 200600000
13 7.2 237283207 3017000001. Create table Movies. It includes the domain of values associated with each attribute and integrity constraints. (7 marks)
2. Write an SQL query that finds the title of each film. (5 marks)
3. Write an SQL query that finds the movies released in the years between 2000 and 2010. (5 marks)
4. Find all the WALL-* movies. (5 marks)
5. List the last four Pixar movies released (ordered from most recent to least). (5 marks)
6. Find the domestic and international sales for each movie. (6 marks)
7. List all movies that were released in even number of years. (5 marks)
8. Add the studio's new production, Toy Story 4 to the list of movies (you can use any director). (5 marks)
9. The director for A Bug's Life is incorrect, it was actually directed by John Lasseter. (5 marks)
10. This database is getting too big, let's remove all movies that were released before 2005. (5 marks)
11. SELECT title, year FROM movies WHERE year < 2000 OR year > 2010; (6 marks)
Write the result: