Algoritma – LAB 4 (Solution)

$ 29.99
Category:

Description

1. 1’den 100’e kadar olan rakamları ekrana yazan algoritmanın sözde kodunu yazarak akış diyagramını çiziniz. (Draw the flow diagram of the algorithm that prints the numbers from 1 to 100 respectively on the screen.)
2. 500’den 100’e kadar olan sayıları ekrana yazan algoritmanın sözde kodunu yazarak akış diyagramını çiziniz. (Draw the flow diagram of the algorithm that prints the numbers from 500 to 100.)
3. 100’den 200’e kadar olan çift sayıları ekrana yazan algoritmanın sözde kodunu yazarak akış diyagramını çiziniz. (Draw the flow diagram of the algorithm that prints the even numbers from 100 to 200.)
4. Girilen 10 adet sayı içerisinden; pozitiflerin ve negatiflerin sayısını ayrı ayrı bulan algoritmanın sözde kodunu yazarak akış diyagramını çiziniz. (Among the 10 numbers entered; Plot the flow diagram of the algorithm that finds the number of positives and negatives separately.)
5. Girilecek 10 adet sayıdan en büyük ve en küçük olanını bulan algoritmanın akış diyagramını çiziniz. (From the 10 numbers entered from the keyboard, draw the flow diagram of the algorithm that finds the largest and the smallest.)
6. Bir işletmede çalışan elemanlara normal ücretlerine ek olarak ürettikleri parça sayısına göre ek ücret verilmektedir. Parça başına ücret aşağıdaki şartlara göre verilmektedir:
a. Parça sayısı (0,10) arası için parça başına 5000,
b. Parça sayısı [10,30) arası için parça başına 8000,
c. Parça sayısı 30 ve yukarısı için parça başına 12000
Buna göre normal maaşı ve ürettiği parça sayısı bilgilerini alarak elamanın alacağı toplam maaşı hesaplayan algoritmanın akış diyagramını çiziniz.
In addition to the normal wages, the employees working in an enterprise are charged an additional fee based on the number of pieces they produce. The fee per part is based on the following conditions:
a. Between the number of pieces (0.10), 5000 TL per piece,
b. Between the number of pieces [10,30], 8000 TL per piece,
c. Number of pieces 30 and above, 12000 TL per piece
According to this, by taking the normal salary and the number of pieces produced, draw the flow diagram of the algorithm that calculates the total salary to be taken by the employee.
7. Verilen iki sayıyı bölme operatörü kullanmadan birbirine bölerek, bölüm ve kalan değerlerini hesaplayan algoritmanın akış diyagramını çiziniz (/ ve % operatörleri kullanılmayacak). Divide the given two numbers into each other without using the division operator, and draw the flow diagram of the algorithm that calculates the division and the remaining values (/ and% operators will not be used).

Reviews

There are no reviews yet.

Be the first to review “Algoritma – LAB 4 (Solution)”

Your email address will not be published. Required fields are marked *