GAC

NetShadow

New member
GAC

The GAC is: A- The garbage collector mechanism of .Net. B- Global Access Control, mechanism to handle all calls to assembly. C- Global Application Creator. Name space that creates assembly at runtime. D- Directory that holds all the assemblies that shared among applications.​
למיטב ידיעותי התשובה היא D, אך מהתשובות שנתי שלח לי בפרטי (שוב תודה !) הבנתי שהתשובה היא B. האמנם ?
 

orenphp

New member
ברור שזה D, רק לפי אלימנציה אפשר...

לראות את זה. GAC = Global Assembly Cache. זה פוסל את B וC. בקשר לA, זה GC (garbage collector) והתשובה היא לבטח D.
 

NetShadow

New member
הבעיה היא ההשלכה לגבי שאר התשובות.

יתכן וזוהי רק טעותה קלדה, אני חושש שנפלו טעויות נוספות שלא עליתי עליהם...
 

gilad g

New member
רעיון ../images/Emo62.gif

שכל אחד יביא לפה את התשובות שלו, ונשווה בינינו
 

gilad g

New member
../images/Emo41.gif התשובות שלי... ../images/Emo26.gif

1) B - UML is a language to define and design programs. (could be C, too) 2) Design Patterns are A - Prepared solutions for known problems. 3) CLR is A - the engine that runs .NET (by elimination, all others are wrong). 4) I think that COM+ is B - Set of services for enterprise software. (not sure -- could be C too) 5) the GAC is D. 6) C (Overriding, you mean?) 7) All the elements that a class can be built from are D - field, method, property, event. 8) If an assembly needs to be in a GAC, all i have to do is add a strong name. (D) 9) The difference between the DataReader and the DataSet is B - DataSet holds its data internally, while the DataReader keeps his data at the server. (there are more differences, but this is the best answer). 10) Delegates are A - some kind of pointers to functions (erm, no functions in C#! only methods!
) 11) Static functions are B - functions that are a part of the type and not of the object. 12) XPath is B - Language that enables us to address parts of an XML document. 13) If i want to change HTML on the client side, I need to use C - User Client side script (JS/VBS) and DHTML. 14) C. 15) C - the stringbuilder's append method. 16) B/C - not sure. 17) ugh, i don't know COM
18) D (too long to type, my hand hurts
) 19) B (COM is not a part of .NET) 20) i think it's A. 21) C. 22) don't know COM+... 23) B 24) C 25) B (could be C, too) 26) B 27) A (see "Walla"
) 28) B 29) If you meant creating them from scratch, the answer is D, if you meant only loading them, the answer is C. 30) D.​
זהו
לכל המעוניין, השאלון נמצא פה
 

orenphp

New member
התשובות שלי:

1. B 2. A 3. A 4. B 5. D 6. C (if, overriding - B) 7. D 8. D 9. B 10. A 11. B 12. B 13. C 14. C 15. C 16. B 17. C 18. D 19. B 20. A 21. C 22. B (but also A i think... - COM+ controls object pooling) 23. C 24. C 25. D 26. B 27. A 28. B 29. D 30. D (only option, multy inhertince)
 

yuval k

New member
תשובותיי...

השאלות בגוף התשובות

1. UML is (B) a language to define and design programs. 2. Design patterns are (A) prepared solutions for known problems. 3. CLR is (A) the engine that runs .net. 4. COM+ is (C) set of services for enterprise software 5. The GAC is (D) a directory that holds all the assemblies that are shared among applications. 6. Overloading is (C) the O.O ability to hold the same function name under different classes. 7. All the elements that classes can be built from are (D) field, method, property, event. 8. If an assembly needs to be in the GAC I need to (D) assign a strong name. 9. The difference between data reader and data set is (B) a data set holds its data internally while the data reader keeps its data at the server. 10. Delegates are (A) some kind of pointers to functions. 11. Static functions are (B) functions that are part of the type and not of the object's. 12. XPath is (B) a language that enables us to address parts of a XML document. 13. If I want to change the HTML in the client side I need to use (C) User Client side script (javascript, vbscript) and DHTML. 14. The options to create web pages that change sections of the page without sending the page to the server are (C) XmlHttpRequest with DHTML or WebService with DHTML and WebService.htc. 15. If I want to create large strings from small portions of strings I’ll use (C) the StringBuilder Append method. 16. If I want to go through an XML file I need to C+B - loop recursively through all the XML nodes
17. The difference between a library application and a server application in the COM+ is (B) library runs on this machine. Server runs on another machine. - I think... not sure about that
18. The server side event mechanism in ASP.net is (D) a mechanism that enables the client to call the server so a predefined event on the server can occur. While the event occurred the whole page is processed and send back to the client. 19. In how many ways the .net let me transfer data between physical layers? - (B) XmlHttpRequest, SOAP, Remoting, HTTP. (DCOM .net-tish) 20. The efficient way to convert a number to a string is (A) its ToString() method. 21. When .Net application is activated what actually is done is ( C) the mscoree checks if given function already exists in X86 machine code. If it is it executes the code. If not the function IL is translated into X86 machine code and then executed. 22. Using COM+ in stress web application is necessary (B) to handle transactions efficiently. 23. Mutex is (C) a way to synchronize between more than one thread in some processes that use the same resource. 24. What do I need to take in account when I build a multi-threaded application that read\write from the same file? - (C) using the same resource at the same time, synchronization, starvation and thread context. 25. Can I pass a data reader from a COM+ server to an asp.net page? - (D) Yes, if I use serialization. - I think 26. Can I use the web context from COM+? (B) No, the context of COM+ is different from .Net. 27. Can I send and receive Hebrew in "get" method between web pages. (A) Yes. 28. The difference between memory heap and stack are (B) the stack is the memory address of your function for value items, the heap is a global memory for objects. 29. I can create assemblies at run time using (D) System.CodeDom. 30. I need to build a class library that is built from classes a, b, c. b and c inherit from a. The library will be used from more than one physical layer. The best way to write a is (D) an interface.​
 

nattygur

New member
כמובן D

ויכול להיות שנפלו טעויות, עשיתי את זה ביום שישי שכל הילדים על הראש שלי. אה כן וגם האשה ...
 

Admini

New member
חחחח

יום אחד באמצע איזה קוד האחים שלי העבירו את כיכר רבין לחדר שלי כדי שאני אתקין להם משחק מסויים... אחר כך ראיתי את הקוד שלי...
 
למעלה