Archive for Ekim, 2019

ALGORİTMA VE AKIŞ ŞEMASI ÖRNEKLERİ (70+Örnek) yazısına Ümmü Ebrar DEMİRCAN tarafından yapılan yorumlar


What is an Algorithm?

algorithmis a way designed to solve a specific problem or achieve a specific purpose. algorithm a simple, clear, sequential form of the solution of a problem. A set of finite operations defined in mathematics and computer science to do a job, which, when started from an initial state, terminates in a clearly defined end state.

It is often used in computer programming and the basis of all programming languages ​​is algorithm. At the same time, the algorithm is a step-by-step introduction of the behavior, basic commands or statements that will solve a single problem, and the sequence of these steps should be considered. There are two approaches to solving a problem: algorithmic and intuitive (herustic).

What is an Algorithm? Click here for more information.

Click to learn What is Flow Chart, How to Create,

Flow Diagram Programs Click here.

Algorithm Questions

Example 1: Design an algorithm and a flowchart to find and show the larger of the two numbers given differently.

Example 2: Design the algorithm and flow diagram to determine whether the student has passed the course according to the midterm and final grades entered.

Example 3: Design the algorithm and flow diagram to find out whether the given integer is zero, positive or negative.

Example 4: Make the algorithm that says the programmer's name 10 times on the screen ”.

Example 5: Make an algorithm and flow diagram that prints odd numbers from 1 to 100.

Example 6: Print the price entered on the screen by adding VAT (18%).

Example 7: Create the algorithm for the program that gives the sum and average of five numbers.

Example 8: Flow chart of the program that takes the factorial of the number (N) as entered from the keyboard.

Example 9: Draw the flowchart of the program that converts the degree of Fahrenheit entered from the keyboard to Cantigrad.

Example 10: Draw the flowchart of the program that finds the roots of the second order equation given as ax² + bx + c = 0.

Example 11: What is the algorithm of the program that calculates the sales price of a product by adding tax rate and profit rate from the keyboard over the purchase price?

Example 12: The grade of a university course achievement is calculated with a final exam grade of a visa. 30% of the final grade is 70% of the final grade. Draw the algorithm and the flowchart of the program which finds the average of the course as a result of these grades taken by a student in the exam.

Example 13: Perform the application that calculates the area of ​​the triangle entered from the keyboard in height and base length.

Example 14: The voltage (V) between the poles of a conductor is the current of the ampere type (I) passing through the conductor is equal to the product of the resistance (R) present on the conductor. V = I * R is represented by the formula. Using the formula, create the algorithm of the program that calculates the voltage between the poles of the conductor according to the current and resistance values ​​entered by the user.

Example 15: Create an algorithm that prints on the screen whether a number entered on the keyboard is positive or negative.

Example 16: Enter the grade of the student from a course on the keyboard and create the algorithm of the application that says success status is displayed or failed.

Example 17: Create an algorithm that states “passed” and “failed erek by entering 2 grades and 1 oral keyboard from a student's courses.

Example 18: Check whether the number received from the user is odd or even and generate the algorithm that prints on the screen.

Example 19: Visa final grades are made for the university. A student's requirement to pass the course is 30% of the midterm and 70% of the final grade is 50 and above and the final grade is 50 and higher. Create the appropriate algorithm.

Example 20: If the number that the user enters from the keyboard is fully divided into 3 and 5, create the algorithm that says not dividing if the screen says full dividing.

Example 21: If the number entered by the user is in the range 0-100, create the algorithm that says “invalid ekranda if not“ valid ekranda on the screen.

Example 22: Write the fake codes of the program that prints the grade on the screen according to the score the student has received from the exam?

Example 23: According to the temperature of the water in the form of solid liquid gaseous and written on the screen algorithm?

Example 24: User from ax2nd+ bx + c = 0 in the form of the second order equation a, b and c by calculating the delta by asking and showing the resulting delta result of the equation according to the table above shown that the roots of the algorithm?

Example 25: Algorithm that prints the number of digits from 0 to 99,999 entered on the keyboard?

Example 26: Workers with fixed wages in a factory receive an additional salary depending on their family situation. If the number of children is 1, it receives 5% of the salary, 2% of the children receive 3% and 15% of the family allowance. Accordingly, the employee's salary and the number of children by asking the algorithm that makes the necessary calculation?

