题干

小明编写一个模拟qq登录的VB程序。当输入用户名、密码和验证码,点击登录按钮后,会跳出信息框提示是否验证成功。部分程序与流程图如下所示:

   uname = Text1.Text '输入用户名

   psd = Text2.Text    '输入密码

   vcode = Val(Text3.Text) '输入验证码 

   If vcode <> Val(Label3.Caption) Then

   MsgBox “ ” ' Label3显示的是随机验证码

   ElseIf uname <> "admin" Or psd <> "123456" Then

   MsgBox “ ”

   Else

   MsgBox “ ”

   方框中正确的语句是(   )。

A:①中“验证成功”

B:②中“输出用户名或密码有误”

C:②中“验证成功

D:③中“输出验证码错误”

上一题 下一题 0.0难度 选择题 更新时间:2017-05-09 04:09:55

答案(点此获取答案解析)

B

同类题2

阅读理解。
D
     
        Bad news sells. If it bleeds, it leads. No news is good news, and good news is no news. Those are the classic rules for the evening broadcasts and the morning papers. But now that information is being spread and monitored(监控) in different ways, researchers are discovering new rules. By tracking people’s e-mails and online posts, scientists have found that good news can spread faster and farther than disasters and sob stories.
     “The ‘if it bleeds’ rule works for mass media,” says Jonah Berger, a scholar at the University of Pennsylvania. “They want your eyeballs and don’t care how you’re feeling. But when you share a story with your friends, you care a lot more how they react. You don’t want them to think of you as a Debbie Downer.”
     Researchers analyzing word-of-mouth communication—e-mails, Web posts and reviews, face-to-face conversations—found that it tended to be more positive than negative(消极的), but that didn’t necessarily mean people preferred positive news. Was positive news shared more often simply because people experienced more good things than bad things? To test for that possibility, Dr. Berger looked at how people spread a particular set of news stories: thousands of articles on The New York Times’ website. He and a Penn colleague analyzed the “most e-mailed” list for six months. One of his first findings was that articles in the science section were much more likely to make the list than non-science articles. He found that science amazed Times’ readers and made them want to share this positive feeling with others.
     Readers also tended to share articles that were exciting or funny, or that inspired negative feelings like anger or anxiety, but not articles that left them merely sad. They needed to be aroused(激发) one way or the other, and they preferred good news to bad. The more positive an article, the more likely it was to be shared, as Dr. Berger explains in his new book, “Contagious: Why Things Catch On.”