什么叫国家安全环境呢,它是指影响一个国家()的政治、经济、军事等外部情况和条件。 A

题型:单项选择题

问题:

什么叫国家安全环境呢,它是指影响一个国家()的政治、经济、军事等外部情况和条件。

A.生存

B.安全

C.生命

D.政府

考点:军事理论军事理论综合练习军事理论综合练习题库
题型:单项选择题
已知f(x)=3x,x1,x2∈R,则有(  )
A.
f(x1)+f(x2)
2
≤f(
x1+x2
2
)
B.
f(x1)+f(x2)
2
≥f(
x1+x2
2
)
C.
f(x1)+f(x2)
2
=f(
x1+x2
2
)
D.以上都不是
题型:单项选择题

()被称为“20世纪的平均律钢琴曲集”。

A.肖斯塔科维奇的《二十四首前奏曲与赋格》

B.巴赫的《平均律钢琴曲集》

C.勋伯格的《钢琴组曲》

D.欣德米特的《调性游戏》

题型:单项选择题

车站、站场设备主要包括下列哪些?()

A、到发线

B、调车线

C、牵出线

D、闭塞设备

题型:单项选择题

常用的有色金属()

A.合金机构钢

B.铜合金

C.铝合金

D.钛合金

题型:单项选择题

阅读以下说明和C++代码,将应填入______处的语句或语句成分写在对应栏内。
[说明]
某数据文件students.txt的内容为100名学生的学号和成绩,下面的程序将文件中的数据全部读入对象数组,按分数从高到低进行排序后选出排名前30%的学生。
[C++代码]
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
class Student
private:
string sNO; //学号
int credit;//分数
public:
Student(string a,int b)sNO=a;credit=b;
Student()
int getCredit();
void out();
;
______::getCredit()
return credit;

______::out()
Cout<<"SNO:"<<sNO<<",Credit="<<credit<<endl;

class SortStudent
public:
void sort(Student *s,int n);
SortStudent()
;
void SortStudent::sort(Student *s,int n)
for(int i=0;i<n-1;i++)
for(int j=i+1;j<n;j++)
if(s[i].______<s[j].______>
Student temp=s[i];s[i]=s[j];s[j]=temp;



int main(int argc,char* argv[])

const int number=100; //学生总数
ifstream students;
students.open("students.txt");
if(!students.is open())
throw 0;

Student *testStudent=______[number];
int k=0;
string s;
while(getline(students,s,’\n’))//每次读取一个学生的学号和成绩
Student student(s.substr(0,s.find(’,’)),atoi(s.substr(s.find(’,’)+1).c_str()));
testStudent[k++]=student;

Students.closeo;
______;
ss.sort(testStudent,k);
cout<<"top 30%:"+endl;
for(k=0;k<number*0.3;k++)
testStudent[k].out();

delete[]testStudent;
return 0;

更多题库