Example 27: When calculating the wages of the workers in a factory, the following craters are complied with; If the worker has worked less than 40 hours, the hour and hourly wage is calculated by multiplying the wage, if the worker has worked 40 hours or more, the hour will be calculated as 2 hours and the information will be calculated accordingly and the amount to be paid is printed.

Example 28: Example of the flowchart of the program that finds the roots of Equation 2.

Example 29: The registration number, working hours and hourly wages of an employee are given as input to the computer. Draw the algorithm and flow chart that calculates the salary of the employee with this information.

Example 30: Perform the algorithm that finds the difference of the two numbers.

Example 31: Algorithm of the program that finds the sum of odd numbers from 1 to N and the sum of the squares of even numbers according to the number N entered from the keyboard

Example 32: Write the algorithm of the program that collects 10 numbers entered from the keyboard and displays the result on the screen.

Example 33: Flowchart Example listing the numbers between the numbers a and b entered from the keyboard:

Example 34: Algorithm flow diagram that will be displayed on the screen which will be processed according to the entered transaction number to be entered after 2 numbers will be entered from the keyboard.

Example 35: Algorithm of the program that prints the 1st, 2nd and 3rd digits (Digit Values) of the 3-digit number entered from the keyboard.

Example 36: Flowchart that prints its name 10 times on the screen

Example 37: Design the algorithm and flowchart of the program that prints a student's average, b-5, and c-letter system.

Example 38: Workers with fixed wages in a factory receive additional wages depending on their family situation and the number of parts they produce. Design the algorithm and flow diagram of the program that calculates the salaries of workers according to the instructions given below.

Example 39: The keyboard enters 3 side lengths. With the entered edge lengths: a-Whether the triangle can be drawn, b-If the triangle is drawn, type the triangle (isosceles, isosceles, equilateral), c- Design the algorithm and flow diagram of the program that finds the area and circumference of the drawn triangle.

Example 40: Flow chart of positives and negatives and “0” number of 10 numbers entered separately.

Example 41: Example of algorithm and flowchart that calculates the area and volume of the sphere.

Example 42: Example of algorithm and flow chart calculating Area and Volume of Cylinder

Example 43: Example of the algorithm that finds the largest of the 3 numbers entered

Example 44: Algorithm that finds the sum and average of odd numbers between 7-24

Example 45: Algorithm that averages the 3 numbers entered from the keyboard

Example 46: Create the flow diagram that finds and prints the average of the 5 numbers entered on the keyboard with the loop logic.

Example 47: Flow chart with numbers from 1 to 40 that are multiples of 5.

Example 48: Flow diagram of 3 times the number entered from the keyboard without multiplication.

Example 49: Algorithm calculating the area of ​​the parallelogram where the base length and height are entered.

Example 50: Example of an algorithm that takes the difference of these two means obtained by finding the average of 10 integers randomly entered and the average of the largest and smallest of these numbers.

Example 51: Example of the algorithm showing the grade (1-5) corresponding to the student's score (0-100).

Example 52: Click for Simple Algorithm Examples.

Example 53: Click here for examples of difficult algorithms.

Example 54: 6. Click for examples of class algorithms.

Example 55: Click here for examples of algorithms from daily life.

Study Questions:

Example 56: Algorithm and flow diagram of the program that takes the factorial of an integer between 1-25 entered from the keyboard
write.

Example 57: Prompts the keyboard to input numbers consecutively, and continues as long as this number is not between 10 and 15.
Write the algorithm and flow diagram of the program.

Example 58: Write the algorithm and flowchart of the program that finds the sum of the squares of numbers from 1 to 25.

Example 59: It asks for 10 integers from the keyboard and finds how many of these integers are negative.
Write the algorithm and flow diagram of the program.

Example 60: a, b, and c to be entered from the keyboard, ax2 + bx + c = 0 algorithm that finds the roots of the equation and
Write the flow diagram.

Example 61: Enter the number of integers 1-12 on the keyboard and find out which month corresponds to the program
Write the algorithm and flow diagram.

Example 62: By giving one code number to four operations, the two numbers entered from the keyboard are again according to the operation code entered from the keyboard.
Write the algorithm and flow diagram of the program that adds, subtracts, multiplies or divides.

Example 63: The program that collects the numbers entered consecutively from the keyboard and stops when the entered number is negative
Write the flow diagram.

Example 64: Not Unsuccessful ”if the note is between 0-49 and“ Intermediate aras if it is between 50-64, 65-84.
between “Good aras, 85-100“ Very good yazın Write the algorithm and flow diagram of the program.

