Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSCE 2100, Spring 2017 Programming Assignment 03 Full Points: 100 submission Due 03/24/2017 (Friday 11:59 PM) Create the following classes in C++ 1. Class 'lfsr'

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

CSCE 2100, Spring 2017 Programming Assignment 03 Full Points: 100 submission Due 03/24/2017 (Friday 11:59 PM) Create the following classes in C++ 1. Class 'lfsr' contains the following properties a) An unsigned integer called the 'seed' (the seed value will range between 0 to 255) b) A reciprocal characteristic/feedback polynomi al function the user will set the characteristic polynomial Basically the user will specify the bit-positions which class will use to generate the random numbers. The your bits in the LE SR State that influence the input are called taps An example of such function is given at page #04 Add appropriate member such as a) Constructor (S) b) A function to print the seed and generated numbers (both in integer and binary number system). c) A function named as random number generator to create 20 consecutive random numbers from the given seed and the characteristic polynomial d) Based on the requirements of the class, you might have to convert any given decimal number to a binary number and store it. So, you need to implement a function that converts a given decimal number to a corresponding binary number 2. Class binary search tree contains a root node of following type: struct tree node int data struct tree node *left node struct tree node right node condition: eft node data current node data right node data CSCE 2100, Spring 2017 Programming Assignment 03 Full Points: 100 submission Due 03/24/2017 (Friday 11:59 PM) Create the following classes in C++ 1. Class 'lfsr' contains the following properties a) An unsigned integer called the 'seed' (the seed value will range between 0 to 255) b) A reciprocal characteristic/feedback polynomi al function the user will set the characteristic polynomial Basically the user will specify the bit-positions which class will use to generate the random numbers. The your bits in the LE SR State that influence the input are called taps An example of such function is given at page #04 Add appropriate member such as a) Constructor (S) b) A function to print the seed and generated numbers (both in integer and binary number system). c) A function named as random number generator to create 20 consecutive random numbers from the given seed and the characteristic polynomial d) Based on the requirements of the class, you might have to convert any given decimal number to a binary number and store it. So, you need to implement a function that converts a given decimal number to a corresponding binary number 2. Class binary search tree contains a root node of following type: struct tree node int data struct tree node *left node struct tree node right node condition: eft node data current node data right node data

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

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

Students also viewed these Databases questions

Question

7. Be able to distinguish productive from destructive conflict.

Answered: 1 week ago

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago