sprawdzian z Pascala gr B

Sprawdzian z zakresu programowania w PASCALU

  1. Opisz procedurę Val(s,k,i) i Str(k,s).

………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………

  1. Napisz w Pascalu rekurencyjną funkcję realizującą schemat Hornera.

…………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………

………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………

………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………

  1. Opisz w jaki sposób realizujemy instrukcję warunkową w programie. Wymień wszystkie możliwe operacje logiczne stosowane w instrukcjach warunkowych. Podaj przykładowy kod programu.

………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………..

  1. Napisz program tworzący plik tekstowy na dysku „D” o nazwie „Sprawdzian.txt” i zapisującego w nim Twoje imię i nazwisko.

..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

  1. Opisz wszystkie znane instrukcje iteracyjne. Podaj przykładowy kod programu.

…………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………

  1. Wymień funkcje standardowe typów porządkowych.

………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………

  1. Napisz program konwersji liczby z systemu dwójkowego na dziesiętny.

………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………


Wyszukiwarka

Podobne podstrony:
sprawdzian z Pascala gr A
sprawdzian z Pascala gr C
slowotwII A, Sprawdziany, j. polski, Sprawdzian + odpowiedzi (gr. A i B) - Słowotwórstwo - 2 gim
slowotwI A, Sprawdziany, j. polski, Sprawdzian + odpowiedzi (gr. A i B) - Słowotwórstwo - 2 gim
sprawdzian polski zdania złożone, Sprawdziany, j. polski, Sprawdzian + odpowiedzi (gr. A i B) - ZDAN
Elektromagnetyzm Sprawdzian Fizyka Gr B
matematyka, File199, Sprawdzian nr 2 gr
Sprawdzian 1pr gr HK, GiK III, kartografia
Sprawdzian podzielnosc 4 gr a, Matematyka, kl 4
sprawdzian z mitologii gr. A, Testy z lektur i polskiego
Sprawdzian rachunkowość gr B
slowotwII B, Sprawdziany, j. polski, Sprawdzian + odpowiedzi (gr. A i B) - Słowotwórstwo - 2 gim
Test sprawdzający KRZYŻACY gr. B, Testy z lektur i polskiego
Test sprawdzający KRZYŻACY gr. A, Testy z lektur i polskiego
sprawdzian z mitologii gr. B, Testy z lektur i polskiego
Sprawdzian Rachunkowość gr A
Sprawdzian Rachunkowość 2 Gr A
Sprawdzian Rachunkowość 2 Gr B

więcej podobnych podstron