Example 65: Algorithm and flow diagram of the program that finds the larger of the two integers entered on the keyboard and prints them on the screen
write.

Example 66: The algorithm of the program that takes the power of the first positive integer from the two
write the flow chart without using a ready-made function.

Example 67: n! Write the algorithm and flow diagram of the program that calculates the value.

Example 68: Write the algorithm and flow diagram of the program that calculates the value of 1 + 4 + 9 +… + 100 =.

Example 69: Write the algorithm and flow diagram of the program that performs addition, subtraction, multiplication and division.

Example 70: Calculates the number of hours a vehicle travels on an average distance of 60 km / h.
Write the algorithm and flow diagram of the program.

Algorithm Answers

Example 1- Design an algorithm and flow diagram to find and display the larger of the two numbers given differently.

Flow diagram

flow2 "width =" 810 "height =" 1103 "data-recalc-dims =" 1 "srcset =" https://i1.wp.com/www.softwarecoding.com/wp-content/uploads/2015/11/ akis2.jpg? w = 366 & ssl = 1 366w, https://i1.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis2.jpg?resize=220%2C300&ssl=1 220w, https://i1.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis2.jpg?resize=29%2C40&ssl=1 29w "data-lazy-sizes =" (max-width : 810px) 100vw, 810px "src =" https://i1.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis2.jpg?resize=810%2C1103&is-pending-load= 1 "srcset =" data: image / gif; base64, R0lGODlhAQABAIAAAAAAAP /// yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 "/><noscript><img data-attachment-id=

BASLa

SUMMER ("Enter your visa note")

READ visa

SUMMER ("Enter your final grade")

READ final

average=visa * 0:40 + final * 0.60

TOĞER average > = 60 ISA

SUMMER "Student Has Passed Lesson"

ALSOÐ theLSA

SUMMER "Instrstudent From the lesson KaldorI"

BITIR

stream3 "width =" 810 "height =" 1203 "data-recalc-dims =" 1 "srcset =" https://i2.wp.com/www.softwarecoding.com/wp-content/uploads/2015/11/ akis3.jpg? resize = 202% 2C300 & ssl = 1 202w, https://i2.wp.com/www.softwarecoding.com/wp-content/uploads/2015/11/akis3.jpg?resize=27%2C40&ssl=1 27w, https://i2.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis3.jpg?w=328&ssl=1 328w "data-lazy-sizes =" (max-width : 810px) 100vw, 810px "src =" https://i2.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis3-202x300.jpg?resize=810%2C1203&is-pending- load = 1 "srcset =" data: image / gif; base64, R0lGODlhAQABAIAAAAAAAAP /// yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 "/><noscript><img data-attachment-id=

BASLa

READ number

TOĞER countI>0 ISA SUMMER "This number is Positive"

TOĞER countI<0 ISA SUMMER "This number is negative."

TOĞER countI=0 ISA SUMMER "This number is Zero"

BITIR

stream4 "width =" 810 "height =" 1227 "data-recalc-dims =" 1 "srcset =" https://i1.wp.com/www.softwarecoding.com/wp-content/uploads/2015/11/ akis4.jpg? resize = 198% 2C300 & ssl = 1 198w, https://i1.wp.com/www.softwarecoding.com/wp-content/uploads/2015/11/akis4.jpg?resize=26%2C40&ssl=1 26w, https://i1.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis4.jpg?w=272&ssl=1 272w "data-lazy-sizes =" (max-width : 810px) 100vw, 810px "src =" https://i1.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis4-198x300.jpg?resize=810%2C1227&is-pending- load = 1 "srcset =" data: image / gif; base64, R0lGODlhAQABAIAAAAAAAAP /// yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 "/><noscript><img data-attachment-id=

one. BASLa

2nd. Counter=one

3. SUMMER "AHMET"

4. Counter=Counter+one

5. TOĞER Counter<=10 ISA GIT NameIm 3

6. STOP

Example 5- Create an algorithm and flowchart that prints odd numbers from 1 to 100.

Flow diagram

akis6 "width =" 810 "height =" 1066 "data-recalc-dims =" 1 "srcset =" https://i0.wp.com/www.softwarecoding.com/wp-content/uploads/2015/11/ akis6.jpg? resize = 227% 2C300 & ssl = 1 227w, https://i0.wp.com/www.softwarecoding.com/wp-content/uploads/2015/11/akis6.jpg?resize=30%2C40&ssl=1 30w, https://i0.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis6.jpg?w=266&ssl=1 266w "data-lazy-sizes =" (max-width : 810px) 100vw, 810px "src =" https://i2.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis6-227x300.jpg?resize=810%2C1066&is-pending- load = 1 "srcset =" data: image / gif; base64, R0lGODlhAQABAIAAAAAAAAP /// yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 "/><noscript><img data-attachment-id=

