Design a flowchart for a program

Assignment Help Database Management System
Reference no: EM13336193

1. A bookstore keeps books on 50 racks with 10 shelves each.Each shelf holds 25 books.Declare a 3D String array to hold the names of all the books in the store. The array's 3 dimensions should represent the racks, shelves, and books in the store.

2. Design a flowchart for a program that declares two integer arrays, say with 5 elements each, do the following:

Input some data from the user into the two arrays.

Output the sum of the elements in each of the two arrays.

Output the inner product of the two arrays - that is the sum of the products of corresponding elementsA[0]*B[0]+A[1]*B[1]+ ....etc.

3. This is a sales summary program. Program should prompt the user to enter a customer number, an employee number, and a sale amount. At most, there will be five employees in the file. You will produce a summary report that lists the total sales for all of the employees in the input file.

4. Design a flowchart for a program that declares an array of 10 characters. Program should count and print number of times a special character, (your choice, let say ‘a') has been found in the array.

5. Draw a flowchart for a program that declares 3 arrays of one dimension. Program should find and store the difference of elements of the first and third arrays and store them into a newly declared array (fourth array). Then adds each element from the second array and fourth array and print it out.

Reference no: EM13336193

Questions Cloud

Describe what is the value of the equilibrium constant : Draw a diagram of the electrochemical cell, labeling all electrodes and solutions. (1B). What is the pH in the Pt | H+ | H2 half-cell? (1C). What is the value of the equilibrium constant for the reaction occurring in this cell
Sketch the load line and plot the q- point : The current in the bias resistors should be no more than 10 percent of the drain current- Determine VGS, ID, and VDs. Sketch the load line and plot the Q- point.
Find the masses of the fragments : An unstable particle with a mass equal to 3.34 ? 10-27 kg is initially at rest. Find the masses of the fragments
Calculate its rest energy : A proton moves with a speed of 0.955c. Calculate its rest energy and Calculate its kinetic energy
Design a flowchart for a program : Design a flowchart for a program that declares an array of 10 characters. Program should count and print number of times a special character, (your choice, let say ‘a') has been found in the array.
Determine the thickness of the plate : A quarter-wave plate is made from a piece of calcite with its optic axis oriented paralle to its surface, Determine the thickness of the plate in terms of the wavelength of the radiation and the two refractive indices
Two decimal places at the end of the calculations : You have $1,931.64 in a brokerage account, and you plan to deposit an additional $5,000 at the end of every future year until your account totals $200,000. You expect to earn 14% annually on the account. How many years will it take to reach you..
Find the work done by the gravitational force : A 7430-kg satellite has an elliptical orbit, as in the figure. The point on the orbit that is farthest from the earth is called the apogee and is at the far right side of the drawing. Find the work done by the gravitational force
Create class diagram : Draw a UML class diagram that models the aspects of job agencies that are described below.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd