• Uyga vazifa
  • 1- dars. Mavzu: Masalalarni kompyuterda yechish bosqichlari Darsning texnologik xaritasi




    Download 1,92 Mb.
    bet77/208
    Sana23.07.2021
    Hajmi1,92 Mb.
    #15865
    1   ...   73   74   75   76   77   78   79   80   ...   208
    Yangi mavzu bayoni:

    1. Quyidagi ifodalarni o'zlashtirish operatori yordamida yozing.


     Javob: y:=(x-21)/(7-exp(63*ln(x)))

    b) a=3,6x+sinx; Javob: a:=3.6*x+sin(x)


     Javob: z:=sqrt(x-5*y+x*sin(x)/cos(x))

    e)  Javob: S:=Pi*sqr(r)

    f) F=ma Javob: F:=m*a

    g)  Javob: S:=a*h/2




    1. Chiqarish operatorining natijasi qanday bo'lishini aniqlang.

    2. a) a:=123.45; b) a:=123.45;

    write('a=', a:2:l); Javob: a=123.4 write('a=', a:5:l); Javob: 123.4

    d) a:= '2011'; e) a:= '2011';

    writeln(a:3, ' yil': 3); Javob: 2011 yil writeln(a:4, ' yil': 5). Javob: 2011 yil
    3. Dasturdagi o'zgaruvchilarning qiymati turiga mos bo'lishi uchun so'roq belgisi o'rniga zaruriy standart funksiyani yozing va ekranga chiqadigan natijani aniqlang.

    a) var a, b, c: integer;

    begin a:=25; b:= ?(sqrt(a)); c:= ?(a/b);

    writeln(a, ``, b, 'c=`, c);

    end.
    Javob: b=trunc(sqrt(25))=trunc(5.0)=5; c=trunc(25/5)=trunc(5.0)=5

    Ekranda. 25 5c=5




    Uyga vazifa: Mavzuni o’rganib kelish.3-(b)mashqni bajarish.
    b) var x, y, z: word;

    begin


    x:=?(?(-7.21)); y:= ?(sqrt(x*x));

    z:= ?(x+y-100); write(z-x, y);

    end.

    Javob: x=trunc(abs(-7.21))=trunc(7.21)=7



    y=trunc(sqrt(7*7))=trunc(sqrt(49))=trunc(7.0)=7

    z=abs(x+y-100); 7+7-100=14-100=-86 z=abs(-86)=86

    z-x=86-7

    ekranda: 797


    Sana :________________

    Sinf :___________________


    Download 1,92 Mb.
    1   ...   73   74   75   76   77   78   79   80   ...   208




    Download 1,92 Mb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    1- dars. Mavzu: Masalalarni kompyuterda yechish bosqichlari Darsning texnologik xaritasi

    Download 1,92 Mb.