Design and implement an application that reads an integer

Assignment Help Database Management System
Reference no: EM13327701

Program 1

Design and implement an application that reads an integer value representing a birthdate from the user. First get the month, then get the day and then finally the year from the user. The purpose of the program is to determine if what the person's astrological sign is.Once you display their sign, you should display the description of that particular sign.

Extend:Take this program and allow the user to continue adding new birthdates.You should also keep track of how many of each sign have been entered.

Program 2

Design and implement an application that produces a multiplication table, showing the results of multiplying the integers 1 through n by themselves.** Think n x n table of results.You will get the size of n from the user and then print out the table.Create a variation of this program that prints out only the evens and then another variation that prints out only the odds.You should give the user the option to print out evens or odds.You should create another class with methods to perform these calculations.

Extend:You should allow the user to enter the first number and the last number as well.

Example:

 

1

2

3

1

1

2

3

2

2

4

6

3

3

6

9

Program 3

Pig - Dice Game

Gameplay

On a turn, a player rolls the die repeatedly until either:

  • A 1 is rolled
  • The player chooses to hold (stop rolling)

If a 1 is rolled, that player's turn ends and no points are earned.

If the player chooses to hold, all of the points rolled during that turn are added to his or her score.

Scoring Examples

Example 1:Sherri rolls a 3 and decides to continue. She then chooses to roll two more times (6, 1). Because she rolled a 1, Sherri's turn ends and she earns 0 points.

Game End

When a player reaches a total of 100 or more points, the game ends and that player is the winner.

New to you: You are going to fully implement this game now.

Program 4

You are going to extend your SimpleQuestionandAnswer game so that you can ask how many questions they want to answer. You are also going to extend it so that any operation could can work (i.e. +,-,*,/).Finally, you should keep track of how many they got correct and how many they go incorrect.You should also ask them if they want to go again or not.

Reference no: EM13327701

Create a query that will select records for customers

Create a query that will select customers who had less than 10 pounds of produce picked for Grapes, Watermelons, or Strawberries. The query should include the Service Date,

What means are available to control integrity of fields

Research and provide two to three pages covering the following: How do you decide on how a specification for a field will be determined? Why do you select a specific field typ

Triggers important in database systems

What are triggers used for, and why are they important in database systems? Provide an example of a situation where a trigger would be appropriate.

Convert table to equivalent collection of tables

determine the functional dependencies that exist in the following table. After determining the functional dependencies, convert this table to an equivalent collection of

Create database management system for bike shop

Your job is to create a database management system for bike shop who ‘buys' and ‘sells' new and second-hand bikes, and also parts of bike. Bike is constructed with parts whil

Discuss about the database modeling and normalization

Imagine that you work for a consulting firm that offers information technology and database services. Part of its core services is to optimize and offer streamline solutions

Write down subquery to sort result in descending order

Write down your subquery MAX_CALC_SAL. Name columns in result JOB_TITLE and JOB_TOTAL, and sort result on JOB_TOTAL in descending order.

How sales of individual items would be entered

How a system could improve efficiency? How a system could improve accuracy? How sales of individual items would be entered? How the database would store the data compared to t

Reviews

Write a Review

 
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