2.kolokvijum8

A classroom setting with a computer displaying UNIX code, surrounded by books on operating systems and device drivers, in a bright and educational atmosphere.

UNIX Device Driver Knowledge Quiz

Test your knowledge of UNIX device drivers with our engaging quiz! This quiz consists of 10 multiple-choice questions that cover essential concepts and procedures related to character and block device drivers. Perfect for students, teachers, or anyone interested in enhancing their understanding of UNIX systems.

  • Multiple choice questions
  • Focus on device driver procedures
  • Explore real UNIX scenarios
10 Questions2 MinutesCreated by CodingEagle123
Strategy procedura se javlja kod:
Karakter switch tabele
Blok switch tabele
Kod obe
Kod nijedne
Ioctl procedura se javlja kod:
Karakter switch tabele
Blok switch tabele
Kod obe
Kod nijedne
Kod blok switch tabele, read I write funkcije se realizuju:
Preko strategy procedure
Preko drajverskih read,write funkcije
Na oba nacina
Ne postoje
Procedure mount, umount su karakteristicne kod:
Karakter switch tabele
Blok switch tabele
Kod obe
Kod nijedne
Imate drajversku datoteku: crw-rw-rw- 1 3, 15............tty13; Glavni(major) broj je:
1
3
15
Nije definisan
Imate drajversku datoteku: crw-rw-rw- 1 3, 15............tty13; Kada proces otvara ovaj uredjaj, UNIX poziva open proceduru iz:
Trece vrste karakter switch tabele
Trece vrste blok switch tabele
15te vrste karakter switch tabele
15te vrste blok switch tabele
Imate drajversku datoteku: brw-rw-rw- 1 2, 11............dsk1; Sporedni(minor) broj je:
1
2
11
Nije definisan
Imate drajversku datoteku: brw-rw-rw- 1 2, 11............dsk1; Kada proces otvara ovaj uredjaj, UNIX poziva open proceduru iz:
Druge vrste karakter switch tabele
Druge vrste blok switch tabele
11te vrste karakter switch tabele
11te vrste blok switch tabele
Imate UNIX sa velicinom sistemskog bloka od 1K, a to je velicina kes bloka. Analizirajmo sledeci program. Prethodno pogledajmo blok I karakter datoteku za /dev/dsk15 dobijenu sa komandom: &ls -l /dev/dsk15 /dev/rdsk15; br-------- 2 root root 0,21 ------ Feb 12 15:40 /dev/dsk15; crw-rw---- 2 root root 7,21 ----- Mar 7 09:29 /dev/rdsk15; char buf1[4096], buf2[4096]; int fd1, fd2; fd1=open("/dev/dsk15", O_RDONLY); read(fd1, buf1, sizeof(buf1)); U koliko se iteracija obavi ovo citanje:
0
1
2
3
4
Imate UNIX sa velicinom sistemskog bloka od 1K, a to je velicina kes bloka. Analizirajmo sledeci program. Prethodno pogledajmo blok I karakter datoteku za /dev/dsk15 dobijenu sa komandom: &ls -l /dev/dsk15 /dev/rdsk15; br-------- 2 root root 0,21 ------ Feb 12 15:40 /dev/dsk15; crw-rw---- 2 root root 7,21 ----- Mar 7 09:29 /dev/rdsk15; char buf1[4096], buf2[4096]; int fd1, fd2; fd1=open("/dev/rdsk15", O_RDONLY); read(fd1, buf1, sizeof(buf1)); Da li ovo citanje ide kroz baferski kes:
Da
Ne
Uslovno
{"name":"2.kolokvijum8", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of UNIX device drivers with our engaging quiz! This quiz consists of 10 multiple-choice questions that cover essential concepts and procedures related to character and block device drivers. Perfect for students, teachers, or anyone interested in enhancing their understanding of UNIX systems.Multiple choice questionsFocus on device driver proceduresExplore real UNIX scenarios","img":"https:/images/course1.png"}
Powered by: Quiz Maker