问答题A B C D E F G H  Which letter is two the left of the letter three to the right of the letter immediately to the right of the letter three to the left of the letter G?

题目
问答题
A B C D E F G H  Which letter is two the left of the letter three to the right of the letter immediately to the right of the letter three to the left of the letter G?
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Acronyms are words of initial letters, which are pronounced letter by letter.( )

此题为判断题(对,错)。


正确答案:错误

第2题:

针对一下C语言程序,请按要求回答问题。 已知weekday. c源程序如下: include include

针对一下C语言程序,请按要求回答问题。

已知weekday. c源程序如下:

include<stidio. h>

include<conio. h>

/ *主函数* /

Int main()

{

Char letter;

Printf("please input the first letter,"Y'to exit!\n");

While((letter=getch())!="Y")//当输入字母为Y时结束

{

Switch(letter)

{

Case'S':

Printf("%c\n",letter);

Printf("please input second letter\n");//输入第二个字母

If((letter=getch())=='a')

Printf("Saturday\n");

Else if(letter=='u')

Printf("Sunday\n");

Else printf('data error\n);

Break;

Case'F':

Printf("fridaykn");

Break;

Case 'M':

Printf("mondayha");

Break;

Case 'T':

Printf("%c\n",letter);

Printf("please input second letter\a");//输入第二个字母

If((letter=getch())=='u')

Printf("Tuesday\n"):

Else if(letter=='h')

Printf("Thursday\n");

Break;

Case 'W':

Printf("Wednesday\n");

}

}

Return 0;

}

(1) 画出主函数main的控制流程图;

(2) 设计一组测试用例,使main函数的语句覆盖率尽量达到100%;

(3) Main函数的语句覆盖率能否达到100%?如果认为无法达到,需说明原因。


正确答案:[path1]12 [path2]23 [path3]234522 [path4]236722 [path5]236822 [path6]91022 [path7]111222 [path8]1314 [path9]13141516 [path10]1314171822 [path11]1 314822 [path12]192022 [path13]19822 生成测试用例确保基本路径集中每条路径的执行: path1.输入数据y输出的结果程序结束返回值0 path2.输入数据s输出结果“s输入第二个字母” path3.输人数据s后输入数据a输出结果“Saturday” path4.输入数据s后输入数据u输出结果“sunday” path5.输入数据s后输入数据非a非u输出结果“data erroi” path6.输入数据f输出结果“friday” path7.输入数据m输出结果“monday” path8.输入数据t输出结果“输入第二个字母” path9.输入数据t后输入数据u输出结果“tuesday” path10.输入数据t后输入数据h输出结果“thursday” path11.输入数据t后输入数据非u非h输出结果“data crror” pathl2.输入数据w输出结果“Wednesday"’ path13.输入数据defalt输出结果“data error”
[path1]1,2 [path2]2,3 [path3]2,3,4,5,22 [path4]2,3,6,7,22 [path5]2,3,6,8,22 [path6]9,10,22 [path7]11,12,22 [path8]13,14 [path9]13,14,15,16 [path10]13,14,17,18,22 [path11]1 3,14,8,22 [path12]19,20,22 [path13]19,8,22 生成测试用例,确保基本路径集中每条路径的执行: path1.输入数据y,输出的结果程序结束返回值0 path2.输入数据s,输出结果“s输入第二个字母” path3.输人数据s后,输入数据a,输出结果“Saturday” path4.输入数据s后,输入数据u,输出结果“sunday” path5.输入数据s后,输入数据非a非u,输出结果“data erroi” path6.输入数据f,输出结果“friday” path7.输入数据m,输出结果“monday” path8.输入数据t,输出结果“输入第二个字母” path9.输入数据t后,输入数据u,输出结果“tuesday” path10.输入数据t后,输入数据h,输出结果“thursday” path11.输入数据t后,输入数据非u非h,输出结果“data crror” pathl2.输入数据w,输出结果“Wednesday"’ path13.输入数据defalt,输出结果“data error”

第3题:

The _______ typist had to retype the letter three times.

A. incompetent

B. competent

C. component

D. compete


参考答案:A

第4题:

Which letter means that oil-spilling has happened?()

  • A、P
  • B、O
  • C、S
  • D、G

正确答案:A

第5题:

Jack heard from his parents yesterday. 学科网A. received a letter from B. heard of C.g

Jack heard from his parents yesterday.

A. received a letter from B. heard of C.got a present from


正确答案:A

 

 

第6题:

The length of a letter does not depend on the subject of the letter.()


正确答案:错

第7题:

关于下面函数,哪一个是错误描述?defcount_letter_number(string):letter_count=0digit_count=0forchinstring:

if'a'<=ch<='z'or'A'<=ch<='Z':letter_count+=1elif'0'<=ch<='9':digit_count+=1

returnletter_count,digit_count

A.函数能统计字符串中英文字母出现的次数

B.letter_count+=1可以写做letter_count=letter_count+1

C.letter_count+=1可以写做letter_count++

D.函数能统计字符串中数字出现的次数


正确答案:C

第8题:

She asked Mr.Palmer if she ( ) type the letter right then.

A、would

B、will

C、should

D、shall


参考答案:C

第9题:

What did mother do with her daughter's letter asking forgiveness?__________

A.She had never received the letter.
B.For years, she often talked about the letter.
C.She didn't forgive her daughter at all in all her life.
D.She read the letter again and again till she died.

答案:D
解析:
根据最后一段“…aphoto ofmyfather and aone-pageletter,folded and refoldedmanytimes.”可知应选D。

第10题:

____ will be appreciated.

  • A、You reply our letter early
  • B、You reply to our letter early
  • C、Your early reply our letter
  • D、Your early reply to our letter 

正确答案:D

更多相关问题