Formatirani način unosa i ispisa podataka u datoteku

Formatirani način unosa i ispisa podataka u datoteku

9th - 12th Grade

7 Qs

quiz-placeholder

Similar activities

Pemecahan Persoalan Komputasi dengan SubProgram

Pemecahan Persoalan Komputasi dengan SubProgram

9th Grade

12 Qs

asesmen informatika fase F

asesmen informatika fase F

11th Grade

12 Qs

Introduction to computer programming

Introduction to computer programming

12th Grade

11 Qs

Internet i internetski servisi

Internet i internetski servisi

9th Grade

12 Qs

Sprawdź się (*)

Sprawdź się (*)

7th Grade - University

10 Qs

ภาษาซี Array

ภาษาซี Array

10th Grade - University

10 Qs

Latihan soal Programming

Latihan soal Programming

1st - 12th Grade

10 Qs

แบบทดสอบก่อนเรียน การทำงานแบบทำซ้ำ while

แบบทดสอบก่อนเรียน การทำงานแบบทำซ้ำ while

12th Grade

10 Qs

Formatirani način unosa i ispisa podataka u datoteku

Formatirani način unosa i ispisa podataka u datoteku

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Lea Basic

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

7 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Za formatirani unos i ispis koristimo funkcije:

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 BLANK QUESTION

20 sec • 1 pt

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

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");