Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1) Diferenta conceptuala distribuit/paralel - Nodurile in calcul paralel pot partaja memoria
- 2) Care protocoale folosesc TCP si UDP - DNS
- 3) Care servicii folosesc protocolul TCP: SMTP, HTTP, FTP
- 4) Un sistem trebuie sa reflecte imediat orice schimbare consistenta: ACID
- 5) Scalabilitatea sistemului distribuit este capacitatea - toate cele mentionate
- 6) Descfirare XML: eXtensible ML
- 7) Obiectivele de proiectare a sistemelor distribuite: partajarea resurselor si concurenta
- 8) Avantajele REST: toate mentionate
- 9) Organizarea fundamentala a sistemelor : Client-Server, Publish-Subscribe, Peer to peer,
- 10) Situatia in care firele de executie se blocheaza: Deadlock
- 11)ACID: Atomicity, Consistency, Isolation, Durability
- 12) Modele SQL (Coloane - Casandra, Value-key: Redis, Graph: Neo4J, docs: mongo
- 13) Care metode sunt idempotente: DELETE
- 14) XML Tove, Jani - Corect
- 15) Organizarea fundamendala a sistemelor este determinata de arhitecturi
- {
- sistemul prevede... : 'SECVENTE de LOTURI'
- in sistem exista o componenta: 'REPOZITORIU PARTAJAT'
- sistemul este structurat pe componente vertical : "LAYERS'
- }
- m) Intr-un sistem aplicatiile nu pot sa asigure raspunsuri imediate...
- Servicii de mesaje
- x) Nu este caracteristic REST: Analogice invocarilor de la distanta RPC
- y) Toate elemente XML nevide trebuie sa aiba un tag de inchidere
- n) Caracteristicile protocoalelor TCP si UDP:
- {
- Transmission Control Protrocol _______ User DataGram Protocol
- Fiabil ____ nefiabil
- Orientat pe conexiune _____ fara conexiune
- orientat pe octeti____ orientat pe mesaje
- exista _______ nu exista
- exista ______ nu exista
- ordonat _______ neordonat
- }
- 16) {
- Setul de protocoale: stiva de protocoale
- Setul de functii: interfata
- Setul de reguli: protocol
- }
- 17) {
- Flux de octeti - orientat pe conex.
- Datagrama confirmata - fara conex.
- conexiune nesigura - orientat pe conex.
- cerere-raspuns - fara conex.
- datagrama nesigura - fara conexiune
- flux de mesaje sigur - orientat pe conex.
- }
- 18) {
- Nivelul descrie functii: 'APLICATIE'
- Nivelul defineste sintaxa: 'PREZENTARE'
- Nivelul furnizeaza servicii imbunatatite: 'SESIUNE'
- Defineste modul de dirijare: 'RETEA'
- Printre protocolae (TCP, UDP, SPX, TP04): 'TRANSPORT'
- Un obiectiv important al acestui nivel: 'Legatura de date?'
- Defineste modul de transmitere a bitilor: 'FIZIC'
- }
- 19) {
- Retea OSI: Internet TCP/IP
- Transport: TRansport TCP/IP
- Sesiune: Aplicatie TCP
- Aplicatie: Aplicatie TCP/IP
- Fizic: Host to network
- Prezentare: Aplicatie TCP/IP
- Legatura de date: Host to network
- }
- 20) Tipul de date antentul content type: MIME
- 21) Threadul este o cale independeta de executie
- 22) Standardele ISO pentru unitatile de schimb... Protocol Data UNIT
- 23) Semaforul dirijeaza executia proceselor
- 24) Metoda POST are scop:
- Transmita mesaje date incorporate,
- transmita mesaje pentru crearea de resurse
- 25) fiecare specificare de protocol trebuie sa cuprinda ... check all of them
- 26)diferenta dintre Thread si Process:
- doua procese ruleaza pe spatii de memorii
- firul este un subset de proces
- 27) exista protocoale de retea in stiva OSI ce asigura... TRUE
- 28)Serviciile si protocoalele sunt termeni ce determina... FALSE
- More:
- 20) NOT correct name for an XML element <first name>
- 21) XML bine formatat: <customer id="3456"><address/><zip code="3456"/></customer>
- 22)Descrierea XML DATA: XML uses a DTD to describe the data
- 23) For the XML parser to ignore a certain section of your XML document <![CDATA[ Text to be ignored ]]>
- 24)Task list:
- <tasklist>
- <task name="eat"/>
- <task name="drink"/>
- <task name="play"/>
- </tasklist>
- 25) <!DOCTYPE meal [
- <!ELEMENT meal (person*,food*,eats*)>
- <!ELEMENT person EMPTY>
- <!ELEMENT food EMPTY>
- <!ELEMENT eats EMPTY>
- <!ATTLIST person name ID #REQUIRED>
- <!ATTLIST food name ID #REQUIRED>
- <!ATTLIST eats diner IDREF #REQUIRED dish IDREF #REQUIRED>
- ]>
- Care se combina cu DTD?
- <meal>
- <person name="Alice"/>
- <person name="Bob"/>
- <person name="Carol"/>
- <person name="Dave"/>
- <food name="salad"/>
- <food name="turkey"/>
- <food name="sandwich"/>
- <eats diner="Alice" dish="turkey"/>
- <eats diner="Bob" dish="salad"/>
- <eats diner="turkey" dish="Dave"/>
- </meal>
- 26) Here is a DTD:
- <!DOCTYPE A [
- <!ELEMENT A (B+, C)>
- <!ELEMENT B (#PCDATA)>
- <!ELEMENT C (B?, D)>
- <!ELEMENT D (#PCDATA)>
- ]>
- The correct answer is: A B /B B /B C D /D /C /A
- 27) Which of the following is NOT a valid JSON array?
- [ {1}, {2}, {"dog"}, {"cat"}, {true}, {false},
- [1, "dog", null], {"pet":"dog", "fun":true} ]
- 28) What does XSL stand for? eXtensible Stylesheet Language
- 29) Incorrect xml: <1dollar>
- 30) XML preserves white spaces TRUE
- 31)What does DTD stand for? Document Type Definition
- 32) An XML document contains the following portion:
- <EMP name = "Kermit">
- <ADDR>123 Sesame St.</ADDR>
- <PHONE type = "cell">555-1212</PHONE>
- </EMP>
- <!ATTLIST PHONE owner IDREF #REQUIRED>
- 33) <INFO>
- <ADDR>101 Maple St.</ADDR>
- <PHONE>555-1212</PHONE>
- <PHONE>555-4567</PHONE>
- </INFO>
- answer:
- <!ELEMENT INFO (ADDR*,PHONE+)>
- 34) <person>
- <fname>John</fname>
- <lname>Public</lname>
- <address>123 Public Avenue, Seattle, WA 98001</address>
- <major>Computer Science</major>
- </person>
- 35) Not a Valid JSON:
- { "name": "Smiley",
- "age": 20,
- "phone": { "888-123-4567", "888-765-4321" },
- "email": "smiley@xyz.com",
- "happy": true }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement