Question: Nesneye y nelik programlama - dev 2 Ders kitab n n b l m sonu sorular ndan olan a a daki sorular zen Visual Studio

Nesneye ynelik programlama -dev 2
Ders kitabnn blm sonu sorularndan olan aadaki sorularzen Visual Studio 2022 Community
Edition (VS22CE) uygulamalarin gelitiriniz.
deve zel kriterler
6.23 ve 8.19 projeleri konsol uygulamasi olarak gelitirilmelidir.
7.35 projesini form tabanl GUI uygulamas olarak gelitirilmelidir. Grafiksel uygulamada veri girii
formdan alnmal ve kt form zerinde gsterilmelidir.
Genel dev kriterleri
Odevler grup halinde yapacaktir ve gruptan tek bir kiinin grup numaras isminde bir zip dosyas
yklemesi gerekmektedir (rnek: 2 numaral grup 2.zip dosyas yklemelidir). Birden fazla
ykleme olmas durumunda tm grup yeleri ilgili devden 0 notunu alacaktr.
devierin VS22CE ortamnda yazlmas gerekmektedir.
devdeki her bir soru ayr VS22CE projesi olarak gerekletirilmelidir.rnek olarak 1.devinizde
4 soru sorulmutur (3.28,4.12,5.37 ve 5.38). Bu nedenle sirasyla ilgili sorulara karilik gelen
"Proje1", "Proje2", "Proje3" ve "Proje4" isminde drt VS22CE projesi tek ZlP dosyasinda
birletirilerek teslim edilmelidir. Proje isimlerinin ProjeD> formatnda olduuna dikkat ediniz.
EBYS'ye yklenen ZiP dosyas aldnda ortaya ikan VS22CE proje dizinleri herhangi bir ekstra
ileme gerek olmadan VS22CE'de altrlabilmelidir. Bu ekilde alitnlamayan projeler 0 notu
alacaktir.
dev deerlendirmelerinin Windows bir makinada yaplaca gz nne alnmaldir. Projelerin
gnderilmeden nce Windows kurulu bir bilgisayarda altrlarak denenmesi gereklidir.
devlerde ge teslim mmkn deidir. Edestek sistemi belirtilen son teslim zamannda dev
yklemeyi otomatik olarak kapatacaktur.
devlerin gerekletiriminde ChatGPT gibi yapay zek aralar kesinlikle kullanmamaldir.6.23(Displaying a Diamond) Write an app that displays the following diamond shape. You may use output statements that display a single asterisk (*), a single space or a single newline character. Maximize your use of iteration (with nested for statements) and minimize the number of output statements.
7.35(Recursive Sum Calculation) Write recursive method SunofDigits(number) that, when called, returns the sum of digits of the number passed.
For example, SumOfDigits(234)\(=2+3+4\). Assume that the number entered is greater than or equal to 10 but less than or equal to 99,999. The recursive step should use the relationship
((number\%10)+ SumOfDigits(number/10)).
The terminating condition occurs when the number is less than 10. Incorporate this method into an app that enables the user to enter the number.
8.19(Airline Reservations System) A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You're to write an app to assign seats on each flight of the airline's only plane (capacity: 10 seats).
Display the following alternatives: Please type 1 for First Class and Please type 2 for Economy. If the user types 1, your app should assign a seat in the first-class section (seats 1-5). If the user types 2, your app should assign a seat in the economy section (seats 6-10).
Use a one-dimensional array of type bool to represent the seating chart of the plane. Initialize all the elements of the array to false to indicate that all the seats are empty. As each seat is assigned, set the corresponding element of the array to true to indicate that the seat is no longer available.
Your app should never assign a seat that has already been assigned. When the economy section is full, your app should ask the person if it's acceptable to be placed in the first-class section (and vice versa). If yes, make the appropriate seat assignment. If no, display the message "Next flight leaves in 3 hours."
Nesneye y nelik programlama - dev 2 Ders kitab n

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!