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

ยังจำไพทอนได้หรือเปล่า?

ยังจำไพทอนได้หรือเปล่า?

9th Grade

10 Qs

Introduction à la programmation

Introduction à la programmation

10th - 11th Grade

10 Qs

Urządzenia Peryferyjne

Urządzenia Peryferyjne

12th Grade

10 Qs

แบบฝึกหัดทบทวนบทเรียน โครงสร้างภาษาซี

แบบฝึกหัดทบทวนบทเรียน โครงสร้างภาษาซี

12th Grade

12 Qs

แบบทดสอบก่อนเรียนภาษาPython

แบบทดสอบก่อนเรียนภาษาPython

10th Grade

10 Qs

Linguaggio C - Basi

Linguaggio C - Basi

11th - 12th Grade

10 Qs

Quiz Menghitung Luas dan Keliling Lingkaran

Quiz Menghitung Luas dan Keliling Lingkaran

11th Grade

11 Qs

Preetest Pemrograman Bahasa C

Preetest Pemrograman Bahasa C

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