Search Header Logo

Formatirani način unosa i ispisa podataka u datoteku

Authored by Lea Basic

Computers

9th - 12th Grade

Used 1+ times

Formatirani način unosa i ispisa podataka u datoteku
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

Za formatirani unos i ispis koristimo funkcije:

(a)  

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Opis formata se sastoji od oznake and (&) iza koje slijedi slovo koje opisuje tip podatka.

Točno

Netočno

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Opći oblik funkcije scanf je:  

scanf('opis_formata',[adresa, adresa..]); 

printf("opis_formata",[adresa, adresa..]); 

scanf("opis_formata",[adresa, adresa..]);  

scanf("opis_formata",varijabla, varijabla,...); 

4.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

Za korištenje funkcija scanf i printf te naredbe FILE*identifikator; potrebna nam je i biblioteka

(a)  

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

U formatiranu datoteku se podaci zapisuju tako da se za svaki znak rezervira

8 ASCII kodova

8 znakova

32 bita

8 bitova

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Za pisanje u datoteku koristi se nekoliko funkcija. Najčešće korištene funkcije su:

fprintf()

fscanf()

fwrite()

fread()

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Prije otvaranja datoteke programu ćemo najaviti da ćemo raditi s datotekom koristeći naredbu:

FILE*opener;

fread("ime_datoteke","način otvaranja");

FILE*indentifikator;

fopen("ime_datoteke","način otvaranja");

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?