one. BAsla

2nd. countIwrap Price, Result

3. Summer; “Enter price”

4. Read; Price

5. Result = Price * 1:18

6. Summer Result

7. Finish it

Example 7- Create the algorithm for the program that gives the sum and average of five numbers.

Example 8- Flow chart of the program that takes the factorial of the number (N) as entered from the keyboard.

akis7 "width =" 810 "height =" 1095 "data-recalc-dims =" 1 "srcset =" https://i1.wp.com/www.softwarecoding.com/wp-content/uploads/2015/11/ akis7.jpg? resize = 222% 2C300 & ssl = 1 222w, https://i1.wp.com/www.softwarecoding.com/wp-content/uploads/2015/11/akis7.jpg?resize=30%2C40&ssl=1 30w, https://i1.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis7.jpg?w=318&ssl=1 318w "data-lazy-sizes =" (max-width : 810px) 100vw, 810px "src =" https://i2.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis7-222x300.jpg?resize=810%2C1095&is-pending- load = 1 "srcset =" data: image / gif; base64, R0lGODlhAQABAIAAAAAAAAP /// yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 "/><noscript><img data-attachment-id=

Example 10- Draw the flowchart of the program that finds the roots of the second-order equation given as ax² + bx + c = 0.

akis9 "width =" 810 "height =" 893 "data-recalc-dims =" 1 "srcset =" https://i1.wp.com/www.softwarecoding.com/wp-content/uploads/2015/11/ akis9.jpg? resize = 272% 2C300 & ssl = 1 272w, https://i1.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis9.jpg?resize=36%2C40&ssl=1 36w, https://i1.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis9.jpg?w=459&ssl=1 459w "data-lazy-sizes =" (max-width : 810px) 100vw, 810px "src =" https://i1.wp.com/www.softwareincoding.com/wp-content/uploads/2015/11/akis9-272x300.jpg?resize=810%2C893&is-pending- load = 1 "srcset =" data: image / gif; base64, R0lGODlhAQABAIAAAAAAAAP /// yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 "/><noscript><img data-attachment-id=

Start

countIwrap ( the vergi_orI , snow )

OndalIKLI getIthe sfiyat

Summer ( '' getbusinesspriceI what ?'')

Alisprice < read()

Summer (''tax rateI what '' )

von < read()

Summer (''snow rateI what '')

Snow < read()

buybusiness priceI = getbusiness priceI + ( getbusiness priceI * VOA/one hundred)+(getbusiness priceI * snow/one hundred)

Summer ( buybusiness priceI )

it's over

Example 12-The grade of a university course achievement is calculated with a final exam grade of a midterm. 30% of the final grade is 70% of the final grade. Draw the algorithm and the flowchart of the program which finds the average of the course as a result of these grades taken by a student in the exam.

Example 13-Perform the application that calculates the area of ​​the triangle entered from the keyboard in height and base length.

Example 14-The voltage V between the poles of a conductor is the ampere type current I passing through the conductor is equal to the product of the resistance R present on the conductor. V = I * R is represented by the formula. The algorithm of the program that calculates the voltage between the poles of the conductor according to the current and resistance values ​​entered by the user using the formula?

Example 15-An algorithm that prints on the screen whether a number entered on the keyboard is positive or negative.

Example 16-The algorithm of the application that writes the grade of the student from a course to the screen by entering the grade on the keyboard.

Example 17-A student's algorithm is written as 2 grades and 1 verbal keyboard.

Örnek 18-Kullanıcıdan alınan sayının tek ya da çift kontrol edip ekranda yazdıran algoritması.

Örnek 19-Üniversite için vize final notları yapılmaktadır. Bir öğrencinin dersten geçme şartı vizenin %30 ile final notunun %70 in toplamı 50 ve üzeri ve final notunun 50 ve daha yüksek olma algoritması.

Örnek 20-Kullanıcının klavyeden girdiği sayı 3’ e ve 5’ e tam bölünüyorsa ekrana tam bölünüyor yazan bölünmüyor sa bölünmüyor yazan algoritma ?

