国产精品一久久香蕉产线看-国产精品一区在线播放-国产精品自线在线播放-国产毛片久久国产-一级视频在线-一级视频在线观看免费

某公司面試題及答案

時(shí)間:2022-07-11 03:41:14 面試 我要投稿
  • 相關(guān)推薦

某公司面試題及答案

藍(lán)色局部為我的作答

某公司面試題及答案

Software Configuration Management Question

perl

Basic

1. Which statement is wrong:

A. $_= hello world;

B. $a=hello world;

C. my $b,$a=hello world;

D. my ($a,$b)=(0,hello world);

Item C: $b is empty and $a is ‘hello world’

All of items is correct in program syntax, and can run.

2. The expression should be (B), then the following code can run correctly:

$a=0;$b=55;

while (expression)

{

$a+=2;

}

print "$a/n";

A. $a = $b

B. $a*$a <= $b

C. $a != $b

D. $b == 0

3. @array is an array variable, what is output of “print @array;” :A

A. Each element of this array

B. The size of this array

C. The first element of this array

D. Nothing

4. “$a = @array;”, what is value of $a: B

A. The first element’s value of this array

B. The size of this array

C. This line code is wrong

D. N/A

5. Which code snippet can print all elements in cd: B

A. foreach $Var (keys cd)

{

print “$Var /n”;

}

B. for ($I=0;$I

{

print “$cd{$I} /n”;

}

C. while ($Var (keys cd))

{

print “$Var /n”;

}

D. print join(‘/n’,cd);

STYLE="pAGe-BreAK-BeFore: always" CLEAR="all"

Advance:

6. After execute following code snippet, what is value of $count: B (match twice)

$Str=’hello worldwww.3gos.info!’;

$count=0;

while ($Str=~m/(/w+)/g)

{

$count++;

}

A. 1

B. 2

C. 3

D. 12

7. What is the result of $string? D

$string = "This string contains the number 25.11.";

$string =~ /-?(/d+)/.?(/d+)/;

A. 25.

B. .11

C. 25.11

D. 25.11.

I don’t know what is meaning of -, but perhaps the answer is D

8. What is meaning of following code snippet?

open(MYFILE,"temp.txt");

while () {

while ( /(/w)/g ) {

$seen{$1}++;

}

}

foreach $word(keys %seen)

{

print "$seen{$word} $word/n";

}

close(MYFILE);

A. Delete all words in temp.txt

B. Calculate the frequency of each word in temp.txt

C. Wrong code

D. Calculate the sum of words in temp.txt

$1 is first variable of group match of perl, it match a char here.

9. In following code,expression#1 D let $point get the reference of @ARGV, expression#1 should be:

#!/usr/contrib/bin/perl -w

expression#1

print "ARGV = ", join(",", expression#2), "/n";

A. my $point=@ARGV;

B. my $point={@ARGV};

C. my $point=ARGV;

D. my $point=/@ARGV;

10. The expression#2 A should be:

A. @$point

B. $point

C. @point

D. /@point

NOTE: Answer ofquestion 5 shoud be A

20060519d.height = height; d.width = width;   }   public synchronized Dimension getValues(){ // Ooops! Breaks encapsulation return d;   } }

如何發(fā)生獲勝的QA群體(How to build a successful QA team).

爽利外包的14條分寸

【某公司面試題及答案】相關(guān)文章:

軟件測(cè)試面試題及答案12-30

c面試題08-04

星巴克面試題目07-18

實(shí)用必備綜合素質(zhì)面試題02-16

博彥科技測(cè)試面試題03-22

應(yīng)聘銷售員面試題04-01

燈謎及答案08-29

答案的作文02-14

專利代理人面試題概述03-03

最常用面試題解答方法04-05

主站蜘蛛池模板: 色综合久久六月婷婷中文字幕 | 本道久久综合88全国最大色 | 日本精品久久久免费高清 | www.欧美在线观看 | 精品哟哟哟国产在线观看不卡 | 午夜看片 | 99在线视频播放 | 最近日本韩国高清免费观看 | 色视频免费在线 | 色小视频 | 日韩美女va在线毛片免费知 | www.九九| 日本特级淫片 | 亚洲国产二区三区 | 麻豆视频国产 | 一区 在线播放 | 日韩三级伦理片 | 按摩理论片 | 国产资源在线视频 | 久久免费精品视频 | 国产11一12周岁女毛片 | 成人毛片在线视频 | 天天色天天插 | freexxx中国女人 | 粉色视频成年免费人15次 | 日韩黄色片在线观看 | 一区二区三区在线 | 日本 | 国产一级特黄a大片免费 | 一级做a爰片久久毛片免费看 | 国产国语一级a毛片高清视频 | 国产精品天天影视久久综合网 | 日韩精品一区二区三区毛片 | 成人手机在线视频 | 日亚毛片免费乱码不卡一区 | 亚洲欧美另类第一页 | 免费日韩精品 | 韩国2023理伦片免费观看 | 久久亚洲私人国产精品va | 夜精品a一区二区三区 | 中文字幕日本一本二本三区 | 青青草国产青春综合久久 |