日韩亚洲专区中文字幕|五月天国产精品免费视频|中文字幕乱码亚州无线码二区|亚洲中文免费AV

<ul id="eu2wk"><blockquote id="eu2wk"></blockquote></ul>
  • <td id="eu2wk"><code id="eu2wk"></code></td>

    當(dāng)前位置:高考升學(xué)網(wǎng) > 招聘筆試題 > 正文

    CVT網(wǎng)上筆試題和面試題答案及答案(二)

    更新:2023-09-21 21:17:43 高考升學(xué)網(wǎng)

      14、答案(-29)

      1 #include

      2 #define fire(X,Y) (X)--;(Y)++;(X)(Y);

      3 int main(){

      4 int a=3,b=4;

      5 for(int i=0;i<5;i++){fire(a,b);}

      6 printf("%d%d",a,b);

      7 scanf("%d",&a);

      8 }

      15、如下下列程序的答案(011122)

      1 #include

      2 void main(){

      3 int i;

      4 for(i=0;i<3;i++){

      5 switch(i){

      6 case 1:printf("%d",i);

      7 case 2:printf("%d",i);

      8 default :printf("%d",i);

      9 }

      10 }

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

      12 }

      16、下列網(wǎng)絡(luò)協(xié)議在協(xié)議棧中排位最高的是(A)???

      A、TCP B、SMTP C、IEEE 802.11a D、Bluetooth

      17、C#中下列語句不能用于將Person類型轉(zhuǎn)換為Student類型的是(AD)

      A、Person is Student B、Person as Student C、Student stu1=(Student)Person D、Studnet.Convert(Person)

      18、寫出下面程序運行的結(jié)果(false)

      1 public class exam {

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

      3 String s1 = "Hello World";

      4 String s2 = new String("Hellow World");

      5 System.out.println(s1 == s2);

      6 }

      7 }

      19、下列關(guān)于數(shù)據(jù)庫概念“關(guān)系”的陳述中 錯誤的是(B)

      A 表中任意兩行的值不能相同  B 表中任意兩列的值不能相同 C 行在表中的順序無關(guān)緊要  D 列在表中的順序無關(guān)緊要

      20、隊列是一種(A)的線性表

      A、先進先出 B、先進后出 C、只能插入 D、只能刪除

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

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

      22、下列關(guān)于類的構(gòu)造函數(shù)說法不正確的是(D )。

      A、構(gòu)造函數(shù)名與類名相同 B、構(gòu)造函數(shù)在說明類變量時自動執(zhí)行 C、構(gòu)造函數(shù)無任何函數(shù)類型 D、構(gòu)造函數(shù)有且只有一個

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

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

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

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

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

      A.數(shù)據(jù)耦合 B.標(biāo)記耦合 C.公共耦合 D.內(nèi)容耦合

      筆記:當(dāng)一個模塊直接修改或操作另一個模塊的數(shù)據(jù),或者直接轉(zhuǎn)入另一個模塊時,就發(fā)生了內(nèi)容耦合。此時,被修改的模塊完全依賴于修改它的模塊。如果發(fā)生下列情形,兩個模塊之間就發(fā)生了內(nèi)容耦合。

      26、寫出下列程序運行的結(jié)果(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、寫出下列程序運行的結(jié)果(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、寫出下列程序運行的結(jié)果(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次方,結(jié)果后三位為696的N的個數(shù),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次方,結(jié)果后三位為696的N的個數(shù)為:%d (0

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

      12 }

      31、輸出下面的第三行的結(jié)果(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、輸出下面程序的結(jié)果:

      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、為了使索引鍵的值在基本表中唯一,在建立索引語句中應(yīng)使用保留字(A)

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

      34、蘋果ios操作系統(tǒng)上的應(yīng)用開發(fā)語言是(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、不屬于構(gòu)造函數(shù)特征的是(D)

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

    最新圖文