Örnek 21-Kullanıcının klavyeden girdiği sayı 0-100 aralığındaysa geçerli değilse geçerli yazan algoritma

Örnek 22-Öğrencinin sınavdan almış olduğu puana göre notunu ekrana yazdıran programın sahte kodlarını yazınız ?

Örnek 23-Suyun sıcaklık derecesine göre katı sıvı gaz halinde olduğu bulan ve ekrana yazan algoritma ?

Örnek 24-Kullanıcıdan ax2nd+bx+c=0 şeklindeki ikinci derecede denkleme ait a,b ve c değerleri istenerek deltayı hesaplayan ve gösteren çıkan delta sonucuna göre denklemin köklerinin yukardaki tabloya göre gösterilmesi sağlanan algoritma ?

Örnek 25-Klavyeden girilen 0 ile 99.999 arasındaki basamak sayısını ekrana yazdıran algoritma ?

Örnek 26-Bir fabrikada sabit maaşla çalışan işçiler aile durumlarına göre ek maaş almaktadırlr. Çocuk sayısı 1 ise maaşının %5’i kadar , çocuk sayısı 2 ise %10’u 3 ve daha fazla ise %15’i kadar aile yardımı almaktadır. Buna göre kullanıcıdan işçinin maaşı ve çocuk sayısı istenerek gerekli hesaplamayı yapan algoritma ?

Örnek 27-Bir fabrikada işçinin alacağı ücret hesaplanırken şu kraterlere uyulmaktadır ;

  • Eğer işçi 40 saatten az çalışmışsa çalıştığı saat ve saat ücreti çarpılarak alacağı ücret hesaplanıyor , eğer işçi 40 saat ve daha fazla çalışmışsa çalıştığı saat 2 saat olarak hesaplanacak buna göre bilgileri alınarak ödenecek tutarı yazdıran algoritması.

Örnek 28- 2.Dereceden Denkelem köklerini bulan programa ait akış şeması örneği.

akissemasi2derecedenklem" width="810" height="874" data-recalc-dims="1" srcset="https://i0.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/akissemasi2derecedenklem.jpg?resize=278%2C300&ssl=1 278w, https://i0.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/akissemasi2derecedenklem.jpg?w=432&ssl=1 432w" data-lazy-sizes="(max-width: 810px) 100vw, 810px" src="https://i2.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/akissemasi2derecedenklem-278x300.jpg?resize=810%2C874&is-pending-load=1" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/><noscript><img data-attachment-id=

BAşla

Sicilno., calsa, saucret oku

Maas= calsa x saucret

Sicilno, Maas yaz

Dur.

akis_sema_maas" width="810" height="1152" data-recalc-dims="1" srcset="https://i1.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/akis_sema_maas.jpg?resize=211%2C300&ssl=1 211w, https://i1.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/akis_sema_maas.jpg?w=272&ssl=1 272w" data-lazy-sizes="(max-width: 810px) 100vw, 810px" src="https://i0.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/akis_sema_maas-211x300.jpg?resize=810%2C1152&is-pending-load=1" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/><noscript><img data-attachment-id=

1.Başla

2.SayIsal sayi1,sayi2,fark

3.YAZ ("1. Sayıyı girin")

4.sayi1 < OKU()

5.YAZ ("2. Sayıyı girin")

6.sayi2 sayi2)

8.fark=sayi1sayi2

9.DEĞİLSE EĞER(sayi2>sayi1)

10.fark=sayi2sayi1

11.DEĞİLSE

12.fark=0

13.EĞER BITTI

14.YAZ (fark)

15.Bitir


Örnek 31. Klavyeden girilen N sayısına göre 1 den N ye kadar olan tek sayıların toplamı ve çarpımı çift sayıların ise karelerinin toplamını bulan programın algoritması

Örnek 32. Klavyeden girilen 10 sayıyı toplayan ve sonucu ekranda gösteren programın algoritmasını yazınız.

Örnek 33. Klavyeden girilen a ve b sayıları arasındaki sayıları listeleyen Akış Şeması Örneği:

1_n_sayi_yazdir" width="810" height="865" data-recalc-dims="1" srcset="https://i0.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/1_n_sayi_yazdir.jpg?resize=281%2C300&ssl=1 281w, https://i0.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/1_n_sayi_yazdir.jpg?w=508&ssl=1 508w" data-lazy-sizes="(max-width: 810px) 100vw, 810px" src="https://i0.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/1_n_sayi_yazdir-281x300.jpg?resize=810%2C865&is-pending-load=1" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/><noscript><img data-attachment-id=

