将文本中所有的 stu 替换为 Student ,下面哪些做法是正确的?
A.:1,$s/stu/Student/g
B.:1,$s/stu/Student/gc
C.:1,Ns/stu/Student/g
D.:1,$/stu/Student/g
第1题:
设有关系模式:student(sno, sname, age, dept),现利用命令: CREATE VIEW stu AS SELECT *FROM student WHERE dept="cs"WITH CHECK OPTION 创建了一个视图。则以下SQl命令中能正确执行的是
A.UPDATE stu SET dept="maths"
B.UPDATE stu SET dept="maths"WHERE age>=20
C.INSERT INTO stu VALUES ("2004001", "John", 30, "cs")
D.INSERT INTO stu VALUES ("2004001", "John", 50, "maths")
第2题:
A.__lt__
B.__le__
C.__gt__
D.__ge__
第3题:
下面程序和运行运行结果是【 】。
typedef union student
{ char name [10];
long sno;
char sex;
float score [4];
} STU;
main ( )
{ STU a[5];
prinff( "% d\n", sizeof(a) );
}
第4题:
若有如下程序段: struct student { int num;float score; } stu[3]={{10,85},{60,58},{32,23}}; main() { struct student*t; t=stu; } 则下面表达式中值为58的是( )。
A.(*t).num
B.*(t++)->num
C.(*++t)score
D.(++t)->score
第5题:
有如下用户定义类型及操作语句: Tyoe Student SNo As String Sname As String SAge As Integer End Type Dim Stu As Student With Stu SNo=”200609001” SName=”陈果果“ A ge=19 End With 执行MsgBox Stu,Age 后,消息框输出结果是 【13】
第6题:
有以下说明和定义语句struct student{ int age; char num[8];};struct student stu[3]={{20,"200401"},{21,"200402"},{10\9,"200403"}};struct student *p=stu;以下选项中引用结构体变量成员的表达式错误的是A.(p++)->num B.p->num C.(*p).num D.stu[3].age
第7题:
设有关系模式:student(sno,sname,age,dept),现利用命令: CREATE VIEW stu AS SELECT * FROM student WHERE dept="cs"WITH CHECK OPTION创建了一个视图。则以下SQL命令中能正确执行的是( )。
A.UPDATE stu SET dept="maths"
B.UPDATE stu SET dept="maths"WHERE age>=20
C.INSERT INTO stu VALUES("2004001","John",30,"CS")
D.INSERT INTO stu VALUES("200400l","John",50,"maths")
第8题:
写出将D盘下student目录共享的命令,共享名为stu。
第9题:
有以下说明语句:struct Student{int num;double score;};Student stu[3]={{1001,80},{1002,75},{1003,91}},*p=stu;则下面引用形式错误的是()
第10题:
现有学生住处表Student_info,其中包括姓名(stu_name),学号(stu_id),成绩(stu_grade)。我们需要查询成绩为80分的学生姓名,要求结果按照学号降序排列。下面查询语句正确的是()。
第11题:
copy to stu
copy allt o stu
copy structure to stu
copy to stu sdf
第12题:
第13题:
若有以下定义的语句 struct student {int age; int num;}; struct student stu[3]={{1001,20},{1002,19},{1003,21}}; main() {stmct student *p; p=stu; …} 则以下不正确的引用是
A.(p++)->num
B.p++
C.(*p).num
D.P=&stu.age.
第14题:
A.Studentstu=newStudent(“Tom”,23);stu.study(“数学”);
B.Student.study(“数学”);
C.Studentstu=newStudent(“Tom”,23);stu.study();
D.Studentstu=newStudent(“Tom”,23);Stringresult=stu.study(“数学”);
第15题:
有如下语句: Type Student Name As String Age As Integer Sex As String End Type Dim Stu As Student With Stu .Name="张红" .Age=22 .Sex="女" End With 执行Print Stu.Age语句后的结果是
A.张红
B.22
C.“女”
D.Age
第16题:
将文档中所有的“Information”都替换为“信息”。
第17题:
下面程序的运行结果是typedef union student{ char name[10]; long sno; char sex; float score[4];}STU;main(){ STU a[5]; printf("%d\n",sizeof(a));}
第18题:
有以下说明和定义语句:struct student{int age; char num[8] ;};struct student stu [3] = { { 20, "200401" } , {21, "200402" } , {19, "200403" } };stract student * p = stu;以下选项中引用结构体变量成员的表达错误的是( )。
A.(p++) ->num
B.p- >num
C.( *p).num
D.stu[3].age
第19题:
有下列语句: struct Birthday{public int year; public int month; public int day;}; struct Student{ int no; string name; int age; public Birthday bir; }; …… Student Stu; 如果要把Stu的出生年份赋值为1988,正确的语句是()
第20题:
在CorelDRAW中,假如既可以将甲转换为乙,也可以将乙转换为甲,那下面哪种说法是正确的()
第21题:
在打开student表的情况下,将整个表复制到stu表的命令是()。
第22题:
类Student的声明如下: package com.school class Student{ String name; int age; Student(String name,int age){ //code } void study(String subject){ / /code } } 正确调用方法study(String subject)的是哪项?()
第23题:
p->num
(p++).num
(p++)->num
(*p).num
第24题:
Student stu = new Student(“Tom”,23); stu.study(“数学”);
Student.study(“数学”);
Student stu = new Student(“Tom”,23); stu.study();
Student stu = new Student(“Tom”,23); String result=stu.study(“数学”);