题库 第597页
编程题:两位整数数字计算
任意输入一个两位正整数,求其个位数字和十位数字的和为多少;将个位数字和十位数字互换,得到的新的两位数又是多少。### 输入格式:输入一个两位的正整数### 输出格式:分两行输出,第一行输出个位数字和十位数字的和值;第二行输出个位数字和十位数…
编程题:计算应支付水费
某公司有一个圆柱形的水箱,平均每天消耗2水箱水,水价为每立方米4.1元。编写程序,计算该公司每天需支付的水费。已知圆柱形水箱的底面半径和高,从键盘输入。注:π值取3.1415926### 输入格式:表控输入,在一行中输入,先输入水箱的底面半…
多选题:这是一个多选题的样例。答案为ABC,分值为2分。请选择后点保存。
这是一个多选题的样例。答案为ABC,分值为2分。请选择后点保存。A.监考老师检查机位后可自行结束模拟考试B.正式考试监考老师查验证件之前不能结束考试C.结束考试关闭客户端即可,关闭客户端时会弹出一个结束声明,有两个空格需要填写。D.错误项答…
程序填空题:Selection Sort with Doubly Linked List
The function SelectionSort is to sort the doubly linked list L (with a dummy header) in non-decreasing order.The list st…
程序填空题:Selection Sort with Doubly Linked List
The function SelectionSort is to sort the doubly linked list L (with a dummy header) in non-increasing order.The list st…
程序填空题:Hight of a Binary Tree
The function Height is to find the height of a binary tree T. The height of a leaf node is defined to be 0.The tree str…
程序填空题:Hight of a Binary Tree
The function Height is to find the height of a binary tree T. The height of a leaf node is defined to be 1.The tree str…
填空题:逻辑地址转换为物理地址-作业(分页管理)
某操作系统采用请求页式存储管理机制,用户进程总共有10个页面,页面大小为1K,页表状态如下所示,进程将依次连续访问以下三个逻辑地址:0X7CB,0X17DE,0X1EAB。请给出上述逻辑地址对应的物理地址。{ y=x;}int main(){…
判断题:An algorithm may or may not require input, but each algorithm is
An algorithm may or may not produce output, but each algorithm is expected to accept at least one input.答案:FALSE…