one

2nd

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

BAŞLA

SAYISAL s1,s1,sonuc,islem

YAZ ("1. SAYIYI GİR")

s1 < OKU()

YAZ ("2. SAYIYI GİR")

s1 YAZ("SEÇİMİ GİRİN:" one TOPLA 2ndÇIKAR 3ÇARP 4BÖL")

islem<-OKU()

EĞER(islem==1)

sonuc=s1+s2 //yazilimkodlama.com

DEĞİLSE EĞER (islem==2)

sonuc=s1-s2

DEĞİLSE EĞER (islem=3)

sonuc=s1*s2

DEĞİLSE EĞER (islem==4)

sonuc=s1/s2

DEĞİLSE //www.yazilimkodlama.com

YAZ ("HATALI GIRİŞ")

EĞER BITTI

YAZ(sonuc)

BITTI

Örnek 35. Klavyeden girilen 3 basamaklı sayının 1. 2. ve 3. basamağını (Basamak Değerlerini) yazdıran programın algoritması.

Akış Şeması:

basamak_ayirma" width="810" height="1455" data-recalc-dims="1" srcset="https://i1.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/basamak_ayirma.jpg?zoom=2&resize=1166%2C2095&ssl=1 2332w, https://i1.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/basamak_ayirma.jpg?zoom=3&resize=1166%2C2095&ssl=1 3498w" data-lazy-sizes="(max-width: 810px) 100vw, 810px" src="https://i0.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/basamak_ayirma-166x300.jpg?resize=810%2C1455&is-pending-load=1" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/><noscript><img data-attachment-id=ekrana_adini_yaz" width="810" height="924" data-recalc-dims="1" srcset="https://i0.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/ekrana_adini_yaz.jpg?resize=263%2C300&ssl=1 263w, https://i0.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/ekrana_adini_yaz.jpg?w=304&ssl=1 304w" data-lazy-sizes="(max-width: 810px) 100vw, 810px" src="https://i1.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/ekrana_adini_yaz-263x300.jpg?resize=810%2C924&is-pending-load=1" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/><noscript><img data-attachment-id=

AdIm one: BAşla

AdIm 2nd: Ders notlarInI al.(a,b,c)

AdIm 3: ortalama değerini hesapla ort=(a+b+c)/3

AdIm 4: eğer ort>84 r=5 h=a adIm10 a git.

AdIm 5:eğer ort>69 r=4 h=b adIm 10 a git.

AdIm 6:eğer ort>54 r=3 h=c adIm 10 a git.

AdIm 7:eğer ort>44 r=2nd h=d adIm 10 a git.

AdIm 8:eğer ort>24 r=one h=e adIm 10 a git.

AdIm 9:r=0 h=f

AdIm 10: r and h değerlerini ekrana yaz.

AdIm 11: Bitir.

Örnek 38. Bir fabrikada sabit maaşla çalışan işçiler aile durumlarına ve ürettikleri parça sayısına göre de ek maaş almaktadır. Aşağıda verilen yönergelere göre işçilerin maaşlarını hesaplayan programın algoritmasını ve akış diyagramını tasarlayınız.

Çocuk sayısı1 ise maaşın %5 i
Çocuk sayısı 2 ise maaşın %10 u
Çocuk sayısı 3 ve 3 den fazla ise maaşın %15 i kadar aile yardımı.

Üretilen parça sayısı 50-100 arasında ise maaşın %10 u
Üretilen parça sayısı 100-150 arasında ise maaşın %15 i
Üretilen parça sayısı 150-200 arasında ise maaşın %20 si


Örnek 39. Klavyeden 3 adet kenar uzunluğu giriliyor. Girilen kenar uzunlukları ile :

a-Üçgenin çizilip çizilemeyeceğini
b-Eğer üçgen çizilirse Üçgenin çeşidini(ikizkenar, çeşitkenar, eşkenar)
c- çizilen üçgenin alan ve çevresini bulup ekrana yazan programın algoritmasını ve akış diyagramını tasarlayınız.

Örnek 40. Girilen 10 adet sayi içerisinden pozitiflerin ve negatiflerin ve “0”  sayısını ayrı ayrı bulan akış şeması.

negatif_pozitif_sayisi" width="810" height="799" data-recalc-dims="1" srcset="https://i1.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/negatif_pozitif_sayisi.jpg?resize=300%2C296&ssl=1 300w, https://i1.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/negatif_pozitif_sayisi.jpg?resize=70%2C70&ssl=1 70w, https://i1.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/negatif_pozitif_sayisi.jpg?w=555&ssl=1 555w" data-lazy-sizes="(max-width: 810px) 100vw, 810px" src="https://i2.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/negatif_pozitif_sayisi-300x296.jpg?resize=810%2C799&is-pending-load=1" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/><noscript><img data-attachment-id=

BAŞLA

SayIsal r,alan,hacim

YAZ("Yarıçapı giriniz")

r<OKU()

alan=4*3.14*r*r

hacim=(4/3)*3.14*r*r*r

YAZ(alan)

YAZ(hacim)

BITTI

kure_alan_hacim" width="810" height="2132" data-recalc-dims="1" srcset="https://i2.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/kure_alan_hacim.jpg?resize=114%2C300&ssl=1 114w, https://i2.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/kure_alan_hacim.jpg?w=153&ssl=1 153w" data-lazy-sizes="(max-width: 810px) 100vw, 810px" src="https://i2.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/kure_alan_hacim-114x300.jpg?resize=810%2C2132&is-pending-load=1" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/><noscript><img data-attachment-id=

BAŞLA

SayIsal r,h,alan,hacim

YAZ("Yarıçapı giriniz")

r<OKU()

YAZ("Yüksekliği giriniz")

h<OKU()

alan=2nd*3.14*(r+h)

hacim=3.14*r*r*h

YAZ(alan)

YAZ(hacim)

BITTI

silindir_alan_hacim" width="810" height="2132" data-recalc-dims="1" srcset="https://i2.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/silindir_alan_hacim.jpg?resize=114%2C300&ssl=1 114w, https://i2.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/silindir_alan_hacim.jpg?w=153&ssl=1 153w" data-lazy-sizes="(max-width: 810px) 100vw, 810px" src="https://i0.wp.com/www.yazilimkodlama.com/wp-content/uploads/2015/11/silindir_alan_hacim-114x300.jpg?resize=810%2C2132&is-pending-load=1" srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"/><noscript><img data-attachment-id=

BAşla

s1< OKU() s2<OKU() s3<OKU() EĞER(s1>s2 & s1>s3)

Yaz("SayIone en büyüktür")

Değilse Eğer (s2>s1 & s2>s3)

Yaz("SayI2nd en büyüktür")

Değilse

Yaz("SayI3 en büyüktür")

Eğer Bitti

Bitir

Örnek 44. 7-24 arası tek sayıların toplamını ve ortalamasını bulan algoritma

Örnek 45. Klavyeden Girilen 3 sayının ortalamasını alan algoritma

Örnek 46. Klavyeden girirlen 5 adet sayının ortalamasının döngü mantnığı ile bulup ekrana yazdıran akış diyagramını oluşturunuz.

new-chart

Örnek 47. 1 ile 40 arasında bulunan 5 in katı olan sayıları ekrana yazan akış şeması.

new-chart

Örnek 48. Çarpma kullanmadan klavyeden girilen sayının 3 katını bulan akış diyagramı.

new-chart2

Örnek 49. Taban uzunluğu ve yüksekliği girilen paralelkenarın alanını hesaplayan algoritma.
Paralelkenarın taban uzunluğu b ve yüksekliği h olmak üzere;
Alan=b*h olarak hesaplanır.

Örnek 50. Arka arkaya girilen rastgele 10 tamsayının ortalaması ile bu sayılardan en büyük ve en küçük olanının ortalamasını bularak elde edilen bu iki ortalamanın farkını alan algoritma örneği.

Örnek 51. Öğrencinin sınavdan aldığı puan (0-100) karşılığı olan notu (1-5) ekranda gösteren algoritma örneği.

Daha fazla örnek için Facebook Sayfamızı beğenin.

No tags Leave a Comment more...

23
Eki/19

CSS Örnekleri :İstiklâl Marşı (Video)

by under Yazılım


Once you've worked with HTML, you'll probably be interested in adding more power to your web pages. CSS is the best way to do this. CSS lets you apply changes to your entire page without having to use multiple inline HTML styles.

CSS refers to the style of a website. For beginners in CSS coding National Anthem We have prepared many examples in a single application such as selective usage with sample, background determination, editing font fonts, frames, use of CSS with span as well as internal and external spaces.

Screen Output:

<img aria-describedby = "caption-attachment-8062" data-attachment-id = "8062" data-permalink = "https://www.software.coding.com/css/css-examples-statistics-marsi-video/attachment / css-examples-3 / "data-orig-file =" https://i0.wp.com/www.softwarecoding.com/wp-content/uploads/2019/10/CSS-Samples.png?fit=500 % 2C267 & ssl = 1 "data-orig-size =" 500,267 "data-comments-opened =" 1 "data-image-meta =" {"aperture": "0", "credit": "", "camera": "", "caption": "", "created_timestamp": "0", "copyright": "", "FOCAL_LENGTH": "0", "iso": "0", "shutter_speed": "0", " title ":" "," orientation ":" 0 "}" data-image-title = "CSS Examples" data-image-description = "

CSS Examples

"data-medium-file =" https://i0.wp.com/www.softwareincoding.com/wp-content/uploads/2019/10/CSS-Examples.png?fit=300%2C160&ssl=1 "data- large-file = "https://i0.wp.com/www.softwarecoding.com/wp-content/uploads/2019/10/CSS-Examples.png?fit=500%2C267&ssl=1" class = "size- full wp-image-8062 jetpack-lazy-image "alt =" CSS Examples "width =" 500 "height =" 267 "data-recalc-dims =" 1 "srcset =" https://i0.wp.com/ www.softwarecoding.com/wp-content/uploads/2019/10/CSS-Samples.png?w=500&ssl=1 500w, https://i0.wp.com/www.softwarecoding.com/wp-content/uploads /2019/10/CSS-Samples.png?resize=300%2C160&ssl=1 300w "data-lazy-sizes =" (max-width: 500px) 100vw, 500px "src =" https://i2.wp.com /www.softwareincoding.com/wp-content/uploads/2019/10/CSS-%C3%96samples.png?resize=500%2C267&is-pending-load=1#038;ssl=1 "srcset =" data: image / gif; base64, r0lgodlhaqabaıaaaaaaap /// yh5baeaaaaalaaaaaabaaeaaaıbraa7 "/>

CSS Examples

"data-medium-file =" https://i0.wp.com/www.softwareincoding.com/wp-content/uploads/2019/10/CSS-Examples.png?fit=300%2C160&ssl=1 "data- large-file = "https://i0.wp.com/www.softwarecoding.com/wp-content/uploads/2019/10/CSS-Examples.png?fit=500%2C267&ssl=1" class = "size- full wp-image-8062 "src =" https://i2.wp.com/www.softwareincoding.com/wp-content/uploads/2019/10/CSS-%C3%96samples.png?resize=500%2C267&ssl = 1 "alt =" CSS Examples "width =" 500 "height =" 267 "srcset =" https://i0.wp.com/www.softwareincoding.com/wp-content/uploads/2019/10/CSS- Examples.png? W = 500 & ssl = 1 500w, https://i0.wp.com/www.softwareincoding.com/wp-content/uploads/2019/10/CSS-Examples.png?resize=300%2C160&ssl=1 300w "sizes =" (max-width: 500px) 100vw, 500px "data-recalc-dims =" 1 "/>

CSS Examples

Leave a Comment more...

21
Eki/19

SQL*Plus 12.2.0.1 ile CSV formatında çıktı oluşturulması

by under Veritabanı


21 Ekim
Yazan Ahmet Duruöz

Oracle 12.2.0.1 ile SQL * Plus, bir sorgunun sonucunu CSV olarak görüntüleyebilir.

Kullanımı aşağıdaki gibidir.

Seçenekler:

Delikli (TER): Sütun değerlerini ayırmak için kullanılan karakter. Sadece tek karakterlere izin verilir. Varsayılan değer şudur: “,” (virgül).
ALINTI: AÇIK iken, metin olan sütun değerleri “” (çift tırnak işareti) ile gösterilmiştir. AÇIK veya KAPALI değerleri alabilir. Varsayılan değer kapalı.

İkili tırnaklarda CSV çıktısı üretmek için:

İkili tırnak işaretleri olmadan CSV çıktısı üretmek için:

Dirsek işareti olarak | (boru) CSV olarak çıktı üretmek için:

Komut satırından -M parametresini aşağıdaki gibi kullanarak, komut dosyası çalıştırılarak çıktı csv biçiminde oluşturulabilir.

Sed ‘/ ^ $ / d 'komutuyla, çıkışın başındaki ve sonundaki boşluğun görüntülenmemesini sağlarız. Aksi takdirde, aşağıdaki gibi boşluklarla gösterilecektir.