There are 2 Questions on the mid term assignment that you should work on now and
ID: 3807285 • Letter: T
Question
There are 2 Questions on the mid term assignment that you should work on now and bring the solutions with you when you come to class.The two questions are Designing a Solution (interface and flowchart) and implementing the solution. Below are the details regarding the 2 questions: (designing the application): Design an application that is used for customers to purchase concert tickets to one of the shows being offered. There are two shows being offered (1) evening show and (2) late night show. The user will check the appropriate radio button depending on which show they wish to attend. Additionally, the user will type a number into a text field indicating how many of the tickets they wish to purchase. Once the information is entered, the user will select the "purchase" button to actually make the transaction and a text field will display the total cost of the purchase given the following prices: 1) evening show tickets are $10.50 each 2) late night show tickets are $15.50 each In following the Problem Solving approach you are to develop the following artifacts for the application: a) Design the User Interface b) Plan all the properties for the controls on the interface c) develop the logic using flow charting that is needed for the application to meet the requirements Submit a word document containing the design information listed above (letters a - c) Assignment (Implementing the Design): Develop the application that is used for customers to purchase concert tickets to one of the shows being offered. There are two shows being offered (1) evening show and (2) late night show. The user will select the radio button depending on which show they wish to attend. On another question you were to design the solution, this question is asking you to implement what you have designed. Additionally, the user will type a number into a text field indicating how many of the tickets they wish to purchase. Once the information is entered, the user will select the "purchase" button to actually make the transaction and a text field will display the total cost of the purchase given the following prices: a) evening show tickets are $10.50 each b) late night show tickets are $15.50 each Using our best programming guidelines, make sure your application meets the following expectations: 1) Solves the problem, basically satisfies the requirements above 2) uses error handling (i.e. make sure number of tickets are entered) 3) uses good naming conventions for your variables and controls on the interface 4) good commenting in your codeThere are 2 Questions on the mid term assignment that you should work on now and bring the solutions with you when you come to class.The two questions are Designing a Solution (interface and flowchart) and implementing the solution. Below are the details regarding the 2 questions: (designing the application): Design an application that is used for customers to purchase concert tickets to one of the shows being offered. There are two shows being offered (1) evening show and (2) late night show. The user will check the appropriate radio button depending on which show they wish to attend. Additionally, the user will type a number into a text field indicating how many of the tickets they wish to purchase. Once the information is entered, the user will select the "purchase" button to actually make the transaction and a text field will display the total cost of the purchase given the following prices: 1) evening show tickets are $10.50 each 2) late night show tickets are $15.50 each In following the Problem Solving approach you are to develop the following artifacts for the application: a) Design the User Interface b) Plan all the properties for the controls on the interface c) develop the logic using flow charting that is needed for the application to meet the requirements Submit a word document containing the design information listed above (letters a - c) Assignment (Implementing the Design): Develop the application that is used for customers to purchase concert tickets to one of the shows being offered. There are two shows being offered (1) evening show and (2) late night show. The user will select the radio button depending on which show they wish to attend. On another question you were to design the solution, this question is asking you to implement what you have designed. Additionally, the user will type a number into a text field indicating how many of the tickets they wish to purchase. Once the information is entered, the user will select the "purchase" button to actually make the transaction and a text field will display the total cost of the purchase given the following prices: a) evening show tickets are $10.50 each b) late night show tickets are $15.50 each Using our best programming guidelines, make sure your application meets the following expectations: 1) Solves the problem, basically satisfies the requirements above 2) uses error handling (i.e. make sure number of tickets are entered) 3) uses good naming conventions for your variables and controls on the interface 4) good commenting in your code
There are 2 Questions on the mid term assignment that you should work on now and bring the solutions with you when you come to class.The two questions are Designing a Solution (interface and flowchart) and implementing the solution. Below are the details regarding the 2 questions: (designing the application): Design an application that is used for customers to purchase concert tickets to one of the shows being offered. There are two shows being offered (1) evening show and (2) late night show. The user will check the appropriate radio button depending on which show they wish to attend. Additionally, the user will type a number into a text field indicating how many of the tickets they wish to purchase. Once the information is entered, the user will select the "purchase" button to actually make the transaction and a text field will display the total cost of the purchase given the following prices: 1) evening show tickets are $10.50 each 2) late night show tickets are $15.50 each In following the Problem Solving approach you are to develop the following artifacts for the application: a) Design the User Interface b) Plan all the properties for the controls on the interface c) develop the logic using flow charting that is needed for the application to meet the requirements Submit a word document containing the design information listed above (letters a - c) Assignment (Implementing the Design): Develop the application that is used for customers to purchase concert tickets to one of the shows being offered. There are two shows being offered (1) evening show and (2) late night show. The user will select the radio button depending on which show they wish to attend. On another question you were to design the solution, this question is asking you to implement what you have designed. Additionally, the user will type a number into a text field indicating how many of the tickets they wish to purchase. Once the information is entered, the user will select the "purchase" button to actually make the transaction and a text field will display the total cost of the purchase given the following prices: a) evening show tickets are $10.50 each b) late night show tickets are $15.50 each Using our best programming guidelines, make sure your application meets the following expectations: 1) Solves the problem, basically satisfies the requirements above 2) uses error handling (i.e. make sure number of tickets are entered) 3) uses good naming conventions for your variables and controls on the interface 4) good commenting in your code
Explanation / Answer
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style type="text/javascript">
function fu()
{
var cost=0;
var T=document.TB.t.value;
var T1=(int)T;
window.alert(""+T1);
if(!isNaN(T)){window.alert("Enter A Number");document.TB.T.focus();return false;
var Type=document.TB.Type.value;
if(Type==1)
{
cost=10.50;
}
else
{
cost=15.50;
}
cost=cost*T1;
window.alert("The Cost Is:"+cost);
return true;
}
</style>
<style type="text/css">
*
{
margin: 0;
padding: 0;
}
#All
{
width: 100%;
height:100%;
background: #2E27CB;
}
#Header
{
width: 100%;
height:60px;
}
#Logo
{
width: 25%;
height: 100%;
float: left;
}
#Icon
{
font-family: chango;
font-size: 25px;
text-align: center;
position: absolute;
top: 10px;
left:25px;
color: aliceblue;
}
#Menu
{
width: 75%;
height: 100%;
float: right;
}
nav
{
width:100%;
height:100%;
margin:0;
}
ul
{
width:100%;
height:100%;
margin:0;
list-style:none;
}
li
{
line-height:5.5vmax;
padding:0 0.4vmax;
width:auto;
height:100%;
display:block;
float:left;
font-family:Constantia, "Lucida Bright", "DejaVu Serif", Georgia, serif;
font-size: 1.4vmax;
color: #FFFFFF;
}
li>a
{
width:100%;
height:100%;
display:block;
text-align:center;
text-decoration:none;
color: #FFFFFF;
}
li:hover
{
background-color: black;
border-bottom:3px solid #FF00CC;
} #Center
{
width: 100%;
min-height:600px;
}
#Fotter
{
width: 100%;
height: 10%;
}
table
{
width: 360px;
height: 240px;
position: absolute;
left:28%;
margin-top: 20px;
border: 1px white;
color:antiquewhite;
}
input[type='text']
{
width:99%;
height: 100%;
}
#Submit1
{
width: 80%;
height:80%;
border: 1px solid white;
margin-left: 10px;
border-radius: 30px;
color: white;
cursor: pointer;
font-size:1.2vmax;
background-color: rgba(0,0,0,0);
text-decoration:none;
padding:10px;
}</style>
<title>Ticket Booking</title>
</head>
<body>
<div id="All">
<div id="Header">
<div id="Logo"><p id="Icon">Ticket Booking</p></div>
<div id="Menu">
<nav>
<ul>
<li><a href="index.html" target="_top">Home</a></li>
<li><a href="#Content_Left">Book Ticket</a></li>
<li><a href="">Generate Ticket</a></li>
<li><a href="Privacy_Policy.html" target="Content">Privacy Policy</a></li>
<li><a href="About.html" target="Content">About</a></li>
</ul>
</nav>
</div>
</div>
<div id="Center">
<table border="1" cellpadding="0" cellspacing="0">
<form method="post" name="TB" action=""> <tr><th>Book Ticket</th></tr>
<tr><td> <input type="radio" name="Type" value="1"> Evening Show
<input type="radio" name="Type" value="2"> Late Night Show</td></tr>
<tr><td><input type="text" name="t" placeholder="Enter Number Of Tickets" required></td></tr>
<tr><td><center><input type="submit" id="Submit1" name="submit" value="Book"></center></td></tr>
</form>
</table>
</div>
<div id="Fotter">
</div>
</div>
</body>
</html>
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.