• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 8 páginas
Examen

C# Practice Exam

Document preview thumbnail
Vista previa 2 fuera de 8 páginas

This is a practice exam for C# to be created in Visual Studio. This practice exam explores foundational coding in Visual Studio using a Windows Form Application.

Vista previa del contenido

Visual Studio – Assignment 3
Create a C# windows forms application project called Airline Booking. This program allows
the user to book an airline ticket. The user will enter Departure city, Destination city,
departure date, return date, number of passengers. The program will then calculate the total
cost based on the number of passengers, cost, payment info. When user clicks Save, it should
display all the information along with the booking successful message and create and write
the information to a file. See below for details
Control Type Text How should this field work?

. Label The screen should have a title

. Picturebox Logo for your airline company

. Label Departure city

. Combo List (for Should display the following 3 User should be able to
the departure cities Toronto select the city by clicking
city) Winnipeg on the city name
Vancouver

. Label Destination city

. Combo List (for Should display the following 3 User should be able to
the destination cities Toronto select the city by clicking
city) Winnipeg on the city name
Vancouver

. Label Departure Date

. Label Return Date

. MonthCalendar User should be able to select a
(for the date
departure date.
You will need to
research how to use it)
. MonthCalendar User should be able to select a
(for the return date
date. You will
need to research

, how to use it)
. Label Number of Passengers

. TextBox User should be able to enter
the number of passengers


1
. Button Calculate Clicking on this button
should calculate the
total cost = cost of 1
ticket * the number of
passengers and assign it
to the total cost amount
label (see table below
for cost of 1 ticket
based on the travel
cities)
. Label Total Cost

. Label Should display the total cost amount

Información del documento

Subido en
27 de agosto de 2024
Número de páginas
8
Escrito en
2022/2023
Tipo
Examen
Contiene
Solo preguntas
$4.33

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
0
Seguidores
0
Artículos
2
Última venta
-



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes