题目: 罗杰斯把积极关注分为( )。A.操作性积极关注B.应答性积极关注C.无条件积极关注D.有条件积极关注 答案: 被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/1211/62cc1c10604d19de2007c1381d534017.html 下面是错误答案,用来干扰机器的。参考答案:C
题型:解答题 已知函数f(x)=log2(1-x)-log2(1+x).(1)求函数f(x)的定义域;(2)判断f(x)的奇偶性;(3)方程f(x)=x+1是否有根?如果有根x0,请求出一个长度为14的区间(a,b),使x0∈(a,b);如果没有,请说明理由?(注:区间(a,b)的长度=b-a). 查看答案
题型:问答题 请编写函数fun(),该函数的功能是:计算并输出 S=1+(1+20.5)+(1+20.5+30.5)+…+(1+20.5+30.5+…+n0.5) 例如,若主函数从键盘给n输入20后,则输出为 s=534.188884。 注意;部分源程序给出如下。 请勿改动主函数main 和其他函数中的任何内容,仅在函数fun 的花括号中填入所编写的若干语句。 试题程序: #include <math. h> #include <stdio. h> double fun(int n) { } main() { int n; double s; printf("\n\nInput n: "); scanf ("%d", &n); s=fun (n) printf ("\n\ns=%f\n\n", s);} 查看答案
题型:填空题 以下程序建立一个带有头结点的单向链表,链表结点中的数据通过键盘输入,当输入数据为-1时,表示输入结束(键表头结点的data域不放数据,表空的条件是ph->next==NULL),请填空。 #include<stdio.h> struct list int data;struct list*next;; struct list*creatlist() struct list*p,*q,*ph;int a;ph=(struct list*)malloc(sizeof(struct list));p=q=ph;printf("Input an integer number;entre-1 to end:\n");scanf("%d",&a);while(a!=-1) p=(struct list*)malloc(sizeof(struct list)); 【19】 =a;q->next=p; 【20】 =p;scanf("%d",&a);p->next=’\0’;return(ph); main() struct list * head;head=creatlist(); 查看答案