阅读代码回答问题,正确的是()。 #head{Position:absolute;Left:9px;Top:12px;Width:200px;Height:60px;Background-color:#FF0000;}
第1题:
阅读以下关于网页制作和网页编程的说明,回答问题1至问题3,并把解答填入对应栏中。
【说明】
某公司制作了一个电子商务网站,下图是网站向消费者收集反馈情况的反馈表。用户在填写反馈表时,需要正确地输入自己的相关信息,否则不能够提交成功,并且弹出提示信息。该功能通过调用外部JavaScript脚本checkinput.js文件实现。
下面给出的是搜索按钮触发过程的代码,请根据下图完成下述HTML代码中空缺的部分。
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title> (1) <style type="text/css">
<!--
.style2 {color: 3399CC}
-->
(2)
<script. language="JavaScript" src=" (3) ">
</script>
</head>
省略部分代码……
<td height="20" align="center" valign="top">公司名称:</td>
<td valign="middle">
<form. action=" "method=" (4) "name="form3">
<input name="textfield3" type="text" size="20">
</form></td>
省略部分代码……
省略部分代码……
</ html>
第2题:
__(41)__是正确的网页代码结构。
A.<html> </html> <head> </head> <body> </body>
B.<tml> < head > <body> </body> < /head > < /html >
C.<html> < head > < /head > <body> </body> < /html >
D.<html> <body> < head > < /head > </body> < /html >
第3题:
阅读材料.回答下列问题。
第4题:
An unconscious person should NOT be ______.
A.placed in a position with the head lower than the body
B.given an inhalation stimulant
C.given something to drink
D.treated for injuries until conscious
第5题:
EXCEPT when suffering from a head or chest injury a patient in shock should be placed in which position? ______.
A.Head up and feet down
B.Head down and feet up
C.Flat on back with head and feet elevated
D.Arms above the head
第6题:
试题五(共 15分)
阅读以下关于 C语言及 C代码的叙述,回答问题 1至问题 3,将答案填入答题纸的对应栏内。
【说明】
在开发某嵌入式系统时,设计人员根据系统要求,分别编写了如下三部分程序,其中:
【C代码 1】是李工为了在嵌入式平台上开发一段可变参数函数,在X86 平台上实现的一个参数个数可变函数实例。
【C代码 2】是王工在编写软件时,自己编写的内存拷贝函数。
【C代码 3】是赵工编写的一段数据处理的程序,其中 fun()的含义为从已创建的一个单向链表中查找倒数第index 个节点。他的设计思路为:首先创建两个指针 ptrl,ptr2,并且都指向链表头,然后 ptrl向前走index 步,这样ptrl和 ptr2 之间就间隔 index 个节点,然后 ptrl和ptr2 同时向前步进,当 ptrl到达最后一个节点时,ptr2 就是倒数第 index 个节点了。ReverseList()为赵工编写的对已有单向链表进行逆序重排的函数。
【C代码 1】
long sum(int i,...)
{
int *p,j;
long s = 0;
p=&i+1;
for(j=0;j<i;j++)
s+=p[j]
return s;
}
long Sum = sum(3,l,2,3);
【C代码 2】
static int pent;
……
void *MyMemcpy(void * dest, const void* src, int n )
{
char *pDest = (char *)dest;
char *pSrc = (char *)src;
for (int i=0;i<n; i++) {
*(pDest +i) = *(pSrc+i);
} return dest;
}
【C代码 3】
node *fun(node * head, int index)
{
node *ptr1,*ptr2;
int 1 = 0;
ptr1 = head;
ptr2 = head;
if( head == NULL || head->next == NULL)
return ptrl;
while(i<index)
{
(1)
if(ptrl == NULL)
return head;
i++;
}
while(ptrl->next != NULL)
{
ptrl = ptrl->next;
(2) ;
}
return (3) ;
}
node* ReverseList(node *head)
{
node *templ = NULL;
node *temp2 = NULL;
node *temp3 = NULL;
if((head->next == NULL) || (head == NULL))
{
return head;
} templ=head;
temp3= templ->next;
templ->next= NULL;
while(temp3->next!=NULL)
{
temp2 = temp3;
temp3= temp3->next;
(4) ;
templ=temp2;
}
temp3->next= templ;
retum (5)
}
【问题1】(3分)
执行【C代码 1】后,Sum的值应为多少?请用十进制表示。
【问题2】(7分)
请问【C代码2】中 static的作用是什么?const的作用是什么?王工自己编写的内存拷贝函数安全吗?
如存在缺陷,请指出缺陷在哪里。
【问题3】(5 分)
仔细阅读并分析【C代码 3】,填补其中的空(1)~(5)。
第7题:
if you want to change the position of the head line forward for 3 meters, what do you say?
第8题:
颅脑损伤记忆训练PQRST法正确的是 ( )
A、P-先预习要记住的内容
B、Q-向自己提问与内容无关的问题
C、R-为了回答问题而仔细阅读资料
D、S-反复陈述阅读过的资料
E、T-用回答问题的方式来检验自己的记忆
第9题:
A patient in shock should NOT be placed in which position?
A.On their side if unconscious
B.Head down and feet up,no injuries to face or head
C.Flat on their back with head and feet at the same level
D.Arms above their head
第10题: