- Field: Computer Science
This is actually visual logic not basic. I need 3 assignments done. Need the flowcharts and varibles as well as the pseudocodes. Here are the assignments. ASSIGNMENT 1: Create a program that prints a book. The book consists of the following components: • A title and author • Three chapters o Each chapter consists of: A title Text – you decide the text per chapter. Keep each chapter short (just a few lines of text per chapter is sufficient – for example 3 lines of text per chapter). The text is written in a professional style. Program Requirements: • The user of the program is allowed to specify how many copies of the book should be printed (e.g., 0, 1, 6, or 10, etc). • The prompt for data input is user-friendly (i.e., the user of the program does not see the program’s variable names). • Each chapter starts with a new line number (e.g., Line Number: 1 for Chapter 1, Line Number: 2 for Chapter 2 … etc). The line number is displayed first, then the chapter itself. Hint for keeping track of the line number: Given that for every copy of the book, each chapter starts with its corresponding line number (1, 2 … etc.), the program can define a variable whose value is reset right before the book is about to be printed, and then the variable value is incremented when the chapter is about to be printed. • The program must implement multiple modules. The book itself must be implemented in modules (one module for the title/author and each chapter is implemented in its own module). • The copies of the book are displayed on the Visual Logic console. Expected Submittals: 1. The Visual Logic program (50%). 2. Formal pseudocode (following the book syntax, proper indentation, with variable declarations, etc.). Use Notepad++ to create the pseudocode (*.txt file) (50%). .............ASSIGMENT 2: Design a program that displays the sum of the integer numeric values stored in two arrays, in a tabular format. The design defines two arrays of the same size (each array has 10 elements). One array stores odd integer numeric values (the first element of the array (at index 0) stores the value 1, … etc). Another array stores even integer numeric values (the first element of the array (at index 0) stores the value 2, …, etc). Program Requirements: • The program displays a title (appropriate for the case being solved). • The program displays on a single line three headings (i.e., labels) – to identify the corresponding odd, even, and sum values. • The program displays the triplets (i.e., the three numeric values – odd, even, and sum), one triplet per line of output, for a total of 10 output lines. • The indices of the arrays are zero-based. • The arrays are dimensioned to contain 10 elements (not 11 eleven elements – NOTE: In Visual Logic if the size of the array is set to 10, the array will have a capacity to store 11 elements). • The program uses modules. Expected Submittals: 1. The Visual Logic program (50%). 2. The pseudocode, written with Notepad++ (*.txt). Write formal pseudocode as demonstrated in the book – with variable declarations, appropriate use of keywords, proper indentation, etc. (50%). ...............ASSIGNMENT 3: In a wireless SOHO (Small Office/Home Office) network, the strength of the radio signal is (among others) a function of the distance between the wireless Access Point (AP) (e.g., a wireless router) and the computers wirelessly connected to the network. The longer the distance between the AP and a computer, the weaker the radio signals. Assume that the wireless SOHO network is based on the IEEE 802.11g protocol, case in which the approximate maximum range between the AP and the computers is 125 ft. Create a program that estimates the radio signal strength (%) – a range – for computers stationed at different distances (ft) from the AP. In your design use 5 distance zones, and proportionally assign to them signal strength ranges (%). For example, for a computer situated 10 ft away from the AP, the estimated radio signal strength would be 100 – 80%. Page 2 of 2 Program Inputs: • The distance from the computer to the AP (in ft, integer values, e.g., 2, 5, 100, etc.). Program Outputs: • The estimated signal strength (%) – a range. Program requirements: • The program must implement at a minimum three modules (or more if needed) • During a single run, the program must be able to process multiple inputs. • The prompt for data input is user-friendly (i.e., the user of the program does not see the program’s variable names). • Given that it is unknown how many data inputs the user will provide to the program, upon start, display a message letting the user know how to terminate the current execution of the program. • The program must display a title on the Visual Logic’s console. • Program outputs are displayed on the Visual Logic’s console – one line after another, with userfriendly labels. Expected Submittals: 3. The Visual Logic program (50%). 4. Formal pseudocode (following the book syntax, proper indentation, with variable declarations, etc.). Use Notepad++ to create the pseudocode (*.txt file) (50%). IMPORTANT NOTE 1: If your Visual Logic code uses compound Boolean operators, make sure you read the TIP on page 26, in the Visual Logic book. IMPORTANT NOTE 2: Test your program with multiple distance values, to insure that the outputs (the corresponding signal strength ranges) are correct. In your design you must consider which signal strength value the program will display, when the distance between a computer and the AP is longer than 125 feet.