Question 1
Find the generating functions for the following sequences;
(a) 3, 0, 8, 1, 0, 1/7, 100, … [3]
(b) 4,4,4,4,4, … [3]
(c) Write the generating function in (b) above in its closed form. [4]
Question 2
(a) Explain the meaning of asymptotic behaviour. [2]
(b) Let π and π be discrete numeric functions defined by;
ar=2r
br=r+r2
(i) Plot the linear graphs for ar and br. [6]
(ii) Determine which numeric function here asymptotically dominates. [2]
Question 3
(a) Distinguish between a terminal and a non-terminal symbol. [2]
(b) Using examples explain what type-0 and type-1 grammar are. [2]
(c) Solve the recurrence relations for a discrete numeric function defined such that;
ππ+1 = 4ππ − 2, and has π0 = 1
(i) Complete the sequence by finding the a1, a2, a3, and a4 terms of the function. [4]
(ii) Write the corresponding generating function for the numeric function in (i). [2]
Question 4
A counter is a finite state machines that counts from 00, 01, 10, 11 and start all over again on
consecutive inputs of clock signal = 1. The counter does not change its state when the clock signal
= 0. You are required to model the count described here using:
(a) State transition table [5]
(b) State transition diagram [5]
Question 5
Determine the generating function for the discrete numeric function ππ where,
ππ = { 2 π , ππ π ππ ππ£ππ −2 π − 2π, ππ π ππ ππd [10]
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme