Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please answer question 3. ive F if x is negative g r:N-J,r(n)- remainder after n is divided by 6 (h) ws- S, vis) )- string

please answer question 3. image text in transcribed
ive F if x is negative g r:N-J,r(n)- remainder after n is divided by 6 (h) ws- S, vis) )- string obtained by removing the last character from s (where S is the set of finite non-null character strings) Determine which of the following functions are one-to-one and which are onto: 2 (a) f:s >S, f(s) string obtained by reversing the order of the characters of s (S (b) g:RxR-R, g((x, y))-x+y (c) S: N-N, s(n) n+1 (d) h: [English words) (letters, h(w)- first letter of word w (e) b: N -finite non-null bit strings), b(n) - binary (finite non-null character strings) representation of n (written without leading zeros) (D) card: PA)>NUl0, card(x)-the cardinality of the setX (where A denotes any finite set) 3 A function f I1, 2, 3, 4, 5- [0, 1,2, 3, 4] is defined by the rule: f(n) is the remainder after 3n is divided by 5. Draw an arrow diagram for this function. Hence state whether fis one-to-one and whether fis onto. For the purpose of error detection, numeric codes (such as ID numbers) often include a final 'check digit Suppose a numeric code consists of a string of 9 digits XIX2- followed by a final check digit xio defined to be the rightmost decimal digit of xi + 2x2 + 3x3 +.. +9x9. (a) Verify that 2516238674 is a valid code. 4

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students also viewed these Databases questions

Question

1.Which are projected Teaching aids in advance learning system?

Answered: 1 week ago