试题与答案

移动台可执行的最大时间提前量是多少?()A.4.615ms B.233us C.3时

题型:单项选择题

题目:

移动台可执行的最大时间提前量是多少?()

A.4.615ms

B.233us

C.3时隙

D.577us

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2019/0626/2f3f1790a00d06941e06e1f441ce926f.html

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

参考答案:若将人体确定为研究对象,即人体力学系统,那么外界对人体作用的力称人体外力。

试题推荐
题型:补全对话,情景问答
补全对话。
根据对话内容,从方框内的选项中选出能填入空白处的最佳选项,其中有两个为多余选项。
A. Where did you go ?
B. That sounds wonderful.
C. Did you go to the zoo?
D. Were there any sharks?
E. We went to the aquarium.
F. How was your school trip?
G. How many sharks were there?
A: Hi, Tina.          1       
B: It was fantastic, really fantastic.  
A:        2       
B: No, we didn't.         3         Look! Here are my photos.
A:        4        
B: Yes, and there were some clever seals.
A:          5        What else did you do ?
B: Well, we bought some souvenirs and took many photos.
查看答案
题型:问答题

已知C源程序如下:
/*一个使用结构体数组的简单地址列表*/
# include <stdion.h>
# include <stdlib.h>
define MAX 4
struct addr
char name[30];
char street[40];
char city[20];
unsigned long int zip;
addr list [MAX] ;
void init_list (void), enter (void);
void deleteAddr(void), list(void);
int menu select (void), find free (void);
int main (void)

char choice;
init_list();/ *初始化结构体数组*/
for(;;)
choice=menu_select();
switch (choice)
case 1:enter();
break;
case 2:deleteAddr();
break;
case 3:list();
break;
case 4:exit(0);


return 0

/*初始化列表*/
void init_list (void)

register int t;
for(t=0;t<MAX;++t)addr_list[t].name[0]=\0;

/ *获取菜单选择* /
int menu_select (void)

char s[80];
int c;
printf("1. Enter a name\n");
printf("2. Delete a name\n");
printf("3. List the file\n") ;
printf("4. Quit\n") ;
do
printf("\nEnter your choice:");
gets (s);
c=atoi (s);
while(c<1| | c>4);
return c;

/ *增加地址* /
void enter (void)

int slot;
char s[80];
slot=find_free ();
if (slot==-1)
printf("\nList Full") ;
return;

printf("Enter name:");
gets (addr_list [slot] .name);
printf("Enter street:");
gets (addr_list[slot]. street);
printf("Enter city:");
gets(addr_list[slot]. city);
printf("Enter zip:");
gets (s);
addr_list[slot] .zip=strtoul(s, \0,10);

/*查找未用结构*/
int find_free (void)

register int t;
for(t=0; addr_list [t]. name[0] &&t<MAX;++t);
if(t==MAX) return-1; / * no slots free * /
return t;

/*删除地址*/
void deleteAddr(void)

register int slot;
char s[80];
printf("enter record # :");
gets (s);
slot=atoi(s);
if(slot>=0 && slot<MAX)
addr_list [slot]. name[0]:\0;

/ *在屏幕上显示列表*/
void list (void)

register int t;
for(t=0;t<MAX;++t)
if (addr_list [t]. name[0])
printf ("%s\n", addr_list It] . name);
printf("%s\n",addr_list[t] .street);
printf("%s\n",addr list[t] .city);
printf ("%lu\n\n", addr_list [t]. zip);


printf ("\n\n");

画出main函数的控制流程图。

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