HANDSOMEROOT
Memory Management in C# (Quick test)
- Nhận đường liên kết
- X
- Ứng dụng khác
Memory Management in C#
1.
Which of the following is not a static
method of GC class?
A.
SuppressFinalize
B.
ReRegisterForFinalize
C. RegisterFinalize
D.
Collect
2.
Which the following statement is true
regarding .Net Automatic memory Management?
A.
This eliminates the leakage of managed memory.
B.
It takes away memory management task from
developer
C.
It prevents leaking native Windows resources
using finalize and dispose pattern
D. It takes away all
kind of Windows resource management from developer
3.
Which the following statement is true
regarding Garbage Collector?
A.
It uses a fix quota of memory for different
generation
B.
The algorithm used by GC is configurable by administrator
C. It is a self
optimizing Garbage Collector
D.
Calling GC.Collect will immediate start garbage
Collection
4.
Which the following statement is false
regarding C# using statement?
A.
Used for deterministically cleaning up the
object
B. Depends on the
object finalize method
C.
Depends on the object implementing IDisposable
interface
D.
Can be used with value type as well
5.
An object with finalize will require minimum
_ garbage collection cycles to be collected?
A.
1
B. 2
C.
3
D.
4
6.
Which of these events will not cause the
triggering of garbage Collection?
A.
Generation 0 is full
B.
AppDomain unloading or CLR shutdown
C.
Explicit calls to Garbage Collector collect
method
D. Generation 1 is
full
7.
.Net Garbage collector object collection is
A.
Deterministic
B. Non-deterministic
C.
Opportunistic
D.
Predictive
8.
Which the following statements about garbage
collection is false?
A.
In general, you can’t tell when the GC will
perform garbage collection
B.
It is possible for a program to run without ever
performing garbage collection
C.
An object’s Dispose method can call
GC.SuppressFinalize to prevent the GC from calling the object’s destructor
D. Before destroying
an object, the GC calls its Dispose method
9.
If a class implements IDisposable, its
Dispose method should do which of the following?
A.
Free managed resource
B.
Free unmamaged resource
C.
Call GC.SuppressFinalize
D. All of the above
10.
If a class has unmanaged resources and no
managed resources, it should do which of the following?
A. Implement IDisposable
and provide a destructor
B.
Implement IDisposable and not provide a
destructor
C.
Not implement IDisposable and provide a
destructor
D.
Not impement IDisposable and not provide a
destuctor
- Nhận đường liên kết
- X
- Ứng dụng khác
Bài đăng phổ biến từ blog này
Hướng dẫn cài đặt VRML Pad và Cortona 3D Viewer
1. Hướng dẫn cài đặt VrmlPad 3.0 Chào các bạn. Hôm nay mình sẽ hướng dẫn các bạn cài đặt VrmlPad 3.0 Đầu tiên các bạn truy cập vào link sau để download phần mềm http://www.parallelgraphics.com/products/vrmlpad/download/ Ở phần VrmlPad 3.0 > Evalustion version chọn Download Sau khi quá trình tải về hoàn tất Các bạn tiến hành cài đặt phần mềm Chọn Next Nhấn Browser để chọn đường dẫn cài đặt phần mềm, chọn Next Chọn Install Chờ quá trình cài đặt phần mềm thành công. Nhấn Finish OK. Mình đã cài đặt xong. Giao diện phần mềm khi chạy lần đầu tiên Các bạn đã có thể soạn thảo Nhưng để chạy được file .wrl này chúng ta sẽ cài thêm 1 phần mềm bổ trợ Cortona 3D 2. Hướng dẫn cài đặt Cortona 3D Viewer Các bạn vào link sau để download http://www.cortona3d.com/ Chọn Menu " PRODUCTS " > " VIEWERS " > " CORTONA 3D VIEWER " Tiếp theo chọn DOWNLOAD CORTONA 3D VIEWER Chọn download tùy vào...
[Share] CSDL Quản lý Shop Online
Cấu trúc của cơ sở dữ liệu Danh sách các bảng 1. Bảng About (Lưu các bài viết giới thiệu cửa hàng) 2. Bảng Contact (Lưu thông tin liên hệ của cửa hàng) 3. Bảng Feedback (Lưu trữ thông tin phản hồi của người dùng) 4. Bảng Footer (Lưu trữ những thiết kế footer của trang web) 5. Bảng MenuType (Lưu trữ các loại menu trong trang web. Ví dụ : TopMenu, LeftMenu…) 6. Bảng Menu (Lưu trữ các menu) 7. Bảng NewCategory (Lưu trữ các nhóm chuyên mục về tin tức. Ví dụ : Tin khuyến mãi, tin công nghệ,…) 8. Bảng New (Lưu trữ các tin tức, bài đăng trên website) 9. Bảng Tag (Lưu trữ các thẻ) 10. Bảng ...
[DevExpress] Giao diện Winform chuyên nghiệp
Biểu đồ thống kê Là gói công cụ hỗ trợ xây dựng giao diện cho các ngôn ngữ trên nền tảng .NET bao gồm : • WinForms Controls: Cung cấp các control cho WinForms. • ASP.NET Controls: Cung cấp các control cho WebForms. • WPF Controls: Cung cấp các control cho WPF. • Silverlight Controls: Cung cấp các control cho Silverlight. • XtraCharts: Control cung cấp các loại biểu đồ. • XtraReports: Cung cấp các control tạo báo cáo. • XPO: Cung cấp môi trường làm việc với database. • XAF: Một công nghệ mới giúp việc phát triển phần mềm một cách nhanh chóng. Free DơwnLoad Devexpress13.1 : ▶ Link dơwnload: Tại đây Devexpress13.1 PATCH : ▶ Link dơwnload: Tại đây Một số hình ảnh cho WinForms Controls Biểu đồ thống kê Giao diện word 2013 Giao diện metro Xem thêm : https://www.devexpress.com/Products/NET/Control...
Nhận xét
Đăng nhận xét