A location where data can betemporarily stored.
A.Area
B.Disk
C.Buffer
D.File
第1题:
写出下列程序的运行结果【 】。
include <iostream.h>.
include <fstream.h>
include <stdlib.h>
void main()
{
fstream outfile, infile;
outfile.open("data.clat", ios:: out);
if(!outfile)
{
cout<<"Can't open the file."<<end1;
abort();
}
outfile<<" 1234567890"<<end1;
outfile<<"aaaaaaaaa"<<end1;
outfile<<"**********"<<end1;
outfile.close();
infile.open("data. dat ", ios:: in);
if(!infile)
{
cout<<"Can't open the file."<<end1;
abort();
}
char line[80];
int I=0;
while(!infile. eof())
{
I++;
infile.getline(line, sizeof(line));
cout<<I<<":"<<line<<end1;
}
infile.close();
}
第2题:
已知网络请求时url参数值是https://www.test.com, data参数值是key:'123456',以及location:'shanghai',那么用浏览器模拟测试时地址栏需要输入以下何种内容?
A.https://www.test.com?key=123456&location=shanghai
B.https://www.test.com?key=123456,location=shanghai
C.https://www.test.com/key=123456&location=shanghai
D.https://www.test.com/key=123456,location=shanghai
第3题:
5、从以下ajax请求代码中,可以看出,该请求没有携带参数,发送给服务器。 $.post("/a.jsp", { a:"1", b:"2" }, function (data, status) { var obj = JSON.parse(data); if (obj.code == 200) window.location.href = "login.html"; else alert(obj.message); })
第4题:
如果$data=M(‘test’),怎么实现删除test表中的所有数据?
A.$data->delete('1');
B.$data->where('1')->delete();
C.$data->delete();
D.$data->where('status=0')->delete();
第5题:
在Android中进行地理定位跟踪开发时,下列代码能够正确获取系统LOCATION服务的是 ()
A.LocationManager myLM=new LocationManager(this);
B.LocationManager myLM= (LocationManager)getSystemService(Context.LOCATION_SERVICE);
C.LocationManager myLM=getSystemService(Context.LOCATION);
D.LocationManager myLM=(LocationManager)getSystemService(Context.LOCATION);
第6题:
2、已知网络请求时url参数值是https://www.test.com, data参数值是key:'123456',以及location:'shanghai',那么用浏览器模拟测试时地址栏需要输入以下何种内容?
A.https://www.test.com?key=123456&location=shanghai
B.https://www.test.com?key=123456,location=shanghai
C.https://www.test.com/key=123456&location=shanghai
D.https://www.test.com/key=123456,location=shanghai