微软考试是随报随考,在复习的过程中中还是不够全面,为了帮助广大考生系统全面的复习好《微软认证学科》,我们考吧网整理了微软认证模拟试题,本次汇编的模拟试题希望对你的考试有所帮助,预祝你考试顺利。
编辑推荐:微软认证:微软认证考试必备经典试题汇总一
1、在命令行下使用csc命令编译C#源程序时,可使用(D)参数来说明程序中引用的其他程序集。
A、/target
B、/out
C、/linkresource
D、/reference
2 在C#中,表示一个字符串的变量应使用以下哪条语句定义?
A. CString str;
B. string str;
C. Dim str as string
D. char * str;
正确答案:B
3. 在C#编制的财务程序中,需要创建一个存储流动资金金额的临时变量,则应使用下列哪条语句?
A. decimal theMoney;
B. int theMoney;
C. string theMoney;
D. Dim theMoney as double
正确答案:A
4在ADO.net中,DataAdspter对象使用下列哪个Command属性从数据源中删除记录 ()
A DeleteCommand B UpdateCommand C InsertCommand D SelectCommand
答案:A
5. C#中每个int 类型的变量占用_______个字节的内存.
A. 1 btye(0---255) sbtye(-128---127) bool(ture,false)
B. 2
C. 4 short(-32768---32767) int uint float unshort(0---32767) char
D. 8 long ulong double 12 decimal精确的十进制值 object不定(其他所有类型的基类型) string不定(任意长度的Unicode字符序列)
正确答案:C