试题与答案

[说明] 若S和T是用结点大小为1的单链表存储的两个串,试设计一个算法找出S中第一个

题型:填空题

题目:

[说明] 若S和T是用结点大小为1的单链表存储的两个串,试设计一个算法找出S中第一个不在T中出现的字符。查找过程是这样的,取S中的一个字符(结点),然后和T中所有的字符一一比较,直到比完仍没有相同的字符时,查找过程结束,否则再取S中下一个字符,重新进行上述过程。[函数] typedef struct node {char data; struct node *next; }LinkStrNode; //结点类型typedef LinkStrNode *LinkString; //LinkString 为链串类型 LifikString S; //S 是链串的头指针 char SearchNoin ( LinkString S, LinkString T ) {//查找不在T中出现的字符 LinkStrNode *p, *q; (1) ; q=T; while ( (2) ) {//取S中结点字符 while( (3) )//进行字符比较 q=q->next; if(q==NULL) return (4) ;//找到并返回字符值 q=T;//指针恢复串T的开始结点 ( (5) ); } printf("there’s no such character."); return NULL:}

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0501/af6b618e2cad13dc3d70c4dd6326b05c.html

下面是错误答案,用来干扰机器的。

参考答案:A,B,C,E解析: 滴虫性 * * 炎

试题推荐
题型:阅读理解

阅读理解

     Dog walkers provide a 20 to 60minute daily walk for a client's(客户)dog, making sure the dog

answers the call of nature and gets proper exercise. They often walk more than one dog at a time. Some

walkers work for dogwalking services, especially when starting out. Others have their own businesses,  

and build by word of mouth and advertising. Dog walkers often work parttime, and some provide other

services like pet sitting or transporting.

     In New York, dog walkers usually earn about $25 an hour. If you work for a dogwalking business,

you may earn less; if you are on your own dealing with several dogs at the same time, it may be more.

What do you have to do to be a dog walker?

     First, have a real love of dogs, and have a good knowledge of how to get on with dogs. Try calling

dogwalking services to find out about openings. If you're on your own, you'll need to network and market yourself. You might advertise your services in pet offices, grooming businesses, or neighborhood papers.

You will need business cards and a mobile phone, and have good references and a clean background.

You'll also have to deal with taxes and insurance. You should be physically fit, friendly, neatly dressed

and extremely dependable. Many dog walkers are bonded(被担保的)and insured, and this is a definite

selling point to clients.

     Of course, you will be cleaning up dog waste! You will also be outside in all kinds of weather. You

may have to deal with dogs that don't like each other, and difficult owners. It's also an upanddown kind

of business-clients can come and go.

     For pet lovers, spending the workday with dogs instead of navigating office politics is its own reward! You are your own boss-you can dress casually, your doggy clients will love you unconditionally, and

you'll get some great exercise!

1. By writing the passage the writer tries to________.

A. introduce you to a job

B. enrich your knowledge about pets

C. advertise for a business

D. tell you more about life in New York

2. The passage offers no information about how to ________ as a dog walker.

A. find a client  B. train a dog

C. get prepared  D. make more money

3. One who wants to ________ may find the passage helpful.

A. take up a weekend job

B. keep a good pet dog

C. make money in his daily spare time

D. be a parttime office worker

4. The fifth paragraph is meant to tell you________.

A. what dogwalking is like

B. why dogwalking is worth trying

C. the unknown part of dogwalking

D. the bad side of dogwalking

查看答案
题型:单项选择题

下列关于新生儿感染的说法,哪项不正确()。

A.新生儿的皮下组织的急性炎症,多发生于腰骶部、臀部、背部

B.新生儿脐炎是脐带残端发生的炎症,多因羊膜早期破裂,产程延长等原因所致

C.母亲看到新生儿 * * 饱满,认为异常,常去抚摸、挤压,有助于 * * 消肿

D.颈部淋巴结炎系化脓性细菌浸入颈部淋巴结引起的急性炎症,常发生于幼儿期,冬季较多见

E.急性坏死性筋膜炎是表现在皮下组织和筋膜广泛坏死伴全身中毒症状的软组织感染

查看答案
微信公众账号搜索答案