单项选择题

案例分析题

Some college students drink too much alcohol at school.Many of them live on the campus.Heavy drinking has caused many problems.It can cause students to make bad choices and do dangerous things.One college has decided to ban alcohol.It has gotten a reputation as a party school.Five students at the college have died from drinking too much alcohol.Recently,one student drank too much vodka.He slipped into a coma.The college hopes the new rule will prevent any more tragedies.The new rule prohibits students from drinking alcohol in the dorms.The first time a student breaks the rule they will receive a warning.If they break the rule again,they will be evicted from the dorm.However,they will still have to pay for the dorm.Some students do not live on the campus.They live in houses near the campus.Those students are also banned from drinking alcohol,even if they are of legal age.Freshmen at the college are now required to take a special course.The course is called AlcoholEdu,and lasts for two and a half hours.The students learn about the dangers of alcohol.They also take a survey to find out how much they know about alcohol.All first-year students must pass the course.The college hopes that more information will help students make better choices.

__ at the college are required to take the alcohol information course. ()

A.Sophomores
B.Freshmen
C.Seniors
D.Juniors

热门 试题

未分类题
注意:下面出现的“考生文件夹”均为C: wexam 25160002。 (1) 在名称为Form1的窗体上画一个名称为Label1,标题为“添加项目:”的标签;画一个名称为 Text1的文本框,没有初始内容;画一个名称为Combo1的下拉式组合框,并通过属性窗口输入若干项目 (不少于3个,内容任意);再画两个命令按钮,名称分别为Command1和Command2,标题分别为“添加”和“统计”。在运行时,向Text1中输入字符,单击“添加”按钮后,则Text1中的内容作为一个列表项被添加到组合框的列表中;单击“统计”按钮,则在窗体上显示组合框中列表项的个数,如图23-3所示。请编写两个命令按钮的Click事件过程。 注意:程序中不得使用变量,也不能使用循环。存盘时必须存放在考生文件夹下,工程文件名为sjt3.vbp,窗体文件名为sjt3.frm。 (2) 在考生文件夹下有一个工程文件sjt4.vbp,其窗体如图23-4所示。该程序用来对在上面文本框中输入的英文字母串(称为“明文”)加密,加密结果(称为“密文”)显示在下面的文本框中。加密的方法是:选中一个单选按钮,单击“加密”按钮后,根据选中的单选按钮后面的数字n,把明文中的每个字母改为它后面的第n个字母(“z”后面的字母认为是“a”,“Z”后面的字母认为是“A”),如图所示。窗体中已经给出了所有控件和程序,但程序不完整,请去掉程序中的注释符,把程序中的?改为正确的内容。 注意:不能修改程序中的其他部分和控件的属性。最后把修改后的文件按原文件名存盘。