當前位置:高考升學網 > 招聘筆試題 > 正文

CVT2019招聘筆試題和面試題答案及答案(二)

更新:2023-09-18 20:13:43 高考升學網

  21、常用的數據傳輸速率單位有:Kbps、Mbps、Gbps,1Gbps等于(A)

  A、110^3Mbps B、110^3Kbps C、110^6Mbps D、110^9Kbps

  22、下列關于類的構造函數說法不正確的是(D )。

  A、構造函數名與類名相同 B、構造函數在說明類變量時自動執行 C、構造函數無任何函數類型 D、構造函數有且只有一個

  23、關于delete運算符的下列描述中,( C)是錯誤的。

  A、它必須用于new返回的指針; B、使用它刪除對象時要調用析構函數; C、對一個指針可以使用多次該運算符; D、指針名前只有一對方括號符號,不管所刪除數組的維數。

  24、用鏈表表示線性表的優點?(C)

  A 便于隨機存取 B 花費的存儲空間比順序表少 C 便于插入與刪除 D 數據元素的物理順序與邏輯順序相同

  25、模塊A直接訪問模塊B的內部數據,則模塊A和模塊B的耦合類型為 (D) 。

  A.數據耦合 B.標記耦合 C.公共耦合 D.內容耦合

  筆記:當一個模塊直接修改或操作另一個模塊的數據,或者直接轉入另一個模塊時,就發生了內容耦合。此時,被修改的模塊完全依賴于修改它的模塊。如果發生下列情形,兩個模塊之間就發生了內容耦合。

  26、寫出下列程序運行的結果(BAAAABCAAABCDAABCD)

  1 #include

  2 #include

  3 int main(){

  4 char str1[100]="BCD";

  5 char str2[100]="AAAAA";

  6 int i=0;

  7 for(i=1;i<=4;i++){

  8 memcpy(str2,str1,i);

  9 printf("%s",str2);

  10 }

  11 return 0;

  12 }

  27、寫出下列程序運行的結果(compute)

  1 #include

  2 void main(){

  3 static char a[]="computer";

  4 static char b[]="computer";

  5 char p=a;

  6 char q=b;

  7 int j;

  8 for(j=0;j<7;j++){

  9 if((p+j)==(q+j)){

  10 printf("%c",(p+j));

  11 }

  12 }13 }

  28、寫出下列程序運行的結果(4)

  1 class exam{

  2 public static void main(String []args) {

  3 int[] circle = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };

  4 int counter=0;

  5 int i=0,j=0;

  6 while(counter

  7 if(circle[i]!=-1){

  8 j++;

  9 if(j==3){

  10 counter++;

  11 if(counter==circle.length){

  12 System.out.println(circle[i]);

  13 break;

  14 }

  15 circle[i]=-1;

  16 j=0;

  17 }

  18 }

  19 i++;

  20 if(i>=circle.length){

  21 i=0;

  22 }

  23 }

  24

  25 }

  26 }

  29、(A)

  A、the application complies but doesn't print anything

  B 、the application complies and print "DONE WAITING";

  C 、the application complies and print "FINALLY";

  D 、the application complies and print "ALL DONE";

  1 public class Z{

  2 public static void main(String[] args){new Z();}

  3 private Z(){

  4 Z alias1=this;

  5 Z alias2=this;

  6 synchronized(alias1){

  7 try{

  8 alias2.wait();

  9 System.out.println("DONE WAITING");

  10 }

  11 catch(InterruptedException e){

  12 System.out.println("INTERR UPTED");

  13 }

  14 catch(Exception e){

  15 System.out.println("OTHER EXCEPTION");

  16 }

  17 finally{

  18 System.out.println("FINALLY");

  19 }

  20 }

  21 System.out.println("ALL DONE");

  22 }

  23 }

  30、輸出712的N次方,結果后三位為696的N的個數,0

  1 #include

  2 int main(){

  3 int sum=712,count=0;

  4 for(int i=0;i<24669;i++)

  5 {

  6 sum=sum712%1000;

  7 if(sum==696)

  8 count++;

  9 }

  10 printf("輸出712的N次方,結果后三位為696的N的個數為:%d (0

  11 scanf("%d",&count);

  12 }

  31、輸出下面的第三行的結果(1)

  public class exam{

  public static void main(String []args){

  String overview="This chapter contains a description of convertions used in this manual";

  for(int i=0;i

  int num=0;

  for(int j=0;j

  if(overview.charAt(i)==overview.charAt(j))

  num++;

  }

  System.out.println(num);

  }

  }

  }

  32、輸出下面程序的結果:

  dog

  cat

  boy

  apple

  1 public class exam{

  2 public static void main(String []args){

  3 String overivew="apple boy cat dog";

  4 String[] arr=overivew.split(" ");

  5 int len=arr.length;

  6 for(int i=1;i<=len;i++){

  7 System.out.println(arr[len-i]+" ");

  8 }

  9 }

  10 }

  33、為了使索引鍵的值在基本表中唯一,在建立索引語句中應使用保留字(A)

  A、UNIQUE B、COUNT C、DISDINCT D、UNION

  34、蘋果ios操作系統上的應用開發語言是(C)

  A、C B、C++ C、Objective c D、java E、Python

  35、Android的IPC(進程通訊)主要采用以下哪個?(C)

  A、Socket B、Pipe C、Binder D、Signal

  36、不屬于構造函數特征的是(D)

  A、構造函數的函數名與類名同名 B、構造函數可以重載 C、構造函數可以設置缺省(默認)參數 D、構造函數必須指定類型說明

最新圖文

2020年河北新聞網兩學一做

時間:2023-09-18 07:0:24

2020年河北新聞網兩學一做

時間:2023-09-15 11:0:59

兩學一做學習教育知

時間:2023-09-21 06:0:30

2020年開展兩學一做學習教

時間:2023-09-19 21:0:30
9999久久久国产精品,日韩在线一区二区三区欧美,日韩精品综合在线人妻,免费AAAAAA毛片看
婷婷色爱区综合五月激情 | 亚洲激情中文在线不卡 | 色婷婷综合激情中文在线 | 正在播放亚洲一区 | 亚洲产在线精品亚洲第二站 | 亚洲成Av人片乱码色午夜在线 |