试题与答案

根据提示填写课文原句。 ⑴独学而无友,______________。 ⑵____

题型:默写题

题目:

根据提示填写课文原句。

⑴独学而无友,______________。

⑵______________,不尽长江滚滚来。

⑶耳闻不如目见,______________。

⑷只辱于奴隶人之手,______________,______________。

⑸抽刀断水水更流,______________。

⑹《陋室铭》一文描写自然环境幽雅,烘托陋室不陋的句子是:______________,______________。

答案:

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

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

在自然数中,是2的倍数的数叫做偶数,0也是偶数;不是2的倍数的数叫做奇数.故答案为:偶数、偶数、奇数.

试题推荐
题型:问答题

针对以下C语言程序,按要求回答问题。
已知link.c程序如下:
/*link.c程序对单向链表进行操作,首先建立一个单向链表,然后根据用户的选择可以对其进行插入节点、删除节点和链表反转操作*/
#include<stdio.h>
#include<stdlib.h>
typedef struet list_node*list_pointer; //定义链表指针
typedef struct list_node //定义链表结构
int date;
list_pointer link;
list node;
//用到的操作函数
1ist_pointer create(); //建立一个单向链表
vold insert(list_pointer*p_ptr,list_pointer node; //在node后加入一个新的节点
void delete_node(list_pointer*p_ptr,list_pointer trail,list_pointer node);
//删除前一个节点是trail的当前节点node
void print(list_pointer*p_ptr); //打印链表节点中的值
list_pointer invert(list_pointer lead); //反转链表
int main()
list_pointer ptr=NULL;
list_pointer node,trail;
list_pointer*p=&ptr;
int choose,location,i;
printf("you should creale a link first:\n");
//建立一个单向链表
ptr=create();/*ptr指向链表的第一个节点*/
print(ptr);
//根据用户的不同选择进行相应的操作:
printf("input number 0,you can quit the program\n");
printf("input number 1,you can insert a new node to link\n");
printf("input number 2,you can delete a node from the link\n");
printf("input number 3,you can invert the link\n");
printf("please input your choice\n");
scanf("&d",&choose);
while(choose!=0)
switch(choose)
case 1:
i=1;
while(i<location)
node=node->link;

insert(p,node);/*p为指向ptr的指针*/
print(ptr);
break;
case 2:
printf("you will delete a node from the link\n");
printf("please input the location of the node:\n");
scanf("&d,&location);
node=ptr;
if(location==1)
trail=NULL;
trail=ptr;
i=1;
while(i<location)
trail=trail->link;
i++;

node=trail->link;
delete_node(p,trail,node);
print(ptr);
brcak;
ease 3:
printf("you will invert the link\n");
ptr=invert(ptr);
print(ptr);
break;
default;
break;
return-1;

printf("please input your choiee\n");
seanf("&d",&choose);

printf("please input you choice\n");
scanf("&d",&choose);
retnrn 0;
//根据用户的输入数值建立一个新的单向链表;
list_pointer create()

int i,current,length;
list_pointer p1,p2,head;
prinff("please input the node number of the link:\n");
scanf("&d",&length);
printf("the nnmber of the link is:&d",length);
printf("please input the dais for tile link node:\n");
i=0;
p1=p2=(list_pointer)malloc(sizeof(list_node));
head=p1;
for(i=1;i<length;i++)
scanf("&d",&current);
p1->data=curren1:。 p2->link=p1;
p2=p1;
p1=(list_pointer)malloc(sizeof(list_node));

p2->link=NULL;
return head;

设计一组测试用例,尽量使main函数的语句覆盖率能达到100%。如果认为该函数的语句覆盖率无法达到100%,需要说明原因。

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

某培训机构(非学历教育)2012年3月份发生以下业务:
(1)开展培训业务取得培训费收入100万元,支付培训场地租赁费5万元,支付培训讲师课酬20万元。
(2)将教室内墙开辟为广告位,取得广告收入50万元,支付广告位改造装修费用2万元,支付广告位招租宣传资料印刷费用1万元。
(3)自行开发软件一套,并将相关著作权转让给某机构,取得转让收入200万元,因研究开发该软件支付的研发费用20万元,办理版权登记手续支付各项费用共计8万元。
(4)与某个体工商户签订租赁合同,将自有的一间办公室自4月1日起出租给其开办小超市,租期2年,年租金12万元,该办公室原值10万元,已计提折旧3万元。
已知:文化体育业适用营业税税率为3%,服务业适用营业税税率为5%,转让无形资产适用营业税税率为5%,当地规定的房产税扣除比例为30%,从租计征房产税适用税率为12%,从价计征房产税适用税率为1.2%。

根据营业税法律制度的规定,该培训机构开展培训业务取得的收入应纳营业税为( )。

A.100×3%=3(万元)

B.(100-5)×3%=2.85(万元)

C.(100-20)×3%=2.4(万元)

D.(100-5-20)×3%=2.25(万元)

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