• 2022-06-07 问题

    在项目中已经建立了一个 JavaBean 该类为:bean.Student,给 bean 具有 name 属性,则下面标签用法正确的是:( ) A: <jsp:useBeanid="student" scope="session"></jsp:useBean> B: <jsp:useBeanid="student" scope="session">hello student!</jsp:useBean> C: <jsp:useBeanid="student" class="bean.Student" scope="session">hello student!</jsp:useBean> D: <jsp:getProperty name="name" property="student"/>

    在项目中已经建立了一个 JavaBean 该类为:bean.Student,给 bean 具有 name 属性,则下面标签用法正确的是:( ) A: <jsp:useBeanid="student" scope="session"></jsp:useBean> B: <jsp:useBeanid="student" scope="session">hello student!</jsp:useBean> C: <jsp:useBeanid="student" class="bean.Student" scope="session">hello student!</jsp:useBean> D: <jsp:getProperty name="name" property="student"/>

  • 2022-06-29 问题

    下面语句中,正确的是( )。 A: printf("%c ","student"); B: printf("%c ","c"); C: printf("%s ",&a); D: printf("%s ","hello");

    下面语句中,正确的是( )。 A: printf("%c ","student"); B: printf("%c ","c"); C: printf("%s ",&a); D: printf("%s ","hello");

  • 2022-06-16 问题

    从学生表student查询所有女学生的信息,正确的语句是( )。 A: SELECT B: FROM student where 性别="女"; C: SELECT * FROM student where 性别="女"; D: SELECT ? FROM student where 性别="女"; E: SELECT FROM student where 性别="女";

    从学生表student查询所有女学生的信息,正确的语句是( )。 A: SELECT B: FROM student where 性别="女"; C: SELECT * FROM student where 性别="女"; D: SELECT ? FROM student where 性别="女"; E: SELECT FROM student where 性别="女";

  • 2022-06-26 问题

    根据用户在文本框txtName中输入的姓名对Student表进行查询,以下SQL语句定义正确的是__________________。 A: String sql="Select * from Student where Sname="+txtName.getText(); B: String sql="Select * from Student where Sname='"+txtName.getText()+"'"; C: String sql="Select * from Student where Sname like "+txtName.getText(); D: String sql="Select * from Student where Sname like '"+txtName.getText()+"'";

    根据用户在文本框txtName中输入的姓名对Student表进行查询,以下SQL语句定义正确的是__________________。 A: String sql="Select * from Student where Sname="+txtName.getText(); B: String sql="Select * from Student where Sname='"+txtName.getText()+"'"; C: String sql="Select * from Student where Sname like "+txtName.getText(); D: String sql="Select * from Student where Sname like '"+txtName.getText()+"'";

  • 2022-06-07 问题

    Which of the following sentence means “The teacher is hard-working”? ( ) A: "The teacher",/ said that student,/ "is hard-working."/ B: The teacher said,/ "that student is hard-working."/

    Which of the following sentence means “The teacher is hard-working”? ( ) A: "The teacher",/ said that student,/ "is hard-working."/ B: The teacher said,/ "that student is hard-working."/

  • 2022-05-31 问题

    以下类方法定义正确的是() A: class Student: fav=("唱歌","跳舞","绘画") def showFav(cls): for item in cls.fav: print(item) B: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(cls): for item in fav: print(item) C: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(cls): for item in cls.fav: print(item) D: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(): for item in fav: print(item)

    以下类方法定义正确的是() A: class Student: fav=("唱歌","跳舞","绘画") def showFav(cls): for item in cls.fav: print(item) B: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(cls): for item in fav: print(item) C: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(cls): for item in cls.fav: print(item) D: class Student: fav=("唱歌","跳舞","绘画") @classmethod def showFav(): for item in fav: print(item)

  • 2022-06-26 问题

    在Student表中,将学生姓名为“王蒙”的学生改名为“王金山”,正确的SQL语句是___________。 A: UPDATE SET 姓名="王金山" IF 姓名="王蒙" B: UPDATE Student SET 姓名="王蒙"WHERE 姓名="王金山" C: UPDATE Student SET 姓名="王金山" WHERE 姓名="王蒙" D: UPDATE Student SET 姓名="王蒙" IF 姓名="王金山"

    在Student表中,将学生姓名为“王蒙”的学生改名为“王金山”,正确的SQL语句是___________。 A: UPDATE SET 姓名="王金山" IF 姓名="王蒙" B: UPDATE Student SET 姓名="王蒙"WHERE 姓名="王金山" C: UPDATE Student SET 姓名="王金山" WHERE 姓名="王蒙" D: UPDATE Student SET 姓名="王蒙" IF 姓名="王金山"

  • 2022-05-26 问题

    下面结构体的定义如下:struct student{ char name[32]; struct date{ int day; int month; int year; }birthday;};错误的初始化语句是: A: struct student s1={"Li",{1,1,2000}}; B: struct student s1={'Li',1,1,2000}; C: struct student s1={"Li",1,1,2000}; D: struct student s1={"Li",1,1};

    下面结构体的定义如下:struct student{ char name[32]; struct date{ int day; int month; int year; }birthday;};错误的初始化语句是: A: struct student s1={"Li",{1,1,2000}}; B: struct student s1={'Li',1,1,2000}; C: struct student s1={"Li",1,1,2000}; D: struct student s1={"Li",1,1};

  • 2021-04-14 问题

    若已经定义struct stu { int a; int b; } student; ,则下列输入语句中正确的是 。? scanf("%d",&stu.a);|scanf("%d",&student);|scanf("%d",&student.a);|scanf("%d",&a);

    若已经定义struct stu { int a; int b; } student; ,则下列输入语句中正确的是 。? scanf("%d",&stu.a);|scanf("%d",&student);|scanf("%d",&student.a);|scanf("%d",&a);

  • 2022-06-19 问题

    若已经定义struct stu { int a, b; } student ; 则下列输入语句中正确的是 。 A: scanf("%d",&a); B: scanf("%d",&student); C: scanf("%d",&stu.a); D: scanf("%d",&student.a);

    若已经定义struct stu { int a, b; } student ; 则下列输入语句中正确的是 。 A: scanf("%d",&a); B: scanf("%d",&student); C: scanf("%d",&stu.a); D: scanf("%d",&student.a);

  • 1 2 3 4 5 6 7 8 9 10