普康数码笔试试题
1:在软件生命周期中,下列哪个说法是不准确的?
A.软件生命周期分为计划、开发和运行三个阶段
B.在计划阶段要进行问题焉醛和需求分析
C.在开发后期要进行编写代码和软件测试
D.在运行阶段主要是进行软件维护
2:public static void Main(string[] args){int i = 2000;object o = i;i = 2001;int j =(int) o;eLine("i={0},o={1}, j={2}",i,o,j);}
A.i=2001,o=2000,j=2000
B.i=2001,o=2001,,j=2001
C.i=2000,o=2001,,j=2000
D.i=2001,o=2000,j=2001
3:在C#中利用Socket进行网络通信编程的一般步骤是:建立Socket侦听、( )、利用Socket接收和发送数据。
A.建立Socket连接
B.获得端口号
C.获得IP地址
D.获得主机名
4:设有变量说明语句int a=1,b=0;则执行以下程序段的输出结果为( )。
switch (a){case 1:switch (b){case 0:printf("**0**");break;case 1:printf("**1**");break;}case 2:printf("**2**");break;}printf(" ");
A.**0**
B.**0****2**
C.**0****1****2**
D.有语法错误
5:声明一个委托public delegate int myCallBack(int x); 则用该委托产生的回调方法的原型应该是
myCallBack(int x)
receive(int num)
ng receive(int x)
D.不确定的
6:关于中的代码隐藏文件的描述正确的是:
窗体页的程序的逻辑由代码组成,这些代码的创建用于与窗体交互。编程逻辑唯一与用户界面不同的文件中。该文件称作为“代码隐藏”文件,如果用C#创建,该文件
B.项目中所有Web窗体页的代码隐藏文件都被编译成文件
C.项目中所有的`Web窗体页的代码隐藏文件都被编译成项目动态链接库()文件
D.以上都不正确
7:如果设treeView1=new TreeView(),TreeNode node=new TreeNode("根结点" ),则(node)返回的是一个( )类型的值。
Node
ng
View
8:以下的C程序代码片段运行后C和d的值分别是多少
Int a =1,b =2;Int c,d;c =(a&b)&&a;d =(a&&b)&a;
A.0,0
B.0,1
C.1,0
D.1,1
9:What compiler switch creates an xml file from the xml comments in the files in an assembly?
A./text
B./doc
C./xml
D./help
10:Which of the following operations can you NOT perform on an DataSet?
A.A DataSet can be synchronised with a RecordSet.
B.A DataSet can be synchronised with the database.
C.A DataSet can be converted to XML.
can infer the schema from a DataSet
11:In Object Oriented Programming, how would you describe encapsulation?
conversion of one type of object to another.
runtime resolution of method calls.
exposition of data.
separation of interface and implementation.
12:如下程序的运行结果是:public abstract class A{public A(){eLine(''A'');}public virtual void Fun(){eLine("()");}}public class B: A{public B(){eLine(''B'');}public new void Fun(){eLine("()");}public static void Main(){A a = new B();();}}
A.A B ()
B.A B ()
C.B A ()
D.B A ()
13:Which of these string definitions will prevent escaping on backslashes in C#?
ng s = #”n Test string”;
ng s = “’n Test string”;
ng s = @”n Test string”;
ng s = “n Test string”;
14:假定a和b为int型变量,则执行下述语句组后,b的值为a=1;b=10;do{b-=a;a++;} while (b--<0);
A.9
B.-2
C.-1
D.8
15:abstract class BaseClass{public virtual void MethodA(){eLine("BaseClass");}public virtual void MethodB(){}}class Class1: BaseClass{public void MethodA(){eLine("Class1");}public override void MethodB(){}}class Class2: Class1{new public void MethodB(){}}class MainClass{public static void Main(string[] args){Class2 o = new Class2();odA();}}请问,此程序输出结果是:
Class
Class Class1
s1
s1 BassClass
-
华中农业大学2016年硕士研究生复试录取方案
华中农业大学2016年硕士研究生复试录取方案已经公布了,请考生们抓紧时间做好考研复试的准备工作,下面是小编搜集整理的相关内容,供大家阅读查看。各学院:根据教育部《2016年全国硕士研究生招生工作管理规定》(教学〔2015〕9号)和湖北省教育考试院《关于做好2016年...
-
苏州大学2016年硕士研究生录取工作的通知
苏州大学2016年硕士研究生录取工作的通知已经公布下发了,请相关考生尽早做好考研复试的准备工作,通知的详细内容如下:一、指导思想坚持按需招生、德智体全面衡量、择优录取、宁缺毋滥的原则,进一步加强复试考核,规范招录程序,深化信息公开,不断加强监督管理,切实严明招...
-
2016考研新闻传播学复习考点:外国新闻传播史
以下是本站为大家整理好的有关考研的资料,希望对大家有所帮助,如有疑问请关注本站!一、古代新闻传播发展的三个里程碑及其意义:(一)语言的产生是传播史上第一个重要的里程碑。1、应付大自然的威胁能力增强和共同劳动2、人类思维能力加强3、加快了人们信息交流的传...
-
2015考研管理类综合逻辑真题详解:易出高分
2015考研初试部分科目已经结束,小编在第一时间提供2015考研管理类综合逻辑真题详解,供考生们参考!因为管理类综合的卷子是花卷,所以我们这里所说的题目跟你看到的题号可能不一样,而且每道题的选项很可能不同,也就是说你的A选项有可能是我的B选项,所以我们的题目大概...