Tìm kiếm:
TRANG NHÀ
Giới thiệu VNEDU.ORG
Điều khoản và bản quyền
Liên lạc VNEDU
TRẮC NGHIỆM TRỰC TUYẾN
---Công Cụ:---
Soạn Biểu thức
Bảng màu HTML
Ký hiệu đặc biệt 01
Ký hiệu đặc biệt 02
Ký hiệu đặc biệt 03
Ký hiệu đặc biệt 04
Ký hiệu đặc biệt 05
Ký hiệu đặc biệt 06
Ký hiệu đặc biệt 07
Ký hiệu đặc biệt [Toán]
Tin Học   ||  Căn Bản    Văn Phòng    Hệ Thống - Mạng    Phần Mềm Ứng Dụng    Kỹ thuật số    Lập trình    SQL  

Trắc Nghiệm C Sharp - Bài 13
Ngày làm bài: Hôm nay lúc 19:15:47 (Server time)
Số câu hỏi: 10.   Tổng điểm: 10
Yêu cầu hoàn thành: 60 phút.
Thời gian còn lại: 
Cỡ chữ câu hỏi:  Cỡ chữ đáp án:


1-
namespace Spacel{
namespace Space2{
class MyClass{ }
}
}
The fully qualified name of class MyClass is:
  A - 
Space2.Space1.MyClass()
  B - 
Space1.Space2.MyClass()
  C - 
Space1.MyClass()
  D - 
Space2.MyClass()
2-
namespace College.Library{
namespace Shelf{
class Book{ }
}
}
The fully qualified name of class Book is:
  A - 
College.Library.Book()
  B - 
Library.Shelf.Book()
  C - 
Shelf.Book()
  D - 
College.library.Shelf.Book()
3-
namespace Spacel {
using System;
public class A{
public static void Main( ) {
A objiA=new A( ) ;
Type t1 = objA.GetType( );
Console.WriteLine("The type of objA is : {0} ", t1);
}
}
}
What will be the output of above code whrn compiled/run?
  A - 
The ouput of code will be:
The type of objA is : Space1 .A
  B - 
The code will generate a compile time error as class reference is required for the GetType() method.
  C - 
The ouput of code will be:
The type of objA is : System.Space1 .A
  D - 
The ouput of code will be:
The type of objA is : class .A
4-
object objectValue = "Hello,";
char [ ] characterArray = { ’a’, ’f’, ’d’, ’c’, ’e’, ’b’ };
StringBuilder buffer = new StringBuilder( );
buffer.Append(characTerArray);
buffer.Sort( );
buffer.Insert(0, objectValue);
What will be the fragment of a bove code assign to buffer variable?
  A - 
Hello, abcdef
  B - 
abcdefHello
  C - 
The code will generate an error
  D - 
None of the other answers
5-
Panel have the abbility to have scrollbars #
  A - 
True
  B - 
False
  C - 
Depend on setting theme form Operating System
  D - 
Depend on setting from Visual Studio.Net
6-
Private void DeleteItem(ListBox lst)
{
int i = 0;
string strItem;
string strName;
strName = "Long";
while (i < lst.Item.Count) {
strItem = lst.Items[i].ToString( );
is (strItem.Substring(strItem.LastIndexOf(" ")+1) .Equals( strName))
lst.Items.RemoveAt(i);
else
i++;
}
}
Purpose fragment of the code below?
  A - 
The code delete one items in Listbox if proper if(strItem.Substring (strItem.LastIndexOf(" ") + 1).Equals( strName))
  B - 
The code will generate an error at if (strItem.Substring (strItem.LastIndexOf(" ") +1).Equals( strName))
  C - 
The code delete all items in Listbox if proper if(strItem.Substring (strItem.LastIndexOf(" ") + 1).Equals( strName))
  D - 
The code will loop in while
7-
Properties can contain ____.
  A - 
get and set accessors
  B - 
a get accessor, a set accessor or both
  C - 
a get accessor
  D - 
a set accessor
8-
Select code to use OpenFileDialog. It choose from C:\ folder as default, with filetype is *.XML, title is Open XML/UML File". After user choosing a file it will display the selected filename?
  A - 
Object
  B - 
property
  C - 
Constructor
  D - 
Class
9-
Programs that translate high-level #
  A - 
process
  B - 
execute
  C - 
built
  D - 
compilers
10-
Statement I: The sealed modifiers are not permitted in an enum declaration. Statement II: Delegate types are implicitly sealed
  A - 
Only statement I is true
  B - 
Only statement II is true
  C - 
Both the stattements are true
  D - 
Both the statements are false
 
[Người đăng: Thành Lãm - ST]
Ghé thăm Kênh của Vị Sư "hai lần chết đi sống lại"
Tu Si Chau Soc Thon

https://www.youtube.com/channel/UCoyC9WTTVR-M3qpTKKEXGnQ

Chau Soc Thon Official Channel


Phong Bảo Official
Phong Bao Official
Xem Nhiều nhất
Trắc Nghiệm Pascal - Bài 20
Trắc Nghiệm ASP.NET - Bài 12
Trắc Nghiệm Ngôn Ngữ Lập Trình C - Bài 16
Trắc Nghiệm ASP.NET - Bài 01
Trắc Nghiệm ASP.NET - Bài 03
Trắc nghiệm C++ - Bài 18
Trắc Nghiệm C# - Bài 53
Trắc Nghiệm ASP.NET - Bài 02
Trắc Nghiệm C# - Bài 42
Trắc Nghiệm Java - Bài 01
Trắc Nghiệm ASP.NET - Bài 04
Trắc Nghiệm Pascal - Bài 22
Trắc Nghiệm ASP.NET - Bài 13
Trắc Nghiệm ASP.NET - Bài 09
Trắc Nghiệm ASP.NET - Bài 08
Trắc nghiệm PHP - Bài 01
Trắc Nghiệm ASP.NET - Bài 06
Trắc Nghiệm ASP.NET - Bài 11
Trắc Nghiệm ASP.NET - Bài 05
Trắc Nghiệm ASP.NET - Bài 23
Đề Xuất
Trắc nghiệm Ngôn Ngữ Lập Trình C++ - Bài 03
Trắc Nghiệm Visual Basic - Bài 29
Trắc Nghiệm Pascal - Bài 28
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 47
Trắc Nghiệm ASP.NET - Bài 07
Trắc Nghiệm Thiết Kế Web Và Flash - Bài 33
Trắc Nghiệm Java - Bài 15
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 36
Trắc Nghiệm Visual Basic - Bài 37
Trắc Nghiệm Pascal - Bài 22
Trắc nghiệm XML - Bài 05
Trắc Nghiệm Thiết Kế Web (English) - Bài 22
Trắc Nghiệm Java - Bài 53
Trắc Nghiệm Java - Bài 54
Trắc nghiệm C++ - Bài 20
Trắc Nghiệm ASP.NET - Bài 02
Trắc Nghiệm Java - Bài 17
Trắc Nghiệm Ngôn Ngữ Lập Trình C ( English ) - Bài 23
Trắc Nghiệm C# - Bài 47
Trắc nghiệm Ngôn Ngữ Lập Trình C++ - Bài 08
Phát triển hệ thống: TRƯƠNG HỮU ĐỨC - Phiên bản 3.0 - © Copyright 2013 - 2024 - VNEDU.ORG

free counters